Ignore:
File:
1 edited

Legend:

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

    rf902d36 r4872160  
    104104static void iosapic_init(void)
    105105{
    106         uint64_t IOSAPIC = PA2KA((sysarg_t)(iosapic_base)) | FW_OFFSET;
     106        uint64_t IOSAPIC = PA2KA((unative_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 
    161149#ifdef MACHINE_ski
    162150        ski_instance_t *ski_instance = skiin_init();
     
    222210#endif
    223211
    224         sysinfo_set_item_val("netif.ne2000.inr", NULL, IRQ_NE2000);
     212        sysinfo_set_item_val("netif.dp8390.inr", NULL, IRQ_DP8390);
    225213
    226214        sysinfo_set_item_val("ia64_iospace", NULL, true);
     
    263251 * We use r13 (a.k.a. tp) for this purpose.
    264252 */
    265 sysarg_t sys_tls_set(sysarg_t addr)
     253unative_t sys_tls_set(unative_t addr)
    266254{
    267255        return 0;
     
    286274void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller)
    287275{
    288         fptr->fnc = (sysarg_t) addr;
    289         fptr->gp = ((sysarg_t *) caller)[1];
     276        fptr->fnc = (unative_t) addr;
     277        fptr->gp = ((unative_t *) caller)[1];
    290278       
    291279        return (void *) fptr;
Note: See TracChangeset for help on using the changeset viewer.