gitignore: add .cpio
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
49abcba0aa
commit
f0a9ff299b
27 changed files with 253 additions and 245 deletions
|
|
@ -5,7 +5,10 @@
|
|||
#include <kernel/spinlock.h>
|
||||
|
||||
typedef struct _list_item {
|
||||
void *ptr;
|
||||
union {
|
||||
void *ptr;
|
||||
u64 val;
|
||||
};
|
||||
struct _list_head *list;
|
||||
struct _list_item *next;
|
||||
struct _list_item *prev;
|
||||
|
|
@ -17,7 +20,6 @@ typedef struct _list_head {
|
|||
spinlock_t lock;
|
||||
} list_t;
|
||||
|
||||
|
||||
void list_create(list_t *list);
|
||||
list_item_t *list_insert(list_t *list, void *item);
|
||||
void list_remove(list_item_t *item);
|
||||
|
|
|
|||
Loading…
Reference in a new issue