diff options
author | Alfred M. Szmidt <ams@gnu.org> | 2004-11-28 17:29:35 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:15:26 +0200 |
commit | 7e2c3175d713af0d7ce14182fc188a24df176d36 (patch) | |
tree | 9d333cb076a782ac18a14346d65dad26e043f5ac /i386/include | |
parent | 50f5142a771e9c36f919cbf7184531370e47f0f0 (diff) |
2004-11-22 Guillem Jover <guillem@hadrons.org>
* i386/i386/locore.S (discover_x86_cpu_type): Enable function.
Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer.
Restore EFLAGS just after its last usage.
* i386/i386at/model_dep.c (c_boot_entry): Enable use of
discover_x86_cpu_type. Remove hardcoded cpu_type assignment.
* i386/include/mach/i386/eflags.h
(EFL_VI, EFL_VIP): New bits.
(EFL_AC, EFL_ID): Bits finally added.
Diffstat (limited to 'i386/include')
-rw-r--r-- | i386/include/mach/i386/eflags.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/include/mach/i386/eflags.h b/i386/include/mach/i386/eflags.h index 72bf9d4..336a73a 100644 --- a/i386/include/mach/i386/eflags.h +++ b/i386/include/mach/i386/eflags.h @@ -45,5 +45,9 @@ #define EFL_NT 0x00004000 /* nested task */ #define EFL_RF 0x00010000 /* resume without tracing */ #define EFL_VM 0x00020000 /* virtual 8086 mode */ +#define EFL_AC 0x00040000 /* alignment check */ +#define EFL_VI 0x00080000 /* virtual interrupt */ +#define EFL_VIP 0x00100000 /* virtual interrupt pending */ +#define EFL_ID 0x00200000 /* cpuid available */ #endif /* _MACH_I386_EFLAGS_H_ */ |