|
SASC-NG
DVBSoftCAM
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <vdr/tools.h>#include "log-viaccess.h"#include "st20.h"#include "helper.h"#include "misc.h"Go to the source code of this file.
Defines | |
| #define | INVALID_VALUE 0xCCCCCCCC |
| #define | ERRORVAL 0xDEADBEEF |
| #define | MININT 0x7FFFFFFF |
| #define | MOSTPOS 0x7FFFFFFF |
| #define | MOSTNEG 0x80000000 |
| #define | POP() stack[(sptr++)&STACKMASK] |
| #define | PUSH(v) do { int __v=(v); stack[(--sptr)&STACKMASK]=__v; } while(0) |
| #define | DROP(n) sptr+=n |
| #define | AAA stack[sptr&STACKMASK] |
| #define | BBB stack[(sptr+1)&STACKMASK] |
| #define | CCC stack[(sptr+2)&STACKMASK] |
| #define | GET_OP() operand|=op1&0x0F |
| #define | CLEAR_OP() operand=0 |
| #define | JUMP(x) Iptr+=(x) |
| #define | POP64() ({ unsigned int __b=POP(); ((unsigned long long)POP()<<32)|__b; }) |
| #define | PUSHPOP(op, val) do { int __a=val; AAA op##= (__a); } while(0) |
| #define | RB(off) UINT8_LE(Addr(off)) |
| #define | RW(off) UINT32_LE(Addr(off)) |
| #define | WW(off, val) BYTE4_LE(Addr(off),val) |
| #define | LOG_OP(op) do { if(v) LogOp(op); } while(0) |
| #define | OP_COL 20 |
| #define AAA stack[sptr&STACKMASK] |
Definition at line 49 of file st20.c.
Referenced by cST20::Decode(), cST20::GetReg(), and cST20::SetReg().
| #define BBB stack[(sptr+1)&STACKMASK] |
Definition at line 50 of file st20.c.
Referenced by cST20::Decode(), cST20::GetReg(), and cST20::SetReg().
| #define CCC stack[(sptr+2)&STACKMASK] |
Definition at line 51 of file st20.c.
Referenced by cST20::Decode(), cST20::GetReg(), and cST20::SetReg().
| #define CLEAR_OP | ( | ) | operand=0 |
Definition at line 54 of file st20.c.
Referenced by cST20::Decode().
| #define DROP | ( | n | ) | sptr+=n |
Definition at line 47 of file st20.c.
Referenced by cST20::Decode().
| #define ERRORVAL 0xDEADBEEF |
Definition at line 35 of file st20.c.
Referenced by cST20::GetReg(), cST20::ReadByte(), cST20::ReadShort(), and cST20::ReadWord().
| #define GET_OP | ( | ) | operand|=op1&0x0F |
Definition at line 53 of file st20.c.
Referenced by cST20::Decode().
| #define INVALID_VALUE 0xCCCCCCCC |
Definition at line 34 of file st20.c.
Referenced by cST20::Init().
| #define JUMP | ( | x | ) | Iptr+=(x) |
Definition at line 55 of file st20.c.
Referenced by cST20::Decode().
| #define LOG_OP | ( | op | ) | do { if(v) LogOp(op); } while(0) |
Definition at line 69 of file st20.c.
Referenced by cST20::Decode().
| #define MOSTNEG 0x80000000 |
Definition at line 39 of file st20.c.
Referenced by cST20::Decode().
| #define POP | ( | ) | stack[(sptr++)&STACKMASK] |
Definition at line 42 of file st20.c.
Referenced by cST20::Decode().
| #define POP64 | ( | ) | ({ unsigned int __b=POP(); ((unsigned long long)POP()<<32)|__b; }) |
Definition at line 56 of file st20.c.
Referenced by cST20::Decode().
| #define PUSH | ( | v | ) | do { int __v=(v); stack[(--sptr)&STACKMASK]=__v; } while(0) |
Definition at line 46 of file st20.c.
Referenced by cST20::Decode().
| #define PUSHPOP | ( | op, | |
| val | |||
| ) | do { int __a=val; AAA op##= (__a); } while(0) |
Definition at line 57 of file st20.c.
Referenced by cST20::Decode().
| #define RB | ( | off | ) | UINT8_LE(Addr(off)) |
Definition at line 60 of file st20.c.
Referenced by cST20::Decode().
| #define RW | ( | off | ) | UINT32_LE(Addr(off)) |
Definition at line 61 of file st20.c.
Referenced by cST20::Decode().
| #define WW | ( | off, | |
| val | |||
| ) | BYTE4_LE(Addr(off),val) |
Definition at line 62 of file st20.c.
Referenced by cST20::Decode().