mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
stand: Move eficom to libefi
Rename efiserialc to eficom.c and move it to libefi. Remove loader.efi.h, since it's not needed. It's architecture independent (though how we use it might vary). Drivers also belong in libfoo in the boot loader: all the BIOS drivers are in i386/libi386 and the console driver is in efi/libefi. Sponsored by: Netflix Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D40007
This commit is contained in:
parent
82cf061eba
commit
bab80c12a8
|
@ -11,6 +11,7 @@ SRCS= delay.c \
|
||||||
efi_console.c \
|
efi_console.c \
|
||||||
efi_driver_utils.c \
|
efi_driver_utils.c \
|
||||||
efichar.c \
|
efichar.c \
|
||||||
|
eficom.c \
|
||||||
efienv.c \
|
efienv.c \
|
||||||
efihttp.c \
|
efihttp.c \
|
||||||
efinet.c \
|
efinet.c \
|
||||||
|
|
|
@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$");
|
||||||
#include <efi.h>
|
#include <efi.h>
|
||||||
#include <efilib.h>
|
#include <efilib.h>
|
||||||
|
|
||||||
#include "loader_efi.h"
|
|
||||||
|
|
||||||
static EFI_GUID serial = SERIAL_IO_PROTOCOL;
|
static EFI_GUID serial = SERIAL_IO_PROTOCOL;
|
||||||
|
|
||||||
#define COMC_TXWAIT 0x40000 /* transmit timeout */
|
#define COMC_TXWAIT 0x40000 /* transmit timeout */
|
|
@ -5,7 +5,6 @@ SRCS+= amd64_tramp.S \
|
||||||
elf64_freebsd.c \
|
elf64_freebsd.c \
|
||||||
trap.c \
|
trap.c \
|
||||||
multiboot2.c \
|
multiboot2.c \
|
||||||
efiserialio.c \
|
|
||||||
exc.S
|
exc.S
|
||||||
|
|
||||||
.PATH: ${BOOTSRC}/i386/libi386
|
.PATH: ${BOOTSRC}/i386/libi386
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
SRCS+= exec.c \
|
SRCS+= exec.c \
|
||||||
efiserialio.c \
|
|
||||||
start.S
|
start.S
|
||||||
|
|
||||||
HAVE_FDT=yes
|
HAVE_FDT=yes
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
HAVE_FDT=yes
|
HAVE_FDT=yes
|
||||||
|
|
||||||
SRCS+= exec.c \
|
SRCS+= exec.c \
|
||||||
efiserialio.c \
|
|
||||||
start.S
|
start.S
|
||||||
|
|
||||||
.PATH: ${BOOTSRC}/arm64/libarm64
|
.PATH: ${BOOTSRC}/arm64/libarm64
|
||||||
|
|
|
@ -3,5 +3,4 @@
|
||||||
HAVE_FDT=yes
|
HAVE_FDT=yes
|
||||||
|
|
||||||
SRCS+= exec.c \
|
SRCS+= exec.c \
|
||||||
efiserialio.c \
|
|
||||||
start.S
|
start.S
|
||||||
|
|
Loading…
Reference in a new issue