Changeset 46c20c8 in mainline for kernel/arch/amd64/src/amd64.c
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45df59a
- Parents:
- fb150d78 (diff), ffdd2b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/arch/amd64/src/amd64.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
rfb150d78 r46c20c8 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.
