Use macro wrappers for device op prototypes
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m35s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m35s
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
#ifndef _KERNEL_DEVICE_DEBUGCONSOLE_H
|
||||
#define _KERNEL_DEVICE_DEBUGCONSOLE_H
|
||||
|
||||
#include <device/def_device_op.h>
|
||||
#include <libk/std.h>
|
||||
#include <proc/proc.h>
|
||||
#include <proc/reschedule.h>
|
||||
|
||||
struct device;
|
||||
|
||||
bool debugconsole_init (struct device* device, void* arg, struct proc* proc,
|
||||
struct reschedule_ctx* rctx);
|
||||
DEFINE_DEVICE_OP (debugconsole_putstr);
|
||||
|
||||
void debugconsole_fini (struct device* device, struct proc* proc, struct reschedule_ctx* rctx);
|
||||
DEFINE_DEVICE_INIT (debugconsole_init);
|
||||
|
||||
int debugconsole_putstr (struct device* device, struct proc* proc, struct reschedule_ctx* rctx,
|
||||
uint64_t* lockflags, void* a1, void* a2, void* a3, void* a4);
|
||||
DEFINE_DEVICE_FINI (debugconsole_fini);
|
||||
|
||||
#endif // _KERNEL_DEVICE_DEBUGCONSOLE_H
|
||||
|
||||
Reference in New Issue
Block a user