sys_misc.c File Reference

#include "routix/system.h"
#include "routix/paging.h"
#include "routix/segm.h"
#include "routix/debug.h"
#include "sys/syscalls.h"
#include "routix/syscalls.h"
#include "error.h"
#include "routix/kalloc.h"
#include <routix/kstdio.h>
#include "string.h"
#include "routix/task.h"
#include "routix/misc.h"
#include "routix/device.h"
#include "fs/blockcache.h"

Go to the source code of this file.

Defines

Functions

Variables


Define Documentation

#define VAR_NAME_MAX   15
 

Definition at line 50 of file sys_misc.c.

Referenced by setvar().

#define VARIABLES_MAX   12
 

Definition at line 49 of file sys_misc.c.

Referenced by find_empty_var(), find_var(), and init_var().


Function Documentation

int find_empty_var void   ) 
 

Definition at line 126 of file sys_misc.c.

Referenced by setvar().

int find_var char *  nombre  ) 
 

Definition at line 115 of file sys_misc.c.

Referenced by getvar(), and setvar().

int getvar char *  nombre  ) 
 

Definition at line 103 of file sys_misc.c.

void init_var void   ) 
 

Definition at line 57 of file sys_misc.c.

Referenced by kmain().

int setvar char *  nombre,
int  valor
 

Definition at line 77 of file sys_misc.c.

int sys_getvar char *  nombre  )  [inline]
 

Definition at line 70 of file sys_misc.c.

void sys_read_debug int  sector  ) 
 

Definition at line 175 of file sys_misc.c.

int sys_setvar char *  nombre,
int  valor
[inline]
 

Definition at line 65 of file sys_misc.c.


Variable Documentation

task_struct_t* actual
 

Definition at line 27 of file sys_misc.c.

char nombre[VAR_NAME_MAX + 1]
 

Definition at line 52 of file sys_misc.c.

int(* syscall_misc[MAX_SYSCALLS])(void) =
 

Definition at line 36 of file sys_misc.c.

int valor
 

Definition at line 53 of file sys_misc.c.

Referenced by exit(), floppy_sendbyte(), getascii(), getascii_video(), gets(), inportb(), inportb_p(), main(), set_dor(), set_value(), setvar(), show(), spin_lock(), sys_setvar(), sys_show(), wait(), and waitpid().

struct { ... } variables[VARIABLES_MAX]
 

Referenced by find_empty_var(), find_var(), getvar(), init_var(), and setvar().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6