This commit is contained in:
fslongjin
2022-04-07 16:12:23 +08:00
parent ecd9ba36b6
commit 68c7b52192
3 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,7 @@ int printk_init(const int char_size_x, const int char_size_y)
// @todo:将来需要将帧缓冲区物理地址填写到这个地址的页表项中
VBE_FB_phys_addr = (ul)info.framebuffer_addr;
pos.FB_address = (uint *)0x0000000003000000;
pos.FB_length = pos.width * pos.height;
pos.FB_length = 1UL*pos.width * pos.height;
// ======== 临时的将物理地址填写到0x0000000003000000处 之后会在mm内将帧缓存区重新映射=====