Karg v0.2.0
The kernel of CargOS
Loading...
Searching...
No Matches
driver.h
Go to the documentation of this file.
1#pragma once
2
3#include <types.h>
4
5typedef struct {
6 isize (*read)(u32 num, u8 *buf, usize size);
7 isize (*write)(u32 num, const u8 *buf, usize size);
Definition driver.h:5
__INTPTR_TYPE__ isize
Definition types.h:29
__UINTPTR_TYPE__ usize
Definition types.h:28
__UINT8_TYPE__ u8
Definition types.h:3
__UINT32_TYPE__ u32
Definition types.h:5