VirtualBox

Changeset 60484 in vbox for trunk/src/VBox/Devices/PC/BIOS


Ignore:
Timestamp:
Apr 14, 2016 9:25:51 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106586
Message:

PCBIOS: split up the support.asm file and implemented 32-bit division for pre-386 targets in C using uint32.h (derived from uint128.h via uint64.h).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/Makefile.kmk

    r60441 r60484  
    6969        pciutil.c \
    7070        vds.c \
    71         ../../BiosCommonCode/support.asm \
     71        ../../BiosCommonCode/__U4M.asm \
     72        ../../BiosCommonCode/__U4D.asm \
     73        ../../BiosCommonCode/__U8RS.asm \
     74        ../../BiosCommonCode/__U8LS.asm \
     75        ../../BiosCommonCode/fmemset.asm \
     76        ../../BiosCommonCode/fmemcpy.asm \
    7277        pcibio32.asm \
    7378        apm_pm.asm \
     
    8287       pci32.c
    8388
     89 ../../BiosCommonCode/DoUInt32Div.c_CFLAGS = -mc # asm.h and uint32.h both require far data pointers by default.
     90
    8491 MISCBINS += VBoxPcBios286
    8592 VBoxPcBios286_EXTENDS = VBoxPcBios386
    8693 VBoxPcBios286_CFLAGS  = -2
    8794 VBoxPcBios286_DEFS    = $(filter-out VBOX_BIOS_CPU=80386,$(VBoxPcBios386_DEFS)) VBOX_BIOS_CPU=80286
     95 VBoxPcBios286_SOURCES = $(VBoxPcBios386_SOURCES) \
     96        ../../BiosCommonCode/DoUInt32Div.c \
     97       ../../BiosCommonCode/ASMBitLastSetU16.asm
    8898
    8999 MISCBINS += VBoxPcBios8086
     
    91101 VBoxPcBios8086_CFLAGS  = -0
    92102 VBoxPcBios8086_DEFS    = $(filter-out VBOX_BIOS_CPU=80386,$(VBoxPcBios386_DEFS)) VBOX_BIOS_CPU=8086
     103 VBoxPcBios8086_SOURCES = $(VBoxPcBios386_SOURCES) \
     104        ../../BiosCommonCode/DoUInt32Div.c \
     105       ../../BiosCommonCode/ASMBitLastSetU16.asm
    93106
    94107
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette