diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-02-13 20:09:02 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-02-13 20:09:02 -0500 |
commit | 6ee837b6601050cb9217cd4f327d0c7e5a44a763 (patch) | |
tree | b266d407cc97f551c7847dcf070113152a808565 /src | |
parent | 4c85a263af84add8f1dfa9672e6b33a34dbcf348 (diff) | |
download | seabios-6ee837b6601050cb9217cd4f327d0c7e5a44a763.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions