]>
git.proxmox.com Git - mirror_edk2.git/log
jcarsey [Mon, 8 Aug 2011 20:50:31 +0000 (20:50 +0000)]
clarify the logic of the print length counting functions in both PrintLib library instances.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12102
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 8 Aug 2011 18:29:14 +0000 (18:29 +0000)]
EmbeddedPkg: Fix mispellings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12101
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 8 Aug 2011 18:22:08 +0000 (18:22 +0000)]
remove CatSPrint from ShellPkg.
signed-off-by: jcarsey
reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12100
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Mon, 8 Aug 2011 18:19:45 +0000 (18:19 +0000)]
Better handle transmit errors
Return 0 receive bytes when socket is closed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12099
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 8 Aug 2011 18:18:40 +0000 (18:18 +0000)]
add IPv4 address copy macro.
signed-off-by: jcarsey
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12098
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 8 Aug 2011 18:16:22 +0000 (18:16 +0000)]
MdeModulePkg/Dxe: Move assertions inside CoreInsertGcdMapEntry()
CoreInsertGcdMapEntry() does not assume the new region could overlap two existing GCDs.
In this case, we need to call this function twice and the TopEntry or BottomEntry could
have been updated by the previous call.
Reviewed by: rsun3
Reviewed by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12097
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Mon, 8 Aug 2011 17:38:14 +0000 (17:38 +0000)]
Remove SocketPkg references
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12096
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Mon, 8 Aug 2011 09:23:51 +0000 (09:23 +0000)]
Add non null assertion before using the bridge instance.
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12095
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Fri, 5 Aug 2011 23:57:34 +0000 (23:57 +0000)]
Fix @return Doxygen commands to be singular instead of plural.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12094
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Fri, 5 Aug 2011 23:02:43 +0000 (23:02 +0000)]
Update or add comments to files and functions for use by Doxygen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12093
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Fri, 5 Aug 2011 17:44:13 +0000 (17:44 +0000)]
Get rid of some rcsid blocks. The EDK II build options cause a build break on the rcsid definitions. It is easier to delete them than other workarounds.
Fix case mismatch for an included file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12092
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Fri, 5 Aug 2011 15:43:05 +0000 (15:43 +0000)]
OvmfPkg/PlatformPei: Add Xen support
* Make PlatformPei aware of Xen
* Fix assigned PIO and MMIO ranges to be compatible with Xen
* Reserve Xen HVM address range
* Publish XenInfo HOB
* Don't program PIIX4 PMBA for Xen
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12091
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Thu, 4 Aug 2011 23:35:57 +0000 (23:35 +0000)]
Update or add comments to files and functions for use by Doxygen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12090
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Thu, 4 Aug 2011 18:13:02 +0000 (18:13 +0000)]
Update or add comments to files and functions for use by Doxygen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12089
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 4 Aug 2011 09:14:31 +0000 (09:14 +0000)]
Print PCI Interrupt Line/Interrupt Pin registers before booting legacy OS.
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12088
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 4 Aug 2011 09:08:09 +0000 (09:08 +0000)]
Print resource allocation/bar programming when PciBus driver does PCI BUS enumeration.
Signed-off-by: niruiyu
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12087
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 4 Aug 2011 06:33:49 +0000 (06:33 +0000)]
Fix X64 compile error.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12086
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Thu, 4 Aug 2011 03:25:14 +0000 (03:25 +0000)]
UefiCpuPkg: Replace the un-necessary WBINVD instruction at the reset vector with two NOPs in VTF0.
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12085
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Thu, 4 Aug 2011 02:23:39 +0000 (02:23 +0000)]
Normalize data transfer buffer in BlockIo thunk driver to avoid INT 13 Function 42H returning data boundary error (09H).
Signed-off-by: li-elvin
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12084
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Wed, 3 Aug 2011 17:45:52 +0000 (17:45 +0000)]
Fix send to properly wait while long transmits are in progress
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12083
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Wed, 3 Aug 2011 17:28:04 +0000 (17:28 +0000)]
ShellPkg: Added the Ctrl based hot key for hexedit
* Add Ctrl based hotkey alternatives to function hotkeys.
* Update help menu for hexedit.
Signed-off-by: kidzyoung
Reviewed-by: jljusten
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12082
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Tue, 2 Aug 2011 23:33:06 +0000 (23:33 +0000)]
Add 2 functions to UefiLib library class: CatSPrint and CatVSPrint.
Implement these functions in the UefiLib instance.
Add 2 functions to PrintLib library class: SPrintLengthAsciiFormat and SPrintLength.
Implement these functions in the BasePrintLib instance and the DxePrintLib2Protocol instance.
Signed-off-by: jcarsey
Reviewed-by: jljusten
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12081
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Tue, 2 Aug 2011 23:09:06 +0000 (23:09 +0000)]
Add plain-text ReadMe files and delete the PDF version.
Clean up some comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12080
6f19259b -4bc3-4df7-8a09-
765794883524
geekboy15a [Tue, 2 Aug 2011 22:29:50 +0000 (22:29 +0000)]
MdePkg: Fixed hang/reset in thunk code when building with GCC X64
Reverted changes of data areas from .long back to .space 4. This was done
because the size of .long is based off of .int and may vary. Using a fixed size
is required because these values are for patching code. Also note that .space
will automatically initialize the data to zero. Not initializing all values to
zero was causing the hang/reset.
Signed-off-by: geekboy15a
Reviewed-by: darylm503
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12079
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 2 Aug 2011 21:06:13 +0000 (21:06 +0000)]
MdeModulePkg: Add SmmLockBox PEI implementation
Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12077
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Tue, 2 Aug 2011 20:52:36 +0000 (20:52 +0000)]
Fix GCC build breaks.
Fix case mismatch for includes of "Socket.h". Original code was <socket.h> while file was Socket.h in the same directory as the .c file.
Add EFIAPI to function declarations so that they match the definition.
Remove "ineffective" statements from stub functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12076
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Tue, 2 Aug 2011 20:50:57 +0000 (20:50 +0000)]
Make it easy to build the socket applications
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12075
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 2 Aug 2011 06:26:07 +0000 (06:26 +0000)]
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12074
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 2 Aug 2011 06:23:54 +0000 (06:23 +0000)]
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12073
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 2 Aug 2011 06:23:16 +0000 (06:23 +0000)]
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12072
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Tue, 2 Aug 2011 05:57:15 +0000 (05:57 +0000)]
Fix 32-bit bios build error.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12071
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 1 Aug 2011 15:25:53 +0000 (15:25 +0000)]
fix typo
submitted-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12070
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 1 Aug 2011 15:18:19 +0000 (15:18 +0000)]
cleanup function and eliminate build error.
submitted-by:jcarsey
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12069
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 1 Aug 2011 07:39:02 +0000 (07:39 +0000)]
When status code handler unregister itself, status code dispatch in status code router driver will have problem to get next handler. Fixed the issue in status code router.
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12068
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 1 Aug 2011 07:30:02 +0000 (07:30 +0000)]
Create smbios table when user adds/removes/Updatestring for a SMBIOS entry. It is for UEFI driver to access SMBIOS table in configuration table before boot.
Signed-off-by: li-elvin
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12067
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 1 Aug 2011 07:23:14 +0000 (07:23 +0000)]
Create smbios table before ReadyToBoot event. For SMBIOS thunk driver, create/update smbios table in configuration table when each field is updated.
Signed-off-by: li-elvin
Reviewed-by: lzeng14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12066
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 1 Aug 2011 07:18:24 +0000 (07:18 +0000)]
Put free the buffer GraphicsOutput.Mode in correct place.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12065
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 1 Aug 2011 06:40:17 +0000 (06:40 +0000)]
Fixes two issues in HiiFontProtocol->StringToImage() implementation on how to show string with wrap flag.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12064
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Mon, 1 Aug 2011 06:09:17 +0000 (06:09 +0000)]
Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h files for better modularity: IntelFrameworkModulePkg\Include\Guid\AcpiVariableCompatibility.h,
MdeModulePkg\Include\Guid\AcpiS3Context.h.
Signed-off-by: rsun3
Reviewed-by: jljusten
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12063
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Sat, 30 Jul 2011 00:32:15 +0000 (00:32 +0000)]
Add Socket Library applications.
Modify AppPkg.dsc file to include StdLib.inc which contains the Boilerplate text for Standard Library based Applications.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12062
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Sat, 30 Jul 2011 00:30:44 +0000 (00:30 +0000)]
Add Socket Libraries.
Add Posix functions for porting compatibility.
Fix compliance issues with ISO/IEC 9899:199409
New Functions:
setenv(), fparseln(), GetFileNameFromPath(), rename(),
realpath(), setprogname(), getprogname(), strlcat(), strlcpy(),
strsep(), setitimer(), getitimer(), timegm(), getopt(), basename(),
mkstemp(), ffs(), vsnprintf(), snprintf(), getpass(), usleep(), select(),
writev(), strcasecmp(), getcwd(), chdir(), tcgetpgrp(), getpgrp(), gettimeofday(),
bcopy(),
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12061
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Sat, 30 Jul 2011 00:25:54 +0000 (00:25 +0000)]
Changes so that Argv points to narrow-character versions of the command-line arguments.
Fix "long double" handling and differences between MSFT and GCC compilers.
Fix compliance issues with ISO/IEC 9899:199409
New Function declarations:
setenv(), fparseln(), GetFileNameFromPath(), rename()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12060
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Fri, 29 Jul 2011 23:59:12 +0000 (23:59 +0000)]
OvmfPkg/Include/Guid: Add XenInfo GUID
XenInfo HOB is used to pass XenInfo from PEI to DXE.
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12059
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Fri, 29 Jul 2011 23:58:57 +0000 (23:58 +0000)]
EmulatorPkg/build.sh: Add build target to command line
Use the -b parameter in the build command.
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12058
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 29 Jul 2011 15:36:43 +0000 (15:36 +0000)]
EdkCompatabilityPg: Add missing .globl statement
signed-off-by:andrewfish
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12057
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Thu, 28 Jul 2011 17:47:22 +0000 (17:47 +0000)]
MdeModulePkg: Fix build error for UNIXGCC with IPF
#pragma pack with push/pop is not supported with all
GCC types.
Signed-off-by: jljusten
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12056
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 28 Jul 2011 14:58:52 +0000 (14:58 +0000)]
ArmPkg: Fix ARM builds for XCode32
- Build BeagleBoardPkg, ArmRealViewEb-A8, ArmRealView-A9x2 and ArmVExpress-CTA9x4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12055
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 28 Jul 2011 02:14:29 +0000 (02:14 +0000)]
Adjust the day field when update the month and year field.
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12054
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Wed, 27 Jul 2011 15:13:54 +0000 (15:13 +0000)]
OvmfPkg/Library/AcpiTimerLib: Modified to support Xen HVM
If PIIX4 Power Management Base Address (PMBA) is already
programmed, then read and use it's current setting.
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12053
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Wed, 27 Jul 2011 08:54:57 +0000 (08:54 +0000)]
For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Wed, 27 Jul 2011 08:19:30 +0000 (08:19 +0000)]
GUIDs should go below the correct comment block in MdePkg.dec.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12051
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Fri, 22 Jul 2011 18:01:26 +0000 (18:01 +0000)]
MdeModulePkg: Add Recovery PCD feature flags
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12049
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Wed, 20 Jul 2011 20:10:45 +0000 (20:10 +0000)]
ShellPkg: Added the Ctrl based hot key and changed text editor's UI.
* Add Ctrl-E hotkey for help
* Add Ctrl based hotkey alternatives to function hotkeys
* Don't show hotkey help on the main screen
* Change the file buffer's row count for display to adjust the new screen format
* Change the edit status bar location, the new edit status bar is in the last line
* Change the location of the edit bar, the new edit input bar is in the last line
Signed-off-by: kidzyoung
reviewed-by: jcarsey
reviewed-by: jljusten
reviewed-by: jiang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12036
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 20 Jul 2011 17:47:44 +0000 (17:47 +0000)]
MdePkg: Update CpuSleep to use ARMv7 instruction.
The code was using ARMv6 co-processor reg, that is a no-op on ARMv7. WFI is the instruction on ARMv7.
signed-off-by: andrewfish
reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12035
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 20 Jul 2011 15:13:06 +0000 (15:13 +0000)]
BeagleBoardPkg: Ensure there is no pending IRQ and disable timer
When the BeagleBoard UEFI is started from a 1st (or 2nd stage) boot loader
it is possible there are still some pending IRQ.
Clean the interrupts before starting the BeagleBoard UEFI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12034
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:48:48 +0000 (20:48 +0000)]
MdeModulePkg: Add SmmControl PPI definition
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12033
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:48:30 +0000 (20:48 +0000)]
EdkCompatibilityPkg: Add SmmScriptLib
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12032
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:48:04 +0000 (20:48 +0000)]
EdkCompatibilityPkg: Add DxeSmmReadyToLockOnExitPmAuthThunk driver
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12031
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:47:45 +0000 (20:47 +0000)]
IntelFrameworkModulePkg: Add ExitPmAuth protocol definition
Signed-off-by: jljusten
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12030
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:47:28 +0000 (20:47 +0000)]
MdeModulePkg: Add SMM LockBox
This includes:
* LockBox protocol definition
* LockBoxLib library interface definition
* SmmLockBox GUID
* LockBoxNullLib library implementation
* 2 SmmLockBoxLib library implementations
* SmmLockBox SMM driver
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12029
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:46:45 +0000 (20:46 +0000)]
MdeModulePkg: Add SmmCommunication PPI definition
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12028
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 19 Jul 2011 20:46:24 +0000 (20:46 +0000)]
MdeModulePkg: Add SmmAccess PPI definition
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12027
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 19 Jul 2011 15:01:27 +0000 (15:01 +0000)]
ArmPkg/SemiHostingSerialPortLib: Return number of written bytes in SerialPortWrite()
It was previously returning '0' written bytes that was interprating by the higher
layers as a failing operation.
Fix proposed by Eugene Cohen (HP)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12026
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Tue, 19 Jul 2011 06:31:58 +0000 (06:31 +0000)]
Add header file for KMS.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12025
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 18 Jul 2011 17:40:12 +0000 (17:40 +0000)]
ArmPkg/UncachedMemoryAllocationLib: Use gDS function to set memory attributes
Calling directly the CPU Architectural protocol does not update the GCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12024
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 18 Jul 2011 10:27:12 +0000 (10:27 +0000)]
ArmPkg/DebugAgentSymbolsOnlyLib: Add library to print loaded address of the SEC and PEI_CORE modules
This library that uses the DebugAgentLib interface prints the loaded addresses
of the SEC and PEI_CORE module using PeCoffExtraActionLib.
Note: Because there is no PE loader for these XIP modules, PeCoffExtraActionLib is not invoked.
This library scans the firmware volume to find these modules and calculate their fixup loaded
addresses used to load their symbols in the debugger.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12023
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Mon, 18 Jul 2011 08:28:30 +0000 (08:28 +0000)]
1. Fix a bug : netboot6 client hangs if DHCPv6 Advertisement received without netboot6 info
Signed-off-by: hhuan13
Reviewed-by: tye1
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12022
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 15 Jul 2011 19:01:16 +0000 (19:01 +0000)]
EmulatorPkg: Fix bug with missing &. Causes a link failure on TOT clang.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12021
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Fri, 15 Jul 2011 15:19:05 +0000 (15:19 +0000)]
MdeModulePkg: Fix VS2008 warning.
This looks amlost like a bug in VS2008, please verify that the warning is fixed as I don't ahve a copy of VS2008.
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12020
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 14 Jul 2011 11:32:19 +0000 (11:32 +0000)]
1. Update NetworkPkg\PXE driver to consume netlib library function NetLibGetSystemGuid()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12019
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 14 Jul 2011 11:29:47 +0000 (11:29 +0000)]
1. Update DHCPv6 to use DUID-UUID option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12018
6f19259b -4bc3-4df7-8a09-
765794883524
hhuan13 [Thu, 14 Jul 2011 11:27:05 +0000 (11:27 +0000)]
1. Define a netlib library function NetLibGetSystemGuid()
2. Update PXE driver to use NetLibGetSystemGuid()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12017
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 14 Jul 2011 02:31:02 +0000 (02:31 +0000)]
MdeModulePkg: Add PcdDxeIplBuildPageTables for DxeIpl X64 to optionally not rebuild the page tables.
signed-off-by: andrewfish
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12016
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Wed, 13 Jul 2011 08:40:55 +0000 (08:40 +0000)]
Fix an issue that there may be an infinite loop in the CoreInitializeMemoryServices() in Gcd.c of the DXE Core. Also update logic to use continue statements to reduce the level of nesting in the two loops that search the HOB lists. More comment are added.
Signed-off-by: rsun3
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12015
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Wed, 13 Jul 2011 06:19:41 +0000 (06:19 +0000)]
Fixed build fail with GCC/ICC tools
Signed-off-by:ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12014
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 13 Jul 2011 05:35:20 +0000 (05:35 +0000)]
Change CHAP_RADIUS_AUTH_NODE & CHAP_LOCAL_AUTH_NODE definition in AuthenticationInfo.h to align to the latest spec.
Signed-off-by: niruiyu
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12013
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 12 Jul 2011 20:36:05 +0000 (20:36 +0000)]
MdeModulePkg: Add CD Express PEIM
Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12012
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Tue, 12 Jul 2011 20:35:46 +0000 (20:35 +0000)]
MdeModulePkg: Add Capsule PEIM
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12011
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 12 Jul 2011 09:03:36 +0000 (09:03 +0000)]
Correct the status code value to EFI_SW_PC_INIT_END after PEIM returns control to PeiCore.
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12010
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 12 Jul 2011 07:24:36 +0000 (07:24 +0000)]
Change the HiiDataBase and browser codes to support new efi varstore data structure.
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12009
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 12 Jul 2011 07:15:42 +0000 (07:15 +0000)]
Update structure EFI_IFR_VARSTORE_EFI to follow UEFI spec 2.3.1
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12008
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 12 Jul 2011 03:01:34 +0000 (03:01 +0000)]
MdePkg: Fix X64 clang compile issues.
Fixed issues with X64 clang, and also make StackSwitch push a zero on the new stack to prevent a stack unwind into memory that is no longer valid.
signed-off-by: andrewfish
reviewed-by: lgao4
reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12007
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Tue, 12 Jul 2011 02:57:30 +0000 (02:57 +0000)]
EdkCompatabilityPkg: Fix build issues with X64 clang
Removed passing VA_LIST and some assembly language compatability issues. Did not fix ReportStatusCode passing VA_LIST (non-ANSI C Code), and some of the assembler was not not ported and int 3 was inserted, as it likely is not needed.
signed-off-by: andrewfish
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12006
6f19259b -4bc3-4df7-8a09-
765794883524
jljusten [Mon, 11 Jul 2011 21:20:40 +0000 (21:20 +0000)]
OvmfPkg: Add PathLib class mapping when building the UEFI shell
When building the UEFI shell into OVMF, the PathLib class
mapping is required.
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12005
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Mon, 11 Jul 2011 15:45:33 +0000 (15:45 +0000)]
ArmPlatformPkg/Documentation: Add diagram to the documentation
- Give an overview of the different possible boot phases on ARM platforms (using
EDK2 for the full boot story or limiting its use to the last boot sequence)
- Show which functions to implement in ArmPlatformLib following the the boot phases
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12004
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 11 Jul 2011 14:32:34 +0000 (14:32 +0000)]
fix issue about slashes on end of comment line.
signed-off-by:jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12003
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 8 Jul 2011 06:51:30 +0000 (06:51 +0000)]
Fix typo that breaks the build.
Signed-off-by: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12002
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 7 Jul 2011 10:52:07 +0000 (10:52 +0000)]
ArmPlatformPkg: Fix warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12001
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Wed, 6 Jul 2011 22:28:36 +0000 (22:28 +0000)]
Move the 2 functions associated with reading whole lines at a single time from the shell command (internal) library to the ShellLib (external) library.
signed-off-by: jcarsey
reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12000
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 20:18:02 +0000 (20:18 +0000)]
BeagleBoardPkg: Renamed ArmPlatform.h into BeagleBoard.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11999
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 20:08:28 +0000 (20:08 +0000)]
BeagleBoardPkg: Implement ArmPlatformLib and the ARM PCDs to reuse ARM common components on the BeagleBoard.
To build the UEFI BeagleBoard firmware using this ARM framework either use ./build-next.sh
or directly call the EDK2 BaseTools with BeagleBoardPkg-next.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11998
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 18:25:47 +0000 (18:25 +0000)]
BeagleBoard: Update documentation
- Update build instructions
- Add instructions to test UEFI on qEmu either using the NOR flash or the SD card
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11997
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Wed, 6 Jul 2011 18:12:29 +0000 (18:12 +0000)]
UefiCpuPkg: Fix X64 clang compiler/assembler warnings.
Signed-off-by: andrewfish
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11996
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 16:46:44 +0000 (16:46 +0000)]
BeagleBoardPkg: Introduce macro EDK2_SECOND_STAGE_BOOTOLADER
By setting this macro, the OMAP353x header is stripped from the UEFI firmware.
Some boot loader (eg: x-loader) loads the second stage boot loader (u-boot or
uefi) to a specific address and start the firmware from this address.
This macro ensures the reset vector is located at the beginning of the image.
To build the BeagleBoard with ./build.sh to enable this feature:
./build.sh -D EDK2_SECOND_STAGE_BOOTOLADER=1
Note: in this case, you must use BEAGLEBOARD_EFI.fd (and not
BeagleBoard_EFI_flashboot.fd)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11995
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 16:37:37 +0000 (16:37 +0000)]
ArmPlatformPkg/Documentation: Update ArmPLatformPkg documentation with PCD descriptions and explain how to port UEFI to new ARM platforms
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11994
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 16:35:30 +0000 (16:35 +0000)]
ArmPkg: Minor coding style changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11993
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 16:27:21 +0000 (16:27 +0000)]
ArmPlatformPkg: Change the memory model for the ARM Platform components
In the former memory model, the UEFI firmware was expected to be located
at the top of the system memory. Stacks & Pi memory regions were set below
the firmware.
On some platform, the UEFI firmware could be shadowed by the ROM firmware
(case of the BeagleBoard) and in some cases the firmware is copied at the
beginning of the system memory.
With this new memory model, stack and Pi/DXE memory regions are set at the
top of the system memory wherever the UEFI firmware is located in the memory
map.
Because DXE core does not support shadowed firmwares, the system memory covered
by the UEFI firmware is marked as 'Non Present' to avoid to be overlapped by
DXE allocations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11992
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 16:07:54 +0000 (16:07 +0000)]
ArmPlatformPkg: Remove PcdStandalone from Sec module and Introduce ArmPlatformSecExtraAction()
The PcdStandalone is a PCD ARM Ltd uses to make the difference between a standalone UEFI (boot
from cold boot to Boot Manager without user intervention) and a Debug UEFI firmware (the firmware
engineer has to copy the Normale World image into the DRAM to enable his/her firmware).
By coping the firmware into DRAM in the non standalone version it is much faster than reflashing
the NOR Flash after each build.
ArmPlatformSecExtraAction() function is called just before the Sec module jump to normal world.
The platform firmware can run extra actions at this stage.
The 'ARM Standalone' concept has moved to the implementation of ArmPlatformSecExtraAction() for
the ARM development boards (in ArmPlatformPkg/Library/DebugSecExtraActionLib).
ArmPlatformPkg: Enable DebugAgentLib in Sec and PrePeiCore
ArmPlatformPkg: Fix line endings in some source files
Use CR+LF line endings as defined by the EDK2 coding convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11991
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 13:52:29 +0000 (13:52 +0000)]
ArmPlatformPkg/Bds: Catch the key pressed to escape the count doan
Catch the pressed key used to not start the default boot device.
Otherwise this key would appear in the menu user input.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11990
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Wed, 6 Jul 2011 13:43:50 +0000 (13:43 +0000)]
ArmPlatformPkg/SP804TimerLib: Fixed the performance timer
The SP804 timer counts down. Change GetPerformanceCounterProperties ()
to declare this property.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11989
6f19259b -4bc3-4df7-8a09-
765794883524