diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-03-03 08:40:28 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-03-03 08:40:28 +0000 |
commit | 42d0cad751d610a8e6680ffd468fc40c970e96c0 (patch) | |
tree | e4fe9e5a83bb363d6e7942e5cfedb1668a977d87 /BaseTools/Source/Python/GenFds | |
parent | d89186bc869bfedd9f83f8e52f995dfd04691521 (diff) | |
download | edk2-platforms-42d0cad751d610a8e6680ffd468fc40c970e96c0.tar.xz |
OvmfPkg: QemuVideoDxe: simplify UEFI driver model use in Supported() / Start()
A bus driver is allowed to ignore the actual value of RemainingDevicePath
in Supported() and Start(), and to produce all child handles at once.
This in effect means the following invariants for QemuVideoDxe:
- (RemainingDevicePath == NULL), and
- (Private->GopDevicePath != NULL)
Simplify Supported() and Start() by substituting constant TRUE and FALSE
(as appropriate) in expressions that check RemainingDevicePath and/or
Private->GopDevicePath.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15283 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/GenFds')
0 files changed, 0 insertions, 0 deletions