mirror_edk2.git
10 years agoUpdate CryptoPkg for new ciphers (HMAC, Block Cipher, etc) supports.
qlong [Tue, 2 Nov 2010 06:06:38 +0000 (06:06 +0000)]
Update CryptoPkg for new ciphers (HMAC, Block Cipher, etc) supports.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10997 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix PCD token value conflict issue.
gikidy [Tue, 2 Nov 2010 05:27:15 +0000 (05:27 +0000)]
Fix PCD token value conflict issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10996 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix PCD token value conflict issue.
gikidy [Tue, 2 Nov 2010 05:26:30 +0000 (05:26 +0000)]
Fix PCD token value conflict issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10995 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix PCD token value format issue.
gikidy [Tue, 2 Nov 2010 05:23:20 +0000 (05:23 +0000)]
Fix PCD token value format issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10994 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to make code run more safely.
ydong10 [Mon, 1 Nov 2010 09:20:56 +0000 (09:20 +0000)]
Refine code to make code run more safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10993 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to follow the coding style.
ydong10 [Mon, 1 Nov 2010 09:00:23 +0000 (09:00 +0000)]
Refine code to follow the coding style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10992 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1. Update IPsec driver to produce EFI_IPSEC2_PROTOCOL which is defined by UEFI errata...
xdu2 [Mon, 1 Nov 2010 08:19:28 +0000 (08:19 +0000)]
1. Update IPsec driver to produce EFI_IPSEC2_PROTOCOL which is defined by UEFI errata that will appear in UEFI 2.3 specification after 2.3 errata B and future UEFI Specifications after 2.3.
2. Update IPv6 driver to consume the EFI_IPSEC2_PROTOCOL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10991 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate ipsecconfig and ping6 due to ShellLib update.
xdu2 [Mon, 1 Nov 2010 08:17:43 +0000 (08:17 +0000)]
Update ipsecconfig and ping6 due to ShellLib update.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10990 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd CryptoPkg (from UDK2010.UP3)
hhtian [Mon, 1 Nov 2010 06:30:58 +0000 (06:30 +0000)]
Add CryptoPkg (from UDK2010.UP3)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10987 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd NetworkPkg (P.UDK2010.UP3.Network.P1)
hhtian [Mon, 1 Nov 2010 06:13:54 +0000 (06:13 +0000)]
Add NetworkPkg (P.UDK2010.UP3.Network.P1)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10986 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoS.M.A.R.T feature enable
erictian [Thu, 28 Oct 2010 07:44:11 +0000 (07:44 +0000)]
S.M.A.R.T feature enable

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10985 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoCorrect Comments.
lgao4 [Thu, 28 Oct 2010 02:44:00 +0000 (02:44 +0000)]
Correct Comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10984 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix build break when doing 32-bit build with some certain C compiler option combinations.
rsun3 [Thu, 28 Oct 2010 02:01:43 +0000 (02:01 +0000)]
Fix build break when doing 32-bit build with some certain C compiler option combinations.

Use the library functions for shift operations in BaseLib for a 64-bit integer where the code is shared for 32-bit and 64-bit.
Defining bitfields in structures with > 32 bits will cause these types of issues on IA32 builds. So the largest bitfield should be type UINT32 with a max size of :32.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10983 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to remove type converting warning.
ydong10 [Tue, 26 Oct 2010 07:52:31 +0000 (07:52 +0000)]
Refine code to remove type converting warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10982 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoCorrect Data type conversion.
lgao4 [Tue, 26 Oct 2010 03:28:44 +0000 (03:28 +0000)]
Correct Data type conversion.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10981 6f19259b-4bc3-4df7-8a09-765794883524

10 years agopass build for IPF.
vanjeff [Tue, 26 Oct 2010 03:07:33 +0000 (03:07 +0000)]
pass build for IPF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10980 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate HiiDatabase->ExportPackageLists() service to support NULL HII handle per...
lgao4 [Mon, 25 Oct 2010 11:12:15 +0000 (11:12 +0000)]
Update HiiDatabase->ExportPackageLists() service  to support NULL HII handle per UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10979 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoReserve one column at left screen to be more visually.
lgao4 [Mon, 25 Oct 2010 05:35:56 +0000 (05:35 +0000)]
Reserve one column at left screen to be more visually.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10978 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix the following three issues:
lgao4 [Mon, 25 Oct 2010 05:32:17 +0000 (05:32 +0000)]
Fix the following three issues:
  1. When question is grayout, its value is not gray.
  2. When type Ui UP action, Repaint is not trigged when next MenuOption is above the TopOfScreen.
  3. When type Ui Down action, TopOfScreen is not calculated correctly when screen roll is required.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10977 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix a cut-n-paste error in the comment for the "read keystroke" function.
darylm503 [Sun, 24 Oct 2010 22:03:38 +0000 (22:03 +0000)]
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

10 years agoDuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxe
jljusten [Fri, 22 Oct 2010 01:08:16 +0000 (01:08 +0000)]
DuetPkg: Use UefiCpuPkg/CpuDxe instead of DuetPkg/CpuDxe

UefiCpuPkg/CpuDxe provides all the critical features
needed for DUET.  Therefore, to reduce code duplication,
DUET can use the generic UEFI CPU DXE driver.

The one notable lost feature is that DUET's CPU DXE would
call legacy video INT 10 to make sure the exception information
could be displayed on the screen.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10974 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg: Add DXE APRIORI for 8259 driver
jljusten [Fri, 22 Oct 2010 01:07:58 +0000 (01:07 +0000)]
DuetPkg: Add DXE APRIORI for 8259 driver

DUET's CpuDxe driver is directly dependent on the 8259.  This
forces the 8259 driver to run before the CPU DXE driver.  This
is required so the 8259 driver will initialize and mask all
8259 interrupts before the CPU DXE driver allows interrupts
to be enabled.

The UefiCpuPkg CPU DXE driver is not dependent on the 8259
directly.  Therefore, in order to use the UefiCpuPkg CPU DXE
driver with DUET, we add the APRIORI file to force the 8259
driver to run early before the CPU DXE driver runs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10973 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUefiCpuPkg CpuDxe: Fix bug with CPU Arch RegisterInterruptHandler
jljusten [Fri, 22 Oct 2010 01:07:48 +0000 (01:07 +0000)]
UefiCpuPkg CpuDxe: Fix bug with CPU Arch RegisterInterruptHandler

The change in r10765 introduced an issue where inherited interrupt
handlers would override the driver's RegisterInterruptHandler
functionality.

DUET installs a IDT with 256 entries early in it's boot.  Therefore,
no interrupt handlers could be installed with DUET while using
UefiCpuPkg/CpuDxe (instead of DuetPkg/CpuDxe).

This change forces the IDT to be modified when RegisterInterruptHandler
is called to ensure the UEFI handler will be installed properly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10972 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUse the correct length to copy KeyData.
niruiyu [Thu, 21 Oct 2010 01:49:28 +0000 (01:49 +0000)]
Use the correct length to copy KeyData.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10966 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUse the correct length to copy KeyData.
niruiyu [Thu, 21 Oct 2010 01:49:05 +0000 (01:49 +0000)]
Use the correct length to copy KeyData.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10965 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix build issue in IPv4.
qianouyang [Wed, 20 Oct 2010 12:19:06 +0000 (12:19 +0000)]
Fix build issue in IPv4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10964 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd static type cast to fix ICC build failure.
niruiyu [Wed, 20 Oct 2010 09:38:35 +0000 (09:38 +0000)]
Add static type cast to fix ICC build failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10963 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to make code run safely.
ydong10 [Tue, 19 Oct 2010 09:31:16 +0000 (09:31 +0000)]
Refine code to make code run safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10962 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoreturn EFI_DEVICE_ERROR if the Status value is not EFI_SUCCESS.
erictian [Tue, 19 Oct 2010 02:55:16 +0000 (02:55 +0000)]
return EFI_DEVICE_ERROR if the Status value is not EFI_SUCCESS.
it's because BlockIo.Reset() only has two possible values: EFI_SUCCESS and EFI_DEVICE_ERROR according to UEFI2.3 spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10956 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to make code run more safely.
ydong10 [Mon, 18 Oct 2010 11:33:26 +0000 (11:33 +0000)]
Refine code to make code run more safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10955 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate UefiDriverEntryPoint library by adding BaseLib library class required by AutoG...
lgao4 [Mon, 18 Oct 2010 09:59:55 +0000 (09:59 +0000)]
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

10 years agoset the interface of usb hid device to boot protocol if it's not in such case.
erictian [Mon, 18 Oct 2010 07:54:33 +0000 (07:54 +0000)]
set the interface of usb hid device to boot protocol if it's not in such case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10953 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate EdkShellBinPkg to integrate a bug fix in Shell r45
qhuang8 [Mon, 18 Oct 2010 03:58:12 +0000 (03:58 +0000)]
Update EdkShellBinPkg to integrate a bug fix in Shell r45

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10952 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg DxeIpl: Send result of PrintValue to serial port
jljusten [Sat, 16 Oct 2010 18:51:32 +0000 (18:51 +0000)]
DuetPkg DxeIpl: Send result of PrintValue to serial port

PrintValue now uses PrintString so its result will be sent to
the serial port in addition to the screen.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10951 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg: Move EfiLdr Handoff data to stack
jljusten [Sat, 16 Oct 2010 18:51:21 +0000 (18:51 +0000)]
DuetPkg: Move EfiLdr Handoff data to stack

The EfiLdr image may be overwritten later in the boot process.
This can lead to the Handoff structure being corrupted before
DxeIpl is finished with it.

To help prevent this, we move the Handoff structure to the
stack, and in DxeIpl make a copy of it.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10950 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg: Send EfiLdr messages to serial port
jljusten [Sat, 16 Oct 2010 18:51:09 +0000 (18:51 +0000)]
DuetPkg: Send EfiLdr messages to serial port

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10949 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg: Add build32.sh and build64.sh
jljusten [Sat, 16 Oct 2010 18:50:55 +0000 (18:50 +0000)]
DuetPkg: Add build32.sh and build64.sh

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10948 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg CreateBootDisk.sh: Enable building a DUET floppy image
jljusten [Sat, 16 Oct 2010 18:50:43 +0000 (18:50 +0000)]
DuetPkg CreateBootDisk.sh: Enable building a DUET floppy image

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10947 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if defined
jljusten [Sat, 16 Oct 2010 18:50:33 +0000 (18:50 +0000)]
DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if defined

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg: Fix EFIAPI usage inconsistencies
jljusten [Sat, 16 Oct 2010 18:50:16 +0000 (18:50 +0000)]
DuetPkg: Fix EFIAPI usage inconsistencies

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10945 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate to support Xcode 64-bit debug.
andrewfish [Fri, 15 Oct 2010 17:37:00 +0000 (17:37 +0000)]
Update to support Xcode 64-bit debug.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10944 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix minor gcc build break.
andrewfish [Fri, 15 Oct 2010 17:04:09 +0000 (17:04 +0000)]
Fix minor gcc build break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10943 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefile code to make code following the UEFI spec.
ydong10 [Fri, 15 Oct 2010 06:50:55 +0000 (06:50 +0000)]
Refile code to make code following the UEFI spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10942 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate IPsec.h file to follow approved ECR which will be collected into future UEFI...
qianouyang [Fri, 15 Oct 2010 05:40:41 +0000 (05:40 +0000)]
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

10 years agoSync EDKII BaseTools to BaseTools project r2068.
lgao4 [Thu, 14 Oct 2010 06:30:37 +0000 (06:30 +0000)]
Sync EDKII BaseTools to BaseTools project r2068.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10937 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate ConPlatform driver to support GOP driver which creates multiple children.
niruiyu [Thu, 14 Oct 2010 04:49:31 +0000 (04:49 +0000)]
Update ConPlatform driver to support GOP driver which creates multiple children.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10936 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofix 32bit build warning
erictian [Thu, 14 Oct 2010 01:33:04 +0000 (01:33 +0000)]
fix 32bit build warning

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10935 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUnixPkg: Allow build.sh/build64.sh to be run from the edk2 root
jljusten [Wed, 13 Oct 2010 23:02:14 +0000 (23:02 +0000)]
UnixPkg: Allow build.sh/build64.sh to be run from the edk2 root

You can now use this sequence to build UnixPkg:
$ cd /path/to/edk2
$ UnixPkg/build.sh
   or
$ UnixPkg/build64.sh

The old method is still valid:
$ cd /path/to/edk2/UnixPkg
$ ./build.sh

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10934 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUnixPkg MiscSubClassPlatformDxe: Add en-US langdef to *.uni
jljusten [Wed, 13 Oct 2010 23:02:02 +0000 (23:02 +0000)]
UnixPkg MiscSubClassPlatformDxe: Add en-US langdef to *.uni

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10933 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoDuetPkg, MdeModulePkg: Fix several enum comparions
jljusten [Wed, 13 Oct 2010 07:08:29 +0000 (07:08 +0000)]
DuetPkg, MdeModulePkg: Fix several enum comparions

These comparisons were not comparing an enum variable
with a member of the same enum type.

GCC 4.5 generated a warning for these comparison
operations.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10932 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMdePkg: Use builtin offsetof function for GCC 4.0 and newer
jljusten [Wed, 13 Oct 2010 07:08:06 +0000 (07:08 +0000)]
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

10 years agoEdkCompatibilityPkg: Re-add VA_COPY macro
jljusten [Wed, 13 Oct 2010 07:07:54 +0000 (07:07 +0000)]
EdkCompatibilityPkg: Re-add VA_COPY macro

This macro was lost in r10585.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10930 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOVMF: Only enable MDEPKG_NDEBUG for RELEASE builds
jljusten [Wed, 13 Oct 2010 07:07:42 +0000 (07:07 +0000)]
OVMF: Only enable MDEPKG_NDEBUG for RELEASE builds

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10929 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOVMF: Support greater than 2GB of memory
jljusten [Wed, 13 Oct 2010 07:07:29 +0000 (07:07 +0000)]
OVMF: Support greater than 2GB of memory

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10928 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoOVMF BDS: Don't call BdsLibSaveMemoryTypeInformation
jljusten [Wed, 13 Oct 2010 07:07:16 +0000 (07:07 +0000)]
OVMF BDS: Don't call BdsLibSaveMemoryTypeInformation

This call can cause a reset, and is most critical for ACPI S3/S4
resume situations.  OVMF does not support S3/S4.

OVMF does not have true non-volatile variable support, so
this call could cause a continuous reset situation in certain
scenarios.  (The BdsLibSaveMemoryTypeInformation may set an
non-volatile variable, and then reset with the assumption that
the variable will still exist during the next boot.)

Additionally, some version of QEMU appear to hang when the
port 64 reset is initiated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10927 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUnixPkg build64.sh: Build UnixPkg X64 with GCC44
jljusten [Wed, 13 Oct 2010 07:07:03 +0000 (07:07 +0000)]
UnixPkg build64.sh: Build UnixPkg X64 with GCC44

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10926 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUnixPkg SEC: Fix link flags for using GCC on Linux x86-64
jljusten [Wed, 13 Oct 2010 07:06:53 +0000 (07:06 +0000)]
UnixPkg SEC: Fix link flags for using GCC on Linux x86-64

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10925 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUnixPkg: Enable gasket functions for all X64 toolchains
jljusten [Wed, 13 Oct 2010 07:06:42 +0000 (07:06 +0000)]
UnixPkg: Enable gasket functions for all X64 toolchains

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10924 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUnixPkg: Added missing EFIAPI for many Gasket functions
jljusten [Wed, 13 Oct 2010 07:06:28 +0000 (07:06 +0000)]
UnixPkg: Added missing EFIAPI for many Gasket functions

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10923 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix bad NT 32 reference in print to be UnixPkg.
andrewfish [Tue, 12 Oct 2010 22:04:07 +0000 (22:04 +0000)]
Fix bad NT 32 reference in print to be UnixPkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10920 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoMake the script pass arguments so clean from Xcode works properly.
andrewfish [Tue, 12 Oct 2010 15:47:11 +0000 (15:47 +0000)]
Make the script pass arguments so clean from Xcode works properly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10919 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd Framework SMM Status Code Protocol on PI SMM Status Code Protocol Thunk driver.
rsun3 [Tue, 12 Oct 2010 04:01:18 +0000 (04:01 +0000)]
Add Framework SMM Status Code Protocol on PI SMM Status Code Protocol Thunk driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10918 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd ataatapipassthru driver to dsc file
erictian [Tue, 12 Oct 2010 02:28:34 +0000 (02:28 +0000)]
add ataatapipassthru driver to dsc file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10917 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoCorrect the bad token number for gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor.
rsun3 [Mon, 11 Oct 2010 09:10:26 +0000 (09:10 +0000)]
Correct the bad token number for gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10916 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoSync EDKII BaseTools to BaseTools project r2065.
lgao4 [Mon, 11 Oct 2010 06:26:52 +0000 (06:26 +0000)]
Sync EDKII BaseTools to BaseTools project r2065.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10915 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFix the corner case when there is only "\0\0" appended and the Index is 1. Return...
niruiyu [Mon, 11 Oct 2010 04:37:28 +0000 (04:37 +0000)]
Fix the corner case when there is only "\0\0" appended and the Index is 1. Return missing string instead of empty string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10914 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFixed update file time error problem.
ydong10 [Sat, 9 Oct 2010 02:46:37 +0000 (02:46 +0000)]
Fixed update file time error problem.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10913 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd ARM MOVW/MOVT relocations added in PE/COFF 8.2 spec.
andrewfish [Tue, 5 Oct 2010 23:36:37 +0000 (23:36 +0000)]
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

10 years agoremove link to old inf
jcarsey [Tue, 5 Oct 2010 15:27:28 +0000 (15:27 +0000)]
remove link to old inf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10911 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoVerify more memory allocations.
jcarsey [Mon, 4 Oct 2010 16:44:57 +0000 (16:44 +0000)]
Verify more memory allocations.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10910 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoVerify memory allocations were successful.
jcarsey [Mon, 4 Oct 2010 16:30:40 +0000 (16:30 +0000)]
Verify memory allocations were successful.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10909 6f19259b-4bc3-4df7-8a09-765794883524

10 years agochange the en-dash to the standard dash character.
jcarsey [Mon, 4 Oct 2010 16:29:30 +0000 (16:29 +0000)]
change the en-dash to the standard dash character.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10908 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoverify that a memory allocation was successful.
jcarsey [Mon, 4 Oct 2010 16:28:35 +0000 (16:28 +0000)]
verify that a memory allocation was successful.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10907 6f19259b-4bc3-4df7-8a09-765794883524

10 years agomove DeleteScriptFileStruct from a private to a public function. This allows for...
jcarsey [Mon, 4 Oct 2010 16:26:29 +0000 (16:26 +0000)]
move DeleteScriptFileStruct from a private to a public function.  This allows for better memory cleanup when errors occur.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10906 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofix a misspelling.
jcarsey [Mon, 4 Oct 2010 16:25:24 +0000 (16:25 +0000)]
fix a misspelling.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10905 6f19259b-4bc3-4df7-8a09-765794883524

10 years ago1) Removing ASSERTs for proper return values.
jcarsey [Mon, 4 Oct 2010 16:24:30 +0000 (16:24 +0000)]
1) Removing ASSERTs for proper return values.
2) Verifying that memory allocations were successful.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10904 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove additional space from comments and pass ICC/GCC44 build
erictian [Thu, 30 Sep 2010 08:44:59 +0000 (08:44 +0000)]
remove additional space from comments and pass ICC/GCC44 build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10903 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoPerformancePkg: Fix build with GCC
jljusten [Wed, 29 Sep 2010 15:49:20 +0000 (15:49 +0000)]
PerformancePkg: Fix build with GCC

Fix compiler warnings and include filename issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10902 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd native ide/ahci driver
erictian [Wed, 29 Sep 2010 05:50:45 +0000 (05:50 +0000)]
add native ide/ahci driver

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10901 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdd ACPI4.0 header file.
jyao1 [Wed, 29 Sep 2010 00:25:07 +0000 (00:25 +0000)]
Add ACPI4.0 header file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10900 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoNo need to sort arrays of 1 element.
jcarsey [Tue, 28 Sep 2010 18:57:40 +0000 (18:57 +0000)]
No need to sort arrays of 1 element.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10899 6f19259b-4bc3-4df7-8a09-765794883524

10 years agodelete unnecessary files.
jcarsey [Tue, 28 Sep 2010 15:23:53 +0000 (15:23 +0000)]
delete unnecessary files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10898 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoadd a macro IS_PCI_SATADPA to judge if device is a SATA controller which is running...
erictian [Mon, 27 Sep 2010 05:38:20 +0000 (05:38 +0000)]
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

10 years agoAdd the missing EFIAPI for StatusCode handler.
lgao4 [Sat, 25 Sep 2010 05:45:14 +0000 (05:45 +0000)]
Add the missing EFIAPI for StatusCode handler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10896 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoFinish spliting SecDispatchTableLib into two functions so it can be a BaseLib
andrewfish [Mon, 20 Sep 2010 21:04:07 +0000 (21:04 +0000)]
Finish spliting SecDispatchTableLib into two functions so it can be a BaseLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10895 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix "unreachable code" warning with VS2005
jljusten [Mon, 20 Sep 2010 07:03:51 +0000 (07:03 +0000)]
ShellPkg: Fix "unreachable code" warning with VS2005

Since all paths of the switch block now return, it
is not possible to reach the code following the switch
block.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10894 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine some code to make code run safely.
ydong10 [Mon, 20 Sep 2010 03:20:56 +0000 (03:20 +0000)]
Refine some code to make code run safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10893 6f19259b-4bc3-4df7-8a09-765794883524

10 years agorevert/update of a change this morning.
jcarsey [Fri, 17 Sep 2010 21:58:15 +0000 (21:58 +0000)]
revert/update of a change this morning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10892 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremoving incorrect files.
jcarsey [Fri, 17 Sep 2010 21:32:38 +0000 (21:32 +0000)]
removing incorrect files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10891 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix several GCC compiler warnings
jljusten [Fri, 17 Sep 2010 20:09:48 +0000 (20:09 +0000)]
ShellPkg: Fix several GCC compiler warnings

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10890 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Remove optimization disable compiler flag
jljusten [Fri, 17 Sep 2010 20:09:17 +0000 (20:09 +0000)]
ShellPkg: Remove optimization disable compiler flag

This flag is not required, and also is only compatible
with Visual Studio.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10889 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix EFIAPI usage inconsistencies
jljusten [Fri, 17 Sep 2010 20:08:57 +0000 (20:08 +0000)]
ShellPkg: Fix EFIAPI usage inconsistencies

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10888 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Fix path issues for Linux build support
jljusten [Fri, 17 Sep 2010 20:08:20 +0000 (20:08 +0000)]
ShellPkg: Fix path issues for Linux build support

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10887 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoShellPkg: Remove unnecessary package dependencies
jljusten [Fri, 17 Sep 2010 20:07:42 +0000 (20:07 +0000)]
ShellPkg: Remove unnecessary package dependencies

Remove unnecessary references to IntelFrameworkPkg and
IntelFrameworkModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10886 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefRefine soma code to make code run safely.
ydong10 [Fri, 17 Sep 2010 10:42:10 +0000 (10:42 +0000)]
RefRefine soma code to make code run safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10885 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove extra file.
jcarsey [Thu, 16 Sep 2010 22:37:24 +0000 (22:37 +0000)]
remove extra file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10884 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoremove extra file.
jcarsey [Thu, 16 Sep 2010 22:37:00 +0000 (22:37 +0000)]
remove extra file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10883 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoAdded SecDispatchTable library to allow custom PPIs to be passed up to into PEI Core...
andrewfish [Thu, 16 Sep 2010 20:23:33 +0000 (20:23 +0000)]
Added SecDispatchTable library to allow custom PPIs to be passed up to into PEI Core. This will allow platform specific libraries to do thinks like map hardware devices directly into the emulator.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10882 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoClean up clean and clarify XCODE flags.
andrewfish [Thu, 16 Sep 2010 18:39:06 +0000 (18:39 +0000)]
Clean up clean and clarify XCODE flags.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10881 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoRefine code to make code run safely.
ydong10 [Thu, 16 Sep 2010 04:51:25 +0000 (04:51 +0000)]
Refine code to make code run safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10880 6f19259b-4bc3-4df7-8a09-765794883524