push/pop all registers when handling interrupt from kernel
This commit is contained in:
parent
e630e0743b
commit
6eae1be755
7 changed files with 48 additions and 83 deletions
2
uart.c
2
uart.c
|
|
@ -59,4 +59,6 @@ uartgetc(void)
|
|||
void
|
||||
uartintr(void)
|
||||
{
|
||||
int c = uartgetc();
|
||||
printf("%x ", c & 0xff);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue