diff --git a/headers/private/kernel/vm/vm.h b/headers/private/kernel/vm/vm.h index ce85089594..9cbf9848e4 100644 --- a/headers/private/kernel/vm/vm.h +++ b/headers/private/kernel/vm/vm.h @@ -76,7 +76,7 @@ void permit_page_faults(void); void forbid_page_faults(void); // private kernel only extension (should be moved somewhere else): -area_id create_area_etc(team_id team, const char *name, uint32 size, +area_id create_area_etc(team_id team, const char *name, size_t size, uint32 lock, uint32 protection, uint32 flags, uint32 guardSize, const virtual_address_restrictions* virtualAddressRestrictions, const physical_address_restrictions* physicalAddressRestrictions, diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp index c3c1fb1123..478a0e5ba7 100644 --- a/src/system/kernel/vm/vm.cpp +++ b/src/system/kernel/vm/vm.cpp @@ -6079,7 +6079,7 @@ clone_area(const char* name, void** _address, uint32 addressSpec, area_id -create_area_etc(team_id team, const char* name, uint32 size, uint32 lock, +create_area_etc(team_id team, const char* name, size_t size, uint32 lock, uint32 protection, uint32 flags, uint32 guardSize, const virtual_address_restrictions* virtualAddressRestrictions, const physical_address_restrictions* physicalAddressRestrictions,