diff options
Diffstat (limited to 'src/sys/os/os_stub.c')
-rw-r--r-- | src/sys/os/os_stub.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sys/os/os_stub.c b/src/sys/os/os_stub.c index a7498e0..1447924 100644 --- a/src/sys/os/os_stub.c +++ b/src/sys/os/os_stub.c @@ -28,11 +28,24 @@ */ #include <sys/cdefs.h> +#include <sys/errno.h> #include <sys/cpuvar.h> #include <sys/syslog.h> +#include <io/pci/cam.h> __weak void bsp_ap_startup(void) { printf("bsp_ap_startup: unimplemented\n"); } + +/* + * PCI cam init hooks stub + */ +__weak int +pci_cam_init(struct cam_hook *chp) +{ + (void)chp; + printf("pci_cam_init: unimplemented\n"); + return -ENOTSUP; +} |