]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: use archsw.arch_copyin instead of direct call
authorWarner Losh <imp@FreeBSD.org>
Fri, 16 Sep 2022 15:08:32 +0000 (09:08 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 16 Sep 2022 15:18:56 +0000 (09:18 -0600)
commit4c670b53a0007739a0fc84ea4bc24a5895953aae
treeebd2abdeb4768a88379dda2f5d9ff3fec2106625
parenta705c72f214293a7aae5f83235a82f126f73e109
stand: use archsw.arch_copyin instead of direct call

This replaces the CALLBACK(copyin, ...) with a call to
archsw.arch_copyin which points to a function that does the
callback. More diff reduction for the multiple copies of these routines
in the tree.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D36569
stand/userboot/userboot/bootinfo.c
stand/userboot/userboot/bootinfo32.c
stand/userboot/userboot/bootinfo64.c