Liming Gao
1c2f052de2
IntelFrameworkPkg: Clean up source files
...
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
2018-06-28 11:19:43 +08:00
Jian J Wang
7619eed8aa
IntelFrameworkPkg/LegacyBios.h: Add a macro to guarantee page 0 access
...
Due to the introduction of NULL pointer detection feature, page 0 will be
disabled if the feature is enabled, which will cause legacy code failed to
update legacy data in page 0. This macro is introduced to make sure the
page 0 is enabled before those code and restore the original status of it
afterwards.
Another reason to introduce this macro is to eliminate the dependency on
the PcdNullPointerDetectionPropertyMask. Because this is a new PCD, it
could cause some backward compatibility issue for some old packages.
This macro will simply check if the page 0 is disabled or not. If it's
disabled, it will enable it before code updating page 0 and disable it
afterwards. Otherwise, this macro will do nothing to page 0.
The usage of the macro will be look like (similar to DEBUG_CODE macro):
ACCESS_PAGE0_CODE(
<code accessing page 0>
);
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2017-12-08 14:38:44 +08:00
Gary Lin
d6a1c70de1
IntelFrameworkPkg: Fix typos in comments
...
- paramter -> parameter
- availible -> available
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2016-10-24 09:09:26 +08:00
Qiu Shumin
ed6fde4113
IntelFrameworkPkg: Fix a non ASCII char in LegacyBios.h.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17185 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-16 06:50:38 +00:00
David Woodhouse
881644d741
IntelFrameworkPkg: Update EFI_COMPATIBILITY16_TABLE to CSM 0.98.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17130 6f19259b-4bc3-4df7-8a09-765794883524
2015-04-08 01:40:47 +00:00
jyao1
f43c43c72c
Correct comments for EFI_LEGACY_PIRQ_ENTRY.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11287 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-31 02:37:03 +00:00
mdkinney
4e36109357
Add comment that describes the TPL restrictions for the Data Hub Protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11009 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 20:29:16 +00:00
xli24
c5b900bed8
Fix the bug that definition of EFI_DISPATCH_OPROM_TABLE does not follow Framework CSM Spec v0.97.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10588 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-17 05:51:31 +00:00
hhtian
2b3687dbb5
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10404 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 15:52:13 +00:00
xli24
54f8d22a23
Add missing words for the description of EFI_SMM_CONTROL_PROTOCOL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10250 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 04:08:24 +00:00
myronporter
f22f941ed2
Grammatical and disclaimer changes (does not follow internal C coding stds.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10249 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 01:53:11 +00:00
qhuang8
cdfe0fa69a
Remove the duplicate protocol header files in IntelFrameworkPkg. Modules that using SMM status code protocol should use MdePkg/Include/SmmStatusCode.h instead.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9915 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 03:01:49 +00:00
mdkinney
d76597869f
Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both Framework SMM and PI SMM implementations.
...
Add SMM CPU Save State Protocol defined in the Framework SMM CIS 0.91 Specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9841 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 23:04:34 +00:00
lgao4
bde6776887
Remove the duplicated definitions between Framework AcpiSupport and PI AcpiSystemDescriptionTable.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9772 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 03:00:06 +00:00
mdkinney
88ab69a3f2
Put Framework SMM CPU I/O Protocol into its own .h file and add the GUID for this protocol to the DEC file.
...
Some definitions are shared between the Framework SMM CPU I/O Protocol and the PI SMM CPU I/O 2 Protocol, so SmmCpuIo.h include SmmCpuIo2.h from the MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9736 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:22:06 +00:00
xli24
77a725127c
Remove unnecessary colon for @note tag.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9708 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-11 07:35:49 +00:00
xli24
ce9b1e3ae0
Minor code enhancement.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:12:14 +00:00
rsun3
a77e0eb17a
Remove duplicated definition of EFI_SMM_COMMUNICATE_HEADER in PI and Framework SMM.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9656 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-31 06:54:11 +00:00
xli24
2aa76eacfd
Update header file to include common definition of FRAMEWORK_EFI_AP_PROCEDURE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9497 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-30 07:59:07 +00:00
rsun3
a2bb197e80
Rename PI SMM definitions which has same name with those of Framework SMM spec but with different content (Note these renamings are not yet in public PI spec or errata now); Remove common definitions shared between PI and Framework Spec from include files for Framework SMM Spec, and change includes files for Framework SMM Spec to include PI SMM include files. The goal is to allow a module include both PI and Framework SMM definitions without conflict.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9453 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 03:21:02 +00:00
qhuang8
dd72d66af8
Update framework CPU I/O protocol to solve some symbol duplication and conflict issues. This protocol is different from PI one in that it is a runtime protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9441 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-18 04:12:26 +00:00
qhuang8
abc0c38ac3
Add Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name to IntelFrameworkPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9395 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 05:12:25 +00:00
vanjeff
15cc889129
update comments with the right words.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9337 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 08:32:06 +00:00
vanjeff
689b2d720c
clean up non-English characters.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9336 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 08:25:50 +00:00
vanjeff
1910fbaf70
clean up non-English characters.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9335 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 03:32:25 +00:00
eric_tian
f759064285
specify the spec revision number followed by protocol
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9237 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-03 09:21:05 +00:00
eric_tian
33d228aa02
refine some definitions comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9031 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10 06:32:30 +00:00
vanjeff
d9fdf2ca96
fixed wrong comments format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9019 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 14:24:26 +00:00
pkandel
5259c97d7a
Committing changes to the comments, after review with engineers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9018 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 13:25:37 +00:00
mdkinney
d5555a107c
Move EFI_SMM_COMMUNICATE_HEADER into SmmBase.h because this structure is really associated with the ComminicationBuffer parameter to the EFI_SMM_CALLBACK_ENTRY_POINT in the SMM Base Protocol and not the gSmmCommunicateHeaderGuid. This GUID is just one of many possible GUIDs that could be used to fill in the HeaderGuid field of the EFI_SMM_COMMUNICATE_HEADER.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8990 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 04:35:02 +00:00
mdkinney
347bbfc6ed
Remove the following Protocols from the IntelFrameworkPkg because they are identical to Protocols from the PI 1.2 Specification that have been added to the MdePkg
...
1) IDE Controller Init
2) Incompatible PCI Device Support
3) PCI Hot Bridge Resource Allocation
4) PCI Hot Plug
5) PCI Platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8941 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-14 19:34:24 +00:00
klu2
a543bca5a6
Fix a wrong doxygen comment tag usage of ///>. The correct one is ///<.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8933 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 13:06:59 +00:00
lgao4
33801c0c8e
Make code definition alignment.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8925 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 09:35:40 +00:00
lgao4
108854b2b8
Remove unnecessary FRAMEWORK_ prefix in IntelFrameworkPkg definitions for those definitions that don't conflict with ones in UEFI/PI specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8923 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 09:28:00 +00:00
vanjeff
21d2b17f98
updated parameters name to match spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8920 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:53:48 +00:00
mdkinney
b6d47a83ac
Add Framework MP Services Protocol
...
Change EFI_AP_PROCEDURE to FRAMEWORK_EFI_AP_PROCEDURE to remove name collision with PI 1.2 MP Services Protocol in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8912 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 00:18:41 +00:00
mdkinney
050b79ebb0
Clean up doxygen comments
...
Remove *_GRANULARITY #defines that are not defined in the Framework CSM Specification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8911 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 00:16:54 +00:00
mdkinney
87d6344732
1) Add Include/Framework/BootScript.h that contains defines shared between Boot Script Executer PPI and Boot Script Save Protocol. Remove those safe defines from Include/Ppi/BootScriptExecuter.h
...
2) Remove Include/Framework/DataHubRecords.h and merge its content into Include/Guid/DataHubRecords.h
3) Remove Include/Framework/Legacy16.h and merge its contents into Include/Protocol/LegacyBios.h
4) Update FrameworkDxe.h to no longer include all the Legacy16.h and DataHubRecords.h contents. This reduces the number of include file and definitions pulled in when a module include FrameworkDxe.h. The Legacy16.h contents can now be included by a module through Protocol/LegacyBios.h and the DataHubRecords.h contents can be included by a module through Guid/DataHubRecords.h
5) Update Include/Guid/StatusCodeDataTypeId.h so it can be safely included by both PEIMs and DXE Modules since both the PEI and DXE phases support status codes
6) Remove extra #includes where possible to reduce number of files included during a build.
7) Update Include/Protocol/LegacyBiosPlatform.h to #include Include/Protocol/LegacyBios.h since it depends on HDD_INFO and COMPATIBILITY16 strictures carried by LegacyBios.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8899 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:25:44 +00:00
mdkinney
3a228b9ed5
Remove "Module Name:" from include file headers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8893 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 16:02:13 +00:00
mdkinney
e7be5d903a
Fix Doxygen document generation for function prototypes
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8892 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 23:56:39 +00:00
lgao4
0e0eeecad4
Clean the public header files to remove the unnecessary include files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8871 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 09:30:53 +00:00
rsun3
06a098c478
Code clean up to match with Framework HII 0.92 spec. Add comments for mismatches between code and spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8864 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 07:59:23 +00:00
mdkinney
2997220ab7
Remove structure declaration for EFI_UGA_PIXEL.
...
This structure is already defined in MdePkg/Include/Protocol/UgaDraw.h and this extra declaration is generating build breaks for a redefinition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8847 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 23:26:39 +00:00
jchen20
6d1824fc6e
Add comments to describe the difference between code and spec to fix the bug #202430
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8839 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 10:27:43 +00:00
jchen20
e89985504d
Add comments to describe the difference between code and spec to fix the bug #202409
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8838 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 09:56:42 +00:00
jchen20
b59768ca63
Add definition on SmmStatusCodeProtocol to comply the SMMCIS spec to fix the bug #202466
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8834 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 09:17:18 +00:00
jchen20
da879e3f7d
Add comments to describe the difference with Spec to fix the bug #202466
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8833 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 09:13:30 +00:00
jchen20
220c61c1ee
Add the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL definition to comply with Framework spec
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8831 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 07:43:00 +00:00
jchen20
66ea28dffd
to describe the gap between Framework spec and code to fix the bug #202434
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8820 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 09:49:07 +00:00
lgao4
3f17e6d73e
Add comments for the inconsistent definition with framework specification.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8798 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 03:41:46 +00:00