git: kernel: Clean up the usage of <machine/pc/bios.h> and the header itself.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Mar 25 10:52:23 PDT 2019


commit 694f035830127c31a8f674b2a97ca49399075e08
Author: Sascha Wildner <saw at online.de>
Date:   Mon Mar 25 18:51:08 2019 +0100

    kernel: Clean up the usage of <machine/pc/bios.h> and the header itself.
    
    * In the boot code, use defines from this header instead of keeping local
      ones.
    
    * In acpi_machdep.c, remove an unneeded inclusion of the header.
    
    * Remove unused stuff from the header.
    
    Reported-by: zrj

Summary of changes:
 sys/boot/pc32/libi386/biosmem.c         | 16 ++++------------
 sys/boot/pc32/libi386/biossmap.c        | 24 ++++++++----------------
 sys/platform/pc64/acpica/acpi_machdep.c |  1 -
 sys/platform/pc64/include/pc/bios.h     | 21 ---------------------
 4 files changed, 12 insertions(+), 50 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/694f035830127c31a8f674b2a97ca49399075e08


-- 
DragonFly BSD source repository


More information about the Commits mailing list