diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-06-03 09:46:56 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2013-06-03 17:30:09 +0200 |
commit | 27435d3bcdd4c7bccb326f77ca64a54d3fb1170a (patch) | |
tree | 0929d397215a882170f93a549789df2c40275ba2 /src/lib/thread.c | |
parent | 373a20c335bdd747d7a2553f0e72e2b3a46f86e8 (diff) |
haswell: fix overflow handling TOUUD
It's possible that the TOUUD can be set to less than
4GiB. When that is the case the size_k variable is
an extremely large value. Instead ensure TOUUD is greater
than 4GiB before adding said resources.
Change-Id: I456633d6210824e60665281538300fd15656b86d
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3352
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib/thread.c')
0 files changed, 0 insertions, 0 deletions