Module Name: src Committed By: skrll Date: Thu Aug 15 06:01:40 UTC 2024
Modified Files: src/sys/stand/efiboot: efiboot.h efifdt.h Log Message: Move function declarations into correct header. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/stand/efiboot/efiboot.h cvs rdiff -u -r1.12 -r1.13 src/sys/stand/efiboot/efifdt.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/stand/efiboot/efiboot.h diff -u src/sys/stand/efiboot/efiboot.h:1.21 src/sys/stand/efiboot/efiboot.h:1.22 --- src/sys/stand/efiboot/efiboot.h:1.21 Thu Aug 15 05:59:49 2024 +++ src/sys/stand/efiboot/efiboot.h Thu Aug 15 06:01:40 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: efiboot.h,v 1.21 2024/08/15 05:59:49 skrll Exp $ */ +/* $NetBSD: efiboot.h,v 1.22 2024/08/15 06:01:40 skrll Exp $ */ /*- * Copyright (c) 2016 Kimihiro Nonaka <non...@netbsd.org> @@ -89,12 +89,6 @@ int efi_device_path_depth(EFI_DEVICE_PAT int efi_device_path_count(EFI_DEVICE_PATH *); int efi_device_path_ncmp(EFI_DEVICE_PATH *, EFI_DEVICE_PATH *, int); -/* efifdt.c */ -int efi_fdt_prepare_boot(const char *, const char *, u_long *); -void efi_fdt_cleanup_boot(void); -size_t efi_fdt_alloc_size(void); -void efi_fdt_set_virtual_address_map(EFI_MEMORY_DESCRIPTOR *, UINTN, UINTN, UINTN, UINT32); - /* efinet.c */ struct efi_net_if { const char *if_name; Index: src/sys/stand/efiboot/efifdt.h diff -u src/sys/stand/efiboot/efifdt.h:1.12 src/sys/stand/efiboot/efifdt.h:1.13 --- src/sys/stand/efiboot/efifdt.h:1.12 Fri Mar 25 21:23:00 2022 +++ src/sys/stand/efiboot/efifdt.h Thu Aug 15 06:01:40 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: efifdt.h,v 1.12 2022/03/25 21:23:00 jmcneill Exp $ */ +/* $NetBSD: efifdt.h,v 1.13 2024/08/15 06:01:40 skrll Exp $ */ /*- * Copyright (c) 2018 Jared McNeill <jmcne...@invisible.ca> @@ -48,3 +48,8 @@ void efi_fdt_userconf(void); void efi_fdt_init(u_long, u_long); void efi_fdt_fini(void); void efi_fdt_system_table(void); + +int efi_fdt_prepare_boot(const char *, const char *, u_long *); +void efi_fdt_cleanup_boot(void); +size_t efi_fdt_alloc_size(void); +void efi_fdt_set_virtual_address_map(EFI_MEMORY_DESCRIPTOR *, UINTN, UINTN, UINTN, UINT32);