TacOS
0.2
|
Fonctions | |
void | pagination_map (struct page_directory_entry *pagination_kernel, paddr_t page_addr, vaddr_t v_page_addr) |
void | pagination_create_page_dir (struct page_directory_entry *pagination_kernel, int index_pd) |
void | pagination_identity_map_addr (struct page_directory_entry *pagination_kernel, paddr_t page_addr) |
Mappe une adresse en identity mapping. Plus de détails... | |
void | pagination_setup () |
Activation de la pagination et initialisation. Plus de détails... | |
void | pagination_init_page_directory (struct page_directory_entry *pd) |
Initialise un repertoire de page. Plus de détails... | |
void | pagination_init_page_directory_copy_kernel_only (struct page_directory_entry *pd, paddr_t pd_paddr) |
vaddr_t | get_page_table_vaddr (int index_page) |
Copyright (C) 2010-2014 TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
Description de ce que fait le fichier
vaddr_t get_page_table_vaddr | ( | int | index_page | ) |
Retourne l'emplacement en mémoire virtuelle reservé pour la table de page correspondant à cet identifiant
void pagination_identity_map_addr | ( | struct page_directory_entry * | pagination_kernel, |
paddr_t | page_addr | ||
) |
Cette fonction sert à mapper une adresse par identity mapping. Cela ne peut être fait qu'avant l'activation de la pagination !
pagination_kernel | |
page_addr |
void pagination_init_page_directory | ( | struct page_directory_entry * | pd | ) |
Initialise un repertoire de page vide.
pd | le repertoire de page à initialiser. |
void pagination_setup | ( | ) |
Cette fonction s'occupe d'activer la pagination. (identity mapping entre autre qui permet de pas briser le lien addr phys et addr lineaire au début)