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

asm.h File Reference


Detailed Description

IPRT - Assembly Functions.

Definition in file asm.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>
#include <iprt/assert.h>

Go to the source code of this file.

Classes

struct  RTGDTR
struct  RTIDTR

Defines

#define ASMAtomicCmpXchgExSize(pu, uNew, uOld, fRc, puOldVal)
#define ASMAtomicCmpXchgHandle(ph, hNew, hOld, fRc)
#define ASMAtomicCmpXchgSize(pu, uNew, uOld, fRc)
#define ASMAtomicReadHandle(ph, phRes)
#define ASMAtomicReadSize(pu, puRes)
#define ASMAtomicUoReadHandle(ph, phRes)
#define ASMAtomicUoReadSize(pu, puRes)
#define ASMAtomicUoWriteHandle(ph, hNew)
#define ASMAtomicUoWriteSize(pu, uNew)
#define ASMAtomicWriteHandle(ph, hNew)
#define ASMAtomicWriteSize(pu, uNew)
#define ASMAtomicXchgHandle(ph, hNew, phRes)
#define ASMAtomicXchgSize(pu, uNew)
#define ASMAtomicXchgSizeCorrect(pu, uNew, puRes)
#define ASMBreakpoint()   do { __asm__ __volatile__ ("int3\n\tnop"); } while (0)
#define ASMCompilerBarrier()   do { __asm__ __volatile__ ("" : : : "memory"); } while (0)
#define RT_INLINE_ASM_EXTERNAL   0
#define RT_INLINE_ASM_GNU_STYLE   1
#define RT_INLINE_ASM_USES_INTRIN   0

Typedefs

typedef struct RTGDTRPRTGDTR
typedef struct RTIDTRPRTIDTR

Functions

 DECLINLINE (uint64_t) ASMReadTSC(void)
 DECLINLINE (RTCCUINTREG) ASMGetFlags(void)
 DECLINLINE (RTSEL) ASMGetCS(void)
 DECLINLINE (void) ASMGetIDTR(PRTIDTR pIdtr)
Misc Guest Predicate Functions.
 DECLINLINE (uint8_t) ASMProbeReadByte(const void *pvByte)

Variables

void * pvEAX
void void * pvEBX
void void void * pvECX


Generated by  Doxygen 1.6.0   Back to index