clean up warnings

This commit is contained in:
Liam Kerr 2026-02-10 03:01:50 +00:00
parent 98f7ce6f1e
commit 8d5aae1ac9
2 changed files with 2 additions and 1 deletions

View file

@ -139,6 +139,7 @@ void kprintf(const char *format, ...)
{
char c = (char)va_arg(args, int);
kputchar(c);
break;
}
case 's':
{

View file

@ -1,7 +1,7 @@
#ifndef PLIC_H
#define PLIC_H
#define PLIC_BASE 0x0c000000
#define PLIC_BASE 0x0c000000UL
#define PLIC_CLAIM_COMPLETE 0x0c200004
// Priorities: 4 bytes per IRQ (IRQ 0 is reserved/null)