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