Macros | Functions | Variables
fs.h File Reference
#include <stdint.h>

Go to the source code of this file.


#define DISK_IDE   1
#define DISK_MEM   2
#define DISK_USB   3
#define PARTITION_UNKNOWN   0xbad6a7
#define open_eltorito_image(x, y, z)   PARTITION_UNKNOWN


int devopen (const char *name, int *reopen)
int devread (unsigned long sector, unsigned long byte_offset, unsigned long byte_len, void *buf)
int file_open (const char *filename)
int file_read (void *buf, unsigned long len)
int file_seek (unsigned long offset)
unsigned long file_size (void)


int using_devsize

Macro Definition Documentation


#define DISK_IDE   1

Definition at line 18 of file fs.h.


#define DISK_MEM   2

Definition at line 19 of file fs.h.


#define DISK_USB   3

Definition at line 20 of file fs.h.


#define PARTITION_UNKNOWN   0xbad6a7

Definition at line 31 of file fs.h.

◆ open_eltorito_image

#define open_eltorito_image (   x,

Definition at line 36 of file fs.h.

Function Documentation

◆ devopen()

int devopen ( const char *  name,
int *  reopen 

◆ devread()

int devread ( unsigned long  sector,
unsigned long  byte_offset,
unsigned long  byte_len,
void *  buf 

◆ file_open()

int file_open ( const char *  filename)

Referenced by pxenv_file_open().

◆ file_read()

int file_read ( void *  buf,
unsigned long  len 

Referenced by pxenv_file_read().

◆ file_seek()

int file_seek ( unsigned long  offset)

◆ file_size()

unsigned long file_size ( void  )

Variable Documentation

◆ using_devsize

int using_devsize