git: test/nvmm/demo: Clean up header inclusions

Aaron LI aly at crater.dragonflybsd.org
Wed Jul 28 16:26:19 PDT 2021


commit db3748d66cd4118cb8a910da198671ba63c8117f
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Jul 28 19:06:44 2021 +0800

    test/nvmm/demo: Clean up header inclusions
    
    * Remove unused header inclusions.
    * Reorder header inclusions.
    * Define MSR_APICBASE, APICBASE_BSP and APICBASE_EN locally to be more
      OS-independent.

Summary of changes:
 test/nvmm/demo/toyvirt/common.h |  2 ++
 test/nvmm/demo/toyvirt/elf.c    | 16 ++++++----------
 test/nvmm/demo/toyvirt/main.c   | 28 +++++++++++++---------------
 test/nvmm/demo/toyvirt/toydev.c | 11 ++---------
 4 files changed, 23 insertions(+), 34 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db3748d66cd4118cb8a910da198671ba63c8117f


-- 
DragonFly BSD source repository



More information about the Commits mailing list