#include "debug.h"#include "kernel.h"#include "system.h"#include "proc.h"#include "vm.h"#include <stdlib.h>#include <signal.h>#include <unistd.h>#include <string.h>#include <sys/sigcontext.h>#include <minix/endpoint.h>#include <minix/safecopies.h>#include <minix/portio.h>Go to the source code of this file.
Defines | |
| #define | map(call_nr, handler) |
Functions | |
| FORWARD | _PROTOTYPE (void initialize,(void)) |
| FORWARD | _PROTOTYPE (struct proc *vmrestart_check,(message *)) |
| PUBLIC void | sys_task () |
| PRIVATE void | initialize (void) |
| PUBLIC int | get_priv (struct proc *rc, int priv_id) |
| PUBLIC void | set_sendto_bit (struct proc *rp, int id) |
| PUBLIC void | unset_sendto_bit (struct proc *rp, int id) |
| PUBLIC void | send_sig (int proc_nr, int sig_nr) |
| PUBLIC void | cause_sig (proc_nr_t proc_nr, int sig_nr) |
| PUBLIC void | sig_delay_done (struct proc *rp) |
| PUBLIC phys_bytes | umap_bios (vir_bytes vir_addr, vir_bytes bytes) |
| PUBLIC phys_bytes | umap_grant (struct proc *rp, cp_grant_id_t grant, vir_bytes bytes) |
| PUBLIC void | clear_endpoint (struct proc *rc) |
| PRIVATE struct proc * | vmrestart_check (message *m) |
Variables | |
| PUBLIC int(* | call_vec [NR_SYS_CALLS])(message *m_ptr) |
| char * | callnames [NR_SYS_CALLS] |
Value:
{extern int dummy[NR_SYS_CALLS>(unsigned)(call_nr-KERNEL_CALL) ? 1:-1];} \
callnames[(call_nr-KERNEL_CALL)] = #call_nr; \
call_vec[(call_nr-KERNEL_CALL)] = (handler)
| FORWARD _PROTOTYPE | ( | void | initialize, | |
| (void) | ||||
| ) |
| PUBLIC phys_bytes umap_bios | ( | vir_bytes | vir_addr, | |
| vir_bytes | bytes | |||
| ) |
| PUBLIC phys_bytes umap_grant | ( | struct proc * | rp, | |
| cp_grant_id_t | grant, | |||
| vir_bytes | bytes | |||
| ) |
1.5.8