xref: /DragonStub/inc/dragonstub/riscv64.h (revision f412fd2a1a248b546b7085648dece8d908077fab)
1*f412fd2aSLoGin #pragma once
2*f412fd2aSLoGin 
3*f412fd2aSLoGin #if defined(CONFIG_riscv64)
4*f412fd2aSLoGin #define efi_bs_call(func, ...) (BS->func(__VA_ARGS__))
5*f412fd2aSLoGin #else
6*f412fd2aSLoGin #error "Unexpectedly include 'riscv64.h'"
7*f412fd2aSLoGin #endif
8*f412fd2aSLoGin 
9*f412fd2aSLoGin #define COMMAND_LINE_SIZE 1024
10