Changeset dd4d6b0 in mainline for arch/amd64/src/amd64.c
- Timestamp:
- 2006-02-06T23:47:47Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 37b451f7
- Parents:
- 40ca402
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/amd64.c
r40ca402 rdd4d6b0 46 46 #include <panic.h> 47 47 #include <interrupt.h> 48 #include <arch/syscall.h> 48 49 49 50 /** Disable I/O on non-privileged levels … … 100 101 /* Enable No-execute pages */ 101 102 set_efer_flag(AMD_NXE_FLAG); 102 /* Enable SYSCALL/SYSRET */103 set_efer_flag(AMD_SCE_FLAG);104 103 /* Enable FPU */ 105 104 cpu_setup_fpu(); 105 106 106 /* Initialize segmentation */ 107 107 pm_init(); … … 113 113 /* Disable alignment check */ 114 114 clean_AM_flag(); 115 116 115 117 116 if (config.cpu_active == 1) { … … 133 132 ega_init(); /* video */ 134 133 } 134 /* Setup fast SYSCALL/SYSRET */ 135 syscall_setup_cpu(); 136 135 137 } 136 138
Note:
See TracChangeset
for help on using the changeset viewer.