aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-01-02 23:42:52 +0100
committerHelge Deller <deller@gmx.de>2024-01-04 18:48:58 +0100
commit5403344b6b23b847d71c282bfd912a5d88056a3a (patch)
tree61c98671e5ac7968730ed7533490b019cc66696b
parentec1c829f6954460fccce7632f08b48dcb0e1f5e7 (diff)
downloadseabios-hppa-5403344b6b23b847d71c282bfd912a5d88056a3a.zip
seabios-hppa-5403344b6b23b847d71c282bfd912a5d88056a3a.tar.gz
seabios-hppa-5403344b6b23b847d71c282bfd912a5d88056a3a.tar.bz2
parisc/sti: Static pointer initializations not possible on 64-bit build
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--src/parisc/sti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parisc/sti.c b/src/parisc/sti.c
index 7743d7c..72f2b89 100644
--- a/src/parisc/sti.c
+++ b/src/parisc/sti.c
@@ -34,7 +34,6 @@ static struct sti_glob_cfg_ext sti_glob_ext_cfg = {
static struct sti_glob_cfg sti_glob_cfg = {
.region_ptrs = { 0, ARTIST_FB_ADDR, 0xf8100000, 0xf8380000, 0, 0, 0, 0 },
- .ext_ptr = (u32)&sti_glob_ext_cfg,
};
static struct sti_init_inptr_ext sti_init_inptr_ext = {
@@ -43,7 +42,6 @@ static struct sti_init_inptr_ext sti_init_inptr_ext = {
static struct sti_init_inptr sti_init_inptr = {
.text_planes = 3,
- .ext_ptr = (u32)&sti_init_inptr_ext,
};
static struct sti_init_outptr sti_init_outptr = {
@@ -121,6 +119,8 @@ void sti_console_init(struct sti_rom *rom)
struct sti_glob_cfg *);
sti_init = (void *)rom + rom->init_graph;
+ sti_glob_cfg.ext_ptr = (u32)&sti_glob_ext_cfg;
+ sti_init_inptr.ext_ptr = (u32)&sti_init_inptr_ext;
sti_init(&sti_init_flags, &sti_init_inptr,
&sti_init_outptr, &sti_glob_cfg);