#include "routix/system.h"
Go to the source code of this file.
|
Alinea una dirección a 4 bytes (cuidado, alinea hacia abajo).
Definition at line 84 of file paging.h. Referenced by sys_execve(). |
|
|
|
Obtiene el "offset" de una dirección dentro de una página.
Definition at line 86 of file paging.h. Referenced by sys_exec(), and sys_execve(). |
|
Definition at line 62 of file paging.h. Referenced by init_MM(). |
|
Definition at line 65 of file paging.h. Referenced by init_MM(). |
|
Definition at line 66 of file paging.h. Referenced by init_MM(). |
|
Definition at line 28 of file paging.h. Referenced by inicializarInterrupciones(), init_all_memory(), init_MM_base(), kmapmem(), levantar_fat(), sys_fork(), and umalloc_page(). |
|
Atributos de Pagina.
Definition at line 27 of file paging.h. Referenced by inicializarInterrupciones(), init_all_memory(), init_MM_base(), kmapmem(), levantar_fat(), sys_fork(), and umalloc_page(). |
|
Definition at line 29 of file paging.h. Referenced by init_all_memory(), init_MM_base(), kmapmem(), and levantar_fat(). |
|
Definition at line 30 of file paging.h. Referenced by sys_fork(), and umalloc_page(). |
|
|
|
Definition at line 14 of file paging.h. Referenced by init_all_memory(), init_MM_base(), kmapmem(), and kunmapmem(). |
|
Definition at line 16 of file paging.h. Referenced by inicializarTss(), init_all_memory(), init_MM(), and init_MM_base(). |
|
Definition at line 17 of file paging.h. Referenced by init_MM_base(). |
|
Definition at line 23 of file paging.h. Referenced by init_MM_base(). |
|
Definition at line 18 of file paging.h. Referenced by init_MM_base(). |
|
Definition at line 19 of file paging.h. Referenced by init_MM_base(). |
|
Definition at line 20 of file paging.h. Referenced by init_MM_base(). |
|
|
|
Definition at line 13 of file paging.h. Referenced by get_page_index(). |
|
Estructura utilizada para indicar en que directorio y en que tabla se mapea una dirección lógica.
|
|
|
|
Page Directory entry.
Definition at line 39 of file paging.h. Referenced by kmapmem(), and make_pde(). |
|
|
|
Page Table entry.
Definition at line 37 of file paging.h. Referenced by kmapmem(), and make_pte(). |
|
Convierte una direccion logica respecto a cierto CR3 a una direccion de memoria fisica.
Definition at line 27 of file paging.c. Referenced by exec_sigpending(), sys_exec(), sys_execve(), sys_gets(), sys_getvar(), sys_perror(), sys_print(), sys_setvar(), sys_sigaction(), sys_signal_check(), sys_sigprocmask(), sys_void(), and sys_waitpid(). |
|
Copia una página entera (optimizado para velocidad). Copia una pagina completa, moviendo de a 4 bytes (movsl) una cantidad de PAGINA_SIZE / sizeof(dword) (1024 veces si PAGINA_SIZE=4096 y el dword es de 4 bytes Definition at line 200 of file paging.c. Referenced by kmain(), make_pdt(), and sys_fork(). |
|
Mapea una dirección física en una lógica.
Definition at line 89 of file paging.c. Referenced by levantar_fat(), sys_fork(), and umalloc_page(). |
|
"Desmapea" una dirección lógica Esta función se encarga de liberar la tabla de página si no posee entradas
Definition at line 144 of file paging.c. Referenced by sys_exit_mm(). |
|
Crea una entrada de directorio (tanto para directorio como para tabla, ya que son iguales en IA32).
Definition at line 50 of file paging.c. Referenced by inicializarInterrupciones(), init_all_memory(), init_MM_base(), and kmapmem(). |
|
Genera un directorio de páginas para un proceso. Copia todo el mapeo del sistema contenido en el directorio del Kernel.
Definition at line 187 of file paging.c. Referenced by init_new_task(). |
|
Crea una entrada de Pagina (tanto para directorio como para tabla, ya que son iguales en IA32).
Definition at line 60 of file paging.c. Referenced by inicializarInterrupciones(), init_all_memory(), init_MM_base(), and kmapmem(). |
|
Devuelve los indices del Directorio y tabla de paginas para una direccion lógica.
|