blob: 29100ee90c2da67c3b28a40670a9e8791849686f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef PLEF_H
#define PLEF_H
#include <stdint.h>
#include <stdbool.h>
#include "drive.h"
typedef uint8_t task_handle;
struct plef_header {
uint32_t magic;
uint16_t version_low;
uint16_t version_high;
uint32_t payload_offset;
uint32_t payload_length;
uint32_t bss_length;
uint32_t entry_point;
} __attribute__ ((packed));
task_handle plef_run(struct drive *d, char *path);
#endif
|