diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-12-29 21:16:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-12-29 21:16:31 -0500 |
commit | 08815370c94d88b37bc651d6707b6f1d68dc519b (patch) | |
tree | 7ccfd69fe17ec47c91d1c5b833fa7d966cdf4084 /src/system.c | |
parent | 92f95b0fecca029a0c4dd81203e6b42f60c4a382 (diff) | |
download | seabios-08815370c94d88b37bc651d6707b6f1d68dc519b.tar.gz |
Introduce GET/SET_EBDA2() macros - they take a cached ebda seg.
For those places that repeatedly read/write to the ebda, caching the
ebda segment improves code generation.
Diffstat (limited to 'src/system.c')
-rw-r--r-- | src/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c index 7a0d20c4..235e88c9 100644 --- a/src/system.c +++ b/src/system.c @@ -232,7 +232,7 @@ handle_15c0(struct bregs *regs) static void handle_15c1(struct bregs *regs) { - regs->es = GET_BDA(ebda_seg); + regs->es = get_ebda_seg(); set_success(regs); } |