Coherent indentation

This commit is contained in:
augustin64 2024-03-26 17:45:20 +01:00
parent ea10ad5df1
commit c06df0b0b7
6 changed files with 180 additions and 174 deletions

View File

@ -25,3 +25,6 @@ int check_page_free_list(struct MMap *mmap);
int check_page_alloc(struct MMap *mmap);
int move_to_swap(struct MMap *mmap, struct PageInfo *page);
struct PageInfo* read_from_swap(struct MMap* mmap, struct PageInfo *page);
struct PageInfo *page_lookup(struct MMap *mmap, int key);
void page_remove(struct MMap *mmap, int key);
struct PageInfo *page_create(struct MMap *mmap, int *moved_to_swap);

3
TP/TP1/rendu/vmap.h Normal file
View File

@ -0,0 +1,3 @@
void *my_malloc(int size);
void my_free(void *data);
void my_copy(void *mem, void *data, int size);