console: Implement j specifier in vtxprintf()
commitc764fb20122e7f6cb88855d4f671611aeb76df76
authorJacob Garber <jgarber1@ualberta.ca>
Wed, 3 Jul 2019 18:38:46 +0000 (3 12:38 -0600)
committerNico Huber <nico.h@gmx.de>
Thu, 4 Jul 2019 21:45:58 +0000 (4 21:45 +0000)
tree5dc1414a88ba2a94c0d6d0777bde6d1b753f0480
parentb19946cc627b3c027a527bc51cfe2e08ead46b07
console: Implement j specifier in vtxprintf()

It is occasionally useful to print a uintmax_t or intmax_t, so add
support for the j specifier. This also makes defining the PRI* macros
in <inttypes.h> simpler.

Change-Id: I656e3992029199b48e62a9df2d56f54c34e4e10f
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34027
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
src/console/vtxprintf.c