]> xenbits.xensource.com Git - seabios.git/commit
Set noinline on kbd.c interface functions that take stack variable pointers.
authorKevin O'Connor <kevin@koconnor.net>
Mon, 28 May 2012 22:31:39 +0000 (18:31 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 31 May 2012 01:05:24 +0000 (21:05 -0400)
commit8ab4a7de12a2fc776822c82cc4233a37b35c40f3
tree336ef4386486d6c6804924141bba62e4bfb06a1c
parentac7eb5eb54886f5372fc71c6ed266a08a49d8d05
Set noinline on kbd.c interface functions that take stack variable pointers.

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/kbd.c