summaryrefslogtreecommitdiff
path: root/vere/pkg/noun/v2/vortex.c
diff options
context:
space:
mode:
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);
+}
+