* Moved memset_physical() to vm.cpp and made it available in the kernel.

* Added memcpy_to_physical().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28219 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-10-17 16:32:12 +00:00
parent 808de9c700
commit 901f1930e1
3 changed files with 68 additions and 24 deletions
+4
View File
@@ -99,6 +99,10 @@ uint32 vm_num_page_faults(void);
off_t vm_available_memory(void);
off_t vm_available_not_needed_memory(void);
status_t memset_physical(addr_t address, int value, size_t length);
status_t memcpy_to_physical(addr_t to, const void* from, size_t length,
bool user);
// user syscalls
area_id _user_create_area(const char *name, void **address, uint32 addressSpec,
size_t size, uint32 lock, uint32 protection);