system.h File Reference

#include "sys/types.h"

Go to the source code of this file.

Defines

Functions

Variables


Define Documentation

 
#define _cli  )     __asm__ __volatile__ ("cli")
 

Definition at line 51 of file system.h.

Referenced by scheduler(), and sys_waitpid().

 
#define _sti  )     __asm__ __volatile__ ("sti")
 

Definition at line 52 of file system.h.

Referenced by scheduler(), and sys_waitpid().

 
#define cli  )     __asm__ __volatile__ ("pushf ; cli")
 

Definition at line 48 of file system.h.

Referenced by atomic_add(), atomic_asign(), atomic_dec(), atomic_inc(), atomic_sub(), despertar_task(), dormir_task(), exec_sigpending(), free(), getchar(), insertar_tarea(), leer_buff_teclado(), malloc(), scroll_up(), sleep_init(), sys_exec(), sys_execve(), sys_fork(), and wakeup_init().

#define DESC_CODE   1<<3
 

Definition at line 30 of file system.h.

Referenced by inicializarInterrupciones(), and start_scheduler().

#define DESC_CODE_USUARIO   3<<3 | 3
 

Definition at line 32 of file system.h.

Referenced by sys_exec(), and sys_execve().

#define DESC_DATA   2<<3
 

Definition at line 31 of file system.h.

Referenced by inicializarTss(), init_MM_base(), and start_scheduler().

#define DESC_DATA_USUARIO   4<<3 | 3
 

Definition at line 33 of file system.h.

Referenced by sys_exec(), sys_execve(), and sys_fork().

#define DESC_TSS0   5<<3
 

Definition at line 34 of file system.h.

Referenced by init_MM_base().

#define DESC_TSS1   6<<3
 

Definition at line 35 of file system.h.

#define KERNEL_CODE   0xc0000000
 

Definition at line 23 of file system.h.

Referenced by init_MM_base().

#define KERNEL_DATA   0xc8000000
 

Definition at line 24 of file system.h.

Referenced by init_MM_base().

#define KERNEL_END   KERNEL_FSTACK_TOP
 

Definition at line 21 of file system.h.

Referenced by kmain().

#define KERNEL_FCODE   0
 

Definition at line 15 of file system.h.

Referenced by init(), and init_MM_base().

#define KERNEL_FDATA   0x100000
 

Definition at line 16 of file system.h.

Referenced by init(), and init_MM_base().

#define KERNEL_FSTACK   KERNEL_FSTACK_TOP - KERNEL_STACK_SIZE
 

Definition at line 19 of file system.h.

Referenced by init_MM_base().

#define KERNEL_FSTACK_TOP   0x200000
 

Definition at line 17 of file system.h.

#define KERNEL_INTERRUPT   KERNEL_STACK_TOP
 

Definition at line 27 of file system.h.

Referenced by inicializarInterrupciones().

#define KERNEL_STACK   0xd0000000
 

Definition at line 25 of file system.h.

#define KERNEL_STACK_SIZE   0x20000
 

Definition at line 18 of file system.h.

Referenced by init_MM_base().

#define KERNEL_STACK_TOP   KERNEL_STACK + 0x8000000
 

Definition at line 26 of file system.h.

Referenced by init_MM_base().

 
#define nop  )     __asm__ __volatile__ ("nop")
 

Definition at line 46 of file system.h.

#define rdtscl low   )     __asm__ __volatile__ ("rdtsc" : "=A" (low))
 

Definition at line 10 of file system.h.

Referenced by cache_read(), read(), and sys_exec().

 
#define sti  )     __asm__ __volatile__ ("popf")
 

Definition at line 49 of file system.h.

Referenced by atomic_add(), atomic_asign(), atomic_dec(), atomic_inc(), atomic_sub(), despertar_task(), dormir_task(), exec_sigpending(), free(), getchar(), insertar_tarea(), leer_buff_teclado(), malloc(), scroll_up(), sleep_init(), sys_exec(), sys_execve(), sys_fork(), and wakeup_init().


Function Documentation

int getvar char *   ) 
 

Definition at line 103 of file sys_misc.c.

Referenced by cache_read(), check_sigpending(), get_free_page(), kfree_page(), kmapmem(), kunmapmem(), leer_escribir_new(), main(), read(), recalibrate_block_new(), recalibrate_new(), seek_block_new(), seek_new(), setvar(), sys_exec(), sys_exit_mm(), sys_exit_notify(), sys_getvar(), sys_kill(), sys_show(), sys_signal(), and sys_waitpid().

void kpanic char *  str  ) 
 

Definition at line 148 of file error.c.

Referenced by init_new_task(), and tarea_init().

void kprintf char *  string,
... 
 

Definition at line 38 of file libk.c.

Referenced by asctime(), bisiestos(), cache_read(), dump_tm(), ExcepcionHandler(), exec_sig_default(), fat_12(), fat_file_find(), fat_root_dir(), fat_test(), get_free_page(), inicializacion_kmalloc(), inicializarInterrupciones(), init_8254(), init_all_memory(), init_time(), kfree_page(), kmain(), kmapmem(), kpanic(), kunmapmem(), leer_escribir_new(), levantar_fat(), local(), localtime(), open(), open_FAT12(), perror(), print_fat_info(), print_free_pages(), ps(), read(), recalibrate_block_new(), recalibrate_new(), seek_block_new(), seek_new(), setvar(), show_cached_list(), sys_exec(), sys_exit_mm(), sys_exit_notify(), sys_fork(), sys_free_page(), sys_kill(), sys_no_existe(), sys_proc_dump(), sys_proc_dump_v(), sys_read_debug(), sys_show(), sys_signal(), sys_void(), sys_waitpid(), tarea_init(), task_debug(), time_debug(), timer_dump(), and umalloc_page().

int setvar char *  ,
int 
 

Definition at line 77 of file sys_misc.c.

Referenced by main(), and sys_setvar().

int sys_putc char   ) 
 


Variable Documentation

addr_t KERNEL_PDT
 

Definition at line 40 of file system.h.

Referenced by kmain(), and levantar_fat().

dword memoria
 

Definition at line 38 of file system.h.

Referenced by init_all_memory(), init_MM(), and kmain().

addr_t USER_PDT
 

Definition at line 41 of file system.h.

Referenced by kmain(), and make_pdt().


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