From 69fd0dd9fda47aa52cccdbef6ca388cea38e693b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 25 Jul 2024 22:17:27 +0200 Subject: kernel: pass more information to user on interrupt This is meant to facilitate a syscall for returning from interrupts, which will actually work in the general case as opposed to the current hack, which only works if the interrupt occured during a syscall (which is correct... for now). --- src/kernel/malloc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/malloc.c') diff --git a/src/kernel/malloc.c b/src/kernel/malloc.c index 9f87274..2fe4792 100644 --- a/src/kernel/malloc.c +++ b/src/kernel/malloc.c @@ -27,6 +27,7 @@ static const char *tagnames[] = { "DevTime", /* TagDevTime */ "RootCache", /* TagRootCache */ "PageRefcount", /* TagPageRefcount */ + "Intr", /* TagIntr */ }; static_assert(sizeof(tagnames) == sizeof(const char *) * TagLast); -- cgit v1.2.3