GenPage.exe
- create a page table
GenPage.exe [Options] FilenameGenPage.exe -o <output_filename> [-f] [-b] [--version] [-d] [-q | -v] [-h] <EfiLoaderImageName>
The output of this tool is composed of two parts: the page table part and non-page table part. The non-page table is placed at the beginning of the output file. The page table is placed at the offset specified from option. The Page table base address can also be specified by command line option.
-h, --help Show this help message and exit--version Show program's version number and exit-d [DEBUG], --debug [DEBUG]Output DEBUG statements, where DEBUG_LEVEL is 0 (min)- 9 (max)-v, --verbose Print informational statements-q, --quiet Returns the exit code, error messages will bedisplayed-s, --silent Returns only the exit code; informational and errormessages are not displayed-o OUTPUT_FILENAME, --output OUTPUT_FILENAMEOutput file contain both the non-page table part andthe page table-b BASE_ADDRESS, --baseaddr BASE_ADDRESSThe page table location-f OFFSET, --offset OFFSETThe position that the page table will appear in theoutput file--sfo Reserved for future use
c:/Tools/GenPage.exe -f 0x20000 -b 0x1000 -o loader.img loader.data
The loader.data and a 4G range page table with base address 0x1000 will be put into loader.img file. The page table will be placed at offset 0x20000 of loader.img file.
No known issues
Report bugs to [email protected]
None.
None.
Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at:
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.