Fix build breaks

Update EfiAcpiResetSystem() to match function prototype for EFI_RESET_SYSTEM
Add CpuDeadLoop() in all paths, so EfiAcpiResetSystem() can never return to be compliant with UEFI Spec, even when ASSERT() statements are disabled.
Change DEBUG() messages from EFI_D_ERROR to DEBUG_INFO because they are not error messages.
Simplify implementation from 4 files down to 2 files.
Use IoAndTheOr16() and MmioAndTheOr16() instead if IoRead/Write16() and MmioRead/Write16()



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10035 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney
2010-02-21 20:46:36 +00:00
parent 0e047a2a83
commit 09163a4d9d
4 changed files with 146 additions and 300 deletions

View File

@@ -36,8 +36,6 @@
[Sources]
Reset.c
Reset.h
ResetEntry.c
[Protocols]
gEfiResetArchProtocolGuid
@@ -47,8 +45,3 @@
[Depex]
TRUE
[BuildOptions]
MSFT:*_*_IA32_CC_FLAGS = /Od