Date: Sat, 26 Mar 2011 06:21:05 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220021 - in head/sys/amd64: amd64 include Message-ID: <201103260621.p2Q6L54o005628@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Sat Mar 26 06:21:05 2011 New Revision: 220021 URL: http://svn.freebsd.org/changeset/base/220021 Log: Move an external declaration to the appropriate header file. Modified: head/sys/amd64/amd64/minidump_machdep.c head/sys/amd64/include/pmap.h Modified: head/sys/amd64/amd64/minidump_machdep.c ============================================================================== --- head/sys/amd64/amd64/minidump_machdep.c Sat Mar 26 03:01:48 2011 (r220020) +++ head/sys/amd64/amd64/minidump_machdep.c Sat Mar 26 06:21:05 2011 (r220021) @@ -53,8 +53,6 @@ CTASSERT(sizeof(struct kerneldumpheader) #define MD_ALIGN(x) (((off_t)(x) + PAGE_MASK) & ~PAGE_MASK) #define DEV_ALIGN(x) (((off_t)(x) + (DEV_BSIZE-1)) & ~(DEV_BSIZE-1)) -extern uint64_t KPDPphys; - uint64_t *vm_page_dump; int vm_page_dump_size; Modified: head/sys/amd64/include/pmap.h ============================================================================== --- head/sys/amd64/include/pmap.h Sat Mar 26 03:01:48 2011 (r220020) +++ head/sys/amd64/include/pmap.h Sat Mar 26 06:21:05 2011 (r220021) @@ -180,6 +180,7 @@ typedef u_int64_t pml4_entry_t; #define PML4map ((pd_entry_t *)(addr_PML4map)) #define PML4pml4e ((pd_entry_t *)(addr_PML4pml4e)) +extern u_int64_t KPDPphys; /* physical address of kernel level 3 */ extern u_int64_t KPML4phys; /* physical address of kernel level 4 */ /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103260621.p2Q6L54o005628>