aboutsummaryrefslogtreecommitdiff
path: root/vgasrc/geodevga.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-02-14 10:34:32 +0100
committerKevin O'Connor <kevin@koconnor.net>2013-02-15 22:52:18 -0500
commitbb7e54a1b28d92a832e4c20fe683df503915388c (patch)
treec6e727433d6d4f076d05d993b76a7fb5ff88da1d /vgasrc/geodevga.c
parent84b7dcbd579ba72d693edab7cd60063ca41b4372 (diff)
downloadseabios-hppa-bb7e54a1b28d92a832e4c20fe683df503915388c.zip
seabios-hppa-bb7e54a1b28d92a832e4c20fe683df503915388c.tar.gz
seabios-hppa-bb7e54a1b28d92a832e4c20fe683df503915388c.tar.bz2
geodevga: fix errors in geode_fp_* functions
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'vgasrc/geodevga.c')
-rw-r--r--vgasrc/geodevga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vgasrc/geodevga.c b/vgasrc/geodevga.c
index c2dabf5..ef840a4 100644
--- a/vgasrc/geodevga.c
+++ b/vgasrc/geodevga.c
@@ -140,7 +140,7 @@ static u32 geode_fp_read(int reg)
{
u32 val = geode_mem_read(GET_GLOBAL(GeodeVP) + VP_FP_START + reg);
dprintf(4, "%s(0x%08x) = 0x%08x\n"
- , __func__, GET_GLOBAL(GeodeVP) + reg, val);
+ , __func__, GET_GLOBAL(GeodeVP) + VP_FP_START + reg, val);
return val;
}
@@ -148,7 +148,7 @@ static void geode_fp_write(int reg, u32 val)
{
dprintf(4, "%s(0x%08x, 0x%08x)\n"
, __func__, GET_GLOBAL(GeodeVP) + VP_FP_START + reg, val);
- geode_mem_mask(GET_GLOBAL(GeodeVP) + reg, ~0, val);
+ geode_mem_mask(GET_GLOBAL(GeodeVP) + VP_FP_START + reg, ~0, val);
}
/****************************************************************