GenPage.exe

Name

GenPage.exe - create a page table

Synopsis

GenPage.exe [Options] Filename
GenPage.exe -o <output_filename> [-f] [-b] [--version] [-d] [-q | -v] [-h] <EfiLoaderImageName>

Description

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.

Options

-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 be
displayed
-s, --silent Returns only the exit code; informational and error
messages are not displayed
-o OUTPUT_FILENAME, --output OUTPUT_FILENAME
Output file contain both the non-page table part and
the page table
-b BASE_ADDRESS, --baseaddr BASE_ADDRESS
The page table location
-f OFFSET, --offset OFFSET
The position that the page table will appear in the
output file
--sfo Reserved for future use

Example

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.

Bugs

No known issues

Report bugs to [email protected]

Files

None.

See also

None.

License

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.