diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:30 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:30 +1100 |
commit | c53fd2bb6dc63c10fd2817f3041de24fd277255b (patch) | |
tree | b2d5f5e26312fbad0a4a1e389c4c3920c15e636f /arch/i386/cpu | |
parent | ca56a4ceec47ca4358d99b17d7314042f8411544 (diff) | |
download | u-boot-imx-c53fd2bb6dc63c10fd2817f3041de24fd277255b.zip u-boot-imx-c53fd2bb6dc63c10fd2817f3041de24fd277255b.tar.gz u-boot-imx-c53fd2bb6dc63c10fd2817f3041de24fd277255b.tar.bz2 |
x86: Move Global Descriptor Table defines to processor.h
Diffstat (limited to 'arch/i386/cpu')
-rw-r--r-- | arch/i386/cpu/cpu.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/i386/cpu/cpu.c b/arch/i386/cpu/cpu.c index ae40384..1dcbb98 100644 --- a/arch/i386/cpu/cpu.c +++ b/arch/i386/cpu/cpu.c @@ -35,6 +35,7 @@ #include <common.h> #include <command.h> +#include <asm/processor.h> #include <asm/interrupt.h> /* Constructor for a conventional segment GDT (or LDT) entry */ @@ -46,13 +47,6 @@ (((base) & 0x00ffffffULL) << 16) | \ (((limit) & 0x0000ffffULL))) -/* Simple and small GDT entries for booting only */ - -#define GDT_ENTRY_32BIT_CS 2 -#define GDT_ENTRY_32BIT_DS (GDT_ENTRY_32BIT_CS + 1) -#define GDT_ENTRY_16BIT_CS (GDT_ENTRY_32BIT_DS + 1) -#define GDT_ENTRY_16BIT_DS (GDT_ENTRY_16BIT_CS + 1) - /* * Set up the GDT */ |