Ignore:
File:
1 edited

Legend:

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

    r4872160 rf902d36  
    104104static void iosapic_init(void)
    105105{
    106         uint64_t IOSAPIC = PA2KA((unative_t)(iosapic_base)) | FW_OFFSET;
     106        uint64_t IOSAPIC = PA2KA((sysarg_t)(iosapic_base)) | FW_OFFSET;
    107107        int i;
    108108       
     
    147147void arch_post_smp_init(void)
    148148{
     149        static const char *platform;
     150
     151        /* Set platform name. */
     152#ifdef MACHINE_ski
     153        platform = "pc";
     154#endif
     155#ifdef MACHINE_i460GX
     156        platform = "i460GX";
     157#endif
     158        sysinfo_set_item_data("platform", NULL, (void *) platform,
     159            str_size(platform));
     160
    149161#ifdef MACHINE_ski
    150162        ski_instance_t *ski_instance = skiin_init();
     
    210222#endif
    211223
    212         sysinfo_set_item_val("netif.dp8390.inr", NULL, IRQ_DP8390);
     224        sysinfo_set_item_val("netif.ne2000.inr", NULL, IRQ_NE2000);
    213225
    214226        sysinfo_set_item_val("ia64_iospace", NULL, true);
     
    251263 * We use r13 (a.k.a. tp) for this purpose.
    252264 */
    253 unative_t sys_tls_set(unative_t addr)
     265sysarg_t sys_tls_set(sysarg_t addr)
    254266{
    255267        return 0;
     
    274286void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller)
    275287{
    276         fptr->fnc = (unative_t) addr;
    277         fptr->gp = ((unative_t *) caller)[1];
     288        fptr->fnc = (sysarg_t) addr;
     289        fptr->gp = ((sysarg_t *) caller)[1];
    278290       
    279291        return (void *) fptr;
Note: See TracChangeset for help on using the changeset viewer.