Commit Graph

7750 Commits

Author SHA1 Message Date
lgao4 de482998ed Update DriverSample and PlatDriOverrideDxe driver to correct the return value for ConfigAccess ExtractConfig interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8365 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 05:05:59 +00:00
klu2 14073b3f8c Fix the bug that TAB character in uni file make unicode string missing in autogen file. Corresponding version in build tool project is r1592.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8364 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 04:39:36 +00:00
lgao4 3e0c79b57b Fix ScsiLib build break by << operator, which is replaced by LShiftU64 of BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8363 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 03:26:42 +00:00
xli24 7b2cc5499f Remove __APPLE__ usage in ProcessorBind.h files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8362 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 02:24:02 +00:00
lgao4 67d632277d Clean up GenericBdsLib.h to remove unnecessary include header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8361 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 01:50:05 +00:00
mdkinney cfb1461b3a Update modules to show real dependencies on the BaseMemoryLib and MemoryAllocationLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8360 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 23:15:47 +00:00
mdkinney 752ef5d80c Add includes for definitions used by the DxeIpIoLib and DxeNetLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8359 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 23:14:35 +00:00
mdkinney 9d9c659dd1 Remove redundant #include statements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8358 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 23:13:01 +00:00
mdkinney 1e966f6375 Remove redundant #include statements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8357 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 22:06:20 +00:00
mdkinney be18ced7ff Remove redundant #include
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8356 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 20:20:14 +00:00
mdkinney 17f9a8d429 Update #ifndef to match the name of the include file.
Remove extra #include


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8355 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 20:07:36 +00:00
mdkinney f3989f41b4 Update MNP driver to declare its dependency on the BaseLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8354 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 20:05:06 +00:00
mdkinney 776a705ef1 Update USB Mass Storage driver to declare its dependency on the BaseLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8353 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 20:04:23 +00:00
mdkinney 0877891224 Add #include Acpi.h so the ACPI 3.0 Table Revision define is available.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8352 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 18:57:51 +00:00
mdkinney 7a90d95a76 Remove extra #include that is not required for this include file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8351 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 18:55:01 +00:00
qhuang8 69817bf8e0 Fix several Unicode issues that fails VS2005.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8350 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 14:42:48 +00:00
lgao4 ae79d2f9ec Update HiiDataBase to fix the SCT hang issues by the invalid device path.
Update the driver config access protocol extractconfig and routeconfig interface to check the input parameters. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8349 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 12:05:45 +00:00
xli24 f4efc39f34 Define macro for .global/.globl in assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8348 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:40:29 +00:00
xli24 ced10e2ed2 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8347 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:26:52 +00:00
xli24 132f41f0a9 Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 10:22:09 +00:00
klu2 b20d41df13 temporary roll back build.exe because the some string definition are missed by strgather introduced latest check-in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8345 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:44:31 +00:00
xli24 d5172f911d 1. Remove .extern from GCC assembly.
2. Define macro for .global/.globl in GCC assembly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8344 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:42:59 +00:00
lgao4 dedfc3bbc9 Fix the issue that BootOrder can't be set
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8343 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:29:13 +00:00
vanjeff ce4106bec4 enhanced to support more routing table entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8342 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 08:12:25 +00:00
klu2 32685030d8 Freeze for build tool check-in r1591: Fix bug in the processing of backslashes in UNI files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8341 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 02:20:07 +00:00
vanjeff f618b2fa0a rename array name to avoid naming collision.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8340 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 02:12:26 +00:00
eric_tian f6839dd616 fix a typo of missing a colon sign after a label symbol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8339 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 01:58:40 +00:00
vanjeff 391a0724f2 1.fixed some issue to pass HII sct
2.supported more route table accessed by HII service.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8338 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:36:44 +00:00
lgao4 6e3f5b2aa9 Fix K8 and Sct failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8337 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:30:21 +00:00
eric_tian 08654acba5 don't set all bytes in TargetID as zero. This change is made due to keep consistent with GetNextTargetLun and GetTargetLun
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8336 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:19:19 +00:00
lgao4 cdcc36ae92 Correct the dummy ConfigAccess Extract and RouteConfig behavior according to UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8335 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:13:47 +00:00
rsun3 6b3ecf5cc2 Add back logic to encode LUN in CDB for compatibility with SCSI-2 spec, although LUN encoding in CDB is changed to be reserved in SCSI-3 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8334 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 09:07:38 +00:00
xli24 5dc4fd7856 Fix the unaligned issue of PCI read/write buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8333 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 07:09:45 +00:00
eric_tian dfbb47dbd5 fix a typo of missing a colon sign after a label symbol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8332 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:50:53 +00:00
rsun3 676e2a32f9 Fix bugs in the UEFI SCSI Library.
1. LUN number should not be encoded in CDB.
2. Left shift the PageControl field by 6 bits in ScsiModeSense10Command().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8331 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:42:37 +00:00
eric_tian b27af9d2c5 As ECP package is EDKI style, the AutoGen.h will not include anything. So if we use some basic data structures, we should manually include EdkIIGlueBase.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8330 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:39:32 +00:00
rsun3 d1a8a1dc99 Fix a bug in the SCSI Bus driver due to which some SCSI devices can not be discovered. Per SCSI spec, the standard INQUIRY data shall contain at least 36 bytes and the length of the data is variable. The definition
///
/// Standard INQUIRY data format
///
typedef struct {
  UINT8 Peripheral_Type : 5;
  UINT8 Peripheral_Qualifier : 3;
  UINT8 DeviceType_Modifier : 7;
  UINT8 Rmb : 1;
  UINT8 Version;
  UINT8 Response_Data_Format;
  UINT8 Addnl_Length;
  UINT8 Reserved_5_95[95 - 5 + 1];
} EFI_SCSI_INQUIRY_DATA;

is longer than 36 bytes and EFI_BAD_BUFFER_SIZE may be returned if the actual inquiry data is less than that of EFI_SCSI_INQUIRY_DATA.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8329 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 05:38:40 +00:00
eric_tian 78709ef8cf change the error usage of "#if __GNUC__" Condition Macro to "#if defined(__GNUC__)"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 04:25:42 +00:00
xli24 99ade971a1 Add BaseLib for BaseCpuLib.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8327 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 02:15:40 +00:00
eric_tian f035af2e40 update the check condition of PASS THRU interface to pass Uefi sct test.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8326 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 01:24:08 +00:00
lgao4 8567300ae4 Fix K8 issues in HiiDataBase
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8325 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 12:12:56 +00:00
lgao4 d7dfd027aa 1. Clean up MdePkg internal header files
The header files in MdePkg/Include/Ia32, X64, Ipf, Ebc, Pi, Uefi directories are the internal header files, which should not be directly included by the modules.

This patch cleans these internal header files to remove the uncessary ProcessorBind.h file.

2. Clean up MdePkg public header files to remove the uncessary internal header files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8324 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 09:13:49 +00:00
klu2 8968742e88 Originally, there are following implementation:
1) The collect action of platform's dynamic PCD database is trigged by module's autogen action. 
2) If platform is used for more than one architecture, two platform object will be created

Above two rules will cause an issue for single module building that if
1) platform support IA32 and X64
2) do single module for X64 module

then, the dynamic PCD for IA32 modules will missed in PCD database, because no IA32 module need autogen so collection action for IA32 module is not trigged.

Now, I think the collection action for platform dynamic PCD should be explicitly called after PlatformAutoGen is created.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8323 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 07:09:48 +00:00
vanjeff 7d28e82d92 add one comment when destroy the buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8322 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 05:31:18 +00:00
lgao4 04da0b4a11 Correct DriverSample to produce the ConfigAccess protocol
And fix the bug in HiiDataBase to incorrectly free pool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8321 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 05:03:45 +00:00
vanjeff d6e11f2230 1. remove duplicated set operation on UGA device.
2. update some typo.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8320 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 03:40:29 +00:00
lgao4 1f1cb2f216 Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, which are replaced by HiiSetToDefaults API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8319 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 03:26:54 +00:00
gikidy b347c1bceb Add check for NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8318 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:39:01 +00:00
eric_tian 34e4a9a651 cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used to generate underscore prior to public symbol or not within various GCC distribution versions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8317 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:25:20 +00:00
eric_tian d3c0cbcecc cleanup the .S file to wrap all public symbols with ASM_PFX() macro,which is used to generate underscore prior to public symbol or not within various GCC distribution versions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8316 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-15 03:21:08 +00:00