aboutsummaryrefslogtreecommitdiff
path: root/include/arch/arch.h
blob: c19b039def96b7801f6ca5f3e30d583dbf8e9cbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef APOS_ARCH_H
#define APOS_ARCH_H

/**
 * @file arch.h
 * Arch-specific generic stuff, generally implemented in
 * arch/whatever/kernel/main.c
 */

#include <apos/types.h>

#if defined(riscv64)
#include "../../arch/riscv64/include/arch.h"
#elif defined(riscv32)
#include "../../arch/riscv32/include/arch.h"
#endif

stat_t setup_arch(void *fdt);

#endif /* APOS_ARCH_H */