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

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun May 17 06:11:30 PDT 2026


commit b210d9a1e6158533fe784ed5f2733611670a0fc4
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/b210d9a1e6158533fe784ed5f2733611670a0fc4


-- 
DragonFly BSD source repository


More information about the Commits mailing list