Add PRIxModes_Control, PRIxrtems_mode.

Use PRIxrtems_mode to print rtems_mode's.
This commit is contained in:
Ralf Corsepius
2009-10-26 15:15:36 +00:00
parent 43c9b4d5b4
commit bc863a8159

View File

@@ -25,8 +25,11 @@ rtems_task Task_1(
rtems_task_argument argument
);
#define PRIxModes_Control PRIx32
#define PRIxrtems_mode PRIxModes_Control
#define put_mode( _comment, _output_mode ) \
printf( "%s %08x\n", _comment, _output_mode );
printf( "%s %08" PRIxrtems_mode "\n", _comment, _output_mode );
/* configuration information */