2023-08-25 09:18:28 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-09-03 09:32:51 +00:00
|
|
|
static u64 cia_stack_size;
|
|
|
|
static u64 cia_tls_image_size;
|
|
|
|
static void *cia_tls_image_base;
|
|
|
|
|
2023-09-10 06:53:22 +00:00
|
|
|
#include <stdatomic.h>
|
2023-09-10 03:38:27 +00:00
|
|
|
#include <cia-ld/tcb.h>
|
2023-09-06 09:37:30 +00:00
|
|
|
|
2023-08-27 02:51:35 +00:00
|
|
|
#include <linux/futex.h>
|
2023-08-25 09:18:28 +00:00
|
|
|
#include <sys/mman.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <sched.h>
|
|
|
|
#include "entry.c"
|
|
|
|
#include <tinyrt.h>
|
|
|
|
#include "tinyrt.c"
|
2023-09-03 09:32:51 +00:00
|
|
|
#include "tinyrt-threads.c"
|
2023-08-25 09:18:28 +00:00
|
|
|
|