Changes in kernel/arch/amd64/src/amd64.c [3a2f8aa:2ddcc7b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
r3a2f8aa r2ddcc7b 35 35 #include <arch.h> 36 36 37 #include < arch/types.h>37 #include <typedefs.h> 38 38 39 39 #include <config.h> … … 122 122 /* Enable FPU */ 123 123 cpu_setup_fpu(); 124 124 125 125 /* Initialize segmentation */ 126 126 pm_init(); … … 132 132 /* Disable alignment check */ 133 133 clean_AM_flag(); 134 134 135 135 if (config.cpu_active == 1) { 136 136 interrupt_init(); … … 228 228 (uintptr_t) I8042_BASE); 229 229 #endif 230 231 /* 232 * This nasty hack should also go away ASAP. 233 */ 234 trap_virtual_enable_irqs(1 << IRQ_DP8390); 235 sysinfo_set_item_val("netif.dp8390.inr", NULL, IRQ_DP8390); 230 236 } 231 237 … … 254 260 THREAD->arch.tls = addr; 255 261 write_msr(AMD_MSR_FS, addr); 262 256 263 return 0; 257 264 }
Note:
See TracChangeset
for help on using the changeset viewer.