diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-09 23:34:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-09 23:34:46 +0100 |
commit | 011d99fc5f90b1e2b51f7b96688bdcbbb944e104 (patch) | |
tree | 20a2a03ef168a09185b77fbea04adfeefc1d99bf /src/kernel/include/pager.h | |
parent | e499d74b6f0b57f9a11486c346dbc335e4f8433d (diff) | |
download | kogata-011d99fc5f90b1e2b51f7b96688bdcbbb944e104.tar.gz kogata-011d99fc5f90b1e2b51f7b96688bdcbbb944e104.zip |
VESA mode setting ; displays kogata logo!
Diffstat (limited to 'src/kernel/include/pager.h')
-rw-r--r-- | src/kernel/include/pager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/include/pager.h b/src/kernel/include/pager.h index 7f93b8c..03e5da4 100644 --- a/src/kernel/include/pager.h +++ b/src/kernel/include/pager.h @@ -37,7 +37,7 @@ typedef struct pager { vfs_pager_ops_t *ops; } vfs_pager; struct { - size_t phys_offset; + void* phys_offset; } device_pager; }; @@ -51,7 +51,9 @@ typedef struct pager { pager_t* new_swap_pager(size_t size); pager_t* new_vfs_pager(size_t size, fs_node_t* vfs_node, vfs_pager_ops_t *vfs_ops); -pager_t* new_device_pager(size_t size, size_t phys_offset); +pager_t* new_device_pager(size_t size, void* phys_offset); + +void change_device_pager(pager_t *p, size_t new_size, void* new_phys_offset); void delete_pager(pager_t *p); |