Explorar o código

:art: 明确FB_length的定义

fslongjin %!s(int64=3) %!d(string=hai) anos
pai
achega
eb11be9270
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      kernel/common/printk.h

+ 1 - 1
kernel/common/printk.h

@@ -47,7 +47,7 @@ struct screen_info
 
     uint *FB_address; //帧缓冲区首地址
 
-    unsigned long FB_length; // 帧缓冲区长度
+    unsigned long FB_length; // 帧缓冲区长度(乘以4才是字节数)
 };
 
 extern unsigned char font_ascii[256][16]; //导出ascii字体的bitmap(8*16大小) ps:位于font.h中