summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/x86_64/amd64/bspamd64efi.yml
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2023-04-16 23:01:58 +0200
committerKarel Gardas <karel@functional.vision>2023-04-29 20:41:23 +0200
commitbf53ff2de2c2dab5b3e2186eac5310e78b38e413 (patch)
tree2655fff7f0369e59e0474b155de28f647b0b5c56 /spec/build/bsps/x86_64/amd64/bspamd64efi.yml
parentbsps/amd64: increase CPU alignment to 16 (diff)
downloadrtems-bf53ff2de2c2dab5b3e2186eac5310e78b38e413.tar.bz2
bsps/amd64: add a new EFI-based variant of AMD64 BSP
The new amd64efi BSP supports: - multiboot2 boot format. Runs well with GRUB. - console based on either EFI simple text output or GOP-based framebuffer - clock based on EFI event/timer API - early console using either hard-wired PC-AT serial or just memory buffer - with EFI support disabled the BSP is more or less equivalent to amd64 BSP with multiboot2 support
Diffstat (limited to 'spec/build/bsps/x86_64/amd64/bspamd64efi.yml')
-rw-r--r--spec/build/bsps/x86_64/amd64/bspamd64efi.yml84
1 files changed, 84 insertions, 0 deletions
diff --git a/spec/build/bsps/x86_64/amd64/bspamd64efi.yml b/spec/build/bsps/x86_64/amd64/bspamd64efi.yml
new file mode 100644
index 0000000000..4fcfb5d8e1
--- /dev/null
+++ b/spec/build/bsps/x86_64/amd64/bspamd64efi.yml
@@ -0,0 +1,84 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: x86_64
+bsp: amd64efi
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: amd64
+includes:
+- bsps/shared/freebsd/stand/efi/include
+- bsps/shared/freebsd/stand/efi/include/amd64
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/x86_64/amd64/include/apic.h
+ - bsps/x86_64/amd64/include/bsp.h
+ - bsps/x86_64/amd64/include/clock.h
+ - bsps/x86_64/amd64/include/pic.h
+ - bsps/x86_64/amd64/include/start.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/x86_64/amd64/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../objmem
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: efiabi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../optmultiboot
+- role: build-dependency
+ uid: ../../opteficonsole
+- role: build-dependency
+ uid: ../../optefiearlyconsole
+- role: build-dependency
+ uid: ../../optefistom
+- role: build-dependency
+ uid: ../../optefigopm
+- role: build-dependency
+ uid: ../../optefimmapprint
+- role: build-dependency
+ uid: ../../optefibs
+- role: build-dependency
+ uid: ../../bspopts
+- role: build-dependency
+ uid: optldpagesize
+- role: build-dependency
+ uid: ../../objefi
+source:
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-cpucounter.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/gettargethash-default.c
+- bsps/shared/start/sbrk.c
+- bsps/x86_64/amd64/clock/eficlock.c
+- bsps/x86_64/amd64/console/eficonsole.c
+- bsps/x86_64/amd64/console/efistop.c
+- bsps/x86_64/amd64/console/efigop.c
+- bsps/x86_64/amd64/console/outch.c
+- bsps/x86_64/amd64/console/console.c
+- bsps/x86_64/amd64/interrupts/idt.c
+- bsps/x86_64/amd64/interrupts/isr_handler.S
+- bsps/x86_64/amd64/interrupts/pic.c
+- bsps/x86_64/amd64/start/bspstart.c
+- bsps/x86_64/amd64/start/multiboot2.c
+- bsps/x86_64/amd64/start/efimem.c
+- bsps/x86_64/amd64/start/page.c
+type: build