VM: vm_memset_physical(): Correct length parameter type

This commit is contained in:
Ingo Weinhold
2013-11-11 22:27:52 +01:00
parent 81fd469dcf
commit e5f6591382
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ off_t vm_available_not_needed_memory(void);
off_t vm_available_not_needed_memory_debug(void);
size_t vm_kernel_address_space_left(void);
status_t vm_memset_physical(phys_addr_t address, int value, size_t length);
status_t vm_memset_physical(phys_addr_t address, int value, phys_size_t length);
status_t vm_memcpy_from_physical(void* to, phys_addr_t from, size_t length,
bool user);
status_t vm_memcpy_to_physical(phys_addr_t to, const void* from, size_t length,
+1 -1
View File
@@ -4975,7 +4975,7 @@ vm_resize_area(area_id areaID, size_t newSize, bool kernel)
status_t
vm_memset_physical(phys_addr_t address, int value, size_t length)
vm_memset_physical(phys_addr_t address, int value, phys_size_t length)
{
return sPhysicalPageMapper->MemsetPhysical(address, value, length);
}