]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoAdd additional reset when Memory Type Information settings change.
niruiyu [Thu, 16 Sep 2010 01:14:51 +0000 (01:14 +0000)]
Add additional reset when Memory Type Information settings change.

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

13 years agoUpdate readme format
hhtian [Thu, 16 Sep 2010 00:43:45 +0000 (00:43 +0000)]
Update readme format

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

13 years agoRefine soma code to make code run safely.
ydong10 [Wed, 15 Sep 2010 07:48:11 +0000 (07:48 +0000)]
Refine soma code to make code run safely.

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

13 years agoUpdate MODULE_TYPE to be DXE_RUNTIME_DRIVER
mdkinney [Tue, 14 Sep 2010 17:02:46 +0000 (17:02 +0000)]
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

13 years agocopyright format update
hhtian [Tue, 14 Sep 2010 12:22:42 +0000 (12:22 +0000)]
copyright format update

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

13 years agoudk2010.up2.shell initial release.
jcarsey [Tue, 14 Sep 2010 05:18:09 +0000 (05:18 +0000)]
udk2010.up2.shell initial release.

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

13 years agoRefine some code to make code run safely.
ydong10 [Mon, 13 Sep 2010 10:46:02 +0000 (10:46 +0000)]
Refine some code to make code run safely.

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

13 years agoFix the issue that might prevent single step in PeCoffExtraActionLib (right after...
pgao2 [Mon, 13 Sep 2010 02:42:14 +0000 (02:42 +0000)]
Fix the issue that might prevent single step in PeCoffExtraActionLib (right after triggering breakpoint to notify image load/unload) work.

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

13 years agominor format update to make text wrap around column 80
hhtian [Mon, 13 Sep 2010 02:03:04 +0000 (02:03 +0000)]
minor format update to make text wrap around column 80

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

13 years agoUpdate Ovmf DSC/FDF files to support source debugging feature that will be switched...
vanjeff [Sun, 12 Sep 2010 06:46:55 +0000 (06:46 +0000)]
Update Ovmf DSC/FDF files to support source debugging feature that will be switched on by "-D SOURCE_DEBUG_ENABLE".

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

13 years agoImport SourceLevelDebugPkg.
vanjeff [Sun, 12 Sep 2010 06:43:36 +0000 (06:43 +0000)]
Import SourceLevelDebugPkg.

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

13 years agoUpdate this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER module...
mdkinney [Fri, 10 Sep 2010 20:10:32 +0000 (20:10 +0000)]
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@10866 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoUpdate this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER module...
mdkinney [Fri, 10 Sep 2010 20:08:03 +0000 (20:08 +0000)]
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

13 years agoUpdate this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER module...
mdkinney [Fri, 10 Sep 2010 20:05:25 +0000 (20:05 +0000)]
Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER module types

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

13 years agoRefine some code to make the code run safely.
ydong10 [Fri, 10 Sep 2010 01:04:00 +0000 (01:04 +0000)]
Refine some code to make the code run safely.

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

13 years agoThese libraries moved to ArmPkg, but did not get deleted. Fixing that issue.
andrewfish [Thu, 9 Sep 2010 22:04:50 +0000 (22:04 +0000)]
These libraries moved to ArmPkg, but did not get deleted. Fixing that issue.

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

13 years agoImprove PXE Over IPv4 performance:
hhuan13 [Thu, 9 Sep 2010 09:30:19 +0000 (09:30 +0000)]
Improve PXE Over IPv4 performance:
1. Stop UdpWrite instance upon return from EfiPxeBcUdpWrite() to avoid mass pkgs enqueue to this useless instance in Udp layer.
2. Enhance Udp timeout logic to prevent the worst case happen, and set PxeUdp instance to 50ms to avoid enqueue mass pkgs in background.

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

13 years agoUpdate example symbol command to dump out gdb load commands if you compile with gcc...
andrewfish [Wed, 8 Sep 2010 17:58:18 +0000 (17:58 +0000)]
Update example symbol command to dump out gdb load commands if you compile with gcc or RVCT commands if you compile with other compilers.

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

13 years agoFix HSD Tracker 204133.
darylm503 [Wed, 8 Sep 2010 14:46:38 +0000 (14:46 +0000)]
Fix HSD Tracker 204133.
Clarified the comment for the ShellExecute function.

Added text indicating that the EnvironmentVariables and Status parameters are ignored in a pre-UEFI Shell 2.0 environment and that the Output parameter is ignored in a UEFI Shell 2.0 environment.

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

13 years agoupdate copyright format
hhtian [Wed, 8 Sep 2010 03:15:05 +0000 (03:15 +0000)]
update copyright format

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

13 years agoARM RVCT 3.1 compiler has issues with __packed structures containing anonymous struct...
andrewfish [Tue, 7 Sep 2010 18:26:58 +0000 (18:26 +0000)]
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

13 years agoRename one file to follow the file naming convention.
rsun3 [Tue, 7 Sep 2010 10:37:31 +0000 (10:37 +0000)]
Rename one file to follow the file naming convention.

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

13 years agoRename one file to follow the file naming convention.
rsun3 [Tue, 7 Sep 2010 10:36:37 +0000 (10:36 +0000)]
Rename one file to follow the file naming convention.

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

13 years agoRename two files to follow the file naming convention.
rsun3 [Tue, 7 Sep 2010 10:23:05 +0000 (10:23 +0000)]
Rename two files to follow the file naming convention.

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

13 years agoRename two files to follow the file naming convention.
rsun3 [Tue, 7 Sep 2010 10:22:21 +0000 (10:22 +0000)]
Rename two files to follow the file naming convention.

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

13 years agoAdd missing BPDG tool sources when sync to BaseTools r2042
qhuang8 [Mon, 6 Sep 2010 02:01:57 +0000 (02:01 +0000)]
Add missing BPDG tool sources when sync to BaseTools r2042

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

13 years agoSync EDKII BaseTools to BaseTools project r2042.
qhuang8 [Mon, 6 Sep 2010 01:58:00 +0000 (01:58 +0000)]
Sync EDKII BaseTools to BaseTools project r2042.

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

13 years agoFill AtaDeviceHeader field in ATA command block
qhuang8 [Thu, 2 Sep 2010 08:00:27 +0000 (08:00 +0000)]
Fill AtaDeviceHeader field in ATA command block

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

13 years agoEnlarge the maximum size of VOID* typed PCD to ensure it is greater or equal to the...
qhuang8 [Tue, 31 Aug 2010 00:37:16 +0000 (00:37 +0000)]
Enlarge the maximum size of VOID* typed PCD to ensure it is greater or equal to the actual size of data.

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

13 years agoThe patch acknowledges the TCP zero window probe message, either the format with...
tye1 [Fri, 27 Aug 2010 07:57:45 +0000 (07:57 +0000)]
The patch acknowledges the TCP zero window probe message, either the format with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe.

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

13 years agoTo comply w/ UEFI spec , In Dhcp(), Discover(), and Mtftp() interfaces, set the IP...
hhuan13 [Fri, 27 Aug 2010 05:11:32 +0000 (05:11 +0000)]
To comply w/ UEFI spec , In Dhcp(), Discover(), and Mtftp() interfaces, set the IP filter to use StationIp.

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

13 years agoProgram virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of MpService...
rsun3 [Fri, 27 Aug 2010 03:47:42 +0000 (03:47 +0000)]
Program virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of MpServicesOnFrameworkMpServicesThunk.

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

13 years agoAdd DisableLvtInterrupts() for the Local APIC library class.
rsun3 [Fri, 27 Aug 2010 03:46:18 +0000 (03:46 +0000)]
Add DisableLvtInterrupts() for the Local APIC library class.

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

13 years agoAvoid DxeCore to reclaim PEI stack as IDT may be on it (like 32-bit OVMF).
pgao2 [Thu, 26 Aug 2010 08:26:14 +0000 (08:26 +0000)]
Avoid DxeCore to reclaim PEI stack as IDT may be on it (like 32-bit OVMF).

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

13 years agoImprove Local APIC library class. Add new library APIs: GetApicVersion(), SendFixedIp...
rsun3 [Thu, 26 Aug 2010 05:58:42 +0000 (05:58 +0000)]
Improve Local APIC library class. Add new library APIs: GetApicVersion(), SendFixedIpi(), SendFixedIpiAllExcludingSelf(), GetApicTimerState(). Remove GetApicTimerDivisor (), its functionality can be covered by GetApicTimerState().

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

13 years agoFix a bug in GetOptionalStringByIndex() that doesn't handle the case when Index ...
niruiyu [Thu, 26 Aug 2010 03:15:23 +0000 (03:15 +0000)]
Fix a bug in GetOptionalStringByIndex() that doesn't handle the case when Index == 0.
Code is re-organized to be more readable and simpler.

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

13 years agoSync bug fix in Edk r10821 to PeiMemoryLib and UefiMemoryLib instances.
qhuang8 [Thu, 26 Aug 2010 00:50:37 +0000 (00:50 +0000)]
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

13 years agoFix the InternalMemScanMem* functions. They were returning the character AFTER the...
darylm503 [Wed, 25 Aug 2010 23:06:43 +0000 (23:06 +0000)]
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

13 years agoUpdate EdkShellBinPkg to integrate a bug fix date & time command for shell binaries.
qhuang8 [Wed, 25 Aug 2010 00:57:08 +0000 (00:57 +0000)]
Update EdkShellBinPkg to integrate a bug fix date & time command for shell binaries.

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

13 years agoUpdate EdkShellBinPkg to integrate a bug fix date & time command for x64 shell binaries.
qhuang8 [Tue, 24 Aug 2010 14:12:28 +0000 (14:12 +0000)]
Update EdkShellBinPkg to integrate a bug fix date & time command for x64 shell binaries.

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

13 years agoChange the check condition for 16 byte command, when HDD size is > 2TB, use 16 byte...
li-elvin [Mon, 23 Aug 2010 10:05:44 +0000 (10:05 +0000)]
Change the check condition for 16 byte command, when HDD size is > 2TB, use 16 byte command instead.

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

13 years agoAdd Local APIC library mapping.
rsun3 [Mon, 23 Aug 2010 06:55:48 +0000 (06:55 +0000)]
Add Local APIC library mapping.

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

13 years agoUpdate MpServicesOnFrameworkMpServicesThunk to consume Local APIC library.
rsun3 [Mon, 23 Aug 2010 06:53:10 +0000 (06:53 +0000)]
Update MpServicesOnFrameworkMpServicesThunk to consume Local APIC library.

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

13 years agoAdd Local APIC Library class defining APIs for common Local APIC operations. Add...
rsun3 [Mon, 23 Aug 2010 06:34:39 +0000 (06:34 +0000)]
Add Local APIC Library class defining APIs for common Local APIC operations. Add two Local APIC library instances, one is for xAPIC mode only, the other is for x2APIC capable processors which have xAPIC and x2APIC modes.

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

13 years agoThe definition of NumberOfSmmReservedRegions is incorrect in Framework SmmCis specifi...
xli24 [Fri, 20 Aug 2010 17:32:04 +0000 (17:32 +0000)]
The definition of NumberOfSmmReservedRegions is incorrect in Framework SmmCis specification 0.91, in which the type of this field is defined as UINTN. However, HOBs are supposed to be CPU neutral, so UINT32 should be used. Here the code is updated and comments in FrameworkSpecConformance.txt is added.

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

13 years agoFixed Ip4 bug that causing Iscsi reconnect hang sporadically . In Ip4OutPut()->Ip4IpS...
hhuan13 [Fri, 20 Aug 2010 06:29:55 +0000 (06:29 +0000)]
Fixed Ip4 bug that causing Iscsi reconnect hang sporadically . In Ip4OutPut()->Ip4IpSecProcessPacket() line 511, each time "reconnect -r", IpSb is re-allocated in IpDriver.Start(). But only when the first time, IpSb->OldMaxPacketSize = IpSb->MaxPacketSize; For the sequential reconnect, IpSb->OldMaxPacketSize is left dirty. Somtimes it is 0, causing the next sending packages generate exception.

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

13 years agoFix GCC build failure
niruiyu [Fri, 20 Aug 2010 05:30:07 +0000 (05:30 +0000)]
Fix GCC build failure

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

13 years agoCheck in the IsaIoDxe device driver that consumes EFI_SIO_PROTOCOL to produce EFI_ISA...
niruiyu [Thu, 19 Aug 2010 02:40:27 +0000 (02:40 +0000)]
Check in the IsaIoDxe device driver that consumes EFI_SIO_PROTOCOL to produce EFI_ISA_IO_PROTOCOL.

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

13 years agoMove ACPI_SMALL_RESOURCE_HEADER and ACPI_LARGE_RESOURCE_HEADER from SuperIo.h to...
niruiyu [Thu, 19 Aug 2010 02:39:19 +0000 (02:39 +0000)]
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

13 years agoAdded support for an EFI X64 ABI compatible UnixPkg. With an internal only compiler...
andrewfish [Wed, 18 Aug 2010 20:24:08 +0000 (20:24 +0000)]
Added support for an EFI X64 ABI compatible UnixPkg. With an internal only compiler I've been able to run checked in X64 EFI shell binary! We are hoping to get the open source LLVM compiler working for this... Since the SEC has to be UNIX ABI to make the POSIX calls it is compiled using a different compiler and the rest of the UnixPkg is compiled with UNIXPKG tool. You just need to point UNIXPKG at your EFI X64 ABI compiler of choice, it should work like MYTOOLS. Some one may want to port this to Linux at some point. To build cd into UnixPkg and ./build64.sh

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

13 years agoclear the correct BAR register. Because for P2P device, only register from 0x10 to...
niruiyu [Wed, 18 Aug 2010 12:21:21 +0000 (12:21 +0000)]
clear the correct BAR register. Because for P2P device, only register from 0x10 to 0x14 is BAR register.

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

13 years ago1. Introduce PcdTftpBlockSize to let platform DSC customize block size.
hhuan13 [Wed, 18 Aug 2010 00:47:26 +0000 (00:47 +0000)]
1. Introduce PcdTftpBlockSize to let platform DSC customize block size.
2. Roll back the default block size to handle all link layers.

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

13 years agoSmmBaseHelper: Update MP state in Framework SMST before transferring control to Frame...
rsun3 [Tue, 17 Aug 2010 09:43:50 +0000 (09:43 +0000)]
SmmBaseHelper: Update MP state in Framework SMST before transferring control to Framework SMM driver entry point.

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

13 years agoremove CpuBreakpoint ().
vanjeff [Tue, 17 Aug 2010 08:29:00 +0000 (08:29 +0000)]
remove CpuBreakpoint ().

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

13 years agoFixed one bug which may lead standard error handle could not be set into system table...
vanjeff [Tue, 17 Aug 2010 08:27:12 +0000 (08:27 +0000)]
Fixed one bug which may lead standard error handle could not be set into system table correctly since default return status is set to error by default.

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

13 years agoRefine code.
sfu5 [Mon, 16 Aug 2010 01:11:49 +0000 (01:11 +0000)]
Refine code.

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

13 years agoRoll back BlockSize to 0x8000 for PXE performance concern.
hhuan13 [Sun, 15 Aug 2010 01:41:30 +0000 (01:41 +0000)]
Roll back BlockSize to 0x8000 for PXE performance concern.

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

13 years agoMinor refinement on source code.
qhuang8 [Sat, 14 Aug 2010 07:25:20 +0000 (07:25 +0000)]
Minor refinement on source code.

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

13 years agoIf you install 64-bit kernel build will fail. This requires manually setting properti...
andrewfish [Fri, 13 Aug 2010 19:49:30 +0000 (19:49 +0000)]
If you install 64-bit kernel build will fail. This requires manually setting properties, but it is legal...

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

13 years agoAdd datahub status sode handler driver.
xli24 [Fri, 13 Aug 2010 05:43:30 +0000 (05:43 +0000)]
Add datahub status sode handler driver.

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

13 years agoUpdate EdkShellBinPkg to integrate a bug fix in PCI command in Shell source r42.
qhuang8 [Fri, 13 Aug 2010 05:13:34 +0000 (05:13 +0000)]
Update EdkShellBinPkg to integrate a bug fix in PCI command in Shell source r42.

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

13 years agoRefine code.
sfu5 [Fri, 13 Aug 2010 02:47:22 +0000 (02:47 +0000)]
Refine code.

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

13 years agoAdd LZMA decompression to DXE Core.
andrewfish [Thu, 12 Aug 2010 18:32:36 +0000 (18:32 +0000)]
Add LZMA decompression to DXE Core.

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

13 years agoFix bug in LoadFv command. Don't free the buffer the file was loaded into as the...
andrewfish [Thu, 12 Aug 2010 17:21:22 +0000 (17:21 +0000)]
Fix bug in LoadFv command. Don't free the buffer the file was loaded into as the DXE Core will point to it as an FV.

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

13 years agoFix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in pair.
xdu2 [Thu, 12 Aug 2010 04:46:11 +0000 (04:46 +0000)]
Fix bug in Ip4Dxe and Dhcp4Dxe to ensure that RaiseTPL and RestoreTPL are in pair.

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

13 years agoFix PcAtChipsetPkg build failure by changing the PcAtChipsetPkg.dsc to reference...
niruiyu [Wed, 11 Aug 2010 07:38:25 +0000 (07:38 +0000)]
Fix PcAtChipsetPkg build failure by changing the PcAtChipsetPkg.dsc to reference the correct module.

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

13 years agoAdd boundary check against variable MTRR count.
xli24 [Tue, 10 Aug 2010 08:57:36 +0000 (08:57 +0000)]
Add boundary check against variable MTRR count.

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

13 years agoAdd explicit type cast to suppress possible warning of precession loss.
xli24 [Tue, 10 Aug 2010 07:47:20 +0000 (07:47 +0000)]
Add explicit type cast to suppress possible warning of precession loss.

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

13 years agoMinor code refinement.
rsun3 [Tue, 10 Aug 2010 07:36:00 +0000 (07:36 +0000)]
Minor code refinement.

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

13 years agoAdd explicit type cast to suppress possible warning of precession loss.
xli24 [Tue, 10 Aug 2010 07:15:06 +0000 (07:15 +0000)]
Add explicit type cast to suppress possible warning of precession loss.

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