Syscalls.h File Reference

Go to the source code of this file.

Defines

Functions


Define Documentation

#define MAX_SYSCALLS   10
 

Definition at line 4 of file tareas/punto/old/Syscalls.h.

#define SYS_CLRSCR   2
 

Definition at line 20 of file tareas/punto/old/Syscalls.h.

#define SYS_CONSOLE   (1 << 16)
 

Definition at line 8 of file tareas/punto/old/Syscalls.h.

#define SYS_EXEC   0
 

Definition at line 13 of file tareas/punto/old/Syscalls.h.

#define SYS_FLOW   (2 << 16)
 

Definition at line 9 of file tareas/punto/old/Syscalls.h.

#define SYS_FORK   2
 

Definition at line 15 of file tareas/punto/old/Syscalls.h.

#define SYS_GETS   1
 

Definition at line 19 of file tareas/punto/old/Syscalls.h.

#define SYS_PRINT   0
 

Definition at line 18 of file tareas/punto/old/Syscalls.h.

#define SYS_PROCESS   0
 

Definition at line 7 of file tareas/punto/old/Syscalls.h.

#define SYS_SLEEP   0
 

Definition at line 23 of file tareas/punto/old/Syscalls.h.

#define SYS_TIMER   (3 << 16)
 

Definition at line 10 of file tareas/punto/old/Syscalls.h.

#define SYS_VOID   1
 

Definition at line 14 of file tareas/punto/old/Syscalls.h.


Function Documentation

int sys_exec char *  nombre  ) 
 

Genera un nuevo proceso a partir de un ejecutable COFF32.

Parameters:
path donde se encuentra el ejecutable
Returns:
-1 en caso de error.
Todo:
Liberar recursos en caso de error

Definition at line 234 of file sys_proc.c.

int sys_gets char *  str  ) 
 

Definition at line 64 of file sys_con.c.

int sys_no_existe dword  numero  ) 
 

Se ejecuta cuando se hace una llama a una syscall inexistente.

Todo:
Verificar que dice POSIX respecto a realizar llamadas erroneas (probablemente se genera alguna señal)

Definition at line 59 of file syscalls.c.

int sys_print void *  buff,
size_t  largo
 

Definition at line 43 of file sys_con.c.

int sys_putc char   ) 
 

int sys_sleep int  segundos  ) 
 

Definition at line 61 of file sys_time.c.

int sys_void void   ) 
 

Sólo imprime un mensaje (utilizada tiempo atrás para propósitos de debug).

Definition at line 62 of file sys_proc.c.

void syscall void   ) 
 


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