Working on PIC

This commit is contained in:
2021-05-12 23:48:06 +01:00
parent 5e668f5e67
commit 0d0c06ab09
7 changed files with 342 additions and 158 deletions

View File

@ -56,4 +56,12 @@ void outsw(unsigned short , const void *,
void outsl(unsigned short , const void *,
unsigned long ){
}
}
void io_wait(void)
{
/* TODO: This is probably fragile. */
asm volatile ( "jmp 1f\n\t"
"1:jmp 2f\n\t"
"2:" );
}