git: boot/efi: Move the loader's efi_main() from libefi to the loader itself.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Aug 9 03:15:14 PDT 2020


commit 68b5cdc988c65d2f00936d18fd0f392a9443ccb8
Author: Sascha Wildner <saw at online.de>
Date:   Sun Aug 9 10:48:06 2020 +0200

    boot/efi: Move the loader's efi_main() from libefi to the loader itself.
    
    It will allow boot1 (that has its own efi_main()) to use libefi.
    
    While here, reduce differences with FreeBSD a bit more.
    
    Taken-from: FreeBSD

Summary of changes:
 lib/libstand/stand.h                               |   1 +
 sys/boot/efi/boot1/boot1.c                         |  56 ++++----
 sys/boot/efi/boot1/boot_module.h                   |   5 +-
 sys/boot/efi/boot1/ufs_module.c                    |   8 +-
 sys/boot/efi/include/efilib.h                      |   3 +-
 sys/boot/efi/libefi/libefi.c                       | 153 +--------------------
 sys/boot/efi/loader/Makefile                       |   1 +
 .../efi/{libefi/libefi.c => loader/efi_main.c}     |  62 ++++-----
 8 files changed, 66 insertions(+), 223 deletions(-)
 copy sys/boot/efi/{libefi/libefi.c => loader/efi_main.c} (89%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/68b5cdc988c65d2f00936d18fd0f392a9443ccb8


-- 
DragonFly BSD source repository


More information about the Commits mailing list