entry.S (b3bbcc5d1da1b654091dad15980b3d58fdae0fc6) entry.S (a5e3aaa654c15760afdfb85d0b6fd825ce068efc)
1/*
2 * Low-level system-call handling, trap handlers and context-switching
3 *
4 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
5 * Copyright (C) 2008-2009 PetaLogix
6 * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
7 * Copyright (C) 2001,2002 NEC Corporation
8 * Copyright (C) 2001,2002 Miles Bader <miles@gnu.org>

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

952 lwi r12, r11, CC_FSR
953 mts rfsr, r12
954 lwi r12, r11, CC_MSR
955 mts rmsr, r12
956
957 rtsd r15, 8
958 nop
959
1/*
2 * Low-level system-call handling, trap handlers and context-switching
3 *
4 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
5 * Copyright (C) 2008-2009 PetaLogix
6 * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
7 * Copyright (C) 2001,2002 NEC Corporation
8 * Copyright (C) 2001,2002 Miles Bader <miles@gnu.org>

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

952 lwi r12, r11, CC_FSR
953 mts rfsr, r12
954 lwi r12, r11, CC_MSR
955 mts rmsr, r12
956
957 rtsd r15, 8
958 nop
959
960#ifdef CONFIG_MB_MANAGER
961.section .data
962.global xmb_manager_dev
963.global xmb_manager_baseaddr
964.global xmb_manager_crval
965.global xmb_manager_callback
966.global xmb_manager_reset_callback
967.align 4
968xmb_manager_dev:
969 .long 0
970xmb_manager_baseaddr:
971 .long 0
972xmb_manager_crval:
973 .long 0
974xmb_manager_callback:
975 .long 0
976xmb_manager_reset_callback:
977 .long 0
978
979/*
980 * When the break vector gets asserted because of error injection,
981 * the break signal must be blocked before exiting from the
982 * break handler, Below api updates the manager address and
983 * control register and error count callback arguments,
984 * which will be used by the break handler to block the
985 * break and call the callback function.
986 */
987.global xmb_manager_register
988.section .text
989.align 2
990.ent xmb_manager_register
991.type xmb_manager_register, @function
992xmb_manager_register:
993 swi r5, r0, xmb_manager_baseaddr
994 swi r6, r0, xmb_manager_crval
995 swi r7, r0, xmb_manager_callback
996 swi r8, r0, xmb_manager_dev
997 swi r9, r0, xmb_manager_reset_callback
998
999 rtsd r15, 8;
1000 nop;
1001.end xmb_manager_register
1002#endif
1003
960ENTRY(_reset)
961 VM_OFF
962 brai 0; /* Jump to reset vector */
963
964 /* These are compiled and loaded into high memory, then
965 * copied into place in mach_early_setup */
966 .section .init.ivt, "ax"
967#if CONFIG_MANUAL_RESET_VECTOR

--- 44 unchanged lines hidden ---
1004ENTRY(_reset)
1005 VM_OFF
1006 brai 0; /* Jump to reset vector */
1007
1008 /* These are compiled and loaded into high memory, then
1009 * copied into place in mach_early_setup */
1010 .section .init.ivt, "ax"
1011#if CONFIG_MANUAL_RESET_VECTOR

--- 44 unchanged lines hidden ---