Kernel: Reading from negative offset in fb dev gives out info
This commit is contained in:
19
libc/include/sys/framebuffer.h
Normal file
19
libc/include/sys/framebuffer.h
Normal 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
|
||||
Reference in New Issue
Block a user