syscall: handle: add stub implementation of kern_handle_control
This commit is contained in:
@@ -153,6 +153,12 @@ extern kern_status_t sys_kern_handle_transfer(
|
|||||||
kern_handle_t dest_handle,
|
kern_handle_t dest_handle,
|
||||||
unsigned int mode,
|
unsigned int mode,
|
||||||
kern_handle_t *out_handle);
|
kern_handle_t *out_handle);
|
||||||
|
extern kern_status_t sys_kern_handle_control(
|
||||||
|
kern_handle_t task,
|
||||||
|
kern_handle_t handle,
|
||||||
|
uint32_t set_mask,
|
||||||
|
uint32_t clear_mask,
|
||||||
|
uint32_t *out_flags);
|
||||||
extern kern_status_t sys_kern_config_get(
|
extern kern_status_t sys_kern_config_get(
|
||||||
kern_config_key_t key,
|
kern_config_key_t key,
|
||||||
void *ptr,
|
void *ptr,
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ static const virt_addr_t syscall_table[] = {
|
|||||||
SYSCALL_TABLE_ENTRY(KERN_LOG, kern_log),
|
SYSCALL_TABLE_ENTRY(KERN_LOG, kern_log),
|
||||||
SYSCALL_TABLE_ENTRY(KERN_HANDLE_CLOSE, kern_handle_close),
|
SYSCALL_TABLE_ENTRY(KERN_HANDLE_CLOSE, kern_handle_close),
|
||||||
SYSCALL_TABLE_ENTRY(KERN_HANDLE_TRANSFER, kern_handle_transfer),
|
SYSCALL_TABLE_ENTRY(KERN_HANDLE_TRANSFER, kern_handle_transfer),
|
||||||
|
SYSCALL_TABLE_ENTRY(KERN_HANDLE_CONTROL, kern_handle_control),
|
||||||
SYSCALL_TABLE_ENTRY(KERN_CONFIG_GET, kern_config_get),
|
SYSCALL_TABLE_ENTRY(KERN_CONFIG_GET, kern_config_get),
|
||||||
SYSCALL_TABLE_ENTRY(KERN_CONFIG_SET, kern_config_set),
|
SYSCALL_TABLE_ENTRY(KERN_CONFIG_SET, kern_config_set),
|
||||||
SYSCALL_TABLE_ENTRY(CHANNEL_CREATE, channel_create),
|
SYSCALL_TABLE_ENTRY(CHANNEL_CREATE, channel_create),
|
||||||
|
|||||||
@@ -146,3 +146,13 @@ cleanup:
|
|||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kern_status_t sys_kern_handle_control(
|
||||||
|
kern_handle_t task,
|
||||||
|
kern_handle_t handle,
|
||||||
|
uint32_t set_mask,
|
||||||
|
uint32_t clear_mask,
|
||||||
|
uint32_t *out_flags)
|
||||||
|
{
|
||||||
|
return KERN_UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user