Commit Graph

5683 Commits

Author SHA1 Message Date
qwang12 44cfd8a827 Move global variable to the top of C file for consistent coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6255 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 11:40:49 +00:00
qwang12 d251b34d2a Make use of correct format String:
1) UINT64 should use %lx
2) POINTER type should use %p
3) EFI_STATUS should use %r


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6254 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 10:13:49 +00:00
qwang12 0e549d5be5 Make use of correct format String:
1) UINT64 should use %lx
2) POINTER type should use %p
3) EFI_STATUS should use %r


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6253 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 10:13:00 +00:00
vanjeff 13c310654c added EFI_SIGNATURE_XX in Base.h, and updated the industry header files to use them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6252 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 06:59:25 +00:00
vanjeff 88a1936797 re-defined CDROM_VOLUME_DESCRIPTOR to be a union including Boot Record Volume Descriptor and Primary Volume Description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6251 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 06:51:17 +00:00
vanjeff 3052ec6b91 re-defined CDROM_VOLUME_DESCRIPTOR to be a union including Boot Record Volume Descriptor and Primary Volume Description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6250 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 03:34:58 +00:00
mdkinney a397f1b06e Use Pci.h instead of Pci23.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6249 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:55:10 +00:00
mdkinney c17f446756 Rename Print() to VPrintXY() to eliminate symbol collision with the Print function in the UefiLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6248 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:33:17 +00:00
mdkinney dc31771382 Add X64 Gate Descriptor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6247 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:20:02 +00:00
mdkinney 8be701c3ba Update 8259 driver to use IoLib instead of the CPU I/O Protocol
Remove redundant .DXS file.  The dependency expression is in the INF file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6246 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:16:38 +00:00
mdkinney 46f8260048 Update LIBRARY_CLASS declaration in the INF file so this library is type BASE and can be linked against all module types.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6245 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:15:16 +00:00
mdkinney 33730c76eb Remove DXS file. The dependency expression has been moved into the INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6244 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:13:53 +00:00
mdkinney 2952f72d6d Update 8254 Timer driver to use IoLib instead of CPU I/O Protocol
Also change the default tick rate from 54 ms to 10 ms.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6243 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:12:53 +00:00
mdkinney 0f25cc149a Update Metronome driver to use the IoLib instead of the CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6242 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:11:49 +00:00
mdkinney 03c110536d Fix duplicate symbol in this driver.
"GLOBAL_REMOVED_IF_UNREFERENCED" must never be used with an "extern" declaration.  It can only be used with the declaration of the actual global variable.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6241 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:11:11 +00:00
vanjeff bc14bdb317 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524 2008-10-27 01:52:32 +00:00
qwang12 efe08f48c5 Remove the duplicated definitins.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6239 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 00:48:36 +00:00
qwang12 a979fca9e0 Uefi.h include is required as this module need the EFI_CONFIGURATION_TABLE type definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6238 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:07:39 +00:00
qwang12 2616448e98 Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6237 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:06:58 +00:00
qwang12 589782135e Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6236 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:06:24 +00:00
qwang12 6053411eaa Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6235 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:05:44 +00:00
qwang12 751635bb0b Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6234 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:05:24 +00:00
qwang12 2278f5f3ac Coding style fix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6233 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 10:05:12 +00:00
qwang12 1fd83dd2da Include DevicePath.h as this file need EFI_DEVICE_PATH_PROTOCOL's definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6232 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 09:49:35 +00:00
qwang12 49e7092714 Add in local variable to ensure that "operands are evaluated in specified order".
Otherwise, Intel ICC report "operands are evaluated in unspecified order" build error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6231 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 07:32:20 +00:00
qwang12 18e6a25f7b Remove the unnecessary include file: Uefi.h. Module should include this file base on the specification it comply with.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6230 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-26 06:59:27 +00:00
xli24 5a6f122d13 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6229 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:31:23 +00:00
xli24 cc1143b81c Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6228 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:19:48 +00:00
xli24 0a525ec07f Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6227 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:19:19 +00:00
xli24 9a022931a6 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6226 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:18:49 +00:00
xli24 1fbe8cdd70 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6225 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:18:30 +00:00
xli24 601c8c20e2 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6224 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:17:04 +00:00
xli24 aa79e01541 Modify DSC file according to update of MDE library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6223 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:16:31 +00:00
xli24 a86d0e2ca7 Remove EdkFvbServiceLib and GraphicsLib from MdeModulePkg, for they have been added to MDE package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6222 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:04:24 +00:00
xli24 677472aae4 1. Rename following library instances according to MDE Library Spec:
1) SerialPortLibNull => BaseSerialPortLibNull
2) DxeMemoryLib => UefiMemoryLib
3) DxeMemoryAllocationLib => UefiMemoryAllocationLib
4) CpuLib => BaseCpuLib
5) HiiLib => UefiHiiLib
6) IfrSupportLib => UefiIfrSupportLib
7) PeiPalCallLib => PeiPalLib

2. Add library instances to MDE package
1) DxePalLib
2) FvbServiceLib
3) GraphicsLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6221 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-25 16:03:02 +00:00
xli24 7e43ed89b2 Refine code for ECC check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6217 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 08:18:36 +00:00
xli24 14f268ba2a Revert CpuId and CpuIdEx to r6213.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6216 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 07:39:52 +00:00
xli24 610204a84c Sync function prototype of CpuId and CpuIdEx with MDE library specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6215 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 07:05:21 +00:00
klu2 1fa524e97d Fix ECC issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6214 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 06:51:40 +00:00
vanjeff 44b013bd6e ECC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6213 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 06:06:42 +00:00
vanjeff 572b6b1acb rename filename to match the actual ones.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6212 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:51:07 +00:00
vanjeff 83c20be1a4 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6211 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:41:25 +00:00
vanjeff efe146fcb8 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6210 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:41:01 +00:00
vanjeff 719d0c91d8 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6209 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:40:31 +00:00
vanjeff 248a4d9787 Renamed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6208 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:39:59 +00:00
vanjeff 7612cbf0f8 ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6207 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 05:37:02 +00:00
vanjeff 67e66cd55c ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6206 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 04:30:32 +00:00
vanjeff 43025b293f ECC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6205 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:55:01 +00:00
eric_tian 2f3d6fb515 synchronize asm and s file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6204 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:50:40 +00:00
eric_tian 2fb8d3e2df Fix .S assembler building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6203 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-24 02:21:54 +00:00