Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6101 → Rev 6102

/drivers/include/ddk.h
8,9 → 8,7
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/rwsem.h>
#include <linux/pci.h>
 
 
#define OS_BASE 0x80000000
 
#define PG_SW 0x003
24,26 → 22,11
#define ENTER() dbgprintf("enter %s\n",__FUNCTION__)
#define LEAVE() dbgprintf("leave %s\n",__FUNCTION__)
#define FAIL() dbgprintf("fail %s\n",__FUNCTION__)
#define LINE() dbgprintf("%s line %d\n", __FUNCTION__,__LINE__)
 
typedef struct
{
u32 code;
u32 data[5];
}kevent_t;
 
typedef union
{
struct
{
u32 handle;
u32 euid;
};
u64 raw;
}evhandle_t;
 
typedef struct
{
u32 handle;
u32 io_code;
void *input;
int inp_size;