Commit Graph

5004 Commits

Author SHA1 Message Date
qwang12 a78b08d13b Update the code to following EDK coding style document.
1) Pointer value should compare with NULL.
2) Integer should compare with 0.
3) BOOLEAN should not compare with TRUE or FALSE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5413 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 09:17:56 +00:00
jwang36 f3947f1ac7 Polished the error checks and error messages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5412 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 09:00:04 +00:00
vanjeff 24248368f7 1. added functions header for GraphicsConsoleDxe module.
2. correct some funtions header for ConPlatformDxe module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5411 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 05:23:31 +00:00
qwang12 b30312ba29 Update the function headers to Doxygen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5410 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 08:04:10 +00:00
vanjeff 9359e53fcb Added some functions header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5409 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 07:58:57 +00:00
eric_tian 288a3c98c7 Fix the display issue when using UnixUga driver to support graphic display
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5408 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 03:17:52 +00:00
qhuang8 1a24918483 Remove duplicated PCD entires in the same section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5407 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-04 01:41:29 +00:00
vanjeff 8fd9831511 Added some functions header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5406 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-03 05:17:49 +00:00
eric_tian a92d4e8a8e Make USB Stack code pass ECC tool check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5405 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 05:45:04 +00:00
vanjeff a7f3d10548 rename to meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5404 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:29:07 +00:00
vanjeff b15f0798c7 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5403 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:26:43 +00:00
vanjeff 4e527499e3 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5402 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:25:36 +00:00
vanjeff 348e95ce0d rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5401 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:24:25 +00:00
vanjeff 7e7f8666de rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5400 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:23:03 +00:00
vanjeff b0af4b695d rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5399 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:21:34 +00:00
vanjeff 073879b38c rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5398 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:20:21 +00:00
vanjeff 10fbfd85b9 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5397 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:19:13 +00:00
vanjeff 32faa72a48 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5396 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:18:05 +00:00
vanjeff 80b5052fb9 rename to meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5395 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:15:27 +00:00
vanjeff 9d96413da1 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5394 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:13:19 +00:00
vanjeff 9a9f4df5ac Rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5393 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:11:59 +00:00
vanjeff 223b8e25b8 add DXE_DRIVER and UEFI_DRIVER into supported module type list for PciIncompatibleDeviceSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5392 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 02:58:38 +00:00
vanjeff a4d608d1f7 Clean codes per ECC for ConSplitterDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5391 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-01 06:56:37 +00:00
vanjeff 6dcf9abc6a Clean codes per ECC for GraphicsConsoleDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5390 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-01 06:43:10 +00:00
vanjeff e49ef4337f Clean codes per ECC for TerminalDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5389 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-01 06:34:04 +00:00
eric_tian ede2f5b299 provide a temporary method to generate SecMain executable file.
[Background]
The SecMain's generation is difference than other modules. It depends on some standard lib. At present, we only have extended build option mechanism in module build. It can not support this special case. Then provide this script to temporarily build SecMain

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5388 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 15:01:15 +00:00
vanjeff 2b023999fe rename files name to match the actual ones.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5387 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 09:04:31 +00:00
vanjeff e47f2cedc3 rename it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5386 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 08:59:07 +00:00
vanjeff 1b641ec087 rename it
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5385 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 08:58:28 +00:00
vanjeff 7bce0c5a0e Clean codes per ECC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5384 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 07:20:33 +00:00
jwang36 4611e327f4 Fixed rebuild failure issue when un-recognized macro is used in "#include" directive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5383 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 07:17:54 +00:00
eric_tian 865c7e1722 Provide source level debug ability in *unix environment.
[Background]
The UnixPkg provide an simulator in *unix. To support source level debug, we need force all modules be built as ELF shard objects and dynamically load all of modules using dlopen(). For peicore, peim and dxecore, we provide a wrapper to provide PeCoffLoader interface 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5382 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 06:25:43 +00:00
eric_tian ed0b86b183 make change to support UnixPkg build. The changes are listed as follows:
1. change ASM_PFX() macro, the underscore preceding to function symbol don't be added in Linux.
2. move some illegal characters in .S file.
3. change ELFGCC flag in tools_def.template to support Linux&ELFGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5381 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 05:50:49 +00:00
eric_tian 804405e7d1 Port EdkUnixPkg to UnixPkg. The changes are listed as follows:
1. change *.msa to *.inf, and create platform configuration files .dec&.dsc&.fdf to comply with Edk2 build process
2. using PCD mechanism to replace macro.
3. change Sec code to cowork with PI1.0 Pei Core and produce temparory memory ppi. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5380 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 05:08:49 +00:00
qwang12 27d55a2d56 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5379 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:22:16 +00:00
qwang12 7471b8cd57 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5378 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:20:53 +00:00
qwang12 7c24ae3685 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5377 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:19:41 +00:00
vanjeff b16b8bf9d0 Clean ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5376 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-27 08:17:11 +00:00
vanjeff c7e39923c0 [Description]:
UsbMassStorage driver need support multi-lun feature.
[Impaction]:
 UsbMassStorageDxe.
[Reference Info]:
 EDK tracker 1143 - UsbMassStorage driver need support multi-lun feature. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5375 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-27 08:09:00 +00:00
qwang12 bd1d34eecf Change the ASSERT condition from “ASSERT (RowInfoArraySize == 1);” to “ASSERT (RowInfoArraySize <= 1);”.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5374 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-27 07:45:01 +00:00
qwang12 faff3b4782 Clean up for GCC and Intel ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5373 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-26 03:38:11 +00:00
qwang12 877a3c7bb2 add a PCI_CLASS_MASS_STORAGE_AHCI alias.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5372 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-26 03:24:27 +00:00
qwang12 a77267d273 [Description]
Merged in EDK 1151.
[Tracker]
1151 Logo & Print key could not be retrieved from USB keyboard



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5371 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 09:05:56 +00:00
vanjeff b4c24e2d42 [Description]:
Sync 3 trackers.
 1. A bug that may cause the low/full speed device behind 2.0 hub will not work.
 2. MajorRevision and MinorRevision need updating.
 3. Misuse UhciConvertPollRate in UHCI driver.
[Impaction]:
 EhicDxe, UhciDxe and UsbBusDxe.
[Reference Info]:
 EDK tracker 1122 - A bug that may cause the low/full speed device behind 2.0 hub will not work .
 EDK tracker 1101 - Phoenix found issue in USB and Misuse UhciConvertPollRate in UHCI driver.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5370 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 05:50:41 +00:00
qwang12 2a10d87453 Remove the OPTIONAL modifier as HiiHandle is a compulsory para.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5369 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 05:44:42 +00:00
qhuang8 abda9e12b1 Fix an issue in the implementation of GetDriverName() in Con splitter driver. We need to compare "This" paramter with all 5 protocol instances to decide whether it stands for CN or CN2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5368 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 02:52:43 +00:00
vanjeff 0de1895fd6 remove ACPI_DISPLAY_ADR definition, since it has been defined in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5367 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 09:19:43 +00:00
vanjeff e234f7c490 [Description]:
Misuse of retransmisson of DHCPDISCOVER in Dhcp4 drive, the root cause is that DHCP doesn't retransmit discover message when timeout.
[Solution]:
 Correct the mechanism for discover message.
[Impaction]:
 Dhcp4Dxe.
[Reference Info]:
 EDK tracker 1150 - Misuse of retransmisson of DHCPDISCOVER in Dhcp4 drive. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5366 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 08:36:11 +00:00
vanjeff 7e388f859f [Description]:
The Usb1.1 flash disk will hang for Bootable Image Support Test -> Bloack IO protocol Test -> Reset_Func.
[Solution]:
 Add a stall 20ms after set address when port reset for Usb hub.
[Impaction]:
 UsbBusDxe.
[Reference Info]:
 EDK tracker 1120 - USB flash disk hang or fail in the new SCT blockIo test. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5365 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 08:13:58 +00:00
klu2 8b13229b46 Fix doxygen issue:
1) comment for structure should be in doxygen format, such as /// , /**, /*!
2) comment for data field of structure should in doxygen format.
3) should not exist blank between ") (" when declaring a type of function point.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5364 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-24 07:14:18 +00:00