clean up warnings
This commit is contained in:
parent
98f7ce6f1e
commit
8d5aae1ac9
2 changed files with 2 additions and 1 deletions
|
|
@ -139,6 +139,7 @@ void kprintf(const char *format, ...)
|
||||||
{
|
{
|
||||||
char c = (char)va_arg(args, int);
|
char c = (char)va_arg(args, int);
|
||||||
kputchar(c);
|
kputchar(c);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case 's':
|
case 's':
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef PLIC_H
|
#ifndef PLIC_H
|
||||||
#define PLIC_H
|
#define PLIC_H
|
||||||
|
|
||||||
#define PLIC_BASE 0x0c000000
|
#define PLIC_BASE 0x0c000000UL
|
||||||
#define PLIC_CLAIM_COMPLETE 0x0c200004
|
#define PLIC_CLAIM_COMPLETE 0x0c200004
|
||||||
|
|
||||||
// Priorities: 4 bytes per IRQ (IRQ 0 is reserved/null)
|
// Priorities: 4 bytes per IRQ (IRQ 0 is reserved/null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue