Commit Graph

557 Commits

Author SHA1 Message Date
qhuang8 9b8a6c2edc Add pragma(1) to the structure of BM_LEGACY_DEV_ORDER_CONTEXT:
1. some code fragments refer to Data field will pointer + sizeof (BBS_TYPE) + sizeof (UINT16).
2. The list of BM_LEGACY_DEV_ORDER_CONTEXT is supposed to be saved to variable on flash. Progma it can help to reduce variable size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4760 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 11:57:32 +00:00
vanjeff ba39e316c9 1. Add EFI LOADED IMAGE DEVICE PATH Protocol in LoadImage() service, per UEFI 2.1b.
2. Update comments for DHCP.transmitreceive().
2. Update UefiPxeBcDxe.inf and PxeBcDxe.inf to assign correct protocol usages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4758 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 08:38:29 +00:00
jljusten 77442a5a27 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf:
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h:
  Fixed filename case to match the actual files.  This is needed
  for case-sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4757 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:36:29 +00:00
jljusten 9e58aa1d3c edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c:
Corrected usage of parenthesis for 'if' boolean condition.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4756 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:30:14 +00:00
jljusten 47166333b1 edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/usbbus.h:
Renamed to 'UsbBus.h' to match recommended file naming conventions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4755 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:14:47 +00:00
jljusten 474ff2bdb9 edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/usbbus.c:
Rename to 'UsbBus.c' to match file naming conventions.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4754 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:13:29 +00:00
jljusten 1682995344 edk2/MdeModulePkg/Bus/Pci/UhciDxe/ComponentName.c:
Fix #include filename for case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4753 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:10:10 +00:00
klu2 b3bac2c98e Correct the calculating time out for BDS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4751 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 08:10:35 +00:00
lgao4 2ae8963ce8 Add comments for parameter.
Add ASSERT for the input parameters.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4749 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 06:29:00 +00:00
qhuang8 047c644982 Fix an issue that the Target Name is supposed to an Ascii string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4742 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-21 08:53:18 +00:00
qwang12 d42d853ee0 1) Enable GraphicsConsole module to support a legacy platform which only produce UGA protocol. Under such system, HiiFont->StringToImage is used to draw the string to blt buffer first. Then, UGA->Blt is used to draw to the physical devices.
2) Remove all references to EFI_SPECIFICATION_VERSION in *.c file as module in MdeModulePkg only support UEFI 2.1.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4739 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 10:50:15 +00:00
vanjeff 782559513a fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4736 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:55:45 +00:00
vanjeff 1d13665edd rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4735 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:42:59 +00:00
vanjeff a3c5f87a01 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4734 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:41:47 +00:00
vanjeff a1dbee50f5 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4733 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:41:11 +00:00
vanjeff 1f4db48ddd rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4732 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:40:42 +00:00
vanjeff 2735e5d04b rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4731 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:40:16 +00:00
vanjeff b32e18f259 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4730 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:39:44 +00:00
vanjeff 2883b67ef4 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4729 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:39:15 +00:00
vanjeff a15a419593 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4728 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:38:48 +00:00
vanjeff a0818cc106 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4727 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:38:17 +00:00
vanjeff a7e0614aaf rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4726 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:37:51 +00:00
vanjeff 28db6da45c rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4725 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:37:22 +00:00
vanjeff 3bb7aff34e rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4724 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:36:47 +00:00
vanjeff d007c0a2d4 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4723 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:36:10 +00:00
vanjeff f9a088de4c rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4722 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:35:43 +00:00
vanjeff c74593cd39 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4721 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:35:04 +00:00
vanjeff 75d0f44d48 Rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4720 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:32:49 +00:00
vanjeff 1840420c7d remove callback.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4719 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:20:32 +00:00
vanjeff 5e7e4fadc0 Rename callback.c to Callback.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4718 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:20:05 +00:00
jljusten 4dd60a1736 edk2/MdeModulePkg/MdeModulePkg.dsc:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.c:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.h:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf:
edk2/MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.msa:
  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4717 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:09:13 +00:00
jwang36 de971150c1 Remove duplicate one
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4716 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 02:06:55 +00:00
vanjeff 96f3db9e08 Copied remotely
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4715 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:56:28 +00:00
jljusten 37e9977995 edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4714 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:56:03 +00:00
jljusten 0f3fea2aac edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4713 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:56:00 +00:00
jljusten 59306fa028 edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4712 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:55:56 +00:00
jljusten 6d01b2fcf0 edk2/MdeModulePkg/Universal/WatchdogTimerDxe:
WatchDogTimer.c  WatchDogTimer.h  WatchDogTimer.inf  WatchDogTimer.msa
    renamed to
  WatchdogTimer.c  WatchdogTimer.h  WatchdogTimer.inf  WatchdogTimer.msa

  Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4711 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:55:53 +00:00
jljusten 6205fbca3d edk2/MdeModulePkg/Universal/WatchDogTimerDxe:
Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  Consistency is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4710 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:30:35 +00:00
jljusten c0d17d248a edk2/MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.h:
Moving usage of 'WatchDogTimer' to 'WatchdogTimer' to match
  the architectural protocol, as well as the more common usage
  of 'watchdog timer' vs. 'watch dog timer'.

  This change is needed for building on systems with
  case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4709 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 01:26:35 +00:00
jljusten 6c46a5abba edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Database.c:
Pre-initialize variable to fix warning with gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4708 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 22:22:48 +00:00
jljusten b64125895c edk2/MdeModulePkg/Universal/DriverSampleDxe/inventory.vfr:
Rename to match the recommended 'text case' for filenames,
  as well as DriverSampleDxe.inf.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4707 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 20:51:27 +00:00
jljusten c56f51245c edk2/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c:
Cleanup comment.  The old code creates a warning from
  gcc under certain language adherence modes regarding
  'multi-line' comments.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4706 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 19:33:41 +00:00
qwang12 c7b616cf09 Initialize Storage->ConfigRequest to contain at least one Unicode NULL '\0000'. CONFIG_REQUEST_STRING_INCREMENTAL is designed to only host valid string without the trailing '\0000'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4700 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 02:21:25 +00:00
vanjeff e733f54213 remove some commented code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4694 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 01:28:54 +00:00
vanjeff e48e37fce2 Use Mde library and definition instead of some native definitions in NetLib, to simply network library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4693 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 09:40:22 +00:00
qhuang8 bb8ffffd1c Fix a conformance issue in gBS->CreateEvent() & gBS->CreateEventEx():
1. gBS->CreateEventEx() with EventGroup = NULL should behavior like gBS->CreateEvent()
2. EVT_SIGNAL_EXIT_BOOT_SERVICES & EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE are invalid parameters for gBS->CreateEventEx() if the EventGroup is not NULL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4692 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-14 02:47:49 +00:00
vanjeff 1c61953576 1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().
2. Use DEBUG () to replace some native debug function in USB stack modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4689 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 09:08:24 +00:00
jljusten d1f076304d MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c:
Surrounded unreferenced STATIC functions by '#if 0', '#endif' to
  prevent a compiler warning:
    NotifyGuidedExtraction, CreateGuidedExtractionRpnEvent


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4688 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 00:22:19 +00:00
jljusten d9fa86f90a MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf:
Fixed path filenames to use slashes (/) rather than
  backslashes (\) as is recommended for .inf files.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4686 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:24:29 +00:00
jljusten 0e26c72282 MdeModulePkg/MdeModulePkg.dsc:
Fixed filename case from 'MdeModulepkg' to 'MdeModulePkg'.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4685 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:22:47 +00:00
jljusten ba0f75a3b0 MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.c:
Fix filename case from 'library' to 'Library'.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4684 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:21:12 +00:00
jljusten 8c15c09284 MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf:
Change file paths to use '/' rather than '\' as recommended
  for .inf files.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4683 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 22:19:27 +00:00
lgao4 17b875379f Correct return status for the unsupported condition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4679 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-05 04:41:53 +00:00
gtian 39aea48d30 Add the check- in missed file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4675 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 19:52:06 +00:00
qwang12 71a6ebb5ae corrrect the library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4670 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 06:55:13 +00:00
qwang12 38c0d70af8 Check the handle for font package before remove it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4667 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 03:18:43 +00:00
klu2 39d262c4ce Fix bug in latest check-in of "Make sure the base address of stack base and base address of hob start is in page alignment in InstallPeiMemory() interface."
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4666 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-03 07:41:10 +00:00
qwang12 9226efe5eb 1) Cleanup HiiLib, IfrSupportLib.
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4662 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:15:44 +00:00
qhuang8 b71f6b3c0a The implementation of Consplitter driver should check the child handle to follow UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4657 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:11:11 +00:00
qhuang8 7221595471 Fix an issue that the bitmap should be loaded from any FV instead of current FV.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4656 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:09:28 +00:00
zliu3 3e3c809fc1 Roll back the updating of 4646 as it will cause the Richford SoftSDV boot failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4648 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 11:38:47 +00:00
klu2 1eabd8e747 Make sure the base address of stack base and base address of hob start is in page alignment in InstallPeiMemory() interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4646 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 08:41:14 +00:00
vanjeff 6be065d4be remove the wrong comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4645 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 08:11:35 +00:00
lgao4 e2591cb297 Fix bug in function EfiFvbEraseBlock()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4644 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 06:17:03 +00:00
qhuang8 07220da0c0 Merge Ia32/Fvb.c & X64/Fvb.c, for these two files are identical.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4642 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-29 12:26:51 +00:00
vanjeff 4f6e31e47b Sync the bug that list node is free before it is removed from the list. That made the list invalid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4641 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-29 08:47:42 +00:00
qhuang8 372285d1fc Fix two issues:
1. The default with of hex value is 0 according to MdeLib spec. If we expect it to be 16, we need to state it in the format string explicitly.
2. For UnicodeSPrint, the output buffer size of 0 will not print anything to the buffer according to MdeLib spec. We need to specify the maximum possible buffer size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4635 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:14:35 +00:00
qwang12 cb7cd5b0d9 add back the ReadKeyStroke which is removed wrongly during ICC cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4627 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:27:44 +00:00
vanjeff 392d56cf4e fixed comments problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4619 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:38:23 +00:00
vanjeff ea5632e56d 1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 09:41:04 +00:00
eric_tian 758cc0cf7e update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4613 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:10:49 +00:00
eric_tian 7a444476b4 move iscsi driver into network directory, and change its name to comply with name convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4612 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:07:35 +00:00
eric_tian 69b0882d3e fixed icc build bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4609 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:14:48 +00:00
qwang12 93e3992d1e UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4599 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:39:56 +00:00
vanjeff 7347d5d6e6 1. Sync the tracker for supporting the ModeNumber larger than 2.
2. Fixed one bug in SetMode(), Cursor should not be enabled with mandatory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4594 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 09:40:59 +00:00
lgao4 7800593dca Reclaim occurs as late as possible before OS boot for keep enough space used by OS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4574 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 09:59:51 +00:00
vanjeff c3f6b7b62e Back the wrong check in for MdeModulePkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4572 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 05:58:14 +00:00
vanjeff 3012ce5cf7 1. Fixed bugs in DxeNetLib to meet consistence with network module DriverBinding protocol.
2. Sync bugs in console modules.
3. Sync bugs in PlatDriOverLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4571 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 05:56:45 +00:00
vanjeff b290614d49 Port PlatformDriOverrideDxe into R9.
1. Add one OverrideVariableGuid in MdeModulePkg
2. Add one library PlatDriOverLib used by PlatformDriOverrideDxe.
3. Add PlatformDriOverrideDxe in MdeModulePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4557 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-16 09:04:43 +00:00
yshang1 77aa51cd89 Fix bug that failed to reclaim the variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4556 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-15 13:02:26 +00:00
yshang1 130e25699a 1) Replace MACRO with C functions.
2) Add HEADER_VALID_ONLY state of variable, which represents only the header is valid and the data/name is stale. This may be caused by incomplete data updating. Adding the state helps to check whether the header is valid. If variable header is valid, then we must skip the data of variable with the valid size. If the header is invalid, we should only skip the header of variable. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4555 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-14 06:35:23 +00:00
vanjeff 51dc1f659f Fixed one bug in UefiPxeBc start()/stop(). That would cause stop() failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4553 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 07:22:12 +00:00
yshang1 ab5f0d6d12 Change C functions, xxxSizeOfVariable(), to MACRO, which can avoid the ICC compile error "Unspecific evaluated order".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4552 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 03:16:46 +00:00
yshang1 9cad030bc1 Align the header of variable from 1 to 4, which can avoid the size of variable content corrupt if the critical data cross two flash block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-10 04:26:13 +00:00
yshang1 fdb7765f2d 1) Fix the bug that Variable Cache Search does not be protected by lock during boot time. It potentially results in the info from GetVariable() is not correct.
2) Check the integrity of Variable header. In original implementation, if not whole header is correct, then the variable will be treat as invalid. typically, if the NameSize has been programed but the DataSize not, then the variable storage would failed to set new variable.
3) Change the Variable Header Alignment from 1 to 4 bytes on x86. It avoids the DataSize or NameSize cross two blocks. For example, in original implementation, if the NameSize crosses two block, when the FLASH manipulation is interrupted after programed HSB of NameSize and prior to program LSB of NameSize on next block, then the invalid variable header will result in the Variable Storgae broken.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4538 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 10:10:16 +00:00
vanjeff aec072adb2 sync tracker to remove duplicate display mode in ConOut virtual handle GOP instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4533 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 05:55:46 +00:00
vanjeff b7d3c63160 fixed one bug when calculate the string length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4524 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-08 08:15:44 +00:00
eric_tian 07a7038c78 update for passing the ICC compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4498 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 05:51:44 +00:00
vanjeff dc361cc5a0 1. Import UEFI PxeBc module in MdeModulePkg
2. Remove some SMBIOS definitions defined in PxeBc module, use those who are defined in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4495 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:29:30 +00:00
lgao4 822360ee34 Measure PEimage and ActionString data according to TPM requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4494 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:11:51 +00:00
lgao4 0c0f317445 Add TCG/TPM internal PPI and Protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4463 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 06:48:16 +00:00
vanjeff ca12415ac9 Fixed the porting issue. That leads uninitialized variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4458 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 02:34:20 +00:00
eric_tian bcb9d421e0 usb kb's bug fix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4440 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 09:02:05 +00:00
eric_tian db9d722df1 align all fields of data struct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4438 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 08:15:09 +00:00
vanjeff ecb575d9e6 Enhance the Usb bus driver to support Star with Remaining device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4437 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 06:38:15 +00:00
vanjeff 50cb16d9ee Fixed the bug that the PPI descriptor number defined in PeiCore.h is not enough to hold all the PPI and PPI notifies.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4435 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 02:43:28 +00:00
eric_tian 6a690e23d7 add iSCSI protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4423 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 02:20:21 +00:00
klu2 d073838628 Remove 'Framework' word in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4403 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-20 03:15:02 +00:00
qwang12 893ce03b01 fix a issue to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 07:26:18 +00:00
vanjeff c4a62a12c2 Sync the latest version from R8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4400 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 07:01:23 +00:00