重写rust核心库,构建中断处理框架 #6

Merged
pointer-to-bios merged 18 commits from pointer-to-bios/metaverse-dev:main into main 2024-05-03 05:45:43 +08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 8e2d61de4a - Show all commits

View File

@ -77,6 +77,7 @@ inline static void scroll_buffer(
usize dist) usize dist)
{ {
memcpy(buffer, buffer + width * pixsize * dist, (height - dist) * width * pixsize); memcpy(buffer, buffer + width * pixsize * dist, (height - dist) * width * pixsize);
memset(buffer + (height - dist) * width * pixsize, 0, dist * width * pixsize);
} }
inline static void putchar( inline static void putchar(