]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenBusDxe: Add device state struct and create an ExitBoot services event.
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 29 Oct 2014 06:48:59 +0000 (06:48 +0000)
committerjljusten <jljusten@Edk2>
Wed, 29 Oct 2014 06:48:59 +0000 (06:48 +0000)
commita154f420147b0a3f449bb52da1e76dabef3478a5
tree15793c501c2fd6c9e9eb75e67cdfd74a760b310d
parente65e8802e56eee33c3c2c77c1b60d5ba6746eb3b
OvmfPkg/XenBusDxe: Add device state struct and create an ExitBoot services event.

The ExitBoot event is used to disconnect from the device before the
next operating system start using them.

Change in V3:
- use the variable mMyDevice to prevent the driver from
  starting twice (if there is two different PCI devices).
- free(dev) on exit

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16259 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/XenBusDxe/XenBusDxe.c
OvmfPkg/XenBusDxe/XenBusDxe.h