Spinlock save cpu flags

This commit is contained in:
2026-03-12 22:48:34 +01:00
parent 19793e9126
commit 4760818118
50 changed files with 704 additions and 461 deletions

View File

@@ -22,8 +22,10 @@ struct device;
typedef int (*device_op_func_t) (struct device* device, struct proc*, struct reschedule_ctx* rctx,
void* a1, void* a2, void* a3, void* a4);
typedef bool (*device_init_func_t) (struct device* device, void* arg, struct proc* proc, struct reschedule_ctx* rctx);
typedef void (*device_fini_func_t) (struct device* device, struct proc* proc, struct reschedule_ctx* rctx);
typedef bool (*device_init_func_t) (struct device* device, void* arg, struct proc* proc,
struct reschedule_ctx* rctx);
typedef void (*device_fini_func_t) (struct device* device, struct proc* proc,
struct reschedule_ctx* rctx);
struct device {
char key[0x100];