entry.S (3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026) entry.S (8401707ff645521e9f21cbb8fe3b138f60e85680)
1/* arch/sparc/kernel/entry.S: Sparc trap low-level entry points.
2 *
3 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
5 * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx)
6 * Copyright (C) 1996-1999 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 * Copyright (C) 1997 Anton Blanchard (anton@progsoc.uts.edu.au)
8 */

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

395 set CC_IMSK, %l4
396 lduha [%l4] ASI_M_MXCC, %l5
397 sethi %hi(1 << 15), %l7
398 or %l5, %l7, %l5
399 stha %l5, [%l4] ASI_M_MXCC
400 /* FIXME */
4011: b,a 1b
402
1/* arch/sparc/kernel/entry.S: Sparc trap low-level entry points.
2 *
3 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
5 * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx)
6 * Copyright (C) 1996-1999 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 * Copyright (C) 1997 Anton Blanchard (anton@progsoc.uts.edu.au)
8 */

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

395 set CC_IMSK, %l4
396 lduha [%l4] ASI_M_MXCC, %l5
397 sethi %hi(1 << 15), %l7
398 or %l5, %l7, %l5
399 stha %l5, [%l4] ASI_M_MXCC
400 /* FIXME */
4011: b,a 1b
402
403#ifdef CONFIG_SPARC_LEON
404
405 .globl smpleon_ticker
406 /* SMP per-cpu ticker interrupts are handled specially. */
407smpleon_ticker:
408 SAVE_ALL
409 or %l0, PSR_PIL, %g2
410 wr %g2, 0x0, %psr
411 WRITE_PAUSE
412 wr %g2, PSR_ET, %psr
413 WRITE_PAUSE
414 call leon_percpu_timer_interrupt
415 add %sp, STACKFRAME_SZ, %o0
416 wr %l0, PSR_ET, %psr
417 WRITE_PAUSE
418 RESTORE_ALL
419
420 .align 4
421 .globl linux_trap_ipi15_leon
422linux_trap_ipi15_leon:
423 SAVE_ALL
424 or %l0, PSR_PIL, %l4
425 wr %l4, 0x0, %psr
426 WRITE_PAUSE
427 wr %l4, PSR_ET, %psr
428 WRITE_PAUSE
429 call leon_cross_call_irq
430 nop
431 b ret_trap_lockless_ipi
432 clr %l6
433
434#endif /* CONFIG_SPARC_LEON */
435
403#endif /* CONFIG_SMP */
404
405 /* This routine handles illegal instructions and privileged
406 * instruction attempts from user code.
407 */
408 .align 4
409 .globl bad_instruction
410bad_instruction:

--- 1209 unchanged lines hidden ---
436#endif /* CONFIG_SMP */
437
438 /* This routine handles illegal instructions and privileged
439 * instruction attempts from user code.
440 */
441 .align 4
442 .globl bad_instruction
443bad_instruction:

--- 1209 unchanged lines hidden ---