Coherent indentation
This commit is contained in:
parent
ea10ad5df1
commit
c06df0b0b7
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
struct linkedList* createLinkedList() {
|
struct linkedList* createLinkedList() {
|
||||||
struct linkedList *list = (struct linkedList*) malloc(sizeof(struct linkedList));
|
struct linkedList *list = (struct linkedList*)malloc(sizeof(struct linkedList));
|
||||||
list->head = NULL;
|
list->head = NULL;
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
@ -25,3 +25,6 @@ int check_page_free_list(struct MMap *mmap);
|
|||||||
int check_page_alloc(struct MMap *mmap);
|
int check_page_alloc(struct MMap *mmap);
|
||||||
int move_to_swap(struct MMap *mmap, struct PageInfo *page);
|
int move_to_swap(struct MMap *mmap, struct PageInfo *page);
|
||||||
struct PageInfo* read_from_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
3
TP/TP1/rendu/vmap.h
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
void *my_malloc(int size);
|
||||||
|
void my_free(void *data);
|
||||||
|
void my_copy(void *mem, void *data, int size);
|
Loading…
Reference in New Issue
Block a user