Commit Graph

7420 Commits

Author SHA1 Message Date
qhuang8 98a601b177 Add comments and refine code to avoid addition overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7863 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-11 13:59:22 +00:00
lgao4 97ef8cff3e Add more usages in NT32 dsc and fdf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7862 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-11 03:06:25 +00:00
lgao4 18fcd6a70c Add check to the allocated pool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7861 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-11 02:53:15 +00:00
lgao4 1e34ba7e0c Fix build error caused by the unused local variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7860 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-11 01:52:09 +00:00
lgao4 df098cd518 Fix build error caused by the unused local variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7859 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-11 01:13:50 +00:00
jljusten 454b8ca851 Fix build warning generated by GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7858 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 16:46:03 +00:00
qhuang8 8fd7909bb5 Cleanup to Remove default PCD value and extra build option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7857 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 14:38:28 +00:00
qhuang8 4e17cc90f8 Minor update the PCD section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7856 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 14:37:30 +00:00
qhuang8 808f4a6aed Remove wrong comments in function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7855 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 14:35:41 +00:00
qhuang8 6203199177 Fix a bug that Pages*EFI_PAGES_SIZE might be a negative number.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7854 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 14:34:42 +00:00
qhuang8 ff565d71e1 Remove incorrect assertion. According to spec, it should not assert and should return 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7853 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 13:58:52 +00:00
eric_tian 9d34ae2011 change the default value of PcdBootState into TRUE, therefore the first boot after burning tip into flash will do full_configuration but not incorrect no_changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7852 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 09:56:42 +00:00
klu2 eb9203646f Add FvNameGuid for FV extension header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7851 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 09:27:59 +00:00
klu2 84266565f5 Update DxeCore to deal PIWG FV device path case if FV contains extension header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7850 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 09:26:52 +00:00
lgao4 f0480ecf80 Fix K8 check error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7849 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 08:40:29 +00:00
lgao4 4941d8817d Retire TCG platform protocol, which will be replaced by PI Security Architecture protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7848 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:57:15 +00:00
lgao4 351d6e7fcc Correct ASSERT to more cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7847 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:54:41 +00:00
lgao4 07d97279a3 Add more checks for Dxe Report status code library to access boot service.
Add measure to GPT boot table.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7846 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:54:11 +00:00
lgao4 9d3dae3911 Update Comment for the call to EDKII ReportStatus
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7845 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:51:52 +00:00
xli24 07a2097acd Refine BaseMemoryTestLib to handle memory address at zero.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7844 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 05:49:58 +00:00
xli24 28af9a489d Fix the bug in DebugPort on error reporting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7843 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 05:38:54 +00:00
vanjeff 157398c258 Three GUIDs had been retired, PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid.
Reconnect, Edit, HexEdit command are updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7842 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:36:33 +00:00
vanjeff dad608335f 1. retried PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid.
Consplitter will not install these protocols any more.

2. added logic in Bds to check console handles in System table, if no console handle assigned. Bds module will fill these handles in system table accordingly.

3. fixed one bug before call ConsoleControl->SetMode in FrontPage.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7841 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:10:15 +00:00
vanjeff 9dca4c66c2 comments update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7840 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:05:14 +00:00
lgao4 e51d07a670 remove unused local variable FvbHandle
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7839 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 00:56:48 +00:00
eric_tian 0a20571607 retire FvbServiceLib class in MdeModulePkg, and also remove the two instances in MdeModulePkg and ItaniumPlatformPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7838 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 09:22:39 +00:00
eric_tian 00f3851372 retire FvbServiceLib class in MdeModulePkg, and also remove the two instances in MdeModulePkg and ItaniumPlatformPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7837 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 09:20:57 +00:00
klu2 a39d85f6ed Add more comments for thunk call.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7836 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 07:48:44 +00:00
eric_tian 8a9e0b7274 1. retire the FvbServiceLib. Directly locating FVB protocol to access interfaces.
2. modify the method of getting right FVB protocol interface. move the notification event of FVB installation into variable driver. and also move ExitBootService event into variable driver.
3. use EFI_FVB2_WRITE_STATUS flag to distinct whether the FVB protocol supports writing operation or not.Currently, DxeCore installs FVB which has ~EFI_FVB2_WRITE_STATUS(that is, disable write) attrbiute. FvbRuntimeDxe driver should provide a full FVB protocol, which returns EFI_FVB2_WRITE_STATUS attribute to signify itself provide writable FVB protocol. So other modules which need write data by FVB protocol can locate it correctly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7835 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 06:39:13 +00:00
jlin16 242d687699 GenFds: hide unnecessary warning information.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7834 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 03:41:44 +00:00
lgao4 b6e96fbcf3 Correct TianoCompress name for Linux/GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7833 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 02:09:22 +00:00
lgao4 247d3676c7 Correct comments for new null instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7832 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 09:15:17 +00:00
xli24 b6ee92ecea Refine BaseMemoryTestLib and add instance with full functionality.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7831 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 03:34:25 +00:00
qhuang8 9075e54371 Use binary INF file to solve filename case issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7830 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 02:17:47 +00:00
vanjeff e4ce8ea95e remove PcdNtEmulatorEnable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7829 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 02:05:16 +00:00
qhuang8 c0dece4ae2 Use cpu arch macro instead of hard code ia32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7828 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-06 01:14:30 +00:00
jwang36 34a8fc1077 Added support of PCD HII Variable name in C style of unicode string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7827 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:51:47 +00:00
qhuang8 c84588fd8c Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7826 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:32:37 +00:00
qhuang8 f3a2b25d79 Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7825 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:32:19 +00:00
qhuang8 c6811ca12b Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7824 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:29:23 +00:00
qhuang8 48f3634eca Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7823 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:29:02 +00:00
qhuang8 8e8fcb0e9f Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7822 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:27:16 +00:00
qhuang8 4ddaf0e30f Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7821 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:26:53 +00:00
qhuang8 4bdba19404 Rename library instance name from "PeCoffExtraActionLibNull" to "BasePeCoffExtraActionLibNull"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7820 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:26:34 +00:00
klu2 640a2e529e Fix issue for boot sector
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:22:54 +00:00
klu2 88e9055e52 Should use 16 bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7818 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:25:53 +00:00
klu2 a8abbe2bb5 Should use 16 bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7817 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:25:31 +00:00
klu2 4d382070b4 Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7816 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 14:13:25 +00:00
qhuang8 1664e0afed Add empty line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7815 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 13:57:03 +00:00
qhuang8 ee31b443e2 Add empty line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7814 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 13:56:34 +00:00