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