coastline 0.0.4
Loading...
Searching...
No Matches
OSPfs Struct Reference

An open Controller Pak. More...

#include <os_cont.h>

Collaboration diagram for OSPfs:

Public Attributes

int status
OSMesgQueue * queue
int channel
u8 id [32]
u8 label [32]
int version
int dir_size
int inode_table
int minode_table
int dir_table
int inode_start_page
u8 banks
u8 activebank

Detailed Description

An open Controller Pak.

Member Data Documentation

◆ status

int OSPfs::status

The state of the pak, from the PFS_INITIALIZED and PFS_CORRUPTED bits.

◆ queue

OSMesgQueue* OSPfs::queue

The queue of SI events the pak routines wait on.

◆ channel

int OSPfs::channel

The controller port of the pak, 0 to 3.

◆ id

u8 OSPfs::id[32]

A copy of the identification block of the pak.

◆ label

u8 OSPfs::label[32]

A copy of the label area of the pak.

◆ version

int OSPfs::version

The file system version from the identification block.

◆ dir_size

int OSPfs::dir_size

The number of entries of the directory.

◆ inode_table

int OSPfs::inode_table

The block address of the inode table of bank 0.

◆ minode_table

int OSPfs::minode_table

The block address of the mirror of the inode table of bank 0.

◆ dir_table

int OSPfs::dir_table

The block address of the directory.

◆ inode_start_page

int OSPfs::inode_start_page

The first page of bank 0 available for file data.

◆ banks

u8 OSPfs::banks

The number of 32 KiB banks of the pak.

◆ activebank

u8 OSPfs::activebank

The bank last selected on the pak, 0xFF when none is known.


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