mirror of https://github.com/dzavalishin/openpod
structure
This commit is contained in:
parent
8942ad3662
commit
7d94f16f82
|
@ -1,2 +1,6 @@
|
|||
# openpod
|
||||
OpenPOD portable driver specification sources an examples
|
||||
|
||||
NB!
|
||||
|
||||
Current state of these sources: raw drafts, not even compiled.
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
Current version of the specification.
|
|
@ -0,0 +1 @@
|
|||
This directory contains sceletons of OpenPOD conforming drivers.
|
|
@ -0,0 +1 @@
|
|||
Need a full featured OpenPOD driver barebone.
|
|
@ -0,0 +1,2 @@
|
|||
Need a simplest OpenPOD driver barebone.
|
||||
No threads, no HW scan, no rq queue, the smallest possible one.
|
|
@ -0,0 +1 @@
|
|||
This directory contains example drivers conforming an OpenPOD specification.
|
|
@ -0,0 +1,3 @@
|
|||
This directory contains OpenPOD specification related libraries and sources.
|
||||
All the stuff below is not a part of the specification itself, but is a
|
||||
helper/support/illustration code.
|
|
@ -0,0 +1 @@
|
|||
OpenPOD framework: request queue library.
|
|
@ -0,0 +1 @@
|
|||
This directory contains OpenPOD specification related files.
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
#include "pod_types.h"
|
||||
|
||||
|
||||
|
||||
errno_t pod_dev_link( pod_driver *drv, pod_device *dev ); // Report a new available device to the OS kernel
|
||||
errno_t pod_dev_unlink( pod_driver *drv, pod_device *dev ); // Report device to be unavailable
|
||||
errno_t pod_dev_event( pod_driver *drv, pod_device *dev ); // Tell about device event (error? state change?)
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
// Hook to use local types definitions
|
||||
#include "pod_local_types.h"
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef POD_ERRNO_T_DEFINED
|
||||
#define POD_ERRNO_T_DEFINED
|
||||
|
||||
typedef int errno_t;
|
||||
|
||||
#endif // POD_ERRNO_T_DEFINED
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef POD_SHORT_TYPES_DEFINED
|
||||
#define POD_SHORT_TYPES_DEFINED
|
||||
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef signed char int8_t;
|
||||
|
||||
typedef unsigned int uint32_t;
|
||||
typedef signed int int32_t;
|
||||
|
||||
|
||||
|
||||
#endif // POD_SHORT_TYPES_DEFINED
|
||||
|
Loading…
Reference in New Issue