trap_subr64.S (230400) | trap_subr64.S (242723) |
---|---|
1/* $FreeBSD: head/sys/powerpc/aim/trap_subr64.S 230400 2012-01-20 22:34:19Z andreast $ */ | 1/* $FreeBSD: head/sys/powerpc/aim/trap_subr64.S 242723 2012-11-07 23:45:09Z jhibbits $ */ |
2/* $NetBSD: trap_subr.S,v 1.20 2002/04/22 23:20:08 kleink Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 6 * Copyright (C) 1995, 1996 TooLs GmbH. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 259 unchanged lines hidden (view full) --- 269 GET_CPUINFO(%r3); \ 270 ld %r3,(savearea+CPUSAVE_SRR0)(%r3); /* restore srr0 */ \ 271 mtsrr0 %r3; \ 272 GET_CPUINFO(%r3); \ 273 ld %r3,(savearea+CPUSAVE_SRR1)(%r3); /* restore srr1 */ \ 274 mtsrr1 %r3; \ 275 mfsprg3 %r3 /* restore r3 */ 276 | 2/* $NetBSD: trap_subr.S,v 1.20 2002/04/22 23:20:08 kleink Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 6 * Copyright (C) 1995, 1996 TooLs GmbH. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 259 unchanged lines hidden (view full) --- 269 GET_CPUINFO(%r3); \ 270 ld %r3,(savearea+CPUSAVE_SRR0)(%r3); /* restore srr0 */ \ 271 mtsrr0 %r3; \ 272 GET_CPUINFO(%r3); \ 273 ld %r3,(savearea+CPUSAVE_SRR1)(%r3); /* restore srr1 */ \ 274 mtsrr1 %r3; \ 275 mfsprg3 %r3 /* restore r3 */ 276 |
277#ifdef KDTRACE_HOOKS 278 .data 279 .globl dtrace_invop_jump_addr 280 .align 8 281 .type dtrace_invop_jump_addr, @object 282 .size dtrace_invop_jump_addr, 8 283dtrace_invop_jump_addr: 284 .word 0 285 .word 0 286 .globl dtrace_invop_calltrap_addr 287 .align 8 288 .type dtrace_invop_calltrap_addr, @object 289 .size dtrace_invop_calltrap_addr, 8 290dtrace_invop_calltrap_addr: 291 .word 0 292 .word 0 293 294 .text 295#endif 296 |
|
277#ifdef SMP 278/* 279 * Processor reset exception handler. These are typically 280 * the first instructions the processor executes after a 281 * software reset. We do this in two bits so that we are 282 * not still hanging around in the trap handling region 283 * once the MMU is turned on. 284 */ --- 516 unchanged lines hidden --- | 297#ifdef SMP 298/* 299 * Processor reset exception handler. These are typically 300 * the first instructions the processor executes after a 301 * software reset. We do this in two bits so that we are 302 * not still hanging around in the trap handling region 303 * once the MMU is turned on. 304 */ --- 516 unchanged lines hidden --- |