implement mlock(), munlock()
Change-Id: I2f04b8986d2ed32bb4d30d238d668e21a1505778 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1991 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
0dc6805e00
commit
a959262cd0
@@ -448,6 +448,9 @@ extern status_t _kern_memory_advice(void *address, size_t size,
|
||||
extern status_t _kern_get_memory_properties(team_id teamID,
|
||||
const void *address, uint32* _protected, uint32* _lock);
|
||||
|
||||
extern status_t _kern_mlock(const void* address, size_t size);
|
||||
extern status_t _kern_munlock(const void* address, size_t size);
|
||||
|
||||
/* kernel port functions */
|
||||
extern port_id _kern_create_port(int32 queue_length, const char *name);
|
||||
extern status_t _kern_close_port(port_id id);
|
||||
|
||||
Reference in New Issue
Block a user