[kernel][vm] Move the VM postheap init hook back one step

This is a cheesy solution to adding another top level hook, which really
should be done.
This commit is contained in:
Travis Geiselbrecht
2021-12-27 20:22:49 -08:00
parent b74a4e33d4
commit be6169820d

View File

@@ -200,4 +200,4 @@ STATIC_COMMAND("vm", "vm commands", &cmd_vm)
STATIC_COMMAND_END(vm);
LK_INIT_HOOK(vm_preheap, &vm_init_preheap, LK_INIT_LEVEL_HEAP - 1);
LK_INIT_HOOK(vm, &vm_init_postheap, LK_INIT_LEVEL_VM);
LK_INIT_HOOK(vm, &vm_init_postheap, LK_INIT_LEVEL_VM - 1);