diff options
Diffstat (limited to 'src/drivers/vgatext.cc')
| -rw-r--r-- | src/drivers/vgatext.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/vgatext.cc b/src/drivers/vgatext.cc index 6a5a1b2..84d28df 100644 --- a/src/drivers/vgatext.cc +++ b/src/drivers/vgatext.cc @@ -1,6 +1,7 @@ #include "vgatext.hpp" #include "boucane.hpp" +#include "core/paging.hpp" #define MAX_COL 80 #define MAX_LINE 25 @@ -14,7 +15,7 @@ VIDEO_STATE VS={ }; void vgatext_init(){ - PAGE_RMAP(0xB8000,4096*2); + PAGE_VIRT_RMAP(0xB8000,PAGING_OPT_DEFAULTS,2); VS.mem=(u8*)VIRT(0xB8000); } |
