author | Chris Ring <cring@ti.com> | |
Wed, 29 Jan 2014 01:35:50 +0000 (17:35 -0800) | ||
committer | Chris Ring <cring@ti.com> | |
Sat, 1 Feb 2014 23:20:20 +0000 (15:20 -0800) | ||
commit | 1785f2ab0b5d77dce28af61b4e381ad8478948fe | |
tree | dc31c71d21da1f5fac1253099e2e64205edbcdc5 | tree | snapshot (tar.xz tar.gz zip) |
parent | 7c09edcbc69dd77bd83fa47c82f0013e9cb44273 | commit | diff |
BIOS: Enable xdc__strict and fix issues
XDC provides a xdc__strict feature. Defining that pre-processor
variable prior to #including <xdc/std.h> will disable deprecated
data types (e.g. Uint32 - note the lowercase 'i') and change
NULL from '0' to '(void *)0'.
This commit throws that xdc__strict definition when building the
BIOS-side code, and fixes issues that were found enabling it.
Interestingly, there were a few bugs that turned up during this
exercise (rare in the wild, but still good cleanup).
XDC provides a xdc__strict feature. Defining that pre-processor
variable prior to #including <xdc/std.h> will disable deprecated
data types (e.g. Uint32 - note the lowercase 'i') and change
NULL from '0' to '(void *)0'.
This commit throws that xdc__strict definition when building the
BIOS-side code, and fixes issues that were found enabling it.
Interestingly, there were a few bugs that turned up during this
exercise (rare in the wild, but still good cleanup).
25 files changed: