]> xenbits.xensource.com Git - seabios.git/commit
Add mechanism to declare variables as "low mem" and use for extra stack.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 13 May 2012 16:10:30 +0000 (12:10 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 20 May 2012 22:10:38 +0000 (18:10 -0400)
commit46b82624c95b951e8825fab117d9352faeae0ec8
tree02e6dfd8ab8dcacd86ef7b6b08bd2a67d45d6410
parent9c98517c938d20c38f537d516c71b30bb60c3ea0
Add mechanism to declare variables as "low mem" and use for extra stack.

Add a mechanism (VARLOW declaration) to make a variable reside in the
low memory (e-segment) area.  This is useful for runtime variables
that need to be accessed from 16bit code and need to be modifiable
during runtime.

Move the 16bit "extra stack" from the EBDA to the low memory area
using this declaration mechanism.  Also increase the size of this
stack from 512 bytes to 2048 bytes.

This also reworks tools/layoutrom.py a bit.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/asm-offsets.c
src/ata.c
src/biosvar.h
src/block.c
src/config.h
src/post.c
src/romlayout.S
src/stacks.c
src/types.h
src/util.h
tools/layoutrom.py