254 lines
4.7 KiB
C
254 lines
4.7 KiB
C
/** @file
|
|
|
|
;******************************************************************************
|
|
;* Copyright (c) 2012, Insyde Software Corp. All Rights Reserved.
|
|
;*
|
|
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
;* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
;* any part of this publication in any form, by any means, without the prior
|
|
;* written permission of Insyde Software Corporation.
|
|
;*
|
|
;******************************************************************************
|
|
*/
|
|
|
|
/*++
|
|
|
|
Copyright (c) 2005 Intel Corporation. All rights reserved
|
|
This software and associated documentation (if any) is furnished
|
|
under a license and may only be used or copied in accordance
|
|
with the terms of the license. Except as permitted by such
|
|
license, no part of this software or documentation may be
|
|
reproduced, stored in a retrieval system, or transmitted in any
|
|
form or by any means without the express written consent of
|
|
Intel Corporation.
|
|
|
|
|
|
Module Name:
|
|
|
|
Numbers.h
|
|
|
|
Abstract:
|
|
|
|
Commonly used numbers in programming
|
|
|
|
--*/
|
|
|
|
#ifndef _NUMBERS_DEFINITION_H_
|
|
#define _NUMBERS_DEFINITION_H_
|
|
|
|
#ifndef BIT0
|
|
#define BIT0 0x1
|
|
#endif
|
|
#ifndef BIT1
|
|
#define BIT1 0x2
|
|
#endif
|
|
#ifndef BIT2
|
|
#define BIT2 0x4
|
|
#endif
|
|
#ifndef BIT3
|
|
#define BIT3 0x8
|
|
#endif
|
|
#ifndef BIT4
|
|
#define BIT4 0x10
|
|
#endif
|
|
#ifndef BIT5
|
|
#define BIT5 0x20
|
|
#endif
|
|
#ifndef BIT6
|
|
#define BIT6 0x40
|
|
#endif
|
|
#ifndef BIT7
|
|
#define BIT7 0x80
|
|
#endif
|
|
#ifndef BIT8
|
|
#define BIT8 0x100
|
|
#endif
|
|
#ifndef BIT9
|
|
#define BIT9 0x200
|
|
#endif
|
|
#ifndef BIT10
|
|
#define BIT10 0x400
|
|
#endif
|
|
#ifndef BIT11
|
|
#define BIT11 0x800
|
|
#endif
|
|
#ifndef BIT12
|
|
#define BIT12 0x1000
|
|
#endif
|
|
#ifndef BIT13
|
|
#define BIT13 0x2000
|
|
#endif
|
|
#ifndef BIT14
|
|
#define BIT14 0x4000
|
|
#endif
|
|
#ifndef BIT15
|
|
#define BIT15 0x8000
|
|
#endif
|
|
#ifndef BIT16
|
|
#define BIT16 0x10000
|
|
#endif
|
|
#ifndef BIT17
|
|
#define BIT17 0x20000
|
|
#endif
|
|
#ifndef BIT18
|
|
#define BIT18 0x40000
|
|
#endif
|
|
#ifndef BIT19
|
|
#define BIT19 0x80000
|
|
#endif
|
|
#ifndef BIT20
|
|
#define BIT20 0x100000
|
|
#endif
|
|
#ifndef BIT21
|
|
#define BIT21 0x200000
|
|
#endif
|
|
#ifndef BIT22
|
|
#define BIT22 0x400000
|
|
#endif
|
|
#ifndef BIT23
|
|
#define BIT23 0x800000
|
|
#endif
|
|
#ifndef BIT24
|
|
#define BIT24 0x1000000
|
|
#endif
|
|
#ifndef BIT25
|
|
#define BIT25 0x2000000
|
|
#endif
|
|
#ifndef BIT26
|
|
#define BIT26 0x4000000
|
|
#endif
|
|
#ifndef BIT27
|
|
#define BIT27 0x8000000
|
|
#endif
|
|
#ifndef BIT28
|
|
#define BIT28 0x10000000
|
|
#endif
|
|
#ifndef BIT29
|
|
#define BIT29 0x20000000
|
|
#endif
|
|
#ifndef BIT30
|
|
#define BIT30 0x40000000
|
|
#endif
|
|
#ifndef BIT31
|
|
#define BIT31 0x80000000
|
|
#endif
|
|
#ifndef BIT32
|
|
#define BIT32 0x100000000
|
|
#endif
|
|
#ifndef BIT33
|
|
#define BIT33 0x200000000
|
|
#endif
|
|
#ifndef BIT34
|
|
#define BIT34 0x400000000
|
|
#endif
|
|
#ifndef BIT35
|
|
#define BIT35 0x800000000
|
|
#endif
|
|
#ifndef BIT36
|
|
#define BIT36 0x1000000000
|
|
#endif
|
|
#ifndef BIT37
|
|
#define BIT37 0x2000000000
|
|
#endif
|
|
#ifndef BIT38
|
|
#define BIT38 0x4000000000
|
|
#endif
|
|
#ifndef BIT39
|
|
#define BIT39 0x8000000000
|
|
#endif
|
|
#ifndef BIT40
|
|
#define BIT40 0x10000000000
|
|
#endif
|
|
#ifndef BIT41
|
|
#define BIT41 0x20000000000
|
|
#endif
|
|
#ifndef BIT42
|
|
#define BIT42 0x40000000000
|
|
#endif
|
|
#ifndef BIT43
|
|
#define BIT43 0x80000000000
|
|
#endif
|
|
#ifndef BIT44
|
|
#define BIT44 0x100000000000
|
|
#endif
|
|
#ifndef BIT45
|
|
#define BIT45 0x200000000000
|
|
#endif
|
|
#ifndef BIT46
|
|
#define BIT46 0x400000000000
|
|
#endif
|
|
#ifndef BIT47
|
|
#define BIT47 0x800000000000
|
|
#endif
|
|
#ifndef BIT48
|
|
#define BIT48 0x1000000000000
|
|
#endif
|
|
#ifndef BIT49
|
|
#define BIT49 0x2000000000000
|
|
#endif
|
|
#ifndef BIT50
|
|
#define BIT50 0x4000000000000
|
|
#endif
|
|
#ifndef BIT51
|
|
#define BIT51 0x8000000000000
|
|
#endif
|
|
#ifndef BIT52
|
|
#define BIT52 0x10000000000000
|
|
#endif
|
|
#ifndef BIT53
|
|
#define BIT53 0x20000000000000
|
|
#endif
|
|
#ifndef BIT54
|
|
#define BIT54 0x40000000000000
|
|
#endif
|
|
#ifndef BIT55
|
|
#define BIT55 0x80000000000000
|
|
#endif
|
|
#ifndef BIT56
|
|
#define BIT56 0x100000000000000
|
|
#endif
|
|
#ifndef BIT57
|
|
#define BIT57 0x200000000000000
|
|
#endif
|
|
#ifndef BIT58
|
|
#define BIT58 0x400000000000000
|
|
#endif
|
|
#ifndef BIT59
|
|
#define BIT59 0x800000000000000
|
|
#endif
|
|
#ifndef BIT60
|
|
#define BIT60 0x1000000000000000
|
|
#endif
|
|
#ifndef BIT61
|
|
#define BIT61 0x2000000000000000
|
|
#endif
|
|
#ifndef BIT62
|
|
#define BIT62 0x4000000000000000
|
|
#endif
|
|
#ifndef BIT63
|
|
#define BIT63 0x8000000000000000
|
|
#endif
|
|
|
|
#ifndef KILOBIT
|
|
#define KILOBIT 0x80
|
|
#endif
|
|
#ifndef MEGABIT
|
|
#define MEGABIT 0x20000
|
|
#endif
|
|
|
|
#ifndef KILOBYTE
|
|
#define KILOBYTE 0x400
|
|
#endif
|
|
#ifndef MEGABYTE
|
|
#define MEGABYTE 0x100000
|
|
#endif
|
|
#ifndef GIGABYTE
|
|
#define GIGABYTE 0x40000000
|
|
#endif
|
|
#ifndef TERABYTE
|
|
#define TERABYTE 0x10000000000
|
|
#endif
|
|
|
|
#endif
|
|
|