Classes | Defines | Enumerations | Functions | Variables
vm.h File Reference
#include "../common/types.h"
Include dependency graph for vm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AsebaVMState

Defines

#define AsebaMaskClear(v, m)   ((v) &= (~(m)))
 Set the part masked by m of v to 0.
#define AsebaMaskIsClear(v, m)   (((v) & (m)) == 0)
 Returns true if the part masked by m of v is 0.
#define AsebaMaskIsSet(v, m)   (((v) & (m)) != 0)
 Returns true if the part masked by m of v is 1.
#define AsebaMaskSet(v, m)   ((v) |= (m))
 Set the part masked by m of v to 1.
#define AsebaSendMessageWords(vm, type, data, size)   AsebaSendMessage(vm,type,data,(size)*2)

Enumerations

enum  { ASEBA_MAX_BREAKPOINTS = 16 }

Functions

void __attribute__ ((weak)) AsebaVMRunCB(AsebaVMState *vm)
void AsebaNativeFunction (AsebaVMState *vm, uint16 id)
void AsebaPutVmToSleep (AsebaVMState *vm)
void AsebaResetIntoBootloader (AsebaVMState *vm)
void AsebaSendDescription (AsebaVMState *vm)
void AsebaSendMessage (AsebaVMState *vm, uint16 id, const void *data, uint16 size)
void AsebaSendVariables (AsebaVMState *vm, uint16 start, uint16 length)
void AsebaVMDebugMessage (AsebaVMState *vm, uint16 id, uint16 *data, uint16 dataLength)
void AsebaVMEmitNodeSpecificError (AsebaVMState *vm, const char *message)
uint16 AsebaVMGetEventAddress (AsebaVMState *vm, uint16 event)
void AsebaVMInit (AsebaVMState *vm)
uint16 AsebaVMRun (AsebaVMState *vm, uint16 stepsLimit)
uint16 AsebaVMSetupEvent (AsebaVMState *vm, uint16 event)
uint16 AsebaVMShouldDropPacket (AsebaVMState *vm, uint16 source, const uint8 *data)
void AsebaWriteBytecode (AsebaVMState *vm)

Variables

void const char * message

Detailed Description

Definition of Aseba Virtual Machine

Definition in file vm.h.



aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17