Commit Graph

623 Commits

Author SHA1 Message Date
mdkinney 099fae5d83 Update comments for IsaAcpi.h, IsaIo.h, and VgaMiniPort.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8728 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-03 00:37:42 +00:00
rsun3 2101c62ad0 Fix bugs in last code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8713 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-02 02:01:29 +00:00
lgao4 61efb259fb Fix code bug to cause deal loop when no floppy device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8700 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:57:25 +00:00
rsun3 d6321d6ef9 Isa Floppy driver code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8697 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 05:48:44 +00:00
mdkinney 78d6366d68 Add Null implementation of the Legacy Region Protocol
This module may be used on platforms that do not have the ability to manage the legacy regions or as a template module for implementing support for legacy regions




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8695 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 03:42:47 +00:00
klu2 5540f4aa18 Should not use integer as boolean value for judgment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8684 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 02:15:24 +00:00
klu2 201e40668d Refine the member name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8682 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 01:55:21 +00:00
xli24 1fa282ec23 Add check for memory allocation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8678 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 07:29:39 +00:00
vanjeff 9c10bff352 fixed ecc and k8 issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8674 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-29 03:21:03 +00:00
rsun3 0a2dfa1996 Coding style clean-up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8670 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:40:09 +00:00
lgao4 91c681977b Update code style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8669 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 08:39:21 +00:00
jchen20 9b90631549 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b-4bc3-4df7-8a09-765794883524 2009-06-26 07:14:08 +00:00
vanjeff ae358cb21b Clean up ECC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8665 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 03:33:17 +00:00
jchen20 7dd94873d2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8664 6f19259b-4bc3-4df7-8a09-765794883524 2009-06-26 03:28:05 +00:00
jchen20 cd57e8889c Code scrub for IdeBusDxe driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8663 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-26 03:23:08 +00:00
vanjeff 8e8227d1a3 Code scrub for PCI Bus module and PciIncompatibleDeviceSupportLib module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8662 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 13:47:45 +00:00
eric_tian 745ed9b412 update the comments on Event
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8661 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 09:09:21 +00:00
eric_tian cab302fd4c code scrub on Ps2MouseDxe/Ps2MouseAbsolutePointer module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8659 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 08:42:53 +00:00
lgao4 182b1d1623 Clean up Library LzmaCustomDecompressLib, PeiRecoveryLib and driver SectionExtraction
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8658 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 08:40:49 +00:00
eric_tian 24a2dd3d08 code scrub on Ps2MouseDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8657 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 08:27:12 +00:00
gikidy 8d3b5aff68 Use UNI file string to display Boot Option for language localization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8655 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 04:44:45 +00:00
eric_tian f66d00cabc fix build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8654 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 03:15:56 +00:00
eric_tian 3ae9910225 change the enum field name convention to pass ECC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8653 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 03:14:12 +00:00
klu2 7ec9caab92 Fix the potential issue that using integrate as BOOLEAN value in judgment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8648 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 08:41:14 +00:00
klu2 9260b9151b Use INTN to case the result of subtract
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8647 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:50:36 +00:00
klu2 bd828c8e83 Explicit to judge whether Index is out of boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8646 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:42:19 +00:00
klu2 775a9b19c6 Add NULL checking for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8645 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:04:45 +00:00
klu2 8b7a357816 1) Add blank before @file to follows doxygen style.
2) Adjust function order to avoid pre-declaration for function prototype.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8644 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 06:29:12 +00:00
klu2 588e329920 Refine comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8643 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 06:21:49 +00:00
klu2 0aa85c4a6b Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8642 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 06:13:43 +00:00
klu2 2ab239290d This patch includes:
1) Update and refine functions/header files comments
2) Try to use LinkedList library instance produced by BaseLib but not access linked list via pointer directly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8641 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 05:49:49 +00:00
lgao4 b4b6c8de1e Update code style and comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8640 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 05:33:36 +00:00
jchen20 630d580d53 Code scrub for IdeBusDxe driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8636 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 02:21:05 +00:00
jljusten 8bb37919e3 Fix a syntax error. There was an extra closing parenthesis: ')'
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8632 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 18:30:45 +00:00
klu2 582c23689f Fix some potential buffer overflow issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8629 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 09:36:17 +00:00
vanjeff 71b320c703 fixed Unix GCC build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8628 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 09:31:41 +00:00
klu2 84fa6c177e Fix potential buffer overflow issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8627 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 08:57:31 +00:00
klu2 f0a3b1a221 Add more checking to avoid the buffer overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8626 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 08:42:38 +00:00
vanjeff 48a9ea7b1b Clean up meta data and code scrub for PCI Bus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8624 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 07:19:00 +00:00
xli24 7698f336b7 Refine include file for PCI Platform Protocol, and update C source code accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8614 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 09:35:07 +00:00
jchen20 0f13d71cfb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8613 6f19259b-4bc3-4df7-8a09-765794883524 2009-06-19 08:52:01 +00:00
klu2 217b9921e2 Remove unused PCDs: PcdPciIsaEnable and PcdPciVgaEnable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8610 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 08:48:13 +00:00
jchen20 e72ca438d4 Code scrub for IdeBusDxe driver and PeiS3Lib.(undergoing)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8609 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 08:40:58 +00:00
xli24 269e4559ae Code scrub for VgaMiniPortDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8608 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 08:26:33 +00:00
klu2 3dcb601895 Add missing source item in INF for Bmp.h header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8607 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 07:59:04 +00:00
klu2 13078b3fad 1) Make naming of enumeration type follows coding style
2) Add missing parameter in function description.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8606 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 07:45:13 +00:00
klu2 f713c4feab Refine the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8605 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 06:52:51 +00:00
klu2 b6763e03bd Clean up the Ps2keyboardDxe module
1) Use MicroSecondDelay() produced by TimerLib to replace gBS->Stall
2) Add more command/register/status definition for 8042/8048 chipset and remove hard code value used in driver's source code;
3) Remove some unused function declaration before function implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8604 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 06:18:09 +00:00
xli24 273d2d3f08 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8603 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 05:36:19 +00:00
xli24 29f766e44c Code scrub for SmmRuntimeDxeReportStatusCodeLibFramework.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8602 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 05:29:50 +00:00
rsun3 7d2beb7e11 Remove an inline assembly statement added for debug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8601 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 11:21:09 +00:00
klu2 6731962674 The unicode char and shift unicode char should be unicode but not ascii char.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8597 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 09:24:42 +00:00
xli24 9ba6cd30fa Code scrub for PeiDxeDebugLibReportStatusCode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8594 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 07:25:24 +00:00
gikidy f88b7fd42e Fix wrong variable used that may overwrite correct data with incorrect one.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8593 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 06:40:20 +00:00
vanjeff 94b9d5c6da 1. used PciPlatfromProtocolGuid to get VgaIo and IsaIo supported capability.
2. Fixed ECC issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8591 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-18 03:03:59 +00:00
lgao4 920d2c23a1 Update header file comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8583 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 08:46:49 +00:00
eric_tian 05db8d5506 add meta-data to describe module behavior
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8581 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 02:19:09 +00:00
eric_tian 18a73eb727 clean ECC issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8580 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 01:57:42 +00:00
xli24 dd632e2501 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8570 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 03:03:43 +00:00
xli24 5e7ea54b33 Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8569 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 03:00:44 +00:00
xli24 d117ee1fee Update comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8568 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 02:58:56 +00:00
lgao4 ef6a65626f Remove unused SerialIo protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8567 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 01:33:51 +00:00
lgao4 d2c315e686 Retire the duplicate StatusCode PCD:
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseEfiSerial, PcdStatusCodeUseHardSerial, PcdStatusCodeUseRuntimeMemory, PcdStatusCodeReplayInSerial, PcdStatusCodeReplayInRuntimeMemory, PcdStatusCodeReplayInDataHub, PcdStatusCodeReplayInOEM, PcdStatusCodeRuntimeMemorySize

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8566 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-16 01:16:27 +00:00
gikidy fc9efbeedb Corrected bad declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8552 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-15 05:15:06 +00:00
lgao4 1f095a0f38 Retire VariablePei and PcatSingleSegmentPciCfgPei in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8551 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-15 02:05:14 +00:00
lgao4 d84d730a2c Retire DataHubProducer header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8541 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 09:16:31 +00:00
lgao4 20774adc0f Add comments for IntelFrameworkModulePkg Header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8539 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 09:02:15 +00:00
rsun3 f423cbf1e9 ISA Bus code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8538 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 08:18:57 +00:00
rsun3 9277fdf8e7 ISA Bus driver code scrub. Fix a bug in Stop() that CloseProtocol() on PCI IO Protocol fails because the child device handle is invalid after UninstallMultipleProtocolInterfaces() is called to destroy the child device handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8532 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 10:24:50 +00:00
gikidy 3384a9bcb4 Fix BDS limitation of two "EFI DVD/CDROM" options appear after plug two CD-ROM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8530 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 08:35:53 +00:00
xli24 6b27e0f05d Update comments for PeiReportStatusCodeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8529 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 07:54:59 +00:00
xli24 2cbfa7c7ee Code scrub for DxeReportStatusCodeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8528 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 07:22:06 +00:00
rsun3 6fcb2d910a ISA Bus driver code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8505 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-10 06:35:16 +00:00
lgao4 966877cbd3 Correct TokenSpace Guid value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8504 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-10 05:43:02 +00:00
eric_tian 172870eff5 fix the ecc issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8502 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-10 03:09:31 +00:00
vanjeff c72216a627 fixed ECC and Klocwork issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8501 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-09 03:47:29 +00:00
lgao4 261c3596a3 Add the missing Token Space Guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8500 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-08 07:43:55 +00:00
lgao4 f4671790b4 Add comments for Include header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8499 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-08 06:59:54 +00:00
lgao4 0f38dfbb21 Remove the duplicate NULL string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8497 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-08 06:42:46 +00:00
mdkinney f7cdf5cdd3 Remove EFI_BDS_ARCH_PROTOCOL_INSTANCE from PlatformBdsLib.h and BdsDxe module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8491 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 04:43:19 +00:00
mdkinney 785e0c0743 Retire <FrameworkModuleBase.h>, <FrameworkModuleDxe.h>, and <FrameworkModulePei.h>
They only provided a single #define that is associated with DEBUG() messages sent through ReportStatusCode.  That one #define has now been added to <Guid/StatusCodeDataTypeDebug.h>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8487 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-07 01:13:02 +00:00
mdkinney 31c24f4c61 Move gEfiPciOptionRomTableGuid from IntelFrameworkModulePkg to the DuetPkg
Update PCI Bus Driver in IntelFramworkModulePkg to no longer depend on gEfiPciOptionRomTableGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8484 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 21:34:04 +00:00
mdkinney 0170af58e0 Retire PciHotplugDeviceGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8482 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 17:42:09 +00:00
gikidy 007c18f5b7 Enhance Ps2Mouse and Ps2Keyboard driver and fix for random hangs in System waiting for the Key if no KBC is present.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8473 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 03:25:09 +00:00
mdkinney d7d5db9649 Remove #define for MAX_BBS_ENTRIES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8470 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 22:51:21 +00:00
xli24 e79a2975ad Remove ASSERT (TotalSize <= sizeof (Buffer));
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8461 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 04:30:39 +00:00
gikidy 2ebbe08cb6 Fix an issue in DataHubGetNextRecord.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8458 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 09:18:55 +00:00
mdkinney 6916d99cb7 Fix IPF alignment fault caused by addition of BASE_LIST type that was added to resolve the X64 GCC VA_LIST issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8452 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 03:50:15 +00:00
mdkinney 1ca88083d4 Increase source portability by replace the use of EFI_STATUS_CODE_DATA_MAX_SIZE with sizeof(Buffer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8435 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 22:41:57 +00:00
mdkinney 3a6064fa3b 1) Move gEfiStatusCodeDataTypeDebugGuid from the IntelFrameworkPkg to the IntelFrameworkModulePkg. This GUID is not defined in the Framework Specifications, so it is part of the implementation. This GUID is used to pass DEBUG() information to the Status Code Protocol and PPI. This GUID is now defined in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h. The GUID definition was also moved from the DEC file in the IntelFrameworkPkg to the IntelFrameworkModulePkg.
2) Move data structure use to pass DEBUG() info to Status Code Protocol and Status Code PPI from IntelFrameworkModulePkg.Include/DebugInfo.h into the new GUID file IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

3) Delete IntelFrameworkModulePkg/Include/DebugInfo.h because all the content is now in IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h

Module Impacts
==============
1) Modules that currently use #include <DebugInfo.h> must be updated to #include <Guid/StatusCodeDataTypeDebug.h>.  
2) Modules that currently use #include <Guid/StatusCodeDataTypeId.h> and don't #include <DebugInfo.h> will have to add #include <Guid/StatusCodeDataTypeDebug.h>.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8431 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 21:17:41 +00:00
mdkinney 8b35a9caa4 Remove unnecessary use of gEfiStatusCodeSpecificDataGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8429 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 20:14:18 +00:00
mdkinney 1872ccab74 Remove the GUID declared as gEfiStatusCodeDataTypeAssertGuid and EFI_STATUS_CODE_DATA_TYPE_ASSERT_GUID because it is not present in the Intel Framework Specifications.
Any usage of this GUID should be replaced with gEfiStatusCodeSpecificDataGuid or EFI_STATUS_CODE_SPECIFIC_DATA_GUID.  The Intel Framework Specification Status Codes 0.92 defines the method for producing a status code for an ASSERT() condition by using an error code of EFI_SW_EC_ILLEGAL_SOFTWARE_STATE.  Any consumer of produced status codes should evaluate the error code to determine if it is an ASSERT() type, and then know how to interpret the extended data as EFI_DEBUG_ASSERT_DATA.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8427 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 18:41:56 +00:00
mdkinney 3d7dfb3886 Change (UINT8 *) to (CHAR *) to make types the same for comparison operations
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8415 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-31 17:22:48 +00:00
mdkinney ca9938b842 This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
1) Update all implementations of ReportStatusCodeExtractDebugInfo() to use an argument of type BASE_LIST instead of VA_LIST.
2) Update the implementation of DebugPrint() in PeiDxeDebugLibReportStatusCode to convert a VA_LIST to a BASE_LIST before passing the data to report status code.
3) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8406 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-30 23:53:35 +00:00
eric_tian 31b440cfa6 fix a bug of incorrectly judge the end of variable arguments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8386 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 07:27:13 +00:00
mdkinney f680f867ce Terminate the Capability List traversal if the Capability Pointer is less than 0x40, or the Capability Pointer is not aligned on a 32-bit boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8376 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 22:26:19 +00:00
lgao4 67d632277d Clean up GenericBdsLib.h to remove unnecessary include header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8361 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 01:50:05 +00:00
lgao4 dedfc3bbc9 Fix the issue that BootOrder can't be set
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8343 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:29:13 +00:00
lgao4 cdcc36ae92 Correct the dummy ConfigAccess Extract and RouteConfig behavior according to UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8335 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:13:47 +00:00
xli24 0ad78d0779 Refine code for PeiReportStatusCodeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8306 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13 07:43:45 +00:00
rsun3 0e8e994db3 Update SetupBrowserDxe and BdsDxe to use an internal string for prompting string missing instead of ASSERT if it fails to get a string for separate module's forms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8263 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 05:55:25 +00:00
xli24 85a9032180 Refine code for OemHookStatusCodeLibNull.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8255 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-07 08:51:16 +00:00
jljusten 57cca89e0a Remove usage of MemoryAllocationLib, and use a simplistic allocation
routine which makes use of the decompression scratch buffer.

This resolves a potential issue where the usage of the LZMA library
in the PEI phase may not have enough memory for the AllocatePool
function call.  (Some platforms may be extremely constrained in
heap space for the PEI phase.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8242 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-05 19:46:28 +00:00
jljusten 19a4a0a0ac Merge PEI & DXE LzmaCustomDecompressLib. A previous implementation
was causing the LZMA decompression code to request a large buffer,
which caused an ASSERT to fail for PEI's AllocatePool.  The
current implementation, which uses the LzmaDecode function, does
not have this issue and therefore both the PEI & DXE versions can
use AllocatePool/FreePool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8236 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-04 20:00:04 +00:00
jljusten 306bf4e22a Add LzmaCustomDecompressLib based on the LZMA SDK 4.65 which was
placed in the public domain on 2009-02-03. The LZMA SDK
4.65 was released at the http://www.7-zip.org/sdk.html
website.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8227 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-01 00:28:19 +00:00
gikidy 5f08e28601 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8220 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 06:58:02 +00:00
gikidy 4bca47e175 Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8215 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:39:18 +00:00
rsun3 ec333268dc Remove unused ConvertRfc3066LanguageToIso639Language() in BdsDxe after the lanuage codes variable auto-update mechanism was implemented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8193 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 02:23:11 +00:00
eric_tian b96c210633 update to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8192 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-28 01:46:32 +00:00
xli24 029940387f Update DSC&FDF files according to update of status code PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8188 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 09:16:55 +00:00
xli24 85eb579424 Update directory/file names for status code PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8187 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 09:09:45 +00:00
xli24 d5aea10cc3 Code Scrub for Status Code PEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8186 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 08:47:07 +00:00
eric_tian d357145fca improve platformlangcodes/langcodes and platformlang/lang autoupdate mechanism.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8185 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 07:12:20 +00:00
xli24 669341423e Update DSC files according to update of status code driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8181 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:40:41 +00:00
xli24 20e7a77431 Update directory/file names for status code runtime dxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8180 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:35:40 +00:00
xli24 9484bb628a Some minor refinements for function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8179 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:19:31 +00:00
xli24 a8cbf34506 Code Scrub for Status Code Runtime Dxe driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8178 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 06:14:50 +00:00
lgao4 1d451ff9cf Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8176 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 04:55:02 +00:00
gikidy e8eecbf4b3 DEC file reviewed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8173 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 02:28:39 +00:00
gikidy 9f6531d14d Adjust the code so that global variable placed at beginning of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8172 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 07:30:54 +00:00
gikidy 59f1d89250 COMPONENT_NAME & COMPONENT_NAME2 & DRIVER_BINDING checked in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8168 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 05:42:17 +00:00
gikidy 170e7ffd90 COMPONENT_NAME & COMPONENT_NAME2 checked in inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8167 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 05:05:15 +00:00
xli24 55a1bb43aa Code scrub for VgaClass Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8163 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 09:31:15 +00:00
gikidy 4ee6846f7b 1. EDK_RELEASE_VERSION removed;
2. INF file header description reviewed;
3. remove useless #include ;

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8162 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 09:09:56 +00:00
vanjeff 2bf3421a0c add type cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8159 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:55:50 +00:00
rsun3 779b8368fa Fix build break caused by a unresolved external symbol _memset in BaseUefiTianoCustomDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8155 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 06:32:00 +00:00
lgao4 80267d51f8 Remove volatile local variable sync to MdePkg BaseUefiDecompressLib and fix ICC build error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8148 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 07:29:13 +00:00
lgao4 e97e2b7738 Fix that the variable can't be stored. Next, I will update GetBrowserData API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8147 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 03:19:42 +00:00
lgao4 f0da9ffb76 Add FormSet Guid for the front page.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8140 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-21 13:37:14 +00:00
hfang aa950314c7 Fix K8 report bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8139 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-21 06:33:31 +00:00
lgao4 6412128af3 Enhance HiiGetBrowserData API to support the case that storage element is 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8135 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:12:38 +00:00
lgao4 d6a6483cad Remove unused IfrSupportLib and ExtendedIfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8119 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:45:32 +00:00
lgao4 0b3f5a4dfd Use GetNextLanguage replace the original HiiLibGetNextLanguage API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8118 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:42:23 +00:00
lgao4 75bf9d0ecc Update BdsDxe to use new designed HiiLib, remove the referrence to the original IfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8115 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:31:38 +00:00
rsun3 0f2685219d Retire HiiLibGetNextLanguage() API from HII Library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8109 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 02:38:11 +00:00
rsun3 ad5a96ab2d Retire language conversion APIs from HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8104 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 08:46:28 +00:00
lgao4 18e7cd2c7a remove unused header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8089 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 09:26:34 +00:00
vanjeff 88f2bdb51d fixed overflow issue when reading BMP file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8084 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:03:28 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
jljusten 6ba0bc7c4e Fix some inconsistencies in EFIAPI usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8076 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 23:07:44 +00:00
lgao4 3f07728f2a Add UefiHiiServicesLib library instance in every one DSC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8065 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 05:52:07 +00:00
gikidy a9e7937ab0 EFI_KEY_OPTION definition verified with UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8046 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:56:28 +00:00
rsun3 4376a6f273 Fix the bug that Boot Mainteinance Manager in the front page can not be entered twice or more.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8040 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 09:20:51 +00:00
jji4 3cdcfa85a5 correct the input parameter FormId of IfrLibUpdateForm()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8032 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 08:56:27 +00:00
vanjeff 406ddad31b 1. Update the CRC32 in the EFI System Table header in BdsConsole.c
2. Removed duplicated installation for Simple Text Output protocol on ErrHandle.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8031 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 08:42:15 +00:00
vanjeff 8a67d804b3 return value not follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8028 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 02:29:49 +00:00
qhuang8 23042a556b Fix ICC build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8026 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 11:15:52 +00:00
gikidy 8e6b0dcb50 Loaded Image device paths for EFI Drivers loaded from PCI Option ROM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8025 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 08:18:43 +00:00
lgao4 e3b236c8ee Use UefiLib CreatePopUp API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8014 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 09:22:18 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00