Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_posix/sys/src/cmd/aux/vga/template.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include <bio.h>
4
 
5
#include "pci.h"
6
#include "vga.h"
7
 
8
/*
9
 * xxx.
10
 */
11
static void
12
snarf(Vga* vga, Ctlr* ctlr)
13
{
14
	USED(vga);
15
	ctlr->flag |= Fsnarf;
16
}
17
 
18
static void
19
options(Vga* vga, Ctlr* ctlr)
20
{
21
	USED(vga);
22
	ctlr->flag |= Foptions;
23
}
24
 
25
static void
26
init(Vga* vga, Ctlr* ctlr)
27
{
28
	USED(vga);
29
	ctlr->flag |= Finit;
30
}
31
 
32
static void
33
load(Vga* vga, Ctlr* ctlr)
34
{
35
	USED(vga);
36
	ctlr->flag |= Fload;
37
}
38
 
39
static void
40
dump(Vga* vga, Ctlr* ctlr)
41
{
42
	USED(vga, ctlr);
43
}
44
 
45
Ctlr xxx = {
46
	"xxx",				/* name */
47
	snarf,				/* snarf */
48
	options,			/* options */
49
	init,				/* init */
50
	load,				/* load */
51
	dump,				/* dump */
52
};