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-09-17 06:15:58 +00:00
|
|
|
#include <linux/sys/syscall.h>
|
|
|
|
#include <linux/sys/mman.h>
|
|
|
|
#include <linux/errno.h>
|
|
|
|
#include <linux/signal.h>
|
|
|
|
#include <linux/fcntl.h>
|
|
|
|
#include <linux/sched.h>
|
2023-08-25 09:18:28 +00:00
|
|
|
#include <tinyrt.h>
|
|
|
|
#include "tinyrt.c"
|
2023-09-03 09:32:51 +00:00
|
|
|
#include "tinyrt-threads.c"
|
2023-09-17 06:15:58 +00:00
|
|
|
#include "entry.c"
|
2023-08-25 09:18:28 +00:00
|
|
|
|