diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-05 23:02:43 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-05 23:02:43 +0000 |
commit | 59d13433e7cbc810a6268d38141b0d1db353fa6e (patch) | |
tree | 02e2b8b0546775cc30f5da35d2bf4013b422b28f /StdLib/Include/Ia32 | |
parent | 39f4382a972d5916a43aa588baee2635dbda4089 (diff) | |
download | edk2-platforms-59d13433e7cbc810a6268d38141b0d1db353fa6e.tar.xz |
Update or add comments to files and functions for use by Doxygen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12093 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/Include/Ia32')
-rw-r--r-- | StdLib/Include/Ia32/machine/limits.h | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/StdLib/Include/Ia32/machine/limits.h b/StdLib/Include/Ia32/machine/limits.h index 0b3cfbe4c5..f072e54a7d 100644 --- a/StdLib/Include/Ia32/machine/limits.h +++ b/StdLib/Include/Ia32/machine/limits.h @@ -1,14 +1,33 @@ +/** @file
+ This header <machine/limits.h> defines several macros that expand to various
+ CPU-architecture-specific limits and parameters of the standard integer types.
+
+ The values given below are constant expressions suitable for use
+ in #if preprocessing directives.
+
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials are licensed and made available under
+ the terms and conditions of the BSD License that accompanies this distribution.
+ The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+**/
#include <x86/limits.h>
+/** Number of bits making up a pointer. **/
#define __POINTER_BIT 32
+
+/** Number of bits comprising an object of type long int. **/
#define __LONG_BIT 32
-/** minimum value for an object of type long int **/
-#define __LONG_MIN (-2147483647L - 1L) // -(2^31 - 1)
+/** Minimum value for an object of type long int. **/
+#define __LONG_MIN (-2147483647L - 1L) // -(2^31 - 1)
-/** maximum value for an object of type long int **/
-#define __LONG_MAX +2147483647L // 2^31 - 1
+/** Maximum value for an object of type long int. **/
+#define __LONG_MAX +2147483647L // 2^31 - 1
-/** maximum value for an object of type unsigned long int **/
-#define __ULONG_MAX 0xffffffff // 2^32 - 1
+/** Maximum value for an object of type unsigned long int. **/
+#define __ULONG_MAX 0xffffffff // 2^32 - 1
|