Turnstone Operating System
Loading...
Searching...
No Matches
efi_disk.c File Reference

EFI disk image creator. More...

#include "setup.h"
#include <crc.h>
#include <disk.h>
#include <efi.h>
#include <fat.h>
#include <strings.h>
#include <utils.h>
#include <random.h>
#include <list.h>
#include <time.h>

Classes

struct  disk_file_context_t
 

Macros

#define RAMSIZE   0x8000000
 

Typedefs

typedef struct disk_file_context_t disk_file_context_t
 

Functions

memory_heap_tdisk_file_get_heap (const disk_or_partition_t *d)
 
uint64_t disk_file_get_disk_size (const disk_or_partition_t *d)
 
uint64_t disk_file_get_block_size (const disk_or_partition_t *d)
 
int8_t disk_file_write (const disk_or_partition_t *d, uint64_t lba, uint64_t count, uint8_t *data)
 
int8_t disk_file_read (const disk_or_partition_t *d, uint64_t lba, uint64_t count, uint8_t **data)
 
int8_t disk_file_close (const disk_or_partition_t *d)
 
disk_tdisk_file_open (char_t *file_name, int64_t size)
 
int32_t main (int32_t argc, char **argv)
 

Detailed Description

EFI disk image creator.

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