kernelland_emu: Added missing user_memset()
Change-Id: I703525d73572c812b1adf8b4c4805a624c3b7df7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6839 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
c70aca1135
commit
9f21874394
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2010, Haiku Inc. All Rights Reserved.
|
* Copyright 2002-2023, Haiku Inc. All Rights Reserved.
|
||||||
* Distributed under the terms of the MIT license.
|
* Distributed under the terms of the MIT license.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -29,6 +29,14 @@ user_strlcpy(char *to, const char *from, size_t size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
extern "C" status_t
|
||||||
|
user_memset(void* target, char data, size_t length)
|
||||||
|
{
|
||||||
|
memset(target, data, length);
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
page_num_t
|
page_num_t
|
||||||
vm_page_num_pages(void)
|
vm_page_num_pages(void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user