mdkinney
5bd2d2cb03
Add an empty CONSTRUCTOR to the UefiLib to resolve library dependency issues.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11181 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-18 00:10:30 +00:00
mdkinney
5b98704413
Fix DxeHobLib to also support a module type of SMM_CORE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11180 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-17 23:04:57 +00:00
andrewfish
bcec20df61
Add support for ARM MOVW/MOVT instructions that were added in the latest PE/COFF specification. Currently they are not hooked in as we need to wait for the tools to get updated. Tools are needed to convert ELF to PE/COFF and to refixup FVs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11176 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-16 21:44:49 +00:00
niruiyu
0a13c99cf1
Remove wrongly added SuperIoInit protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11174 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-16 08:28:51 +00:00
andrewfish
e7cb469e3a
Fix issue with CodeSourcery gcc requiring assembly functions to have a .type define inorder to support interworking (calling from thumb(C code) to ARM code (hadn written assembly). We had to add a macro as the .type directive is not supported, or needed, by Xcode. All ARM .S files need to be updated.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11167 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15 00:58:34 +00:00
niruiyu
204df563fe
Add the SuperIoInit protocol to MdePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11163 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 06:57:22 +00:00
erictian
cbbd284805
update USB_PORT_STAT_OWNER from 2^11 to 2^13 which is added as a possible value of EFI_USB_PORT_STATUS and is the equivalent of EfiUsbPortOwner of EFI_USB_PORT_FEATURE
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11160 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 02:50:25 +00:00
vanjeff
06128e8f42
add note for EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR and EFI_SW_PEI_PC_RECOVERY_BEGIN to express they are different with the current PI specification 1.2.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11134 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 06:58:33 +00:00
vanjeff
f00864faf9
updated progress code definitions to match PI Spec 1.2.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11133 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 06:52:51 +00:00
mdkinney
d040b8f12d
Roll back comment change for SOR. SOR does not apply to SMM.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11126 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 21:33:45 +00:00
jljusten
dccf78f0a2
MdePkg: Fix GCC Thunk support for IA32
...
In r11047 Ia32/Thunk.S was modified. However, the current
implemention of Ia32/Thunk.S has contant values in the code
which must be updated if the code is changed.
This change updates those constants for the r11047 change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11121 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:06:35 +00:00
mdkinney
3ae55b76d9
Update comments for PI 1.2 SMM support.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11110 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 06:17:44 +00:00
rsun3
2057d8c843
Add a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in that it uses the local APIC library so that it supports x2APIC mode.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11100 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 03:30:38 +00:00
lgao4
6c4986de2d
Adds the missing return status description for HiiConfigRouting.ConfigToBlock() API.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11086 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-23 11:14:39 +00:00
qianouyang
6361c6d50c
Update the file description in IpSec.h to refer to an accurate UEFI version.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11074 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-17 05:36:14 +00:00
li-elvin
4d4c535a32
Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11047 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-12 07:47:27 +00:00
mdkinney
b4221611e9
Add Doxygen style comments to the EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE() macros. Clarify that the Size and Pages parameters to these macros are assumed to be type UINTN.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11010 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 22:27:19 +00:00
rsun3
740ee2ea40
Add comment about usage on EFI_SIZE_TO_PAGES() and EFI_PAGES_TO_SIZE macros.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11004 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 03:08:17 +00:00
ydong10
9be899c5cc
Add API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers.
...
API Function name is ExtractGuidedSectionGetHandlers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11002 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-04 05:51:32 +00:00
gikidy
eafed2b612
Fix PCD token value format issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10994 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-02 05:23:20 +00:00
darylm503
850f13ebb2
Fix a cut-n-paste error in the comment for the "read keystroke" function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10976 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-24 22:03:38 +00:00
lgao4
6517edbe51
Update UefiDriverEntryPoint library by adding BaseLib library class required by AutoGen code.
...
Update UefiApplicationEntryPoint library by adding BaseLib and DebugLib library class required by AutoGen code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10954 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-18 09:59:55 +00:00
qianouyang
705f53a9b4
Update IPsec.h file to follow approved ECR which will be collected into future UEFI 2.3 Specification after 2.3 errata B and future UEFI Specifications after 2.3. The changes mainly include:
...
1. Add EFI_IPSEC2_PROTOCOL
2. Remove IPsec Authentication Algorithm Definition and IPsec Encryption Algorithm
Definition.
3. Add EFI_IPSEC_SA_DATA2 data structure.
And also update IPv4 driver to call EFI_IPSEC2_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10941 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-15 05:40:41 +00:00
jljusten
818ff8c267
MdePkg: Use builtin offsetof function for GCC 4.0 and newer
...
GCC 4.0 and newer have a builtin function for implementing
'offsetof' therefore we make use of it for our OFFSET_OF
macro.
References:
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Offsetof.html
http://gcc.gnu.org/onlinedocs/gcc-4.5.1/gcc/Offsetof.html
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10931 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 07:08:06 +00:00
andrewfish
e0919a5856
Add ARM MOVW/MOVT relocations added in PE/COFF 8.2 spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10912 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-05 23:36:37 +00:00
jyao1
22c5a7af03
Add ACPI4.0 header file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10900 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-29 00:25:07 +00:00
erictian
98642032ed
add a macro IS_PCI_SATADPA to judge if device is a SATA controller which is running AHCI mode.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10897 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-27 05:38:20 +00:00
mdkinney
f6b4e53dfe
Update MODULE_TYPE to be DXE_RUNTIME_DRIVER
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10876 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-14 17:02:46 +00:00
mdkinney
c91a44b857
Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER module types
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10865 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 20:08:03 +00:00
andrewfish
605466ae28
ARM RVCT 3.1 compiler has issues with __packed structures containing anonymous structures in a union. I had to add extra PACKED macros to get things to compile. Hopefully at some point RVCT will support #pragma pack(1) properly and we can retire PACKED macro.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10856 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-07 18:26:58 +00:00
qhuang8
00dbccf2d5
Sync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10822 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-26 00:50:37 +00:00
darylm503
ffadc63799
Fix the InternalMemScanMem* functions. They were returning the character AFTER the match instead of the matching character.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10821 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-25 23:06:43 +00:00
niruiyu
2186f2a106
Move ACPI_SMALL_RESOURCE_HEADER and ACPI_LARGE_RESOURCE_HEADER from SuperIo.h to Acpi10.h.
...
Add more ACPI resource descriptors to Acpi10.h which are needed by EFI_SIO_PROTOCOL implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10807 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-19 02:39:19 +00:00
sfu5
6efe946118
Refine code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10799 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-16 01:11:49 +00:00
qhuang8
83c7c8036c
Minor refinement on source code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-14 07:25:20 +00:00
sfu5
f0b0ba3177
Refine code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10793 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-13 02:47:22 +00:00
hhuan13
a58b9d96b4
Fixed K9 scan issues.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10781 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-09 06:28:01 +00:00
lgao4
6389e32beb
Use FreePool() library API to replace gBS->FreePool() service.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10712 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-29 06:44:13 +00:00
lgao4
116b142d86
Roll back change r10695, because new update on r10700 and r10701 handles this issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10704 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:43:18 +00:00
lgao4
1d733f731f
Enhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS Free service according to the buffer in or out of SMRAM range.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10700 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-28 01:07:43 +00:00
lgao4
0433d8f018
Make sure gBS FreePool() is used to free the buffer always allocated by gBS AllocatePool() service.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10695 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-26 16:20:34 +00:00
hhtian
d4b6dd9300
minor format update
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10691 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-24 11:41:06 +00:00
jyao1
e24f50f2d1
Remove spec compliance comment. It follows PI1.2B spec now.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10672 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-20 06:20:16 +00:00
myronporter
58380e9c61
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10615 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-30 00:13:25 +00:00
mdkinney
96dd57ee8d
Update BASE PCI Library that uses CF8/CFC access mechanism for PCI configuration cycles to be safe for use from interrupt context and from modules of type DXE_SMM_DRIVER.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10606 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-25 22:27:59 +00:00
myronporter
2fc59a003e
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10604 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-25 21:56:02 +00:00
qhuang8
37de2c8442
Fix minor spec compliance issue: "EFI_DEVICE_PATH_CREATE_NODE" should be "EFI_DEVICE_PATH_UTILS_CREATE_NODE" according to UEFI spec.
...
As it is unlikely for any user code to directly use this definition, this update should not cause any build break issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10598 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-25 03:38:18 +00:00
myronporter
15c952e728
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10597 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-24 20:11:34 +00:00
myronporter
127010dd96
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10596 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-24 00:20:35 +00:00
myronporter
c5b16b1b0b
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10594 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-22 23:56:19 +00:00
MyronPorter
e4a34497b4
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10593 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-22 22:59:38 +00:00
mdkinney
cda8ba5ed7
Add ASSERT() conditions to UEFI Library Print() and AsciiPrint() functions if gST->ConOut is NULL.
...
Add ASSERT() conditions to UEFI Library ErrorPrint() and AsciiErrorPrint() functions if gST->StdErr is NULL.
Add ASSERT() conditions to UEFI Library PrintXY() and AsciiPrintXY() gST->ConsoleOutputHandle is NULL.
Update Print(), AsciiPrint(), ErrorPrint(), AsciiErrorPrint() to return 0 if the Simple Text Output Protocol OutputString() call returns an error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10576 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-11 19:11:20 +00:00
myronporter
35a1715411
Minor grammatical work--mostly adding periods. Sending separately a list of files missing Doxygen @param and @return information.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10572 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-11 00:02:51 +00:00
geekboy15a
2bd78c92c6
Fixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10559 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-01 22:46:53 +00:00
li-elvin
a24faca37a
Add Read/Write (16) command to SCSI library.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10549 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 06:57:15 +00:00
lgao4
2bca9a9b60
Clean up package/platform DSC files by the following steps:
...
1. Remove PCDs those use the default values/types from the DEC file.
2. Remove the unused library instances.
3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10531 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-21 02:49:33 +00:00
jljusten
2653bb431a
MdePkg BaseLib: Fix GCC build break
...
Only use X86MemoryFence.c for INTEL and MSFT. MemoryFence is defined
in GccInline.c for GCC.
This change is the same as r10522, but for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10525 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 21:12:18 +00:00
qhuang8
c756ce80a4
Fix GCC build break as MemoryFence() API has already been included in GccInline.c in BaseLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10522 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 05:30:55 +00:00
qhuang8
d01a90fb3e
Fix some typos
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10521 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-20 05:23:50 +00:00
qhuang8
4e4a5f359d
Temporarily remove build-in __sync_val_compare_and_swap() in the implementation of sync functions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10519 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-19 06:06:40 +00:00
hhtian
c9b34b8cb3
Update copyright format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10506 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 11:40:39 +00:00
qhuang8
cf683fedc7
1. Restore the inline C implementation of GCC assembly files that was temporarily removed in Svn r10045.
...
2. Remove 139 GCC assembly files whose functionality have been covered in the inline C implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10503 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 05:37:58 +00:00
jyao1
f0f78f9059
MdePkg:
...
Fix ACPI SDT protocol definition issue. (ECR approved, not in public spec now.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10500 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 02:25:50 +00:00
rsun3
6a8fb8bab5
Change TPM_BASE to 0 per TPM spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10499 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 02:22:51 +00:00
klu2
562fccb0f0
Fix a typo in comment
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10490 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-14 07:51:29 +00:00
qhuang8
d57c443982
Fix minor format issue in file header
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10484 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-13 01:03:32 +00:00
xdu2
5277dc8829
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10475 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10 02:48:44 +00:00
qhuang8
61f0f4375b
Use the ASSERT() for parameter checking as the 4th paramter of internal worker function of MakeTable() must be <= 16.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10472 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-10 00:57:06 +00:00
mdkinney
cab979f161
Fix ICC 11.1 build break
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10466 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-07 22:47:32 +00:00
lgao4
b9d5a7f1dc
Move SecExtractGuidedSectionLib instance from OvmfPkg to MdePkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10459 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-05 02:06:23 +00:00
lgao4
682cee4c06
Add new API GetSectionFromAnyFvByFileType() into MdePkg DxeServicesLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10456 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-05 01:56:41 +00:00
geekboy15a
932d66a970
Forcing functions with variable argument lists to use the same calling convention (EFIAPI). This solves issues when using compilers where the default calling convention is not EFIAPI.
...
This fixes boot issues when using GCC 4.4 in X64 modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10441 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 01:05:44 +00:00
geekboy15a
4e716b677a
Made use of GCC built-in functions for variable arguments in procedures dependent on NO_BUILTIN_VA_FUNCS. This is because they do not function correctly in GCC 4.4 when using ms_abi in X64 images. This does not change functionality for other projects.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10440 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 01:01:44 +00:00
hhtian
c3f13d41ab
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10416 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:40:22 +00:00
hhtian
19388d2960
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10415 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:37:43 +00:00
hhtian
e2d9bfb2bc
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10413 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:26:26 +00:00
hhtian
acf57deca9
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10412 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:24:38 +00:00
hhtian
c33c6476ca
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10411 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:23:28 +00:00
hhtian
1f558705b2
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10410 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:20:52 +00:00
hhtian
84b5877f02
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10409 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:16:36 +00:00
hhtian
adc29a976a
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10408 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:13:53 +00:00
hhtian
085c39686c
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10407 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:08:36 +00:00
hhtian
2fcf0abf44
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10406 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:04:26 +00:00
hhtian
bb817c56c5
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10405 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:00:47 +00:00
hhtian
9df063a06a
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10403 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:46:20 +00:00
hhtian
4dd6f84007
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10402 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:37:19 +00:00
hhtian
1815f5bbc3
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10401 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:36:12 +00:00
hhtian
700b41d4d5
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10400 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:35:43 +00:00
hhtian
de2d34193e
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10399 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:35:13 +00:00
hhtian
2f7c0ad11a
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10398 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:32:58 +00:00
rsun3
ba9f835144
Add an IO Lib instance based on CPU IO2 Protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10383 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 02:06:55 +00:00
geekboy15a
66c95e799a
Fixed GCC 4.4 build issue. All protocols and public interfaces must specify EFIAPI to enforce the expected calling convention.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10378 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 22:40:15 +00:00
geekboy15a
4e57f24098
Fixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to correctly set the prefix.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10377 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 22:37:03 +00:00
geekboy15a
bc810c8977
Fixed GCC 4.4 build issue. Also fixed issue where upper 32-bits may be lost during AND operation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10376 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-16 22:34:22 +00:00
niruiyu
a58cc068b6
Update DevicePath.h to add the UART_FLOW_CONTROL_HARDWARE and UART_FLOW_CONTROL_XON_XOFF.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10354 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 08:42:07 +00:00
qhuang8
3432b0cf11
Fix INF file header format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10323 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-31 16:32:04 +00:00
hhtian
123e0cacd0
Not maintained.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10315 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25 14:47:11 +00:00
qhuang8
fc5de6be8b
Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10306 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-23 09:15:25 +00:00
qhuang8
6c3fa13c91
Define VERIFY_SIZE_OF macro to verify size of basic UEFI Data types. This should be equivalent with previous implementation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10283 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-19 00:25:47 +00:00
andrewfish
703f1d091f
Add Math64.S to reduce the number of compiler intrinsics that need to be supported. It turns out they seem to change from GCC generation to generation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10259 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17 02:21:18 +00:00
qhuang8
852d891191
Minor update the patch for Edk r10248
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10253 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 05:57:21 +00:00
vanjeff
eccca95eac
add missed GUID definition of EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL_GUID_31.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10251 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 05:10:06 +00:00
myronporter
a89fa50ccf
Clarify @pram b in Base.h. Accepted and edited in Qing Huang changes for @retval EFI_INVALID_PARAMETER lines. 171 & 321.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10248 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-15 17:28:58 +00:00
qhuang8
5209f2a9fb
Remove one leftover in protocol definitions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10244 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-15 02:57:43 +00:00
myronporter
809bd7b3c9
Grammatical and disclaimer changes (does not follow internal C coding stds.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10237 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 23:19:05 +00:00
myronporter
8c18db2750
Grammatical and disclaimer changes (does not follow internal C coding stds.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10236 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 23:09:20 +00:00
myronporter
af2dc6a70b
Grammatical and disclaimer changes (does not follow internal C coding stds.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10235 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-12 22:19:12 +00:00
geekboy15a
52aa9e136b
Updating processor bindings to not use stdint.h. Also added code to verify at compile time that data widths are correct.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10232 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-11 20:52:54 +00:00
jyao1
21e66ee89f
Move SmmCoreSmmServicesTableLib from MdePkg to MdeModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10203 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 04:04:36 +00:00
jyao1
b5cc527ea9
Add SmmCore SmmServicesTable library.
...
This library should be used and only used by SmmCore, (compare with SmmServicesTable Lib is used and only used by SmmDriver)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10202 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 03:52:12 +00:00
qhuang8
1bcef8bdf2
Update MdePkg revision to 1.02
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10201 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 03:21:41 +00:00
qhuang8
233af82b52
Move to SmmServicesTableLib to IA32, x64 arch sub section to align with SmmLib
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10187 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:36:08 +00:00
xli24
029f9e857e
Add SmmLib info to MdePkg.dec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10185 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 09:23:16 +00:00
hhuan13
06ba53cc28
Remove SMM_CORE from SmmServicesTableLib.inf that is dedicated for DXE_SMM_DRIVER
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10183 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 08:32:54 +00:00
qhuang8
90e724b1ec
Minor update the package description as MdePkg now contains the definitions in UEFI 2.3 and PI 1.2
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10169 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 10:09:39 +00:00
klu2
9dbad162da
Removing "Ex" in PI PCD_PPI/PROTOCOL's interface according to PI 1.2 latest update.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10167 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 08:53:41 +00:00
qhuang8
a1749b8045
Fix some minor coding style issue for doxygen document.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10156 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 08:53:02 +00:00
jchen20
6b12cc470b
remove the Framework version of EFI_S3_RESUME2_PPI defintion which is already added to IntelFrameworkPkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10153 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 06:21:08 +00:00
ljin6
c4f4112b7c
Remove some comments according to the latest UEFI Spec 2_3_Errata_B.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10152 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-02 03:13:22 +00:00
rsun3
7942fd2a65
Remove comments about in-consistency between code and UEFI/PI spec because UEFI 2.3 Errata B and PI 1.2 Errata A spec were published.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10143 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:03:46 +00:00
vanjeff
bce46f7e10
remove some comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10141 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 08:00:28 +00:00
jchen20
202c9c8d38
add the PI version of EFI_S3_RESUME2_PPI defintion
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10139 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 07:16:54 +00:00
vanjeff
8f79ed8124
roll back some changing since it was not complete.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10136 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 06:52:48 +00:00
vanjeff
d6b58d3219
updated definitions of PCD PPI/Protocol per latest UEFI Spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10134 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 06:14:46 +00:00
mdkinney
be04587c86
Remove assumption that the transition code for transitioning from 64-bit to 32-bit mode is 64 bytes. Instead compute the size based on the implementation in the ASM file.
...
Update logic to align new 32-bit stack on a 4 byte boundary
Update logic to prevent one slot overlap between the transition code and the new stack.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10133 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 05:35:20 +00:00
lgao4
2bf0d83532
Add the fixed checksum value 0xAA of FFS header according to the latest PI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10124 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-28 23:53:41 +00:00
xli24
53f3249595
Update SEC Platform Information PPI according to PI 1.2 errata A.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10118 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 15:37:52 +00:00
gdong1
7fedcf9d2a
Update comments by UEFI approved Errata revision 'B'.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10117 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-27 10:57:24 +00:00
qhuang8
0ff3221872
Remove notice as it gets to publish in newest PI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10114 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 11:42:57 +00:00
lgao4
a1e98f78be
According to the latest UEFI 2.3 errata B, the following changes are made:
...
1.EFI_IMAGE_EXECUTION_INFO structure.Signature field.
2.HiiConfigAccess.ExtractConfig function comments
3.HiiConfigRouting.ExtractConfig, BlockToConfig and GetAltConfig function comments.
4.Remove not in public UEFI spec comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10113 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 09:27:59 +00:00
xli24
ded5aa23eb
Correct description for return status code of PEI service AllocatePages(), according to PI 1.2 errata A.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10111 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 09:16:55 +00:00
xli24
9eec5948ab
Refine parameter description according to PI 1.2 errata A.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10110 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 08:56:52 +00:00
xdu2
4ccd9566c1
Remove notice for PXE_OPFLAGS_GET_MEDIA_STATUS and PXE_STATFLAGS_GET_STATUS_NO_MEDIA_xxx, these definitions are available in latest UEFI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10107 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 08:09:40 +00:00
hhuan13
79a42176c6
Move EFI_SMRAM_DESCRIPTOR into PiMultiPhase.h. Since the top level includes in the other packages all include PiPei.h or PiDxe.h, and PiPei.h and PiDxe.h both include PiuMultiPhase.h, EFI_SMRAM_DESCRIPTOR will be declared for SMM Access 2 Protocol and the SmramMemoryReserve GUIDed HOB.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10105 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 06:09:57 +00:00
klu2
0126845e7d
Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10071 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:26:33 +00:00
lgao4
2573712e01
Enhance SetupBrowser to support new UEFI HiiFormMap feature
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10069 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 10:10:59 +00:00
lgao4
e13288c248
Correct Copyright year format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10054 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 01:42:12 +00:00
lgao4
6bfbb5f0e0
1. Correct File header to ## @file
...
2. Remove unnecessary .common] postfix on section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
klu2
28b5f7c062
Disable interrupt when changing IDTR register.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10046 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 07:32:20 +00:00
qhuang8
f18f2882e9
Temporarily remove the C implementation of some GCC assembly files in MdePkg. They are kept in repository and will be re-evaluate later.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10045 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 04:56:55 +00:00
klu2
450ec0ed87
Correct the table's version according to PI/UEFI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10033 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-21 03:31:44 +00:00
mdkinney
95572bd1b8
Remove SMM_CORE as a supported module type for the MemoryAllocationLib instance that uses UEFI Boot Services
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10008 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-15 18:16:05 +00:00
mdkinney
1b45a67165
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10002 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 06:00:11 +00:00
mdkinney
c819c01665
Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10001 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 05:59:31 +00:00
mdkinney
53b85bcbf0
1) Remove dependency on the UEFI Boot Services Table Library so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.
...
2) Remove redundant include of <PiDxe.h>
3) Clean up constructor to use InSmm() library function instead of duplicating logic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10000 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 05:49:44 +00:00
mdkinney
112af4265f
Remove constructor from this library. This library already has SMM CPU I/O 2 in its [Depex], so any module using this library will not be dispatched until the SMM CPU I/O 2 Protocol is installed into the SMM handle database and also copied into the SMM Services Table.
...
The worker functions in this library have also been updated to simply use the instance of the SMM CPU I/O 2 Protocol that is present in the SMM Services Table.
The dependency on the UEFI Boot Services Table Library has also been removed so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9999 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 05:47:00 +00:00
xdu2
993702aa7b
Add media status relative definition to UEFI PXE header file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9993 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12 08:45:07 +00:00
mdkinney
0628eb2c76
Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed.
...
There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9982 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 03:55:26 +00:00
lgao4
d6a82eaf8d
Update HiiString Protocol and HiiSetString Api in HiiLib
...
1. Reserve the unique string identifier for all languages in the package list.
2. Track MaxStringId to do the simple check for the requested StringId > MaxStringId, which can improve performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9954 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-09 07:12:35 +00:00
xdu2
c5c3e7e25c
Add EFI_NO_MEDIA status code to network APIs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9917 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 04:37:11 +00:00
qhuang8
ca142c9e1e
Remove the unnecessary header files inclusion.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9914 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 02:59:58 +00:00
erictian
5ee9264acc
wrap ASSERT_LOCKED macro with MDEPKG_NDEBUG.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9907 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-02 03:21:46 +00:00
qhuang8
cb6cb44c1a
Minor update to fix typos and update the file to use \r\n as end of line
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9901 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 13:03:17 +00:00
li-elvin
3507ab19e4
Update SMBIOS.h to SMBIOS 2.6.1 version.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9892 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 02:52:45 +00:00
qhuang8
a0720bb82b
Add missing dependency expression for some library instances in MdePkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9891 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 02:48:17 +00:00
mdkinney
9fddf05b7e
Remove extra #Include
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9890 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 00:34:13 +00:00
gdong1
75dad611c8
Move the definitions defined for User Manager protocol from UserCredential.h to UserManager.h to align with UEFI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9861 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 10:26:04 +00:00
mdkinney
254d6680cc
Add missing [Depex]
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9860 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 04:51:57 +00:00
ljin6
5fb89a0b2f
Add PXE Tag Definitions for IA32/X64/Arm/IPF architectures.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9847 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 08:10:59 +00:00
mdkinney
0bce7349f5
Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both Framework SMM and PI SMM implementations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9840 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 22:59:52 +00:00
qhuang8
710a340911
Fix incorrect array size
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9835 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 04:21:19 +00:00
qhuang8
ea6898b902
Clean up MdePkg source to correct some coding style issues, etc.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9832 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 03:25:28 +00:00
qhuang8
2d36815641
Fix incorrect Edk revision number in last commit
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9819 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:18:33 +00:00
qhuang8
c3117889c4
Add change log for the incompatible changes in MdePkg in Edk r9817.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9818 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:16:13 +00:00
qhuang8
4777d7fc9e
Scrub EFI_ATA_IDENTIFY_DATA and EFI_ATAPI_IDENTIFY_DATA to strict follow ATA-8 spec in MdePkg
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9817 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:14:54 +00:00
qhuang8
00b0796e07
Fix typo in Monotonic Counter GUID macro name
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9806 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 07:49:05 +00:00
tye1
6e19836f22
Define EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET for PXE over IPv6.
...
It's not consistent with the current UEFI2.3 spec, but it's supposed to updated in the next version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9802 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 03:15:50 +00:00
lgao4
89b11f0557
Correct the conflict EFI_ACPI_GET_ACPI_TABLE to EFI_ACPI_GET_ACPI_TABLE2
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9771 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 02:59:54 +00:00
qhuang8
cded62189e
Add type-cast to fix build break for IA32 arch
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9768 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 02:38:31 +00:00
AJFISH
42db19acc1
Fix gcc warning
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9765 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 00:01:20 +00:00
AJFISH
225290eba7
Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 23:39:29 +00:00
mdkinney
7c1c4dcf78
Clean up format of comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9762 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 22:57:30 +00:00
mdkinney
0b70a697a6
Clean up comments
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9759 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 21:45:28 +00:00
rsun3
8c6d73fb6b
Some HII related definitions change. Note these changes are inconsistent with current UEFI 2.3 spec. They are supposed to be in later errata document.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9743 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 05:38:04 +00:00
mdkinney
758fd817cf
Fix formatting
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9740 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:48:36 +00:00
mdkinney
80ae2a5874
Clean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol
...
Minor clean up to PeiIoLibCpuIo.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9739 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:43:31 +00:00
mdkinney
8fc71decbe
Change SMM CPU I/O to SMM CPU I/O 2
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9735 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:20:04 +00:00
mdkinney
66b631f5e0
Remove extra reference to SmmCpuIo.h
...
Minor clean ups to INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9733 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 02:25:24 +00:00
eric_tian
8fe69f133e
disable ICC compiler warning #593 : variable was set but never used.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9705 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-11 02:29:54 +00:00
jchen20
11f4ce066d
the 1st paramter of the function prototype lost the "CONST" keyword which is not complied with Spec
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9637 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:11:01 +00:00
xli24
41335d2244
Publish definition of MCA/INIT/PMI Protocol & ESAL, as introduced in PI 1.2.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9616 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 08:20:37 +00:00
vanjeff
e8ade0efd0
replaced EFI_HOB_TYPE_LOAD_PEIM with EFI_HOB_TYPE_LOAD_PEIM_UNUSED
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9615 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 08:10:56 +00:00
davidhuang
b7c5912af1
PI 1.1 SMM Feature Check-in
...
1. Add SmmServicesTableLib library class/instance.
2. Add SmmIoLibCpuIo/SmmPciLibPciRootBridgeIo library instance.
3. Update some library INF to support SMM_CORE module type.
4. Update dec/dsc to include new modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9590 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:44:33 +00:00
qhuang8
8f635c36ad
Fix a bug in MdePkg BaseLib: StrnCat() and AsciiStrnCat() should NULL terminated the final destination string when Length is equal to the length of Source string
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9588 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 01:50:10 +00:00
gdong1
d14d2707ea
Add variable definitions of user identification
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9581 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-22 04:48:19 +00:00
davidhuang
f711436ba5
1. Fix a bug encounter in build
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9577 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 08:06:29 +00:00
davidhuang
d64527e50d
To avoid naming conflicts between PI SMMBASE2 Protocol/FRAMEWORK SMM Base Protocol
...
1. Change PI definition EFI_SMM_COMMUNICATE to EFI_SMM_COMMUNICATE2
2. Change PI definition EFI_SMM_INSIDE_OUT to EFI_SMM_INSIDE_OUT2
3. Change PI definition EFI_SMM_GET_SMST_LOCATION to EFI_SMM_GET_SMST_LOCATION2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9575 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-17 07:59:09 +00:00
eric_tian
c9ec70470d
Introduce a MDEPKG_NDEBUG macro to provide a method which can be used to reduce code size when compiler optimization is disabled.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9560 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-14 06:26:27 +00:00
rsun3
65d02573b8
Improve status codes returned for functions of EFI_TCG_PROTOCOL. Note that after change, status codes returned for functions of EFI_TCG_PROTOCOL do not exactly match those defined in the TCG EFI Protocol 1.20 Final Specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9552 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 04:32:30 +00:00
xli24
d69f66d6e3
Add return value description for EFI_PEI_RECOVERY_BLOCK_IO_PPI.GetNumberOfBlockDevices().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9551 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 02:59:04 +00:00
qhuang8
8546d5a694
Add missing definition of "EFI_PEI_DESCRIPTOR" in PI spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9550 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 01:08:51 +00:00
lgao4
c083f7caef
Directly use FALSE when BootPolicy is FALSE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9540 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-08 05:28:03 +00:00
eric_tian
56385d4987
1. fix the wrong description, change "target the buffer" to "the target buffer"
...
2. fix ICC/GYGGCC build failure on ScanMemN() in X64 arch, it can not reach the last sentence when UINTN is equal to UINT64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9530 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:48:53 +00:00
eric_tian
6741aad96b
according to IA32 intel architecture spec, mwait instuction needs not the operands.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9527 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:15:00 +00:00
eric_tian
0e121f5551
fix GCC build issue, mWait instruction need not the operands.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9526 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:31:44 +00:00
lgao4
3f27582684
Add the missing EFI_IMAGE_EXECUTION_AUTH_ value definitions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9521 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:04:34 +00:00
AJFISH
1afe0401f4
Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9520 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-06 02:01:54 +00:00
mdkinney
f7753a96ba
Add SetMemN() and ScanMemN() to the BaseMemoryLib class and all BaseMemoryLib implementations
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9517 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-05 18:48:52 +00:00
klu2
c6204371fd
Prompt the PI specification version to 1.20 and UEFI specification version to 2.30, for PEI_SERVICES_TABLE, DXE_SERVICES_TABLE, EFI_BOOT_SERVICES_TABLE, EFI_RUNTIME_SERVICES_TABLE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9513 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04 03:10:28 +00:00
lgao4
e191bb1430
Add more check for local FileInfo variable before it is used.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9506 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-02 10:13:24 +00:00