Deleted Added
full compact
machdep.c (177110) machdep.c (177253)
1/*-
2 * Copyright (C) 2006 Semihalf, Marian Balakowicz <m8@semihalf.com>
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

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

76 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
77 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
78 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
79 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
80 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
81 */
82
83#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 2006 Semihalf, Marian Balakowicz <m8@semihalf.com>
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

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

76 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
77 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
78 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
79 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
80 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
81 */
82
83#include <sys/cdefs.h>
84__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 177110 2008-03-12 16:32:08Z raj $");
84__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 177253 2008-03-16 10:58:09Z rwatson $");
85
86#include "opt_compat.h"
87#include "opt_kstack_pages.h"
88
89#include <sys/cdefs.h>
90#include <sys/types.h>
91
92#include <sys/param.h>

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

175char machine[] = "powerpc";
176SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, machine, 0, "");
177
178static int cacheline_size = CACHELINESIZE;
179SYSCTL_INT(_machdep, CPU_CACHELINE, cacheline_size,
180 CTLFLAG_RD, &cacheline_size, 0, "");
181
182static void cpu_e500_startup(void *);
85
86#include "opt_compat.h"
87#include "opt_kstack_pages.h"
88
89#include <sys/cdefs.h>
90#include <sys/types.h>
91
92#include <sys/param.h>

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

175char machine[] = "powerpc";
176SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, machine, 0, "");
177
178static int cacheline_size = CACHELINESIZE;
179SYSCTL_INT(_machdep, CPU_CACHELINE, cacheline_size,
180 CTLFLAG_RD, &cacheline_size, 0, "");
181
182static void cpu_e500_startup(void *);
183SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_e500_startup, NULL)
183SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_e500_startup, NULL);
184
185void print_kernel_section_addr(void);
186void dump_bootinfo(void);
187void dump_kenv(void);
188void e500_init(u_int32_t, u_int32_t, void *);
189void setPQL2(int *const size, int *const ways);
190
191void

--- 820 unchanged lines hidden ---
184
185void print_kernel_section_addr(void);
186void dump_bootinfo(void);
187void dump_kenv(void);
188void e500_init(u_int32_t, u_int32_t, void *);
189void setPQL2(int *const size, int *const ways);
190
191void

--- 820 unchanged lines hidden ---