From 1767d390fbf3d0c65389de46caf0b6d43ef3b6ad Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Fri, 10 Jul 2026 11:24:56 +0800 Subject: feat: establish bootable new architecture checkpoint Replace the compressed boot path with a relocatable higher-half RISC-V entry, expand memory and SMP support, and add the driver, TTY, VFS, exec, signal, syscall, initramfs, and self-test infrastructure needed for a bootable kernel checkpoint. --- na/test/test_slab.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'na/test/test_slab.cc') diff --git a/na/test/test_slab.cc b/na/test/test_slab.cc index 2ba1a5d..8a448b4 100644 --- a/na/test/test_slab.cc +++ b/na/test/test_slab.cc @@ -203,7 +203,7 @@ void selftest_slab() uint64 page_pa = va_to_pa(virt_addr(reinterpret_cast(base_ptr))).raw; Page* page = pa_to_page(phys_addr(page_pa)); - ST_ASSERT(page->state == PageState::Slab); + ST_ASSERT(page->type == PageType::Slab); ST_ASSERT(page->slab.obj_count == 32); // Free all items in this isolated slab page @@ -212,7 +212,7 @@ void selftest_slab() } // The page MUST have been returned to the PMM (either global Free or Per-CPU Cached). - ST_ASSERT(page->state == PageState::Free || page->state == PageState::PcpCached); + ST_ASSERT(page->type == PageType::Free || page->type == PageType::PcpCached); // Clean up the drain array for (int i = 0; i < drain_count; i++) { -- cgit v1.2.3