]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/ResetVector: Depend on PCD values of the page tables.
authorMarvin Häuser <Marvin.Haeuser@outlook.com>
Fri, 4 Nov 2016 13:32:39 +0000 (13:32 +0000)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 4 Nov 2016 22:47:07 +0000 (23:47 +0100)
commit73d66c5871cc8aef4f482255eeeff60c2585bd4f
tree6eacfbd7b0cc24299aefa26e300f286dd00e7b8e
parentfdaf78424da45b34ef515119cd308ffa8cd43d54
OvmfPkg/ResetVector: Depend on PCD values of the page tables.

Currently, the value of the page tables' address is hard-coded in the
ResetVector. This patch replaces these values with a PCD dependency.

A check for the size has been added to alert the developer to rewrite
the ASM according to the new size, if it has been changed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
OvmfPkg/ResetVector/Ia32/PageTables64.asm
OvmfPkg/ResetVector/ResetVector.inf
OvmfPkg/ResetVector/ResetVector.nasmb