Changes in kernel/arch/ia64/src/ia64.c [f902d36:4872160] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/ia64.c
rf902d36 r4872160 104 104 static void iosapic_init(void) 105 105 { 106 uint64_t IOSAPIC = PA2KA(( sysarg_t)(iosapic_base)) | FW_OFFSET;106 uint64_t IOSAPIC = PA2KA((unative_t)(iosapic_base)) | FW_OFFSET; 107 107 int i; 108 108 … … 147 147 void arch_post_smp_init(void) 148 148 { 149 static const char *platform;150 151 /* Set platform name. */152 #ifdef MACHINE_ski153 platform = "pc";154 #endif155 #ifdef MACHINE_i460GX156 platform = "i460GX";157 #endif158 sysinfo_set_item_data("platform", NULL, (void *) platform,159 str_size(platform));160 161 149 #ifdef MACHINE_ski 162 150 ski_instance_t *ski_instance = skiin_init(); … … 222 210 #endif 223 211 224 sysinfo_set_item_val("netif. ne2000.inr", NULL, IRQ_NE2000);212 sysinfo_set_item_val("netif.dp8390.inr", NULL, IRQ_DP8390); 225 213 226 214 sysinfo_set_item_val("ia64_iospace", NULL, true); … … 263 251 * We use r13 (a.k.a. tp) for this purpose. 264 252 */ 265 sysarg_t sys_tls_set(sysarg_t addr)253 unative_t sys_tls_set(unative_t addr) 266 254 { 267 255 return 0; … … 286 274 void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller) 287 275 { 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]; 290 278 291 279 return (void *) fptr;
Note:
See TracChangeset
for help on using the changeset viewer.