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

Go to the source code of this file.

Macros

#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
 

Functions

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)
 

Variables

int using_devsize
 

Macro Definition Documentation

◆ DISK_IDE

#define DISK_IDE   1

Definition at line 18 of file fs.h.

◆ DISK_MEM

#define DISK_MEM   2

Definition at line 19 of file fs.h.

◆ DISK_USB

#define DISK_USB   3

Definition at line 20 of file fs.h.

◆ PARTITION_UNKNOWN

#define PARTITION_UNKNOWN   0xbad6a7

Definition at line 31 of file fs.h.

◆ open_eltorito_image

#define open_eltorito_image (   x,
  y,
 
)    PARTITION_UNKNOWN

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