]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenBusDxe: Add TestAndClearBit.
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 29 Oct 2014 06:50:35 +0000 (06:50 +0000)
committerjljusten <jljusten@Edk2>
Wed, 29 Oct 2014 06:50:35 +0000 (06:50 +0000)
commit6342f1fea881996666b4f1a9e7f132c484e03ff0
treeec1c09ac24a16fbf9803ad4379c3d41eee35826f
parentf1259bba3647beb30b7c5e2e7dbe6ba060814912
OvmfPkg/XenBusDxe: Add TestAndClearBit.

This atomically test's and clear's a bit.

Change in V3:
- adding IA32 support. (not yet reviewed)
  both XenBusDxe/Ia32/TestAndClearBit.{S,asm} are new

Change in V2:
- Adding .asm version
- Comment the function

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16266 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.S [new file with mode: 0644]
OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.asm [new file with mode: 0644]
OvmfPkg/XenBusDxe/X64/TestAndClearBit.S [new file with mode: 0644]
OvmfPkg/XenBusDxe/X64/TestAndClearBit.asm [new file with mode: 0644]
OvmfPkg/XenBusDxe/XenBusDxe.h
OvmfPkg/XenBusDxe/XenBusDxe.inf