Updated for the new BeOS compatible syscalls - create_area() is no longer
broken. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4317 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
beb1a1b992
commit
fe8a9052c0
@ -9,12 +9,10 @@
|
||||
|
||||
|
||||
area_id
|
||||
create_area(const char *name, void **start_addr, uint32 addr_spec, size_t size,
|
||||
create_area(const char *name, void **address, uint32 addressSpec, size_t size,
|
||||
uint32 lock, uint32 protection)
|
||||
{
|
||||
// ToDo: create_area: names don't match, but basic function does.
|
||||
// Little work needed on addr_spec.
|
||||
return sys_vm_create_anonymous_region(name, start_addr, addr_spec, size, lock, protection);
|
||||
return _kern_create_area(name, address, addressSpec, size, lock, protection);
|
||||
}
|
||||
|
||||
|
||||
@ -45,7 +43,7 @@ area_for(void *addr)
|
||||
status_t
|
||||
delete_area(area_id id)
|
||||
{
|
||||
return sys_vm_delete_region(id);
|
||||
return _kern_delete_area(id);
|
||||
}
|
||||
|
||||
|
||||
|
@ -123,10 +123,10 @@ SYSCALL6(sys_stop_watching, 119)
|
||||
SYSCALL2(sys_stop_notifying, 120)
|
||||
|
||||
/* VM calls */
|
||||
SYSCALL6(sys_vm_create_anonymous_region, 29)
|
||||
SYSCALL6(_kern_create_area, 29)
|
||||
SYSCALL6(sys_vm_clone_region, 30)
|
||||
SYSCALL9(sys_vm_map_file, 31)
|
||||
SYSCALL1(sys_vm_delete_region, 32)
|
||||
SYSCALL1(_kern_delete_area, 32)
|
||||
SYSCALL2(sys_vm_get_region_info, 33)
|
||||
SYSCALL1(sys_find_region_by_name, 34)
|
||||
SYSCALL1(sys_kill_team, 39)
|
||||
|
Loading…
Reference in New Issue
Block a user