|
nckernel
0.1
|
#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stddef.h>#include <stdarg.h>#include <stdint.h>#include <unistd.h>#include <errno.h>#include <arch.h>#include <paging.h>#include <initm.h>#include <debug.h>
Go to the source code of this file.
Data Structures | |
| struct | head_info |
| struct | info |
| VMA 가 Enable 된 이후에 사용 가능한 전역 변수임 More... | |
| struct | tail_info |
| 4 KB 크기의 범위 안에서 tail_info 의 남는 메모리 공간을 시스템 초기화에 사용하기로 한다. 마땅히, 시스템 초기화 정보를 저장할 곳을 정하기 애매하고, 또, tail info 의 남는 공간은 낭비 되기 때문에 사용하기로 한다. More... | |
Functions | |
| void * | initm_alloc (void *initm) |
| initm 에 청크를 할당한다 More... | |
| void * | initm_find_pma (void *vma) |
| void * | initm_find_vma (void *pma) |
| initm_set_pma 함수에서 설정된 값을 이용해 pma 에 해당하는 vma 주소를 찾는다 More... | |
| int | initm_free (void *initm, void *addr) |
| initm 에 할당된 메모리 청크를 해제한다 More... | |
| size_t | initm_free_size (void *initm) |
| int | initm_init (void *initm, size_t size) |
| initm 의 자료구조를 초기화 한다 More... | |
| void * | initm_pma (void) |
| void | initm_set_pma (void *initm) |
| PMA 상의 initm 의 시작 주소를 지정 More... | |
| void | initm_set_vma (void *initm) |
| VMA 상의 initm 의 시작 주소를 지정 More... | |
| size_t | initm_size (void *initm) |
| initm 에 할당된 메모리 크기 More... | |
| void | initm_update_for_vma (void) |
| void * | initm_vma (void) |
| VMA 상에서의 initm 의 시작 주소를 가져온다 More... | |
1.8.4