Changeset c18e666 in mainline for kernel/arch/ia32/src/boot/boot.S
- Timestamp:
- 2009-03-30T20:30:32Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0dd1d444
- Parents:
- 18251cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/boot.S
r18251cc rc18e666 32 32 #include <arch/mm/page.h> 33 33 #include <arch/pm.h> 34 #include <arch/cpuid.h> 34 35 35 36 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE) … … 68 69 movl %ebx, grub_ebx 69 70 70 xorl %eax, %eax71 movl $(INTEL_CPUID_LEVEL), %eax 71 72 cpuid 72 73 cmp $0x0, %eax # any function > 0? 73 74 jbe pse_unsupported 74 movl $0x1, %eax # basic function code 1 75 76 movl $(INTEL_CPUID_STANDARD), %eax 75 77 cpuid 76 bt $ 3, %edx # test if PSE is supported78 bt $(INTEL_PSE), %edx 77 79 jc pse_supported 78 80 … … 82 84 83 85 pse_supported: 86 87 bt $(INTEL_SEP), %edx 88 jc sep_supported 89 90 movl $sep_msg, %esi 91 jmp error_halt 92 93 sep_supported: 84 94 85 95 #include "vesa_prot.inc" … … 214 224 pse_msg: 215 225 .asciz "Page Size Extension not supported. System halted." 226 227 sep_msg: 228 .asciz "SYSENTER/SYSEXIT not supported. System halted."
Note:
See TracChangeset
for help on using the changeset viewer.