Barrelfish
Macros
filter.h File Reference

Application registration API. More...

Macros

#define OP_EQUAL   0x11
 Operator ==.
 
#define OP_SGREATER   0x12
 Operator > (signed)
 
#define OP_SLESS   0x13
 Operator < (signed)
 
#define OP_UGREATER   0x14
 Operator > (unsigned)
 
#define OP_ULESS   0x15
 Operator < (unsigned)
 
#define OP_UNEQUAL   0x21
 Operator !=.
 
#define OP_SGREATEREQUAL   0x22
 Operator >= (signed)
 
#define OP_SLESSEQUAL   0x23
 Operator <= (signed)
 
#define OP_UGREATEREQUAL   0x24
 Operator >= (unsigned)
 
#define OP_ULESSEQUAL   0x25
 Operator <= (unsigned)
 
#define OP_ADD   0x31
 Operator +.
 
#define OP_SUB   0x32
 Operator -.
 
#define OP_MULT   0x33
 Operator *.
 
#define OP_IDIV   0x34
 Operator / (integer division)
 
#define OP_MOD   0x35
 Operator %.
 
#define OP_NOT   0x41
 Operator !
 
#define OP_AND   0x42
 Operator &&. More...
 
#define OP_OR   0x43
 Operator ||. More...
 
#define OP_BNOT   0x51
 Operator ~.
 
#define OP_BAND   0x52
 Operator &.
 
#define OP_BOR   0x53
 Operator |.
 
#define OP_BXOR   0x54
 Operator ^.
 
#define OP_INT8   0x61
 8 bit immediate value, data follows
 
#define OP_INT16   0x62
 16 bit immediate value, data follows
 
#define OP_INT32   0x63
 32 bit immediate value, data follows
 
#define OP_INT64   0x64
 64 bit immediate value, data follows
 
#define OP_LOAD8   0x71
 8 bit indirect value, location follows
 
#define OP_LOAD16   0x72
 16 bit indirect value, location follows
 
#define OP_LOAD32   0x73
 32 bit indirect value, location follows
 
#define OP_LOAD64   0x74
 64 bit indirect value, location follows
 

Detailed Description

Application registration API.

This file contains definitions for the bfdmux application register.

Macro Definition Documentation

#define OP_AND   0x42

Operator &&.

Expects an additional 32bit word before the two operands holding the code size of the first operand subtree in bytes. This is used to speed up filter execution when the first operand already determines the result of the operation, e.g. false && something.

#define OP_OR   0x43

Operator ||.

Expects an additional 32bit word before the two operands holding the code size of the first operand subtree in bytes. This is used to speed up filter execution when the first operand already determines the result of the operation, e.g. true || something.