Deleted Added
sdiff udiff text old ( 260670 ) new ( 262675 )
full compact
1/* $FreeBSD: stable/10/sys/powerpc/aim/trap_subr64.S 260670 2014-01-15 05:19:37Z 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

--- 272 unchanged lines hidden (view full) ---

282 .size dtrace_invop_calltrap_addr, 8
283dtrace_invop_calltrap_addr:
284 .word 0
285 .word 0
286
287 .text
288#endif
289
290#ifdef SMP
291/*
292 * Processor reset exception handler. These are typically
293 * the first instructions the processor executes after a
294 * software reset. We do this in two bits so that we are
295 * not still hanging around in the trap handling region
296 * once the MMU is turned on.
297 */
298 .globl CNAME(rstcode), CNAME(rstsize)

--- 18 unchanged lines hidden (view full) ---

317 bl CNAME(cpudep_ap_early_bootstrap) /* Set PCPU */
318 nop
319 lis %r3,1@l
320 bl CNAME(pmap_cpu_bootstrap) /* Turn on virtual memory */
321 nop
322 bl CNAME(cpudep_ap_bootstrap) /* Set up PCPU and stack */
323 nop
324 mr %r1,%r3 /* Use new stack */
325 bl CNAME(machdep_ap_bootstrap) /* And away! */
326 nop
327
328 /* Should not be reached */
3299:
330 b 9b
331#endif
332
333/*
334 * This code gets copied to all the trap vectors
335 * (except ISI/DSI, ALI, and the interrupts)
336 */
337
338 .globl CNAME(trapcode),CNAME(trapsize)
339CNAME(trapcode):

--- 486 unchanged lines hidden ---