Kernel: Reading from negative offset in fb dev gives out info

This commit is contained in:
2023-11-28 23:47:49 +02:00
parent 09b7cb2f33
commit d86ecf4f61
2 changed files with 32 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
#ifndef _FRAMEBUFFER_H
#define _FRAMEBUFFER_H 1
#include <sys/cdefs.h>
__BEGIN_DECLS
#include <stdint.h>
struct framebuffer_info_t
{
uint32_t width;
uint32_t height;
uint8_t bpp;
};
__END_DECLS
#endif