[bus][pci] convert the pci driver's back end to simple C++ objects
It was already rolling a vtable so go ahead and just implement it as actual c++ objects.
This commit is contained in:
@@ -13,6 +13,8 @@ MODULE_SRCS += $(LOCAL_DIR)/sbi.c
|
||||
MODULE_SRCS += $(LOCAL_DIR)/spinlock.c
|
||||
MODULE_SRCS += $(LOCAL_DIR)/time.c
|
||||
|
||||
MODULE_DEPS += lib/libcpp
|
||||
|
||||
# one file uses slightly complicated designated initializer
|
||||
MODULE_CFLAGS += -Wno-override-init
|
||||
|
||||
|
||||
Reference in New Issue
Block a user