Basic XT structures

This commit is contained in:
2022-07-29 16:31:59 +02:00
parent 0fb2c6875a
commit 35f2c67138
6 changed files with 97 additions and 3 deletions

37
sdk/xtdk/xtcommon.h Normal file
View File

@@ -0,0 +1,37 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: sdk/xtdk/xtcommon.h
* DESCRIPTION: Basic and common XT structures for kernel and user modes
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#ifndef __XTDK_XTCOMMON_H
#define __XTDK_XTCOMMON_H
#include "xttypes.h"
#include "xtstruct.h"
/* Double linked list structure definition */
typedef struct _LIST_ENTRY
{
PLIST_ENTRY Flink;
PLIST_ENTRY Blink;
} LIST_ENTRY, *PLIST_ENTRY;
/* 32-bit double linked list structure definition */
typedef struct _LIST_ENTRY32
{
ULONG Flink;
ULONG Blink;
} LIST_ENTRY32, *PLIST_ENTRY32;
/* 64-bit double linked list structure definition */
typedef struct _LIST_ENTRY64
{
ULONGLONG Flink;
ULONGLONG Blink;
} LIST_ENTRY64, *PLIST_ENTRY64;
#endif /* __XTDK_XTCOMMON_H */