Use an unbuffered transmit function for low-level console output.

This commit is contained in:
Marcel Moolenaar 2010-07-07 04:06:38 +00:00
parent fdf49ca923
commit 23a2665a7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/altix/; revision=209755
2 changed files with 5 additions and 1 deletions

View File

@ -84,8 +84,11 @@ static void
sgisn_putc(struct uart_bas *bas, int c)
{
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

View File

@ -119,6 +119,7 @@ struct sal_ap_wakeup_descriptor {
#define SAL_SGISN_PUTC 0x02000021
#define SAL_SGISN_GETC 0x02000022
#define SAL_SGISN_POLL 0x02000026
#define SAL_SGISN_TXBUF 0x02000028
#define SAL_SGISN_IOHUB_INFO 0x02000055
#define SAL_SGISN_IOBUS_INFO 0x02000056