Changeset fcfac420 in mainline for arch/amd64/src/amd64.c


Ignore:
Timestamp:
2005-12-10T01:02:31Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6095342
Parents:
973be64e
Message:

Changed ia32 & amd64 to use exc_register instead of trap_register.

Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work.

File:
1 edited

Legend:

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

    r973be64e rfcfac420  
    4545#include <genarch/acpi/acpi.h>
    4646#include <panic.h>
     47#include <interrupt.h>
    4748
    4849void arch_pre_mm_init(void)
     
    7374                i8254_init();   /* hard clock */
    7475
    75                 trap_register(VECTOR_SYSCALL, syscall);
     76                exc_register(VECTOR_SYSCALL, "syscall", syscall);
    7677               
    7778                #ifdef CONFIG_SMP
    78                 trap_register(VECTOR_TLB_SHOOTDOWN_IPI, tlb_shootdown_ipi);
    79                 trap_register(VECTOR_WAKEUP_IPI, wakeup_ipi);
     79                exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown",
     80                             tlb_shootdown_ipi);
     81                exc_register(VECTOR_WAKEUP_IPI, "wakeup_ipi", wakeup_ipi);
    8082                #endif /* CONFIG_SMP */
    8183        }
Note: See TracChangeset for help on using the changeset viewer.