Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Defines | Typedefs

kDbgBase.h File Reference

#include <k/kDefs.h>
#include <k/kTypes.h>
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
Include dependency graph for kDbgBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define KCOMMON_ALREADY_INCLUDED_STD_TYPES   1
#define KDBG_ALIGN_ADDR(val, align)   ( ((val) + ((align) - 1)) & ~(KDBGADDR)((align) - 1) )
#define KDBG_ALIGN_P(pv, align)   ( (void *)( ((uintptr_t)(pv) + ((align) - 1)) & ~(uintptr_t)((align) - 1) ) )
#define KDBG_ALIGN_Z(val, align)   ( ((val) + ((align) - 1)) & ~(size_t)((align) - 1) )
#define KDBG_CALL
#define KDBG_DECL(type)   type
#define KDBG_ELEMENTS(a)   ( sizeof(a) / sizeof((a)[0]) )
#define KDBG_LITTLE_ENDIAN
#define KDBG_MAX(a, b)   ((a) >= (b) ? (a) : (b))
#define KDBG_MIN(a, b)   ((a) <= (b) ? (a) : (b))
#define KDBG_OFFSETOF(strct, memb)   ( (size_t)( &((strct *)0)->memb ) )
#define KDBG_VALID_PTR(ptr)   ( (uintptr_t)(ptr) + 0x1000U >= 0x2000U )
#define NIL_KDBGADDR   (~(uint64_t)0)
#define PRI_KDBGADDR   "llx"
Endian Conversion
#define KDBG_E2E_U16(u16)   ( (uint16_t) (((u16) >> 8) | ((u16) << 8)) )
#define KDBG_E2E_U32(u32)
#define KDBG_E2E_U64(u64)
#define KDBG_LE2H_U16(u16)   ((uint16_t)(u16))
#define KDBG_LE2H_U32(u32)   ((uint32_t)(u32))
#define KDBG_LE2H_U64(u64)   ((uint32_t)(u32))
#define KDBG_BE2H_U16(u16)   KDBG_E2E_U16(u16)
#define KDBG_BE2H_U32(u32)   KDBG_E2E_U32(u32)
#define KDBG_BE2H_U64(u64)   KDBG_E2E_U64(u64)

Typedefs

typedef uint64_t KDBGADDR
typedef const KDBGADDRPCKDBGADDR
typedef KDBGADDRPKDBGADDR

Detailed Description

kDbg - The Debug Info Reader, Base Definitions and Typedefs.

Definition in file kDbgBase.h.


Generated by  Doxygen 1.6.0   Back to index