Changeset 89344d85 in mainline for arch/amd64/src/boot/boot.S
- Timestamp:
- 2005-09-03T00:19:23Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36b209a
- Parents:
- e4a6dda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/boot/boot.S
re4a6dda r89344d85 32 32 #include <arch/mm/ptl.h> 33 33 #include <arch/pm.h> 34 #include <arch/cpu.h> 34 35 35 36 #define START_STACK 0x7c00 … … 102 103 103 104 # Enable long mode 104 movl $ 0xc0000080, %ecx # EFER MSR number105 movl $EFER_MSR_NUM, %ecx # EFER MSR number 105 106 rdmsr # Read EFER 106 btsl $ 8, %eax # Set LME=1107 btsl $AMD_LME_FLAG, %eax # Set LME=1 107 108 wrmsr # Write EFER 108 109
Note:
See TracChangeset
for help on using the changeset viewer.