1/*- 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 41 unchanged lines hidden (view full) --- 50 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $ 55 */ 56 57#include <sys/cdefs.h> |
58__FBSDID("$FreeBSD: head/sys/powerpc/aim/machdep.c 204128 2010-02-20 16:23:29Z nwhitehorn $"); |
59 60#include "opt_compat.h" 61#include "opt_ddb.h" 62#include "opt_kstack_pages.h" 63#include "opt_msgbuf.h" 64 65#include <sys/param.h> 66#include <sys/proc.h> --- 126 unchanged lines hidden (view full) --- 193 194#ifdef PERFMON 195 perfmon_init(); 196#endif 197 printf("real memory = %ld (%ld MB)\n", ptoa(physmem), 198 ptoa(physmem) / 1048576); 199 realmem = physmem; 200 |
201 if (bootverbose) 202 printf("available KVA = %zd (%zd MB)\n", 203 virtual_end - virtual_avail, 204 (virtual_end - virtual_avail) / 1048576); 205 |
206 /* 207 * Display any holes after the first chunk of extended memory. 208 */ 209 if (bootverbose) { 210 int indx; 211 212 printf("Physical memory chunk(s):\n"); 213 for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { --- 989 unchanged lines hidden --- |