#include <stdlib.h>
#include <unistd.h>
#include <sched.h>
#include <errno.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/wait.h>
#include <asm/unistd.h>
#include <as-layout.h>
#include <init.h>
#include <kern_util.h>
#include <mem.h>
#include <os.h>
#include <proc_mm.h>
#include <ptrace_user.h>
#include <registers.h>
#include <skas.h>
#include <skas_ptrace.h>
#include <sysdep/stub.h>
Go to the source code of this file.
|
int | is_skas_winch (int pid, int fd, void *data) |
|
void | wait_stub_done (int pid) |
|
unsigned long | current_stub_stack (void) |
|
int | start_userspace (unsigned long stub_stack) |
|
void | userspace (struct uml_pt_regs *regs) |
|
| __initcall (init_thread_regs) |
|
int | copy_context_skas0 (unsigned long new_stack, int pid) |
|
int | map_stub_pages (int fd, unsigned long code, unsigned long data, unsigned long stack) |
|
void | new_thread (void *stack, jmp_buf *buf, void(*handler)(void)) |
|
void | switch_threads (jmp_buf *me, jmp_buf *you) |
|
int | start_idle_thread (void *stack, jmp_buf *switch_buf) |
|
void | initial_thread_cb_skas (void(*proc)(void *), void *arg) |
|
void | halt_skas (void) |
|
void | reboot_skas (void) |
|
void | __switch_mm (struct mm_id *mm_idp) |
|
#define INIT_JMP_CALLBACK 1 |
#define INIT_JMP_NEW_THREAD 0 |
#define INIT_JMP_REBOOT 3 |
#define STUB_DONE_MASK (1 << SIGTRAP) |
__initcall |
( |
init_thread_regs |
| ) |
|
int copy_context_skas0 |
( |
unsigned long |
new_stack, |
|
|
int |
pid |
|
) |
| |
unsigned long current_stub_stack |
( |
void |
| ) |
|
int map_stub_pages |
( |
int |
fd, |
|
|
unsigned long |
code, |
|
|
unsigned long |
data, |
|
|
unsigned long |
stack |
|
) |
| |
int start_userspace |
( |
unsigned long |
stub_stack | ) |
|