libww libww
WWitch compatibility library for the Wonderful toolchain
Loading...
Searching...
No Matches
SRAMWork Struct Reference

#include <oswork.h>

Data Fields

ProcContext _ospc
uint8_t todo_1 [0x6C - 0x60]
uint16_t _os_version
uint8_t todo_2 [0x2F2 - 0x6E]
fent_t _root_fs_entries [ROOTFS_NUM_ENTRIES]
fent_t _ram0_fs_entries [RAM0FS_NUM_ENTRIES]
fent_t _rom0_fs_entries [ROM0FS_NUM_ENTRIES]

Detailed Description

SRAM work area used by FreyaOS.

Definition at line 23 of file oswork.h.

Field Documentation

◆ _os_version

uint16_t _os_version

FreyaOS version.

bit 0-7: patch version bit 8-11: minor version bit 12-15: major version

Definition at line 37 of file oswork.h.

◆ _ospc

ProcContext _ospc

FreyaOS process context

Definition at line 27 of file oswork.h.

◆ _ram0_fs_entries

fent_t _ram0_fs_entries[RAM0FS_NUM_ENTRIES]

Filesystem entries for the RAM0 ("/ram0")

Definition at line 49 of file oswork.h.

◆ _rom0_fs_entries

fent_t _rom0_fs_entries[ROM0FS_NUM_ENTRIES]

Filesystem entries for the ROM0 ("/ram0")

Definition at line 54 of file oswork.h.

◆ _root_fs_entries

fent_t _root_fs_entries[ROOTFS_NUM_ENTRIES]

Filesystem entries for the root directory ("/")

Definition at line 44 of file oswork.h.

◆ todo_1

uint8_t todo_1[0x6C - 0x60]

Definition at line 28 of file oswork.h.

◆ todo_2

uint8_t todo_2[0x2F2 - 0x6E]

Definition at line 39 of file oswork.h.


The documentation for this struct was generated from the following file: