Use an unbuffered transmit function for low-level console output.
This commit is contained in:
parent
fdf49ca923
commit
23a2665a7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/altix/; revision=209755
@ -84,8 +84,11 @@ static void
|
|||||||
sgisn_putc(struct uart_bas *bas, int c)
|
sgisn_putc(struct uart_bas *bas, int c)
|
||||||
{
|
{
|
||||||
struct ia64_sal_result result;
|
struct ia64_sal_result result;
|
||||||
|
char buf[1];
|
||||||
|
|
||||||
result = ia64_sal_entry(SAL_SGISN_PUTC, c, 0, 0, 0, 0, 0, 0);
|
buf[0] = c;
|
||||||
|
result = ia64_sal_entry(SAL_SGISN_TXBUF, (uintptr_t)buf, 1UL, 0, 0, 0,
|
||||||
|
0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -119,6 +119,7 @@ struct sal_ap_wakeup_descriptor {
|
|||||||
#define SAL_SGISN_PUTC 0x02000021
|
#define SAL_SGISN_PUTC 0x02000021
|
||||||
#define SAL_SGISN_GETC 0x02000022
|
#define SAL_SGISN_GETC 0x02000022
|
||||||
#define SAL_SGISN_POLL 0x02000026
|
#define SAL_SGISN_POLL 0x02000026
|
||||||
|
#define SAL_SGISN_TXBUF 0x02000028
|
||||||
#define SAL_SGISN_IOHUB_INFO 0x02000055
|
#define SAL_SGISN_IOHUB_INFO 0x02000055
|
||||||
#define SAL_SGISN_IOBUS_INFO 0x02000056
|
#define SAL_SGISN_IOBUS_INFO 0x02000056
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user