aboutsummaryrefslogtreecommitdiff
path: root/vgasrc
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-05-16 14:55:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-05-16 14:55:01 -0400
commit4f79274123c55d5d9ffea3da099cf241335a75d2 (patch)
tree5c0f9df7bc356d4586b0c9c42d94cd5e5978d39d /vgasrc
parent3e832bb2387ebe051fbc6d242fd2adf53647519d (diff)
downloadseabios-hppa-4f79274123c55d5d9ffea3da099cf241335a75d2.zip
seabios-hppa-4f79274123c55d5d9ffea3da099cf241335a75d2.tar.gz
seabios-hppa-4f79274123c55d5d9ffea3da099cf241335a75d2.tar.bz2
VGA: Minor - use "_g" suffix for global pointers.
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/clext.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/vgasrc/clext.c b/vgasrc/clext.c
index 32584ee..1fb4df5 100644
--- a/vgasrc/clext.c
+++ b/vgasrc/clext.c
@@ -292,12 +292,12 @@ static struct cirrus_mode_s cirrus_modes[] VAR16 = {
static struct cirrus_mode_s *
cirrus_get_modeentry(u8 mode)
{
- struct cirrus_mode_s *table = cirrus_modes;
- while (table < &cirrus_modes[ARRAY_SIZE(cirrus_modes)]) {
- u16 tmode = GET_GLOBAL(table->mode);
+ struct cirrus_mode_s *table_g = cirrus_modes;
+ while (table_g < &cirrus_modes[ARRAY_SIZE(cirrus_modes)]) {
+ u16 tmode = GET_GLOBAL(table_g->mode);
if (tmode == mode)
- return table;
- table++;
+ return table_g;
+ table_g++;
}
return NULL;
}
@@ -353,13 +353,13 @@ cirrus_set_video_mode(u8 mode)
{
dprintf(1, "cirrus mode %d\n", mode);
SET_BDA(vbe_mode, 0);
- struct cirrus_mode_s *table = cirrus_get_modeentry(mode & 0x7f);
- if (table) {
+ struct cirrus_mode_s *table_g = cirrus_get_modeentry(mode & 0x7f);
+ if (table_g) {
//XXX - cirrus_set_video_mode_extended(table);
return;
}
- table = cirrus_get_modeentry(0xfe);
- cirrus_switch_mode(table);
+ table_g = cirrus_get_modeentry(0xfe);
+ cirrus_switch_mode(table_g);
dprintf(1, "cirrus mode switch regular\n");
}