aboutsummaryrefslogtreecommitdiff
path: root/vgasrc
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-12-31 03:30:40 -0500
committerKevin O'Connor <kevin@koconnor.net>2011-12-31 03:30:40 -0500
commite1e000b177427bde534ac7e6ca885c2226bb60d6 (patch)
tree50efe6f2f4b277d1541c465cabcd7bf3b4d9e1f4 /vgasrc
parentf1e217dc1885228cdb79586f1d3bde694758cbc1 (diff)
downloadseabios-hppa-e1e000b177427bde534ac7e6ca885c2226bb60d6.zip
seabios-hppa-e1e000b177427bde534ac7e6ca885c2226bb60d6.tar.gz
seabios-hppa-e1e000b177427bde534ac7e6ca885c2226bb60d6.tar.bz2
vgabios: Rename vga.c to vgabios.c.
Also, rename vgatables.h to vgabios.h. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/bochsvga.c4
-rw-r--r--vgasrc/bochsvga.h6
-rw-r--r--vgasrc/clext.c2
-rw-r--r--vgasrc/geodelx.c2
-rw-r--r--vgasrc/vgabios.c (renamed from vgasrc/vga.c)2
-rw-r--r--vgasrc/vgabios.h (renamed from vgasrc/vgatables.h)8
-rw-r--r--vgasrc/vgafb.c2
-rw-r--r--vgasrc/vgafonts.c2
-rw-r--r--vgasrc/vgaio.c2
-rw-r--r--vgasrc/vgatables.c2
10 files changed, 16 insertions, 16 deletions
diff --git a/vgasrc/bochsvga.c b/vgasrc/bochsvga.c
index 99d4041..9dd142b 100644
--- a/vgasrc/bochsvga.c
+++ b/vgasrc/bochsvga.c
@@ -1,8 +1,8 @@
-#include "vgatables.h"
+#include "vgabios.h" // struct vbe_modeinfo
#include "vbe.h"
#include "bochsvga.h"
#include "util.h"
-#include "config.h" // CONFIG_
+#include "config.h" // CONFIG_*
#include "biosvar.h" // SET_BDA
static struct mode
diff --git a/vgasrc/bochsvga.h b/vgasrc/bochsvga.h
index aaa3a97..f0263d7 100644
--- a/vgasrc/bochsvga.h
+++ b/vgasrc/bochsvga.h
@@ -1,5 +1,5 @@
-#ifndef __DISPI_H
-#define __DISPI_H
+#ifndef __BOCHSVGA_H
+#define __BOCHSVGA_H
#include "types.h" // u8
#include "ioport.h" // outb
@@ -64,4 +64,4 @@ void bochsvga_clear_scr(void);
int bochsvga_hires_enabled(void);
u16 bochsvga_curr_mode(void);
-#endif
+#endif // bochsvga.h
diff --git a/vgasrc/clext.c b/vgasrc/clext.c
index b2c59fb..40447ff 100644
--- a/vgasrc/clext.c
+++ b/vgasrc/clext.c
@@ -5,7 +5,7 @@
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
-#include "vgatables.h" // cirrus_init
+#include "vgabios.h" // cirrus_init
#include "biosvar.h" // GET_GLOBAL
#include "util.h" // dprintf
#include "bregs.h" // struct bregs
diff --git a/vgasrc/geodelx.c b/vgasrc/geodelx.c
index 6c0f838..1d58be0 100644
--- a/vgasrc/geodelx.c
+++ b/vgasrc/geodelx.c
@@ -10,7 +10,7 @@
#include "ioport.h" // outb
#include "farptr.h" // SET_FARVAR
#include "biosvar.h" // GET_BDA
-#include "vgatables.h" // VGAREG_*
+#include "vgabios.h" // VGAREG_*
#include "util.h" // memset
#include "config.h"
#include "types.h"
diff --git a/vgasrc/vga.c b/vgasrc/vgabios.c
index 9e5884b..2ff677e 100644
--- a/vgasrc/vga.c
+++ b/vgasrc/vgabios.c
@@ -14,7 +14,7 @@
#include "bregs.h" // struct bregs
#include "biosvar.h" // GET_BDA
#include "util.h" // memset
-#include "vgatables.h" // find_vga_entry
+#include "vgabios.h" // find_vga_entry
#include "optionroms.h" // struct pci_data
#include "config.h" // CONFIG_*
#include "vbe.h" // struct vbe_info
diff --git a/vgasrc/vgatables.h b/vgasrc/vgabios.h
index e0d61c9..913dd88 100644
--- a/vgasrc/vgatables.h
+++ b/vgasrc/vgabios.h
@@ -1,5 +1,5 @@
-#ifndef __VGATABLES_H
-#define __VGATABLES_H
+#ifndef __VGABIOS_H
+#define __VGABIOS_H
#include "types.h" // u8
#include "farptr.h" // struct segoff_s
@@ -145,7 +145,7 @@ extern u8 vgafont16[];
extern u8 vgafont14alt[];
extern u8 vgafont16alt[];
-// vga.c
+// vgabios.c
#define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val))
struct carattr {
u8 car, attr, use_attr;
@@ -222,4 +222,4 @@ struct vbe_modeinfo
u32 vram_size;
};
-#endif // vgatables.h
+#endif // vgabios.h
diff --git a/vgasrc/vgafb.c b/vgasrc/vgafb.c
index 1e1943d..f85cd28 100644
--- a/vgasrc/vgafb.c
+++ b/vgasrc/vgafb.c
@@ -7,7 +7,7 @@
#include "biosvar.h" // GET_BDA
#include "util.h" // memset_far
-#include "vgatables.h" // find_vga_entry
+#include "vgabios.h" // find_vga_entry
/****************************************************************
diff --git a/vgasrc/vgafonts.c b/vgasrc/vgafonts.c
index 8c1752c..47a6437 100644
--- a/vgasrc/vgafonts.c
+++ b/vgasrc/vgafonts.c
@@ -1,4 +1,4 @@
-#include "vgatables.h" // vgafont8
+#include "vgabios.h" // vgafont8
/*
* These fonts come from ftp://ftp.simtel.net/pub/simtelnet/msdos/screen/fntcol16.zip
diff --git a/vgasrc/vgaio.c b/vgasrc/vgaio.c
index 6154076..bc4c968 100644
--- a/vgasrc/vgaio.c
+++ b/vgasrc/vgaio.c
@@ -8,7 +8,7 @@
#include "ioport.h" // outb
#include "farptr.h" // SET_FARVAR
#include "biosvar.h" // GET_BDA
-#include "vgatables.h" // VGAREG_*
+#include "vgabios.h" // VGAREG_*
// TODO
// * replace direct in/out calls with wrapper functions
diff --git a/vgasrc/vgatables.c b/vgasrc/vgatables.c
index 47395f2..90ffa89 100644
--- a/vgasrc/vgatables.c
+++ b/vgasrc/vgatables.c
@@ -5,7 +5,7 @@
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
-#include "vgatables.h" // struct VideoParamTableEntry_s
+#include "vgabios.h" // struct VideoParamTableEntry_s
#include "biosvar.h" // GET_GLOBAL
#include "util.h" // memcpy_far