xlr_machdep.c (201845) | xlr_machdep.c (201881) |
---|---|
1/*- 2 * Copyright (c) 2006-2009 RMI Corporation 3 * Copyright (c) 2002-2004 Juli Mallett <jmallett@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 374 unchanged lines hidden (view full) --- 383#ifdef SMP 384 uint32_t tmp; 385 void (*wakeup) (void *, void *, unsigned int); 386 387#endif 388 /* XXX no zeroing of BSS? */ 389 390 /* Initialize pcpu stuff */ | 1/*- 2 * Copyright (c) 2006-2009 RMI Corporation 3 * Copyright (c) 2002-2004 Juli Mallett <jmallett@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 374 unchanged lines hidden (view full) --- 383#ifdef SMP 384 uint32_t tmp; 385 void (*wakeup) (void *, void *, unsigned int); 386 387#endif 388 /* XXX no zeroing of BSS? */ 389 390 /* Initialize pcpu stuff */ |
391 mips_pcpu_init(); | 391 mips_pcpu0_init(); |
392 393 /* XXX FIXME the code below is not 64 bit clean */ 394 /* Save boot loader and other stuff from scratch regs */ 395 xlr_boot1_info = *(struct boot1_info *)read_c0_register32(MIPS_COP_0_OSSCRATCH, 0); 396 cpu_mask_info = read_c0_register64(MIPS_COP_0_OSSCRATCH, 1); 397 xlr_online_cpumask = read_c0_register32(MIPS_COP_0_OSSCRATCH, 2); 398 xlr_run_mode = read_c0_register32(MIPS_COP_0_OSSCRATCH, 3); 399 xlr_argc = read_c0_register32(MIPS_COP_0_OSSCRATCH, 4); --- 327 unchanged lines hidden --- | 392 393 /* XXX FIXME the code below is not 64 bit clean */ 394 /* Save boot loader and other stuff from scratch regs */ 395 xlr_boot1_info = *(struct boot1_info *)read_c0_register32(MIPS_COP_0_OSSCRATCH, 0); 396 cpu_mask_info = read_c0_register64(MIPS_COP_0_OSSCRATCH, 1); 397 xlr_online_cpumask = read_c0_register32(MIPS_COP_0_OSSCRATCH, 2); 398 xlr_run_mode = read_c0_register32(MIPS_COP_0_OSSCRATCH, 3); 399 xlr_argc = read_c0_register32(MIPS_COP_0_OSSCRATCH, 4); --- 327 unchanged lines hidden --- |