Now declares the gKernelArgs variable to pass to the kernel.
Calls heap_release() with stage2_args. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4967 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a4fab93eee
commit
9e88f0cfd2
@ -24,6 +24,9 @@
|
||||
#endif
|
||||
|
||||
|
||||
kernel_args gKernelArgs;
|
||||
|
||||
|
||||
extern "C" int
|
||||
main(stage2_args *args)
|
||||
{
|
||||
@ -95,7 +98,7 @@ main(stage2_args *args)
|
||||
}
|
||||
|
||||
out:
|
||||
heap_release();
|
||||
heap_release(args);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user