coresrv.c File Reference

#include "core.h"

Defines

#define KSTRSIZE   256

Functions

void coresrv_init ()
int copy_from (asid_t from_asid, paddr_t from_pgdir, void *from_addr, void *to_addr, size_t len)
int copy_to (asid_t to_asid, paddr_t to_pgdir, void *from_addr, void *to_addr, size_t len)
int copy_from_str (paddr_t from_pgdir, asid_t from_asid, char *from_str, char *to_str, size_t max_len)
int ascopy_i (struct s_as_full *from_as, void *from_addr, struct s_as_full *to_as, void *to_addr, int len, int *err, int *suberr)
void sys_ascopy (struct s_tcb_full *caller)
void sys_copy (struct s_tcb_full *caller)
void sys_reboot (struct s_tcb_full *caller)
void sys_dwrite (struct s_tcb_full *caller)
void sys_dump (struct s_tcb_full *caller)
void sanity_check (char *s)
void sys_check (struct s_tcb_full *caller)
void sys_assert (struct s_tcb_full *caller)
void do_coresrv_syscall ()
void coresrv_syscall ()

Variables

vaddr_t vpt2
vaddr_t core_vpage1
vaddr_t copy_vpage1
paddr_t core_ppage
s_idt idt [MAX_CPUS]
pid_t next_pid
pid_t security_mgr_pid
t_rec_list rec_freelist
t_runq runqs [MAX_CPUS]
int nb_cpus
__cpu_simple_lock_t core_lock
t_corestats corestats [MAX_CPUS]
int copyverb = 0
s_tcb_full * coresrv = NULL
struct {
   char *   name
   t_line_parse_fun   fn
   t_sys_fn   fn
   char *   name
sys_fns []
int nb_sys_fns = ARRAY_COUNT(sys_fns)

Define Documentation

#define KSTRSIZE   256
 


Function Documentation

int ascopy_i struct s_as_full *  from_as,
void *  from_addr,
struct s_as_full *  to_as,
void *  to_addr,
int  len,
int *  err,
int *  suberr
 

int copy_from asid_t  from_asid,
paddr_t  from_pgdir,
void *  from_addr,
void *  to_addr,
size_t  len
 

int copy_from_str paddr_t  from_pgdir,
asid_t  from_asid,
char *  from_str,
char *  to_str,
size_t  max_len
 

int copy_to asid_t  to_asid,
paddr_t  to_pgdir,
void *  from_addr,
void *  to_addr,
size_t  len
 

void coresrv_init  ) 
 

void coresrv_syscall  ) 
 

void do_coresrv_syscall  ) 
 

void sanity_check char *  s  ) 
 

void sys_ascopy struct s_tcb_full *  caller  ) 
 

void sys_assert struct s_tcb_full *  caller  ) 
 

void sys_check struct s_tcb_full *  caller  ) 
 

void sys_copy struct s_tcb_full *  caller  ) 
 

void sys_dump struct s_tcb_full *  caller  ) 
 

void sys_dwrite struct s_tcb_full *  caller  ) 
 

void sys_reboot struct s_tcb_full *  caller  ) 
 


Variable Documentation

vaddr_t copy_vpage1
 

int copyverb = 0
 

__cpu_simple_lock_t core_lock
 

paddr_t core_ppage
 

vaddr_t core_vpage1
 

struct s_tcb_full* coresrv = NULL
 

t_corestats corestats[MAX_CPUS]
 

t_sys_fn fn
 

struct s_idt idt[MAX_CPUS]
 

char* name
 

int nb_cpus
 

int nb_sys_fns = ARRAY_COUNT(sys_fns)
 

pid_t next_pid
 

t_rec_list rec_freelist
 

t_runq runqs[MAX_CPUS]
 

pid_t security_mgr_pid
 

struct { ... } sys_fns[]
 

vaddr_t vpt2
 


Generated on Wed May 24 23:05:53 2006 for LSE/OS by  doxygen 1.4.6