Per-CPU task switch disable, minor spiderscript changes
[tpg/acess2.git] / Usermode / Libraries / libspiderscript.so_src / bytecode.h
1 /*
2  * SpiderScript
3  * - Bytecode definitions
4  */
5 #ifndef _BYTECODE_H_
6 #define _BYTECODE_H_
7
8 struct sBytecodeHeader
9 {
10         uint32_t        Magic;  //!< Magic Value (identifier) "\x8FSS\r"
11         uint32_t        NFunctions;     //!< Number of functions
12         struct {
13                 uint32_t        NameOffset;     //!< Offset to the name 
14                 uint32_t        CodeOffset;     //!< Offset to the code
15         }       Functions[];
16 };
17
18 enum eBytecodeOperations
19 {
20         BCOP_UNDEF,
21         BCOP_NOP,
22         
23         BCOP_DEFVAR,
24         BCOP_RETURN,
25         
26         NUM_BCOP
27 }
28
29 #endif

UCC git Repository :: git.ucc.asn.au