MOS Source Code
|
#include "mos/platform/platform.h"
#include "mos/misc/panic.h"
#include "mos/syslog/printk.h"
#include <mos/mos_global.h>
#include <mos/types.h>
Go to the source code of this file.
Macros | |
#define | __weak__ [[gnu::weak]] |
#define __weak__ [[gnu::weak]] |
Definition at line 11 of file platform.c.
Definition at line 13 of file platform.c.
Definition at line 20 of file platform.c.
void platform_dump_regs | ( | platform_regs_t * | regs | ) |
Definition at line 25 of file platform.c.
void platform_dump_stack | ( | platform_regs_t * | regs | ) |
Definition at line 31 of file platform.c.
Definition at line 37 of file platform.c.
Definition at line 42 of file platform.c.
Definition at line 49 of file platform.c.
Definition at line 56 of file platform.c.
Definition at line 63 of file platform.c.
Definition at line 69 of file platform.c.
Definition at line 74 of file platform.c.
Definition at line 79 of file platform.c.
datetime_str_t * platform_get_datetime_str | ( | void | ) |
Definition at line 84 of file platform.c.
Definition at line 90 of file platform.c.
Definition at line 95 of file platform.c.
Definition at line 101 of file platform.c.
void platform_ipi_send | ( | u8 | target_cpu, |
ipi_type_t | type ) |
Definition at line 113 of file platform.c.
void platform_jump_to_signal_handler | ( | const platform_regs_t * | regs, |
const sigreturn_data_t * | sigreturn_data, | ||
const sigaction_t * | sa ) |
Definition at line 122 of file platform.c.
Definition at line 130 of file platform.c.
void platform_syscall_setup_restart_context | ( | platform_regs_t * | regs, |
reg_t | syscall_nr ) |
Definition at line 136 of file platform.c.
void platform_syscall_store_retval | ( | platform_regs_t * | regs, |
reg_t | result ) |
Definition at line 143 of file platform.c.