pc: consoldiate LX emul of current drivers

This commit de-duplicates the redundant dummy implementations and
to some degree also the 'lx_emul.c' implementations while also
decluttering the various 'dep.list' files.

The code is moved into 'src/lib/pc/lx_emul' where it becomes part
of the 'pc_lx_emul' library.

Fixes #4500.
This commit is contained in:
Josef Söntgen
2022-05-03 18:32:20 +02:00
committed by Christian Helmuth
parent e313059dd5
commit 6954547b4c
54 changed files with 2858 additions and 5716 deletions

View File

@ -31,3 +31,32 @@ SRC_CC += lx_emul/pci_init.cc
SRC_CC += lx_kit/device.cc
SRC_CC += lx_kit/memory_dma.cc
SRC_CC += lx_kit/spec/x86/platform.cc
SRC_C += lx_emul/shadow/fs/sysfs/dir.c
SRC_C += lx_emul/shadow/fs/sysfs/file.c
SRC_C += lx_emul/shadow/fs/sysfs/group.c
SRC_C += lx_emul/shadow/fs/sysfs/symlink.c
#
# Replacing implementations that could be merged into DDE Linux.
#
SRC_C += lx_emul/mapping.c
SRC_C += lx_emul/page_alloc.c
SRC_C += lx_emul/sched_core.c
SRC_C += lx_emul/slab_common.c
SRC_C += lx_emul/softirq.c
SRC_C += lx_emul/vmalloc.c
SRC_C += lx_emul/shadow/fs/libfs.c
SRC_C += lx_emul/shadow/kernel/rcu/tiny.c
SRC_C += lx_emul/shadow/lib/logic_iomem.c
SRC_C += lx_emul/shadow/drivers/acpi/bus.c
SRC_C += lx_emul/shadow/drivers/acpi/device_sysfs.c
SRC_C += lx_emul/shadow/drivers/acpi/glue.c
SRC_C += lx_emul/shadow/drivers/acpi/property.c
SRC_C += lx_emul/shadow/drivers/acpi/scan.c
SRC_C += lx_emul/shadow/drivers/acpi/utils.c
# not needed by intel fb
SRC_C += lx_emul/shadow/mm/dmapool.c