aboutsummaryrefslogtreecommitdiff
path: root/src/post.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-02-10 19:16:59 +0100
committerHelge Deller <deller@gmx.de>2021-09-24 11:10:17 +0200
commite31c92f2267f6cff5e7f0334da38441026a87416 (patch)
treeb504958c8bdd83bb83d2c3257510653e838a9f71 /src/post.c
parent51106fce17164374d8180dd507426306269f4c25 (diff)
downloadseabios-hppa-e31c92f2267f6cff5e7f0334da38441026a87416.zip
seabios-hppa-e31c92f2267f6cff5e7f0334da38441026a87416.tar.gz
seabios-hppa-e31c92f2267f6cff5e7f0334da38441026a87416.tar.bz2
Drivers: Use get_bda_ptr() BDA accessor
Use the get_bda_ptr() accessor function instead of hardcoding with MAKE_FLATPTR(). Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src/post.c')
-rw-r--r--src/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.c b/src/post.c
index f93106a..a504aef 100644
--- a/src/post.c
+++ b/src/post.c
@@ -75,7 +75,7 @@ bda_init(void)
{
dprintf(3, "init bda\n");
- struct bios_data_area_s *bda = MAKE_FLATPTR(SEG_BDA, 0);
+ struct bios_data_area_s *bda = get_bda_ptr();
memset(bda, 0, sizeof(*bda));
int esize = EBDA_SIZE_START;