php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | dasm_Section |
struct | dasm_State |
Macros | |
#define | DASM_ARCH "ppc" |
#define | DASM_EXTERN(a, b, c, d) |
#define | DASM_MAXSECPOS 25 |
#define | DASM_S_OK 0x00000000 |
#define | DASM_S_NOMEM 0x01000000 |
#define | DASM_S_PHASE 0x02000000 |
#define | DASM_S_MATCH_SEC 0x03000000 |
#define | DASM_S_RANGE_I 0x11000000 |
#define | DASM_S_RANGE_SEC 0x12000000 |
#define | DASM_S_RANGE_LG 0x13000000 |
#define | DASM_S_RANGE_PC 0x14000000 |
#define | DASM_S_RANGE_REL 0x15000000 |
#define | DASM_S_UNDEF_LG 0x21000000 |
#define | DASM_S_UNDEF_PC 0x22000000 |
#define | DASM_POS2IDX(pos) |
#define | DASM_POS2BIAS(pos) |
#define | DASM_SEC2POS(sec) |
#define | DASM_POS2SEC(pos) |
#define | DASM_POS2PTR(D, pos) |
#define | DASM_PSZ(ms) |
#define | CK(x, st) |
#define | CKPL(kind, st) |
#define | CK(x, st) |
Typedefs | |
typedef const unsigned int * | dasm_ActList |
typedef struct dasm_Section | dasm_Section |
Enumerations | |
enum | { DASM_STOP , DASM_SECTION , DASM_ESC , DASM_REL_EXT , DASM_ALIGN , DASM_REL_LG , DASM_LABEL_LG , DASM_REL_PC , DASM_LABEL_PC , DASM_IMM , DASM_IMMSH , DASM__MAX } |
Functions | |
void | dasm_init (Dst_DECL, int maxsection) |
void | dasm_free (Dst_DECL) |
void | dasm_setupglobal (Dst_DECL, void **gl, unsigned int maxgl) |
void | dasm_growpc (Dst_DECL, unsigned int maxpc) |
void | dasm_setup (Dst_DECL, const void *actionlist) |
void | dasm_put (Dst_DECL, int start,...) |
int | dasm_link (Dst_DECL, size_t *szp) |
int | dasm_encode (Dst_DECL, void *buffer) |
int | dasm_getpclabel (Dst_DECL, unsigned int pc) |
#define CK | ( | x, | |
st ) |
Definition at line 158 of file dasm_ppc.h.
#define CK | ( | x, | |
st ) |
Definition at line 158 of file dasm_ppc.h.
Definition at line 159 of file dasm_ppc.h.
#define DASM_ARCH "ppc" |
Definition at line 12 of file dasm_ppc.h.
Definition at line 15 of file dasm_ppc.h.
#define DASM_MAXSECPOS 25 |
Definition at line 29 of file dasm_ppc.h.
Definition at line 46 of file dasm_ppc.h.
Definition at line 45 of file dasm_ppc.h.
Definition at line 49 of file dasm_ppc.h.
Definition at line 48 of file dasm_ppc.h.
#define DASM_PSZ | ( | ms | ) |
Definition at line 81 of file dasm_ppc.h.
#define DASM_S_MATCH_SEC 0x03000000 |
Definition at line 35 of file dasm_ppc.h.
#define DASM_S_NOMEM 0x01000000 |
Definition at line 33 of file dasm_ppc.h.
#define DASM_S_OK 0x00000000 |
Definition at line 32 of file dasm_ppc.h.
#define DASM_S_PHASE 0x02000000 |
Definition at line 34 of file dasm_ppc.h.
#define DASM_S_RANGE_I 0x11000000 |
Definition at line 36 of file dasm_ppc.h.
#define DASM_S_RANGE_LG 0x13000000 |
Definition at line 38 of file dasm_ppc.h.
#define DASM_S_RANGE_PC 0x14000000 |
Definition at line 39 of file dasm_ppc.h.
#define DASM_S_RANGE_REL 0x15000000 |
Definition at line 40 of file dasm_ppc.h.
#define DASM_S_RANGE_SEC 0x12000000 |
Definition at line 37 of file dasm_ppc.h.
#define DASM_S_UNDEF_LG 0x21000000 |
Definition at line 41 of file dasm_ppc.h.
#define DASM_S_UNDEF_PC 0x22000000 |
Definition at line 42 of file dasm_ppc.h.
#define DASM_SEC2POS | ( | sec | ) |
Definition at line 47 of file dasm_ppc.h.
typedef const unsigned int* dasm_ActList |
Definition at line 52 of file dasm_ppc.h.
typedef struct dasm_Section dasm_Section |
anonymous enum |
Enumerator | |
---|---|
DASM_STOP | |
DASM_SECTION | |
DASM_ESC | |
DASM_REL_EXT | |
DASM_ALIGN | |
DASM_REL_LG | |
DASM_LABEL_LG | |
DASM_REL_PC | |
DASM_LABEL_PC | |
DASM_IMM | |
DASM_IMMSH | |
DASM__MAX |
Definition at line 19 of file dasm_ppc.h.
Definition at line 322 of file dasm_ppc.h.
Definition at line 103 of file dasm_ppc.h.
int dasm_getpclabel | ( | Dst_DECL | , |
unsigned int | pc ) |
Definition at line 389 of file dasm_ppc.h.
Definition at line 124 of file dasm_ppc.h.
Definition at line 85 of file dasm_ppc.h.
int dasm_link | ( | Dst_DECL | , |
size_t * | szp ) |
Definition at line 257 of file dasm_ppc.h.
Definition at line 163 of file dasm_ppc.h.
Definition at line 133 of file dasm_ppc.h.
Definition at line 116 of file dasm_ppc.h.