[haiku-development] Re: _kern_reserve_address_range

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 15 Mar 2016 22:27:57 +0100

On Tue, Mar 15, 2016 at 05:12:11PM -0400, Tim Kelly wrote:

Tim Kelly wrote:
That's actually _user_reserve_address_range.  I'm looking for
_kernel_reserve_address_range, which is stubbed out in
src/system/libroot/stubbed/libroot_stubs.c. _kernel_reserve_address_range
gets called by runtime_loader, which is of interest to me.

Retract that statement - trying to get clarification.  Are
_user_reserve_address_range and _kernel_reserve_address_range effectively
the same?

There is some naming magic happening here, _user_* are the
implementation of syscalls on the kernel side. _kernel_* are the handles
to these syscalls on the userland side, and are automatically generated.

Relevant docs on the syscall implementation:
https://www.haiku-os.org/documents/dev/hello_kernel_you_have_a_syscall_from_userland

-- 
Adrien.

Other related posts: