git: DragonFly_RELEASE_6_4 efirt - Register EFI Reset with the shutdown_final EVENTHANDLER.

Aaron LI aly at crater.dragonflybsd.org
Fri Jun 19 20:00:40 PDT 2026


commit 2a637440bc04566ad08fb3c63b3fda1e77a535e4
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri May 15 15:19:40 2026 +0200

    efirt - Register EFI Reset with the shutdown_final EVENTHANDLER.
    
    - This adds a safeguard to efi_enter() to fail gracefully when called from
      a kernel thread, where curthread->td_lwp is NULL.
    - Further work is needed to allow EFI Reset to work more simply without
      messing with the current LWP's vmspace.

Summary of changes:
 sys/platform/pc64/x86_64/efirt.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a637440bc04566ad08fb3c63b3fda1e77a535e4


-- 
DragonFly BSD source repository


More information about the Commits mailing list