summaryrefslogtreecommitdiff
path: root/vere/pkg/noun/v2/vortex.c
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-10-06 01:01:41 +0700
committerpolwex <polwex@sortug.com>2025-10-06 01:01:41 +0700
commitc4b392a179048f936c062f5ffccc2bc25627e500 (patch)
tree09be0904be8ec4d7ea52992ef7580d42ed0c28c1 /vere/pkg/noun/v2/vortex.c
working
Diffstat (limited to 'vere/pkg/noun/v2/vortex.c')
-rw-r--r--vere/pkg/noun/v2/vortex.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/vere/pkg/noun/v2/vortex.c b/vere/pkg/noun/v2/vortex.c
new file mode 100644
index 0000000..9b21d5c
--- /dev/null
+++ b/vere/pkg/noun/v2/vortex.c
@@ -0,0 +1,25 @@
+/// @file
+
+#include "../vortex.h"
+#include "v2/vortex.h"
+
+#include "v2/allocate.h"
+
+u3v_v2_home* u3v_v2_Home;
+
+/* u3v_v2_mig_rewrite_compact(): rewrite arvo kernel for compaction.
+*/
+void
+u3v_v2_mig_rewrite_compact(void)
+{
+ u3v_v2_arvo* arv_u = &(u3H_v2->arv_u);
+
+ u3a_v2_rewrite_noun(arv_u->roc);
+ u3a_v2_rewrite_noun(arv_u->now);
+ u3a_v2_rewrite_noun(arv_u->yot);
+
+ arv_u->roc = u3a_v2_rewritten_noun(arv_u->roc);
+ arv_u->now = u3a_v2_rewritten_noun(arv_u->now);
+ arv_u->yot = u3a_v2_rewritten_noun(arv_u->yot);
+}
+