X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=kernel%2Ftests%2Faspace.cc;fp=kernel%2Ftests%2Faspace.cc;h=a8b53e682a37807843690290df112ae24900bb45;hp=8471c37883fd7f644e249a1c44b6364c46c13550;hb=1ac390fe1e18444008857b056c947710be9621a8;hpb=6e64b28821757af60447c790ae52a91831a9d4f0 diff --git a/kernel/tests/aspace.cc b/kernel/tests/aspace.cc index 8471c37..a8b53e6 100644 --- a/kernel/tests/aspace.cc +++ b/kernel/tests/aspace.cc @@ -24,7 +24,7 @@ namespace Mem { extern IMappable physmem; } -void thread(void *arg) +void thread(void *arg1, void *arg2) { // Yuck -- out param->return value promotion would turn it into // AddrSpace aspace = AddrSpace::downcast(Mem::proc_addr_space_factory.create()), @@ -149,5 +149,5 @@ void thread(void *arg) void run_test() { - Threads::sched.new_thread(thread, NULL, "thread")->wake(); + Threads::sched.new_thread(thread, NULL, NULL, "thread")->wake(); }