Changeset 46c20c8 in mainline for kernel/arch/amd64/src/amd64.c


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    rfb150d78 r46c20c8  
    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.