Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.VM.components.BombillaEngineM.nc
Component: BombillaEngineM
Author:
Philip Levis <
pal@cs.berkeley.edu
>
Neil Patel
Required Interfaces
Leds
BombillaContextSynch
Synch
BombillaQueue
Queue
BombillaBytecode
Bytecode
StdControl
SubControl
BombillaAnalysis
Analysis
Timer
ErrorTimer
SendMsg
SendError
Provided Interfaces
StdControl
BombillaContextComm
Comm
BombillaError
Error
Variables
BombillaQueue runQueue
BombillaCapsuleBuffer *capsules[8]
BombillaContext *errorContext
BombillaErrorMsg errorMsg
bool inErrorState
bool errorFlipFlop
TOS_Msg msg
Function Index
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
result_t
computeInstruction
(BombillaContext *context)
task void
RunTask
(void)
result_t
executeContext
(BombillaContext *context)
command result_t
Bytecode.execute
(uint8_t opcode, uint8_t instr, BombillaContext *context)
command void
Comm.registerCapsule
(uint8_t type, BombillaCapsuleBuffer *capsule)
command void
Comm.reboot
(uint8_t type)
event result_t
Comm.analyzeLockSets
(uint8_t type, BombillaCapsuleBuffer *caps[])
event result_t
Synch.makeRunnable
(BombillaContext *context)
command result_t
Error.error
(BombillaContext *context, uint8_t cause)
event result_t
ErrorTimer.fired
(void)
event result_t
SendError.sendDone
(TOS_MsgPtr mesg, result_t success)