Commit Graph

39 Commits

Author SHA1 Message Date
qhuang8 9a462b415d UefiLib:
Add two new interfaces of EfiCreateEventLegacyBootEx & EfiCreateEventReadyToBootEx
Fix a bug in EfiCreateEventLegacyBoot & EfiCreateEventReadyToBoot. (#51)
PciLib:
Add missing ASSERT()s in PciReadBuffer() & PciWriteBuffer() (#70)
IoLib
Add ASSERT()s to check alignment.
MemoryAllocationLib:
For AllocateXXXCopyBuffer(). Add ASSERT()s for cases when allocations fails.
BaseLib:
Change the return type of InternalMathModU64x32 from UINT64 to UINT32


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@416 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 13:08:25 +00:00
vanjeff 7d7c2b4640 Deleted x64\SwitchStack.c Ipf/SwitchStack.c.
Added SwitchStack.c in Baselib\
Rename Ia32/SwitchStack.c to Ia32/InternalSwitchStack.c
Changed _SwitchStack() into InternalSwitchStack() in SwitchStack.asm and SwitchStack.s
Fixed one bug in LinkedList.c, that List length couldn't up to PcdMaximumLinkedListLength. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@394 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:58:31 +00:00
vanjeff 6fc80a45b5 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@393 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:51:47 +00:00
vanjeff 317066baf9 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@392 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:51:15 +00:00
vanjeff 692ad74b77 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@391 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:50:05 +00:00
vanjeff 52166c09d6 Added function declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@362 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 02:13:30 +00:00
vanjeff d17412e3e7 Created as one wrapper
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@352 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 09:40:46 +00:00
vanjeff 25af9f3043 Created as one wrapper for SwitchStack.c to add assert()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@351 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 09:27:13 +00:00
vanjeff 86d9a2e25e Changed SwitchStack() to _SwitchStack()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@349 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:54:07 +00:00
vanjeff 6586cdf395 Changed LongJump() to _LongJump()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@348 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:53:35 +00:00
vanjeff 493b974b1b Created as wrapper for SwitchStack() to add assert()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@347 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:52:54 +00:00
vanjeff b48638214f Changed SwitchStack() to _SwitchStack()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@346 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:52:04 +00:00
vanjeff 81d5a316ad Changed LongJump() to _LongJump()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@345 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:51:26 +00:00
vanjeff e513625f22 change LongJump() to _LongJump()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@344 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:50:43 +00:00
vanjeff c39b1ee3cd Move SetJumpLongJump.c and SwitchStack,c into ebc sub directory.
Add LongJump.c as wrapper to add assert()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@343 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:49:32 +00:00
vanjeff 6edd7697ec Fixed one bug of WriteUnaligned24()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@342 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:46:41 +00:00
vanjeff 94e68c3e10 Created as one wrapper for LongJump(), to added assert() function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@341 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:45:29 +00:00
vanjeff 75fe89d672 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@340 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:43:49 +00:00
vanjeff 47a0ce73b7 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@339 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:26:06 +00:00
bxing 277872438c Change SPIN_LOCK_ACQUIRED to 1 and SPIN_LOCK_RELEASED to 2 according to MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@310 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 02:34:09 +00:00
lhauch 54de7486cf Updated MSA by putting Specification element at the end of the header section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@283 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 21:42:12 +00:00
bbahnsen 362c60128f Gcc versions of the msa files. These files can be used in place of the normal msa files for gcc builds. They will go away once we get the gcc assembly integrated into the main msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@270 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 21:32:36 +00:00
vanjeff 1342c9cf2a added ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@261 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:46:26 +00:00
vanjeff 1dc408f891 added ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@260 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:44:35 +00:00
bxing 18c319ae39 1. Updated CpuFlushTlb() according to IA-64 programmer's guide
2. Updated Thunk code to preserve EFLAGS/RFLAGS across real mode code invocation
3. Updated comments in x86Thunk.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@248 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 05:33:03 +00:00
bxing 50a3fe9561 Fixed a bug due to misorder of 'push's
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@241 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-23 07:07:41 +00:00
bxing 267f7f10ec Fixed tracker #40
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@227 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-22 07:58:55 +00:00
bxing f387591c76 Removed unnecessary ASSERT condition (assertion of real mode buffers' alignment)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@225 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-22 02:33:37 +00:00
bbahnsen ab191ed4ff Thunk16.s has not been ported to GCC. This will at least get past the assembler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@204 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 15:25:52 +00:00
bbahnsen 2cad7af672 Get the underscore typed in correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@193 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-17 23:47:47 +00:00
bbahnsen 7962c48c97 Resync the GNU assembly to the MASM code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@192 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-17 23:30:57 +00:00
bxing baa1b55e45 Added CpuFlushTlb() for IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@184 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-17 10:29:44 +00:00
bbahnsen f7f897daef Fixes for GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@180 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-16 20:34:23 +00:00
bxing 97d92bdaf0 Updated BaseLib for THUNK functions and some CPU functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@158 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-15 11:14:20 +00:00
lgao4 c1288a3926 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@152 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-14 09:16:36 +00:00
bbahnsen 22e0585cf8 Convert backslashes to forward slashes in many build files. This is necessary for Linux support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@55 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-26 20:53:56 +00:00
mdkinney 6cfb0c24a8 Fix bug in StrnCpy() and AsciStrnCpy(). It was copying Length - 1 characters instead of Length characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@34 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-25 23:30:07 +00:00
bbahnsen 185d764218 Rename dirs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@16 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-24 22:17:39 +00:00
bbahnsen 878ddf1fc3 Initial import.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-21 22:54:32 +00:00