Changes in kernel/arch/amd64/src/amd64.c [f902d36:2ddcc7b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
rf902d36 r2ddcc7b 199 199 void arch_post_smp_init(void) 200 200 { 201 /* Currently the only supported platform for amd64 is 'pc'. */202 static const char *platform = "pc";203 204 sysinfo_set_item_data("platform", NULL, (void *) platform,205 str_size(platform));206 207 201 #ifdef CONFIG_PC_KBD 208 202 /* … … 235 229 #endif 236 230 237 if (irqs_info != NULL) 238 sysinfo_set_item_val(irqs_info, NULL, true); 239 240 sysinfo_set_item_val("netif.ne2000.inr", NULL, IRQ_NE2000); 231 /* 232 * This nasty hack should also go away ASAP. 233 */ 234 trap_virtual_enable_irqs(1 << IRQ_DP8390); 235 sysinfo_set_item_val("netif.dp8390.inr", NULL, IRQ_DP8390); 241 236 } 242 237 … … 261 256 * we need not to go to CPL0 to read it. 262 257 */ 263 sysarg_t sys_tls_set(sysarg_t addr)258 unative_t sys_tls_set(unative_t addr) 264 259 { 265 260 THREAD->arch.tls = addr;
Note:
See TracChangeset
for help on using the changeset viewer.