diff options
Diffstat (limited to 'c/src/lib/libbsp/mips/malta/startup/bspreset.c')
-rw-r--r-- | c/src/lib/libbsp/mips/malta/startup/bspreset.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/c/src/lib/libbsp/mips/malta/startup/bspreset.c b/c/src/lib/libbsp/mips/malta/startup/bspreset.c deleted file mode 100644 index 6d406ea943..0000000000 --- a/c/src/lib/libbsp/mips/malta/startup/bspreset.c +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @file - * - * This file contains the code necessary to reset the Malta board. - */ - -/* - * COPYRIGHT (c) 1989-2012. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include <rtems.h> -#include <bsp/bootcard.h> - -void bsp_reset(void) -{ - uint32_t *reset; - - reset= (uint32_t *)0x9F000500; - /* - * Qemu understands 0x42 to reset simulated machine. - * We added code to recognize 0xFF to exit simulator. - * - * TBD: Qemu PC simulation has option to exit on reset. - * find processing of that command line option and - * use it to change behaviour of 0x42. - */ - // *reset = 0x42; - *reset = 0xFF; -} |