Blame include/ntapi/nt_slist.h

dd89bb
#ifndef _NT_SLIST_H_
dd89bb
#define _NT_SLIST_H_
dd89bb
dd89bb
#include <psxtypes/psxtypes.h>
dd89bb
#include "nt_sync.h"
dd89bb
dd89bb
struct nt_slist;
dd89bb
struct nt_slist_node;
dd89bb
dd89bb
struct nt_slist_node {
dd89bb
	struct nt_slist_node *	next;
dd89bb
	uintptr_t		data;
dd89bb
};
dd89bb
dd89bb
struct __attr_aligned__(NT_SYNC_BLOCK_SIZE) nt_slist {
dd89bb
	struct nt_slist_node *	head;
dd89bb
	intptr_t		nitems;
dd89bb
	intptr_t		busy;
dd89bb
	intptr_t		padding[NT_SYNC_BLOCK_SIZE/sizeof(size_t)-3];
dd89bb
};
dd89bb
dd89bb
#endif