aboutsummaryrefslogtreecommitdiff
path: root/src/pmm.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-02-13 20:09:02 -0500
committerKevin O'Connor <kevin@koconnor.net>2012-02-13 20:09:02 -0500
commit6ee837b6601050cb9217cd4f327d0c7e5a44a763 (patch)
treeb266d407cc97f551c7847dcf070113152a808565 /src/pmm.c
parent4c85a263af84add8f1dfa9672e6b33a34dbcf348 (diff)
downloadseabios-hppa-6ee837b6601050cb9217cd4f327d0c7e5a44a763.zip
seabios-hppa-6ee837b6601050cb9217cd4f327d0c7e5a44a763.tar.gz
seabios-hppa-6ee837b6601050cb9217cd4f327d0c7e5a44a763.tar.bz2
vgabios: Some tweaks to optimize stack space.
Gcc seems to handle passing structs by value if they are 4 bytes in size instead of 3 bytes. So, add a pad byte to struct carattr and struct cursorpos. Reorganize set_cursor_pos(), verify_scroll(), and handle_1013() so there are less live variables. Don't inline the VBE functions into the main handler code. Code calling VBE functions are newer and are more likely to provide adequate stack space - inlining can cause more stack usage for older functions (which may be stack constrained). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/pmm.c')
0 files changed, 0 insertions, 0 deletions