diff options
Diffstat (limited to 'docs/application/type.md')
| -rw-r--r-- | docs/application/type.md | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/docs/application/type.md b/docs/application/type.md index f028fba..3a831b2 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -26,6 +26,17 @@ typedef struct { int32_t position, module_id; } kpl_token; +typedef enum { + NONE, + GENERAL_REGISTER, + XMM_REGISTER, + STACK +} kpl_native_storage; + +typedef struct { + uint8_t storage : 2, id : 6; +} kpl_native_id; + typedef struct _kpl_type { kpl_type_template template; uint8_t qualifiers; @@ -33,7 +44,10 @@ typedef struct _kpl_type { union { kpl_token token; struct { - int32_t id, tree_weight; + kpl_native_id native_id; + int8_t process_state_id; // -1 not used + uint16_t tree_weight; + struct _kpl_type *function; } var; } meta; _Atomic ssize_t ref_count; |
