Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58783
b: refs/heads/master
c: 8afd2af
h: refs/heads/master
i:
  58781: 492041b
  58779: fc26dc7
  58775: 989e168
  58767: 4bf45c9
  58751: 665003a
v: v3
  • Loading branch information
H. Peter Anvin authored and Linus Torvalds committed Jul 12, 2007
1 parent af2a5f3 commit 873ac6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77e1dd654bc24182a7ad34f415abd488ae7af6eb
refs/heads/master: 8afd2af88921c2cb1c9540cecd0714da7ae4fcd0
8 changes: 8 additions & 0 deletions trunk/include/asm-x86_64/segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

#include <asm/cache.h>

/* Simple and small GDT entries for booting only */

#define GDT_ENTRY_BOOT_CS 2
#define __BOOT_CS (GDT_ENTRY_BOOT_CS * 8)

#define GDT_ENTRY_BOOT_DS (GDT_ENTRY_BOOT_CS + 1)
#define __BOOT_DS (GDT_ENTRY_BOOT_DS * 8)

#define __KERNEL_CS 0x10
#define __KERNEL_DS 0x18

Expand Down

0 comments on commit 873ac6e

Please sign in to comment.