s5_machdep.c (202175) | s5_machdep.c (202849) |
---|---|
1/*- 2 * Copyright (c) 2007 Bruce M. Simpson. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2007 Bruce M. Simpson. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/mips/sentry5/s5_machdep.c 202175 2010-01-12 21:36:08Z imp $"); | 28__FBSDID("$FreeBSD: head/sys/mips/sentry5/s5_machdep.c 202849 2010-01-23 00:18:12Z imp $"); |
29 30#include <sys/param.h> 31#include <machine/cpuregs.h> 32 33#include <mips/sentry5/s5reg.h> 34 35#include "opt_ddb.h" 36 --- 94 unchanged lines hidden (view full) --- 131 physmem = realmem; 132 133 init_param1(); 134 init_param2(physmem); 135 mips_cpu_init(); 136 pmap_bootstrap(); 137 mips_proc0_init(); 138 mutex_init(); | 29 30#include <sys/param.h> 31#include <machine/cpuregs.h> 32 33#include <mips/sentry5/s5reg.h> 34 35#include "opt_ddb.h" 36 --- 94 unchanged lines hidden (view full) --- 131 physmem = realmem; 132 133 init_param1(); 134 init_param2(physmem); 135 mips_cpu_init(); 136 pmap_bootstrap(); 137 mips_proc0_init(); 138 mutex_init(); |
139#ifdef DDB | |
140 kdb_init(); | 139 kdb_init(); |
140#ifdef KDB 141 if (boothowto & RB_KDB) 142 kdb_enter(KDB_WHY_BOOTFLAGS, "Boot flags requested debugger"); |
|
141#endif 142} 143 144void 145platform_halt(void) 146{ 147 148} --- 97 unchanged lines hidden --- | 143#endif 144} 145 146void 147platform_halt(void) 148{ 149 150} --- 97 unchanged lines hidden --- |