git: boot/libi386: use macros from <machine/psl.h> to represent eflags's bits

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 24 09:48:07 PST 2015


commit 4905c84722220a1092a8547e184e19664f6b8765
Author: Alexander Kuleshov <kuleshovmail at gmail.com>
Date:   Sat Dec 19 00:01:13 2015 +0600

    boot/libi386: use macros from <machine/psl.h> to represent eflags's bits
    
    The libi386's source code contains some checks of the EFLAGS's bits. In
    the same time the <machine/psl.h> header file provides macros which
    represents these bits. Let's use human readable names instead of
    numbers.

Summary of changes:
 sys/boot/pc32/libi386/biosdisk.c | 17 +++++++++--------
 sys/boot/pc32/libi386/biosmem.c  |  6 +++---
 sys/boot/pc32/libi386/biospci.c  |  8 ++++----
 sys/boot/pc32/libi386/biossmap.c |  5 +++--
 4 files changed, 19 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4905c84722220a1092a8547e184e19664f6b8765


-- 
DragonFly BSD source repository



More information about the Commits mailing list