summaryrefslogtreecommitdiffstats
path: root/include/arch/x86_64/object.h
blob: 770487b076fad548cd5d0a48b2dd16fd9817f9ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _JOVE_x86_64_OBJECT_H
#define _JOVE_x86_64_OBJECT_H 1

#include <stdint.h>

#ifndef KERNEL_STACKBYTES
#define KERNEL_STACKBYTES 4096
#endif

typedef struct jove_ThreadControlBlock
{
    void *stack;
    uintptr_t sp, ksp;
    void *pml4;
    uint8_t kstack[KERNEL_STACKBYTES];
} tcb_t;

#endif