From 00ea1bdfe3d0758dc42942c5994664c51badf2f8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Mar 2015 17:27:27 +0100 Subject: Remove kernel region pf handlers ; fix forget-to-zero-out bug. --- src/tests/ktests/region1/test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tests/ktests/region1/test.c') diff --git a/src/tests/ktests/region1/test.c b/src/tests/ktests/region1/test.c index 1a42638..58b4933 100644 --- a/src/tests/ktests/region1/test.c +++ b/src/tests/ktests/region1/test.c @@ -2,16 +2,16 @@ void test_region_1() { BEGIN_TEST("region-test-1"); - void* p = region_alloc(0x1000, "Test region", 0); + void* p = region_alloc(0x1000, "Test region"); dbg_printf("Allocated one-page region: 0x%p\n", p); dbg_print_region_info(); - void* q = region_alloc(0x1000, "Test region", 0); + void* q = region_alloc(0x1000, "Test region"); dbg_printf("Allocated one-page region: 0x%p\n", q); dbg_print_region_info(); - void* r = region_alloc(0x2000, "Test region", 0); + void* r = region_alloc(0x2000, "Test region"); dbg_printf("Allocated two-page region: 0x%p\n", r); dbg_print_region_info(); - void* s = region_alloc(0x10000, "Test region", 0); + void* s = region_alloc(0x10000, "Test region"); dbg_printf("Allocated 16-page region: 0x%p\n", s); dbg_print_region_info(); region_free(p); -- cgit v1.2.3