blob: 9b7f5c333f1f6dd077153079658393e982dc9c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef VGA_H
#define VGA_H
#include "string.h"
#include "interrupts.h"
#include "port.h"
#include "driver.h"
typedef struct {
driver_t base;
interrupt_t *interrupts;
port8_t command_port;
port8_t data_port;
void *context;
} vga_t;
typedef struct {
driver_vtable_t base;
} vga_vtable_t;
void vga_init( vga_t *vga, void *context );
void vga_activate( void *obj );
void vga_deactivate( void *obj );
void vga_deinit( void *obj );
void vga_print_info( void *obj );
#endif // VGA_H
|