Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 23:33:37 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r271495 - in head: sbin/sysctl sys/amd64/amd64
Message-ID:  <CAPyFy2A9B86EZ7bN8uyiJ5p9r%2BVMoV9yL_GFAOpvknywsc0R6g@mail.gmail.com>
In-Reply-To: <201409130310.s8D3A2OF031100@svn.freebsd.org>
References:  <201409130310.s8D3A2OF031100@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 September 2014 23:10, John Baldwin <jhb@freebsd.org> wrote:
> Author: jhb
> Date: Sat Sep 13 03:10:02 2014
> New Revision: 271495
> URL: http://svnweb.freebsd.org/changeset/base/271495
>
> Log:
>   Add a sysctl to export the EFI memory map along with a handler in the
>   sysctl(8) binary to format it.

The output (from QEMU in this case) looks like:

root@:~ # sysctl machdep.efi_map
machdep.efi_map:
                   Type     Physical      Virtual   #Pages Attr
     ConventionalMemory 000000000000          0x0 000000a0 UC WC WT WB
     ConventionalMemory 000000100000          0x0 00000720 UC WC WT WB
       BootServicesData 000000820000          0x0 000007e0 UC WC WT WB
     ConventionalMemory 000001000000          0x0 00003000 UC WC WT WB
       BootServicesData 000004000000          0x0 00000020 UC WC WT WB
     ConventionalMemory 000004020000          0x0 0000088a UC WC WT WB
             LoaderData 0000048aa000          0x0 00002200 UC WC WT WB
             LoaderCode 000006aaa000          0x0 0000004a UC WC WT WB
             LoaderData 000006af4000          0x0 0000004c UC WC WT WB
             LoaderCode 000006b40000          0x0 0000000f UC WC WT WB
     ConventionalMemory 000006b4f000          0x0 0000000c UC WC WT WB
             LoaderData 000006b5b000          0x0 00000005 UC WC WT WB
       BootServicesData 000006b60000          0x0 0000018c UC WC WT WB
       BootServicesCode 000006cec000          0x0 00000150 UC WC WT WB
    RuntimeServicesData 000006e3c000          0x0 00000012 UC WC WT WB RUNTIME
       BootServicesData 000006e4e000          0x0 00000f00 UC WC WT WB
       BootServicesCode 000007d4e000          0x0 00000180 UC WC WT WB
    RuntimeServicesCode 000007ece000          0x0 00000030 UC WC WT WB RUNTIME
    RuntimeServicesData 000007efe000          0x0 00000024 UC WC WT WB RUNTIME
               Reserved 000007f22000          0x0 00000004 UC WC WT WB
      ACPIReclaimMemory 000007f26000          0x0 00000008 UC WC WT WB
          ACPIMemoryNVS 000007f2e000          0x0 00000004 UC WC WT WB
       BootServicesData 000007f32000          0x0 0000009e UC WC WT WB
    RuntimeServicesData 000007fd0000          0x0 00000030 UC WC WT WB RUNTIME



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2A9B86EZ7bN8uyiJ5p9r%2BVMoV9yL_GFAOpvknywsc0R6g>