[SeaBIOS] [PATCH 0/3] checkstack.py code cleanup

Kevin O'Connor kevin at koconnor.net
Sat Mar 21 01:30:54 CET 2015


The checkstack.py script (which tries to estimate the stack usage of
generated C code) was in need of a little cleanup.  I actually wanted
to use the script in another project and so needed to clean it up.  I
think it's worthwhile to push the changes back into the repo though.
There should be no functional changes in this series.

-Kevin

Kevin O'Connor (3):
  checkstack: Replace function information tuple with class
  checkstack: Simplify yield calculations
  checkstack: Prefer passing "function" class instead of function
    address

 scripts/checkstack.py | 184 ++++++++++++++++++++++++--------------------------
 1 file changed, 89 insertions(+), 95 deletions(-)

-- 
1.9.3




More information about the SeaBIOS mailing list