commit 70c69c34060140e40d6eff7ee0256cad8150bef3
Author: Sascha Wildner <[email protected]>
Date:   Tue Apr 27 21:31:24 2021 +0200

    kernel/mptable: Fix wrong start of mptable search area for non-EBDA case.
    
    If no Extended BIOS Data Area (EBDA) exists, the kernel will fall back
    to searching the MP table in the last kilobyte of the base memory. The
    amount of base memory is in kilobytes but the calculation was treating
    it like bytes. Adjust the calculation.
    
    Nothing except bhyve seems to have triggered this path so far. Usually
    there is an EBDA.
    
    Thanks to everyone involved.
    
    Reported-by: Pierre-Alain TORET <[email protected]>
    Fix-by:      Peter Grehan <[email protected]> (changed a little by me)
    FreeBSD-bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255191

Summary of changes:
 sys/platform/pc64/x86_64/mptable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70c69c34060140e40d6eff7ee0256cad8150bef3


-- 
DragonFly BSD source repository

Reply via email to