Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80239
b: refs/heads/master
c: 2a6648e
h: refs/heads/master
i:
  80237: b5d7ecb
  80235: 868d3fa
  80231: 7e02822
  80223: 58fd5a0
v: v3
  • Loading branch information
H. Peter Anvin authored and Ingo Molnar committed Jan 30, 2008
1 parent 0b31551 commit 26103ef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1017579a8c6ad6f32154e41ddfdf96d1efbb21b4
refs/heads/master: 2a6648e65a2939b80c44262975176a15bac3a75e
24 changes: 8 additions & 16 deletions trunk/include/asm-x86/segment.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#ifndef _ASM_X86_SEGMENT_H_
#define _ASM_X86_SEGMENT_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)

#ifdef CONFIG_X86_32
/*
* The layout of the per-CPU GDT under Linux:
Expand Down Expand Up @@ -86,14 +94,6 @@
*/
#define GDT_ENTRIES 32

/* 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)

/* The PnP BIOS entries in the GDT */
#define GDT_ENTRY_PNPBIOS_CS32 (GDT_ENTRY_PNPBIOS_BASE + 0)
#define GDT_ENTRY_PNPBIOS_CS16 (GDT_ENTRY_PNPBIOS_BASE + 1)
Expand Down Expand Up @@ -136,14 +136,6 @@
#else
#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
1 change: 0 additions & 1 deletion trunk/include/asm-x86/segment_32.h

This file was deleted.

0 comments on commit 26103ef

Please sign in to comment.