Changeset fcfac420 in mainline for arch/ia32/src/ia32.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/ia32/src/ia32.c

    r973be64e rfcfac420  
    5050
    5151#include <arch/mm/memory_init.h>
     52#include <interrupt.h>
    5253
    5354void arch_pre_mm_init(void)
     
    6061                i8254_init();   /* hard clock */
    6162               
    62                 trap_register(VECTOR_SYSCALL, syscall);
     63                exc_register(VECTOR_SYSCALL, "syscall", syscall);
    6364               
    6465                #ifdef CONFIG_SMP
    65                 trap_register(VECTOR_TLB_SHOOTDOWN_IPI, tlb_shootdown_ipi);
    66                 trap_register(VECTOR_WAKEUP_IPI, wakeup_ipi);
     66                exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown",
     67                             tlb_shootdown_ipi);
     68                exc_register(VECTOR_WAKEUP_IPI, "wakeup_ipi", wakeup_ipi);
    6769                #endif /* CONFIG_SMP */
    6870        }
Note: See TracChangeset for help on using the changeset viewer.