Spinlock save cpu flags
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user