Turnstone Operating System
Loading...
Searching...
No Matches
disk.h File Reference

Disk header. More...

#include <types.h>
#include <iterator.h>

Classes

struct  disk_partition_context_t
 
struct  disk_or_partition_t
 
struct  disk_partition_t
 
struct  disk_t
 

Macros

#define ___DISK_H   0
 

Typedefs

typedef struct memory_heap_t memory_heap_t
 
typedef void * disk_context_t
 
typedef struct disk_partition_context_t disk_partition_context_t
 
typedef struct disk_t disk_t
 
typedef struct disk_partition_t disk_partition_t
 
typedef struct disk_or_partition_t disk_or_partition_t
 
typedef memory_heap_t *(* disk_get_heap_f) (const disk_or_partition_t *dp)
 
typedef uint64_t(* disk_or_partition_get_size_f) (const disk_or_partition_t *dp)
 
typedef uint64_t(* disk_or_partition_get_block_size_f) (const disk_or_partition_t *dp)
 
typedef int8_t(* disk_or_partition_write_f) (const disk_or_partition_t *dp, uint64_t lba, uint64_t count, uint8_t *data)
 
typedef int8_t(* disk_or_partition_read_f) (const disk_or_partition_t *dp, uint64_t lba, uint64_t count, uint8_t **data)
 
typedef int8_t(* disk_or_partition_flush_f) (const disk_or_partition_t *dp)
 
typedef int8_t(* disk_or_partition_close_f) (const disk_or_partition_t *dp)
 

Detailed Description

Disk header.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.