From: fennecdjay Date: Sat, 17 Feb 2024 15:36:59 +0000 (+0100) Subject: :art: move VM defines X-Git-Tag: nightly~65 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d76b15023b1462659f8db91f3f4b44f8c8da1e65;p=gwion.git :art: move VM defines --- diff --git a/include/vm.h b/include/vm.h index d8632a67..f74e8bab 100644 --- a/include/vm.h +++ b/include/vm.h @@ -146,4 +146,9 @@ ANN bool unwind(const VM_Shred shred, const Symbol effect, const m_uint size); #define BBQ_POS_MAX 16777216 ANN void next_bbq_pos(const VM *vm); + +#define MEM_STEP 16 +#define SIZEOF_MEM (0x1 << MEM_STEP) +#define SIZEOF_REG (0x1 << 14) + #endif diff --git a/util b/util index b40e7240..ee0fbca0 160000 --- a/util +++ b/util @@ -1 +1 @@ -Subproject commit b40e724007166f6b91aed62ac5a0743ada9037fe +Subproject commit ee0fbca067438890e3dfb2e77968d4300a10bb4f