Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r3a2f8aa r2ddcc7b  
    3535#include <arch.h>
    3636
    37 #include <arch/types.h>
     37#include <typedefs.h>
    3838
    3939#include <config.h>
     
    122122        /* Enable FPU */
    123123        cpu_setup_fpu();
    124 
     124       
    125125        /* Initialize segmentation */
    126126        pm_init();
     
    132132        /* Disable alignment check */
    133133        clean_AM_flag();
    134 
     134       
    135135        if (config.cpu_active == 1) {
    136136                interrupt_init();
     
    228228            (uintptr_t) I8042_BASE);
    229229#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);
    230236}
    231237
     
    254260        THREAD->arch.tls = addr;
    255261        write_msr(AMD_MSR_FS, addr);
     262       
    256263        return 0;
    257264}
Note: See TracChangeset for help on using the changeset viewer.