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:
@@ -24,6 +24,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
kernel_args gKernelArgs;
|
||||||
|
|
||||||
|
|
||||||
extern "C" int
|
extern "C" int
|
||||||
main(stage2_args *args)
|
main(stage2_args *args)
|
||||||
{
|
{
|
||||||
@@ -95,7 +98,7 @@ main(stage2_args *args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
heap_release();
|
heap_release(args);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user