aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/event.h
blob: e40b34501bcd70ec182674d5fa0ceb52fc451b22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// MIT License, Copyright (c) 2020 Marvin Borner

#ifndef EVENT_H
#define EVENT_H

#include <def.h>
#include <sys.h>

u32 event_map(enum event id, u32 *func);
void event_unmap(enum event id, u32 *func);
u32 event_trigger(enum event id, u32 *data);

#endif