booke_machdep.c (258244) | booke_machdep.c (263620) |
---|---|
1/*- 2 * Copyright (C) 2006-2012 Semihalf 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 --- 65 unchanged lines hidden (view full) --- 74 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 75 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 76 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 77 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 78 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79 */ 80 81#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 2006-2012 Semihalf 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 --- 65 unchanged lines hidden (view full) --- 74 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 75 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 76 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 77 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 78 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79 */ 80 81#include <sys/cdefs.h> |
82__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 258244 2013-11-17 02:03:36Z nwhitehorn $"); | 82__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 263620 2014-03-22 10:26:09Z bdrewery $"); |
83 84#include "opt_compat.h" 85#include "opt_ddb.h" 86#include "opt_kstack_pages.h" 87#include "opt_platform.h" 88 89#include <sys/cdefs.h> 90#include <sys/types.h> --- 124 unchanged lines hidden (view full) --- 215 printf("0x%08x - 0x%08x, %lu bytes (%lu pages)\n", 216 phys_avail[indx], phys_avail[indx + 1] - 1, 217 size, size / PAGE_SIZE); 218 } 219 } 220 221 vm_ksubmap_init(&kmi); 222 | 83 84#include "opt_compat.h" 85#include "opt_ddb.h" 86#include "opt_kstack_pages.h" 87#include "opt_platform.h" 88 89#include <sys/cdefs.h> 90#include <sys/types.h> --- 124 unchanged lines hidden (view full) --- 215 printf("0x%08x - 0x%08x, %lu bytes (%lu pages)\n", 216 phys_avail[indx], phys_avail[indx + 1] - 1, 217 size, size / PAGE_SIZE); 218 } 219 } 220 221 vm_ksubmap_init(&kmi); 222 |
223 printf("avail memory = %lu (%ld MB)\n", ptoa(cnt.v_free_count), 224 ptoa(cnt.v_free_count) / 1048576); | 223 printf("avail memory = %lu (%ld MB)\n", ptoa(vm_cnt.v_free_count), 224 ptoa(vm_cnt.v_free_count) / 1048576); |
225 226 /* Set up buffers, so they can be used to read disk labels. */ 227 bufinit(); 228 vm_pager_bufferinit(); 229 230 /* Cpu supports execution permissions on the pages. */ 231 elf32_nxstack = 1; 232} --- 430 unchanged lines hidden --- | 225 226 /* Set up buffers, so they can be used to read disk labels. */ 227 bufinit(); 228 vm_pager_bufferinit(); 229 230 /* Cpu supports execution permissions on the pages. */ 231 elf32_nxstack = 1; 232} --- 430 unchanged lines hidden --- |