Newer
Older
Atmosphere / fusee / fusee-secondary / src / stage2.h
#ifndef FUSEE_STAGE2_H
#define FUSEE_STAGE2_H

#include "utils.h"

/* TODO: Is there a more concise way to do this? */
#define STAGE2_ARGV_PROGRAM_PATH 0
#define STAGE2_ARGV_ARGUMENT_STRUCT 1
#define STAGE2_ARGC 2

#define BCTO_MAX_SIZE 0x6000

typedef struct {
    uint32_t version;
    char bct0[BCTO_MAX_SIZE];
} stage2_args_t;

#endif