Changeset 7d3d641 in mainline for kernel/arch/xen32/src/xen32.c


Ignore:
Timestamp:
2006-08-01T20:45:26Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5b23a82
Parents:
3e5cc686
Message:

xen32: initialize virtual IDT

File:
1 edited

Legend:

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

    r3e5cc686 r7d3d641  
    6565memzone_t meminfo;
    6666
     67extern void xen_callback(void);
     68extern void xen_failsafe_callback(void);
     69
    6770void arch_pre_main(void)
    6871{
     
    7679        pte.frame_address = ADDR2PFN((uintptr_t) start_info.shared_info);
    7780        xen_update_va_mapping(&shared_info, pte, UVMF_INVLPG);
     81       
     82        xen_set_callbacks(XEN_CS, xen_callback, XEN_CS, xen_failsafe_callback);
    7883       
    7984        /* Create identity mapping */
     
    117122//              bios_init();
    118123               
    119 //              exc_register(VECTOR_SYSCALL, "syscall", (iroutine) syscall);
     124                exc_register(VECTOR_SYSCALL, "syscall", (iroutine) syscall);
    120125               
    121126                #ifdef CONFIG_SMP
    122 //              exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown",
    123 //                           (iroutine) tlb_shootdown_ipi);
     127                exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown",
     128                             (iroutine) tlb_shootdown_ipi);
    124129                #endif /* CONFIG_SMP */
    125130        }
Note: See TracChangeset for help on using the changeset viewer.