Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexandru Dura
pintos-public
Commits
e901f4e8
Commit
e901f4e8
authored
Apr 16, 2020
by
Flavius Gruian
Browse files
Swap implementation for Lab4 now made available.
parent
624005bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vm/swap.h
0 → 100644
View file @
e901f4e8
#ifndef VM_SWAP_H
#define VM_SWAP_H
#include
<stdio.h>
void
swap_init
(
void
);
size_t
swap_out
(
const
void
*
kpage
);
bool
swap_in
(
size_t
block_index
,
void
*
kpage
);
void
swap_free
(
size_t
block_index
);
void
swap_destroy
(
void
);
#endif
/* VM_SWAP_H */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment