]> xenbits.xensource.com Git - seabios.git/commit
Mark disk.c functions that take an address of a stack variable as noinline.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 25 Mar 2012 14:21:27 +0000 (10:21 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 25 Mar 2012 14:21:27 +0000 (10:21 -0400)
commitecf9b7df5da40234d9b8796ffee97fb45ec225c9
treeebe63873b3976274925db27ab247c22217ac51e9
parent57929d80a4036d2c33ef92522623937104cad3d0
Mark disk.c functions that take an address of a stack variable as noinline.

Some versions of gcc have been found to inline these funcions and then
cause the calling functions to use very large stack usage.  Since
these functions are called from 16bit mode, their stack space usage is
very sensitive.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/disk.c