]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/PlatformPei/MemDetect.c
OvmfPkg: PlatformPei: factor out GetFirstNonAddress()
authorLaszlo Ersek <lersek@redhat.com>
Fri, 4 Mar 2016 16:23:35 +0000 (17:23 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 23 Mar 2016 16:46:56 +0000 (17:46 +0100)
commitd5371680638151ff1a4332294e60a1c12163752e
tree3387377b6449d2355df3d81e1be760b70783d595
parent8f35eb92c419f8a02dcaaac41073d88739a86562
OvmfPkg: PlatformPei: factor out GetFirstNonAddress()

Factor out the expression that is currently the basis of the address width
calculation into a standalone function. In the next patches we'll raise
the return value under certain circumstances.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Thomas Lamprecht <t.lamprecht@proxmox.com>
Ref: https://github.com/tianocore/edk2/issues/59
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
OvmfPkg/PlatformPei/MemDetect.c