diff options
author | Helge Deller <deller@gmx.de> | 2021-02-10 19:16:59 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-09-24 11:10:17 +0200 |
commit | e31c92f2267f6cff5e7f0334da38441026a87416 (patch) | |
tree | b504958c8bdd83bb83d2c3257510653e838a9f71 /src/post.c | |
parent | 51106fce17164374d8180dd507426306269f4c25 (diff) | |
download | seabios-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |