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
uint32_t todo_2
fhandle_t _openfiles [MAXFILES]
uint8_t todo_3 [0x80]
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 55 of file oswork.h.

Field Documentation

◆ _openfiles

fhandle_t _openfiles[MAXFILES]

Definition at line 73 of file oswork.h.

◆ _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 69 of file oswork.h.

◆ _ospc

ProcContext _ospc

FreyaOS process context

Definition at line 59 of file oswork.h.

◆ _ram0_fs_entries

fent_t _ram0_fs_entries[RAM0FS_NUM_ENTRIES]

Filesystem entries for the RAM0 ("/ram0")

Definition at line 85 of file oswork.h.

◆ _rom0_fs_entries

fent_t _rom0_fs_entries[ROM0FS_NUM_ENTRIES]

Filesystem entries for the ROM0 ("/ram0")

Definition at line 90 of file oswork.h.

◆ _root_fs_entries

fent_t _root_fs_entries[ROOTFS_NUM_ENTRIES]

Filesystem entries for the root directory ("/")

Definition at line 80 of file oswork.h.

◆ todo_1

uint8_t todo_1[0x6C - 0x60]

Definition at line 60 of file oswork.h.

◆ todo_2

uint32_t todo_2

Definition at line 71 of file oswork.h.

◆ todo_3

uint8_t todo_3[0x80]

Definition at line 75 of file oswork.h.


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