Commit Graph

10337 Commits

Author SHA1 Message Date
jljusten 5c54e90515 MdeModulePkg VariableRuntimeDxe: Fix build for GCC44 toolchain
Add typecast to remove warning with GCC 4.4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11155 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 23:57:42 +00:00
hhtian 1b7edf0f5a update copyright format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11154 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 15:20:43 +00:00
hhtian d08fadb0e2 update copyright format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11153 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 15:19:03 +00:00
ydong10 d04608758d fix potential memory access violation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11152 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 11:16:24 +00:00
gdong1 8a2d49964e Add SMM Variable implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11151 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 09:27:54 +00:00
ydong10 d3b4af2bca fix build error on ICC compile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11150 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:42:36 +00:00
li-elvin 54acdc7b04 Add missing data record for Type 4.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11149 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:01:52 +00:00
li-elvin 5a0c0390e0 Add missing fields of Type 4 conversion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11148 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:00:57 +00:00
lzeng14 e519401bd5 Enhance IdeBusDxe to check the class code for IDE mode only.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11147 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 02:45:29 +00:00
ydong10 5091b4759f Change the file guid value to avoid conflict as another file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11146 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 02:21:56 +00:00
lgao4 9ac0640d9c EFI_INVALID_PARAMETER should return when the input Block is NULL for ConfigRouting.ConfigToBlock().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11145 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 12:20:36 +00:00
xdu2 0b29a17e26 Add missing Handle parameter for UninstallMultipleProtocolInterfaces().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11144 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 08:57:16 +00:00
ydong10 2349cf6f63 Refine code to make code run more safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11143 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 08:25:59 +00:00
rsun3 96756716c0 when SMM Communication Protocol.Communicate() is called from within SMM, SMRAM is accessible so it is not necessary to check the SMRAM open/lock state via SMM ACCESS Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11142 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 08:02:34 +00:00
ydong10 969ebd263b update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11141 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 02:52:04 +00:00
ydong10 3ddc4cf20f update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11140 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 02:51:30 +00:00
ydong10 e07404fe3c Co-work with patch V11137 to refine the Hii menu.
1. Move the Mac address string from the form title to form title help for the driver Ipv6 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11139 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 02:19:34 +00:00
ydong10 c7f204dba4 Co-work with patch V11137 to refine the Hii menu.
1. Move the Mac address string from the form title to form title help for the driver Ipv4 and VLAN.
2. Change the menu show in the device manager from "Network Controller Information" to "ABC Information Sample".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11138 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 02:18:44 +00:00
ydong10 3c4b1122e0 [BDS] Device Manager was requested to add more sub-level menu about network device.
Now show menu like:
Network Device List -> Mac:XX:XX:XX... -> IPv4 Network Config
                       Mac:XX:XX:XX...    VLAN Configuration



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11137 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 01:44:07 +00:00
andrewfish 785e597795 Move away from 0x40 block size (worked around a DXE core bug assuming the FV header fit in a block) of the FV to 1 byte. This makes more sense as the FV is shadowed from FLASH into RAM by HW so it is never on top of a real block device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11136 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 19:58:48 +00:00
vanjeff 55b902c377 add progress code definitions defined in Framework Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11135 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 07:05:10 +00:00
vanjeff 06128e8f42 add note for EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR and EFI_SW_PEI_PC_RECOVERY_BEGIN to express they are different with the current PI specification 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11134 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 06:58:33 +00:00
vanjeff f00864faf9 updated progress code definitions to match PI Spec 1.2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11133 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 06:52:51 +00:00
hhuan13 aaf779a7ec Fixed a bug: when underlayer receives much more data, return EFI_BUFFER_TOO_SMALL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11132 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 04:42:40 +00:00
andrewfish fe295078f2 Add vpush/vpop to the exception handler as we added CopyMem/SetMem that can use NEON registers to speed things up. This means we need to save state so we don't blow up a CopyMem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11130 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 00:14:23 +00:00
andrewfish 6638a865ed Older tools rounded down the size of the FV, and the new tools round up. Our main FV region is not a multiple of the block size, but it is set to fill the space. Probably need to move to a block size of 1 at some point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11129 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-07 22:44:08 +00:00
mdkinney 4038c1fddd Add MtrrLib and LocalApicLib declarations to the UefiCpuPkg DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11128 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-07 20:23:20 +00:00
mdkinney fa542a1e77 1) Change location of DEBUG() macro that prints the name of the FFS file being evaluated by the DXE Dispatcher to eliminate a duplicate print.
2) Change location of DEBUG() macro that prints the name of the FFS file being evaluated by the SMM Dispatcher to eliminate a duplicate print.
3) Remove all references and processing of SOR from the PiSmmCore.  Treat use of SOR in the dependency expression of an SMM Driver as an invalid depex opcode.
4) Remove all references for an SMM Driver being in the "Untrusted" state from the PiSmmCore.





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11127 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 21:55:14 +00:00
mdkinney d040b8f12d Roll back comment change for SOR. SOR does not apply to SMM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11126 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 21:33:45 +00:00
jcarsey c154b99708 fixes for NULL verification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11125 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 18:10:34 +00:00
andrewfish eca37a3101 Fix dec file to pass new stricter error checking.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11124 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 17:50:31 +00:00
ydong10 54790583c0 Refine code to make code more safely.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11123 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 09:14:47 +00:00
jljusten 8df0bd287c DuetPkg: Update create boot disk script to not modify bootsect.com
Previously the script would modify DuetPkg/BootSector/bin/bootsect.com.
Now a temporary file is used in place of bootsect.com.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11122 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:06:54 +00:00
jljusten dccf78f0a2 MdePkg: Fix GCC Thunk support for IA32
In r11047 Ia32/Thunk.S was modified.  However, the current
implemention of Ia32/Thunk.S has contant values in the code
which must be updated if the code is changed.

This change updates those constants for the r11047 change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11121 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:06:35 +00:00
jljusten 7709cf48e4 DuetPkg, OvmfPkg, UnixPkg: Remove unnecessary reset during boot
PcdResetOnMemoryTypeInformationChange is required to
be set to TRUE for ACPI S4 support.

These platforms do not support ACPI S4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11120 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:05:41 +00:00
jljusten e1adae6084 DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
The C ellipses parameters are passed to functions differently
by default with GCC 4.4.  To make sure they are properly sent to
VariableGetBestLanguage, we add 'EFIAPI' to this function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11119 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:04:38 +00:00
lgao4 641370270f Sync EDKII BaseTools to BaseTools project r2100.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11118 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 05:17:09 +00:00
mdkinney 6a55eea3eb Update PEI/DXE/SMM dispatchers to include DEBUG ((DEBUG_DISPATCH, )) macros to log the evaluation of all dependency expressions.
This logging can be enabled by setting the DEBUG_DISPATCH bit(0x80) of the PCD gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel.





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11117 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-04 20:05:09 +00:00
hhuan13 852b634128 Fixed a bug for OPTION_NII(62) defined in RFC 5970.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11116 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-03 08:00:22 +00:00
jcarsey 5f88eebe2b fix for exit was specified in the startup script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11114 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 20:31:45 +00:00
hhuan13 15f3fc850c To align w/ UEFI 2.3 Spec, PXE driver installs PxeBc, LoadFile and SNP Protocol on IPV4/V6 child handle separately.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11112 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 07:04:48 +00:00
mdkinney 3ae55b76d9 Update comments for PI 1.2 SMM support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11110 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 06:17:44 +00:00
niruiyu d860010877 Fix the bug that <continue> may not boot the first boot option but return back to front page.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11109 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 05:57:13 +00:00
andrewfish d1e380b1d6 Remove unused files to make it easier to add new thunks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11108 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 02:25:46 +00:00
andrewfish 5f0286bb8f Fix token dup caused by merge.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11107 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 01:15:16 +00:00
andrewfish d0c3acd4c4 2nd wave of r11105 checkin.2nd wave of r11105 checkin.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11106 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 00:41:31 +00:00
andrewfish 2ff79f2eda Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11105 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-30 23:38:40 +00:00
mdkinney e23a349aae Sync update to improve compiler compatibility
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11104 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 21:58:46 +00:00
mdkinney e74c3676e6 Fix ICC 9.1 build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11103 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 21:52:24 +00:00
lgao4 b4c9005886 First try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11102 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 04:41:58 +00:00