![]() |
MOS Source Code
|
#include "mos/filesystem/sysfs/sysfs.hpp"#include "mos/filesystem/sysfs/sysfs_autoinit.hpp"#include "mos/syslog/printk.hpp"#include "mos/tasks/schedule.hpp"#include <mos/lib/structures/hashmap.hpp>#include <mos/lib/structures/hashmap_common.hpp>#include <mos/misc/panic.hpp>#include <mos/platform/platform.hpp>#include <mos/tasks/process.hpp>#include <mos/tasks/task_types.hpp>#include <mos/tasks/thread.hpp>#include <mos_stdlib.hpp>Go to the source code of this file.
Macros | |
| #define | PROCESS_HASHTABLE_SIZE 512 |
| #define | THREAD_HASHTABLE_SIZE 512 |
Functions | |
| static void | dump_process (void) |
| MOS_PANIC_HOOK (dump_process, "Dump current process") | |
| static bool | tasks_sysfs_process_list (sysfs_file_t *f) |
| static bool | tasks_sysfs_thread_list (sysfs_file_t *f) |
| SYSFS_AUTOREGISTER (tasks, task_sysfs_items) | |
Variables | |
| static sysfs_item_t | task_sysfs_items [] |
Definition at line 21 of file tasks.cpp.
Referenced by MOS_PANIC_HOOK().
| MOS_PANIC_HOOK | ( | dump_process | , |
| "Dump current process" | ) |
|
static |
|
static |
| SYSFS_AUTOREGISTER | ( | tasks | , |
| task_sysfs_items | ) |
|
static |
Definition at line 59 of file tasks.cpp.
Referenced by SYSFS_AUTOREGISTER().