#include "nul/motherboard.h"#include "host/keyboard.h"#include "host/screen.h"#include "host/dma.h"#include "host/hostpci.h"#include "nul/program.h"#include "nul/generic_service.h"#include "service/elf.h"#include "service/logging.h"#include "sigma0/sigma0.h"#include "nul/service_fs.h"#include "s0_admission.h"#include "parent_protocol.h"Classes | |
| struct | ModuleInfo |
| struct | Sigma0 |
| Sigma0 application class. More... | |
| struct | Sigma0::PutcData |
| struct | Sigma0::DiskData |
| struct | Sigma0::ConsoleData |
Defines | |
| #define | S0_DEFAULT_CMDLINE "namespace::/s0 name::/s0/timer name::/s0/fs/rom name::/s0/admission quota::guid" |
| #define | PT_FUNC_NORETURN(NAME, CODE) |
| #define | PT_FUNC(NAME, CODE,...) |
Enumerations | |
| enum | { VERBOSE_ERRORS = 0, VERBOSE_INFO = 1 } |
| enum | { MAXCPUS = Config::MAX_CPUS, MAXPCIDIRECT = 64, MAXMODULES = 1 << Config::MAX_CLIENTS_ORDER, CPUGSI = 0, MEM_OFFSET = 1ul << 31, CLIENT_HIP = 0xBFFFF000U, CLIENT_BOOT_UTCB = CLIENT_HIP - 0x1000, CLIENT_PT_OFFSET = 0x20000U, CLIENT_PT_SHIFT = Config::CAP_RESERVED_ORDER, CLIENT_PT_ORDER = CLIENT_PT_SHIFT + Config::MAX_CLIENTS_ORDER } |
Functions | |
| PARAM_ALIAS (S0_DEFAULT,"an alias for the default sigma0 parameters"," ioio hostacpi pcicfg mmconfig atare"" hostreboot:0 hostreboot:1 hostreboot:2 hostreboot:3 service_per_cpu_timer service_romfs script") template< unsigned S > class PutcBootBuf | |
| void | do_exit (const char *msg) |
Variables | |
| unsigned | console_id |
| Motherboard * | global_mb |
| Sigma0 * | sigma0 |
| Semaphore * | consolesem |
| unsigned | mac_prefix = 0x42000000 |
| unsigned | mac_host |
| enum { ... } | verbose |
| PutcBootBuf< 65536 > | putcbootbuf |
| #define PT_FUNC | ( | NAME, | ||
| CODE, | ||||
| ... | ||||
| ) |
static void NAME##_wrapper(unsigned pid, Sigma0 *tls, Utcb *utcb) __attribute__((regparm(1))) \ { tls->NAME(pid, utcb); asmlinkage_protect("g"(tls), "g"(utcb)); } \ \ void __attribute__((always_inline)) NAME(unsigned pid, Utcb *utcb) __VA_ARGS__ \ { CODE; }
| #define PT_FUNC_NORETURN | ( | NAME, | ||
| CODE | ||||
| ) |
static void NAME##_wrapper(unsigned pid, Sigma0 *tls, Utcb *utcb) __attribute__((regparm(1), noreturn)) \ { tls->NAME(pid, utcb); } \ \ void __attribute__((always_inline, noreturn)) NAME(unsigned pid, Utcb *utcb) \ { CODE; }
| #define S0_DEFAULT_CMDLINE "namespace::/s0 name::/s0/timer name::/s0/fs/rom name::/s0/admission quota::guid" |
| anonymous enum |
| void do_exit | ( | const char * | msg | ) |
| PARAM_ALIAS | ( | S0_DEFAULT | , | |
| "an alias for the default sigma0 parameters" | , | |||
| " ioio hostacpi pcicfg mmconfig atare"" hostreboot:0 hostreboot:1 hostreboot:2 hostreboot:3 service_per_cpu_timer service_romfs script" | ||||
| ) |
| unsigned console_id |
| unsigned mac_host |
| unsigned mac_prefix = 0x42000000 |
| PutcBootBuf<65536> putcbootbuf |
| enum { ... } verbose |
1.7.1