| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
#ifndef BDK_MINIMAL_H__ |
| 12 |
#define BDK_MINIMAL_H__ |
| 13 |
|
| 14 |
#include <console/console.h> |
| 15 |
#include <endian.h> |
| 16 |
#include <stddef.h> |
| 17 |
|
| 18 |
#define bdk_le16_to_cpu(x) le16_to_cpu(x) |
| 19 |
#define bdk_le32_to_cpu(x) le32_to_cpu(x) |
| 20 |
#define bdk_le64_to_cpu(x) le64_to_cpu(x) |
| 21 |
#define bdk_be16_to_cpu(x) be16_to_cpu(x) |
| 22 |
#define bdk_be32_to_cpu(x) be32_to_cpu(x) |
| 23 |
#define bdk_be64_to_cpu(x) be64_to_cpu(x) |
| 24 |
#define bdk_cpu_to_le16(x) cpu_to_le16(x) |
| 25 |
#define bdk_cpu_to_le32(x) cpu_to_le32(x) |
| 26 |
#define bdk_cpu_to_le64(x) cpu_to_le64(x) |
| 27 |
|
| 28 |
#define printf(format, ...) printk(BIOS_DEBUG, format, ##__VA_ARGS__) |
| 29 |
#define puts(str) printk(BIOS_INFO, str) |
| 30 |
#define fflush(x) |
| 31 |
|
| 32 |
|
| 33 |
#include <libbdk-arch/bdk-warn.h> |
| 34 |
#include <libbdk-arch/bdk-asm.h> |
| 35 |
#include <libbdk-arch/bdk-model.h> |
| 36 |
#include <libbdk-arch/bdk-numa.h> |
| 37 |
#include <libbdk-hal/bdk-access.h> |
| 38 |
|
| 39 |
#include <libbdk-arch/bdk-require.h> |
| 40 |
|
| 41 |
#include <libbdk-arch/bdk-csr.h> |
| 42 |
|
| 43 |
#include <libbdk-os/bdk-thread.h> |
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
#include <libbdk-arch/bdk-arch.h> |
| 48 |
#include <libbdk-boot/bdk-boot.h> |
| 49 |
#include <libbdk-dram/bdk-dram.h> |
| 50 |
#include <libdram/libdram.h> |
| 51 |
|
| 52 |
static inline char *getenv(const char *name) { return NULL; } |
| 53 |
|
| 54 |
#endif |