diff options
author | Amaan Cheval <amaan.cheval@gmail.com> | 2018-07-09 16:42:56 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-07-11 15:22:44 -0500 |
commit | 76c03152e110dcb770253b54277811228e8f78df (patch) | |
tree | 961fe157e59b137d932c4feb7d275b6157f99da0 /c/src/lib/libbsp/x86_64/acinclude.m4 | |
parent | bsp/riscv: Add console support for NS16550 devices (diff) | |
download | rtems-76c03152e110dcb770253b54277811228e8f78df.tar.bz2 |
bsp/x86_64: Minimal bootable BSP
Current state:
- Basic context initialization and switching code.
- Stubbed console (empty functions).
- Mostly functional linker script (may need tweaks if we ever want to move
away from the large code model (see: CPU_CFLAGS).
- Fully functional boot, by using FreeBSD's bootloader to load RTEMS's ELF for
UEFI-awareness.
In short, the current state with this commit lets us boot, go through the system
initialization functions, and then call user application's Init task too.
Updates #2898.
Diffstat (limited to 'c/src/lib/libbsp/x86_64/acinclude.m4')
-rw-r--r-- | c/src/lib/libbsp/x86_64/acinclude.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/x86_64/acinclude.m4 b/c/src/lib/libbsp/x86_64/acinclude.m4 new file mode 100644 index 0000000000..92ae6f719e --- /dev/null +++ b/c/src/lib/libbsp/x86_64/acinclude.m4 @@ -0,0 +1,10 @@ +# RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY) +AC_DEFUN([RTEMS_CHECK_BSPDIR], +[ + case "$1" in + amd64 ) + AC_CONFIG_SUBDIRS([amd64]);; + *) + AC_MSG_ERROR([Invalid BSP]);; + esac +]) |