summaryrefslogtreecommitdiff
path: root/include/kernel/panic.h
blob: e15d6eee2f78b9d612831a0b6f94e3cf3e4d5057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef KERNEL_PANIC_H
#define KERNEL_PANIC_H

#include <kernel/asm.h>
#include <stdint.h>
#include <stddef.h>

void panic(const char *str);
void dump_reg(struct regs *regs);
void dump_stack(struct regs *regs, size_t length);

#endif