diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-23 01:48:49 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-11-23 01:48:49 +0000 |
commit | e3f903d547b5f33a86e1281014fabb685016c504 (patch) | |
tree | 0cb4d266ba3e98615efd28d8fc10200ea0c87227 /MdePkg/Include | |
parent | 703289677ace8035d76176e789a136057926ae77 (diff) | |
download | edk2-e3f903d547b5f33a86e1281014fabb685016c504.zip edk2-e3f903d547b5f33a86e1281014fabb685016c504.tar.gz edk2-e3f903d547b5f33a86e1281014fabb685016c504.tar.bz2 |
Minor update the comments style for LegacyRegion2 protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9466 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Protocol/LegacyRegion2.h | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/MdePkg/Include/Protocol/LegacyRegion2.h b/MdePkg/Include/Protocol/LegacyRegion2.h index 195e3e0..070bf6b 100644 --- a/MdePkg/Include/Protocol/LegacyRegion2.h +++ b/MdePkg/Include/Protocol/LegacyRegion2.h @@ -174,14 +174,25 @@ typedef enum { typedef struct {
- UINT32 Start; ///< The beginning of the physical address of this
- ///< region.
- UINT32 Length; ///< The number of bytes in this region.
- EFI_LEGACY_REGION_ATTRIBUTE Attribute; ///< Attribute of the Legacy Region Descriptor that
- ///< describes the capabilities for that memory region.
- UINT32 Granularity; ///< Describes the byte length programmability
- ///< associated with the Start address and the specified
- ///< Attribute setting.
+ ///
+ /// The beginning of the physical address of this
+ /// region.
+ ///
+ UINT32 Start;
+ ///
+ /// The number of bytes in this region.
+ ///
+ UINT32 Length;
+ ///
+ /// Attribute of the Legacy Region Descriptor that
+ /// describes the capabilities for that memory region.
+ ///
+ EFI_LEGACY_REGION_ATTRIBUTE Attribute;
+ ///
+ /// Describes the byte length programmability
+ /// associated with the Start address and the specified
+ /// Attribute setting.
+ UINT32 Granularity;
} EFI_LEGACY_REGION_DESCRIPTOR;
@@ -213,28 +224,18 @@ EFI_STATUS );
-/**
- Abstracts the hardware control of the physical address region 0xC0000-0xFFFFF.
-
- The EFI_LEGACY_REGION2_PROTOCOL is used to abstract the hardware control of the memory
- attributes of the Option ROM shadowing region, 0xC0000 to 0xFFFFF.
-
- There are three memory attributes that can be modified through this protocol: read, write and
- boot-lock. These protocols may be set in any combination.
-
-**/
+///
+/// The EFI_LEGACY_REGION2_PROTOCOL is used to abstract the hardware control of the memory
+/// attributes of the Option ROM shadowing region, 0xC0000 to 0xFFFFF.
+/// There are three memory attributes that can be modified through this protocol: read, write and
+/// boot-lock. These protocols may be set in any combination.
+///
struct _EFI_LEGACY_REGION2_PROTOCOL {
- EFI_LEGACY_REGION2_DECODE Decode; ///< Modify the read attribute of a memory region. See
- ///< the Decode() function description.
- EFI_LEGACY_REGION2_LOCK Lock; ///< Modify the write attribute of a memory region to
- ///< prevent writes. See the Lock() function description.
- EFI_LEGACY_REGION2_BOOT_LOCK BootLock; ///< Modify the boot-lock attribute of a memory region to
- ///< prevent future changes to the memory attributes for
- ///< this region. See the BootLock() function description.
- EFI_LEGACY_REGION2_UNLOCK UnLock; ///< Modify the write attribute of a memory region to
- ///< allow writes. See the Unlock() function description.
- EFI_LEGACY_REGION_GET_INFO GetInfo; ///< Modify the write attribute of a memory region to
- ///< allow writes. See the GetInfo() function description.
+ EFI_LEGACY_REGION2_DECODE Decode;
+ EFI_LEGACY_REGION2_LOCK Lock;
+ EFI_LEGACY_REGION2_BOOT_LOCK BootLock;
+ EFI_LEGACY_REGION2_UNLOCK UnLock;
+ EFI_LEGACY_REGION_GET_INFO GetInfo;
};
extern EFI_GUID gEfiLegacyRegion2ProtocolGuid;
|