summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/driver.h
blob: 0c4ecd5dc71f8fe61705ce07d6b295bd6edf2d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include <kernel/types.h>
#include <stddef.h>
#include <stdint.h>

struct GfxInfo {
	char *b;
	uint32_t width, height;
	uint32_t pitch; /* width in bytes of a single scanline */
	size_t size;
	uint8_t bpp;
};

void pata_init(void);
void ps2_init(void);
void rtl8139_init(uint32_t bdf);
void vfs_root_init(void);
void video_init(GfxInfo);