summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c')
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c b/c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c
index f4d8e62a9c..e28d02c078 100644
--- a/c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c
+++ b/c/src/lib/libbsp/powerpc/ppcn_60x/console/ns16550cfg.c
@@ -28,9 +28,9 @@
#include <rtems.h>
#include <bsp.h>
-unsigned8 Read_ns16550_register(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum
+uint8_t Read_ns16550_register(
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum
)
{
unsigned char *p = (unsigned char *)ulCtrlPort;
@@ -41,9 +41,9 @@ unsigned8 Read_ns16550_register(
}
void Write_ns16550_register(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum,
- unsigned8 ucData
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum,
+ uint8_t ucData
)
{
unsigned char *p = (unsigned char *)ulCtrlPort;