sb_machdep.c (195333) | sb_machdep.c (198669) |
---|---|
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: projects/mips/sys/mips/sibyte/sb_machdep.c 195333 2009-07-04 03:05:48Z imp $"); | 28__FBSDID("$FreeBSD: projects/mips/sys/mips/sibyte/sb_machdep.c 198669 2009-10-30 08:53:11Z rrs $"); |
29 30#include <sys/param.h> 31#include <machine/cpuregs.h> 32 33#include "opt_ddb.h" 34#include "opt_kdb.h" 35 36#include <sys/param.h> --- 56 unchanged lines hidden (view full) --- 93 94#ifdef CFE_ENV 95extern void cfe_env_init(void); 96#endif 97 98extern int *edata; 99extern int *end; 100 | 29 30#include <sys/param.h> 31#include <machine/cpuregs.h> 32 33#include "opt_ddb.h" 34#include "opt_kdb.h" 35 36#include <sys/param.h> --- 56 unchanged lines hidden (view full) --- 93 94#ifdef CFE_ENV 95extern void cfe_env_init(void); 96#endif 97 98extern int *edata; 99extern int *end; 100 |
101void 102platform_cpu_init() 103{ 104 /* Nothing special */ 105} 106 |
|
101static void 102mips_init(void) 103{ 104 int i, cfe_mem_idx, tmp; 105 uint64_t maxmem; 106 107#ifdef CFE_ENV 108 cfe_env_init(); --- 151 unchanged lines hidden --- | 107static void 108mips_init(void) 109{ 110 int i, cfe_mem_idx, tmp; 111 uint64_t maxmem; 112 113#ifdef CFE_ENV 114 cfe_env_init(); --- 151 unchanged lines hidden --- |