feature: vbe is enabled, drivers for vbe tbd
This commit is contained in:
@ -20,6 +20,8 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
// https://imgflip.com/i/9cflls
|
||||
|
||||
#pragma once
|
||||
|
||||
/* How many bytes from the start of the file we search for the header. */
|
||||
@ -260,3 +262,7 @@ struct multiboot_apm_info {
|
||||
};
|
||||
|
||||
#endif /* ! ASM_FILE */
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void init_multiboot(multiboot_info_t *mbd, uint32_t magic);
|
||||
|
12
headers/vbe.h
Normal file
12
headers/vbe.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct vbe_interface {
|
||||
uint32_t *buff;
|
||||
uint16_t height;
|
||||
uint16_t width;
|
||||
uint8_t bpp;
|
||||
};
|
||||
|
||||
extern struct vbe_interface display;
|
Reference in New Issue
Block a user