Eric Dong
b5f8b5b03d
Refine code to make it more safely.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15595 6f19259b-4bc3-4df7-8a09-765794883524
2014-06-26 03:16:27 +00:00
Tian, Hot
2b53e39435
Fix CRLF format
...
Signed-off-by: Tian, Hot <hot.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15172 6f19259b-4bc3-4df7-8a09-765794883524
2014-01-23 05:27:14 +00:00
Olivier Martin
4fb254d4b7
EdkCompatibilityPkg: Fixed build for AArch64
...
The architecture specific folders must be capitalized (first letter as
a capital letter and the remaining letters in lower case) (INF spec -
2.2.4 Naming Conventions).
The BaseTools only support this requirement for INF revision prior to
0x00010005 (mainly used by EdkCompatibilityPkg, EdkShellPkg, UEFI SCT).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14620 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-03 08:52:49 +00:00
Harry Liebel
373fbc6416
Add Aarch64 support to EdkCompatibilityPkg.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14533 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-08 08:55:02 +00:00
rsun3
3bbe68a362
Add Missing invocations to VA_END() for VA_START().
...
Signed-off-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-01 06:06:08 +00:00
andrewfish
271d2c7f99
EdkCompatabilityPkg: Fix build issues with X64 clang
...
Removed passing VA_LIST and some assembly language compatability issues. Did not fix ReportStatusCode passing VA_LIST (non-ANSI C Code), and some of the assembler was not not ported and int 3 was inserted, as it likely is not needed.
signed-off-by: andrewfish
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12006 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-12 02:57:30 +00:00
lgao4
3e99020dbf
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11094 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 01:54:49 +00:00
andrewfish
c14164f4f3
Ported more of EdkCompatabilityPkg to ARM to support SCT port.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10641 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-09 00:07:30 +00:00
lgao4
4ac4deb706
Add more check to make sure code run safely.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10574 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-11 07:47:06 +00:00
hhtian
4ea9375a2d
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10434 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 11:56:24 +00:00
AJFISH
e8de46808a
Fixed issues compiling for Apple gcc on IA-32
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9310 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 21:48:45 +00:00
qhuang8
b341712e31
Update to make end-of-line consistent for all source files in MdePkg. There are no other updates besides that change.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9160 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-20 08:19:39 +00:00
eric_tian
101361d996
updated to use the term “temporary memory” but not CAR
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8038 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 08:16:11 +00:00
rsun3
00683bf432
PeiLib uses PEI PCI CFG 2 PPI, so it depends on EdkFrameworkPpiLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8021 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 07:54:20 +00:00
qwang12
bb4af2926a
IPF GCC tool-chain cleanup.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6891 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 04:14:01 +00:00
xli24
9fd4915feb
Use .radix directive that GCC assembly supports.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6830 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:06:00 +00:00
qwang12
8138a06bf7
a statement ".radix D" which cause build break for *NIX IPF tool-chain. This is temperarily comment out. This .s file will be reimplemented to follow EDKII's MdePkg's BaseLib's IPF instruction flush code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6829 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 05:24:43 +00:00
gikidy
97f201c47e
Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6827 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:04:19 +00:00
qwang12
f90eb36c15
1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6806 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 14:35:15 +00:00
qwang12
168da756c6
Fixed a error although Math.c is not built include for building.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6785 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:39:49 +00:00
xli24
88b6bcec9d
Clean ECP for build failure.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:58:15 +00:00
qwang12
78d9194775
ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6601 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:50 +00:00
qwang12
71f633dd05
ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6600 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:38 +00:00
qwang12
89f048160a
ICC cleanup: add EFI_PEI_TRANSFER_CONTROL_SET_JUMP and EFI_PEI_TRANSFER_CONTROL_LONG_JUMP data cast.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6599 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:56:27 +00:00
qwang12
ec5ed91eef
ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6598 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:52:43 +00:00
qwang12
d9ef3b7dc4
GCC Cleanup: UINT8_MAX is defined already in standard header file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6594 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:33:30 +00:00
vanjeff
fbf172be37
Changing source filename to match name changing.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6026 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:43:22 +00:00
vanjeff
82ed85bd1b
Renamed remotely
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6024 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:35:54 +00:00
vanjeff
e007e62763
Renamed remotely
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6020 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-27 05:29:43 +00:00
qhuang8
af1b10362d
1. Rename gRT in GlueLib to avoid collision with EfiDriverLib
...
2. Add the extra parameter of PciCfg in the new PeiLibPciCfgModify() to keep the parameter list the same as the PciCfg->Modify(). PciCfg is just a place holder.
3. Allow platform develop to set EDKII_GLUE_PciExpressBaseAddress value in build option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5868 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 12:53:36 +00:00
qwang12
17b36c32d4
Add .S file for GCC tool-chain for PeiLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5749 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-28 08:44:32 +00:00
qwang12
41d80e816a
Add in SupportItpDebug.S.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5723 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 01:51:20 +00:00
qwang12
822a6944bc
Add .S (for GCC) file for Pei/PeiLib/PeiLib_Edk2.inf.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5721 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 11:25:00 +00:00
qwang12
4b79797eea
1) Cleanup for GCC and ICC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5718 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:31:51 +00:00
qwang12
4d145a2a3b
Add in _Edk2.inf so that library can be build by GCC and ICC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5715 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:09:04 +00:00
qwang12
0f77dfb622
Enhance the string formatting function to take "%p" to print pointer.
...
'p' - arugment is VOID *; printed as hex number
Example is :
ASPrint (Buffer, 1024, "This is a %p\n", SystemTable);
ASPrint (Buffer, 1024, "This is a %10p\n", SystemTable);
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5554 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 07:07:07 +00:00
qhuang8
3149b37794
Use EDK library macro for EDK library function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5285 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:42:44 +00:00
qwang12
1e55f6a46b
1) Change Framework version of PeiServiceTable's PciCfg from PEI_PCI_CFG_PPI to ECP_PEI_PCI_CFG_PPI. This help to detect if user is calling PeiServiceTable->PciCfg->Modify in a PI platform. Modify between Framework spec and PI spec is not compatible.
...
2) Add ECP_PEI_PCI_CFG_PPI to EdkFrameworkPpiLib
3) Add PeiLibPciCfgModify which call PciCfg2. This function will used by modified Framework Module which will be working with a PI platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5260 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:21:30 +00:00
jljusten
4cb43192bd
Fix various warnings with the Intel C compiler.
...
EfiBind.h:
* Adding ignores for certain warnings with the Intel C compiler.
(Partially merged from MdePkg.)
EfiPxe.h:
* Make sure PXE_NO_UINT64_SUPPORT is defined
Decompress.c:
* Removed 'unreachable' return statement.
EdkCompatibilityPkg/**: (all other files)
* Remove trailing comma from last value in enum.
* Include <EfiBind.h> instead of "EfiBind.h", or
for some reason __STDC_VERSION__ is not defined.
* Introduce more explicit function call ordering by
storing results in local variables before using
in a calculation.
* Add some additional casting for BOOLEAN & UINT8
following calculations which change the type to 'int'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5123 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 16:21:53 +00:00
jljusten
e1a09a0eaa
Remove ambiguous auto-increment usage. (gcc warning)
...
(This code change is in sync with BaseTools TianoCompress code.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5057 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:31:48 +00:00
jljusten
0dbeedde34
Fixed several include filename issues for gcc+unix.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5046 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 20:24:11 +00:00
jljusten
e84217e7cf
edk2/EdkCompatibilityPkg/**
...
* Changed all '\' to '/' in *.ing and *.dsc
* Fixed inconsistencies in filename case usage that caused the
build command to fail to parse the dsc/inf files on a system
with a case-sensitive filesystem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4898 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 22:01:12 +00:00
jljusten
50d19550cc
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4890 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:41:11 +00:00
jljusten
10b8a628d9
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4889 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:39:57 +00:00
jljusten
8ba1b02f95
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4888 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:39:21 +00:00
jljusten
8509a918f1
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4887 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:39:10 +00:00
jljusten
be9589f3e5
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4886 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:38:42 +00:00
jljusten
d0fd563fe5
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4885 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:38:20 +00:00
jljusten
289b617766
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4884 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:37:32 +00:00
jljusten
7c1890995a
Renamed to match filename naming recommendations.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4883 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:37:19 +00:00