umka/windows/pci.c
Ivan Baravy be21f83af2 Split vnet driver to generic vnet part, tap and file interfaces
Fix most compilation issues of umka_shell on Windows(R)(TM), not all
of them.
2023-02-01 18:55:20 +00:00

28 lines
632 B
C
Executable File

/*
SPDX-License-Identifier: GPL-2.0-or-later
UMKa - User-Mode KolibriOS developer tools
Copyright (C) 2021 Magomed Kostoev <mkostoevr@yandex.ru>
*/
#include "pci.h"
#include <stdio.h>
#include <stdint.h>
#include "../umka.h"
char pci_path[UMKA_PATH_MAX] = ".";
__attribute__((stdcall)) uint32_t pci_read(uint32_t bus, uint32_t dev,
uint32_t fun, uint32_t offset,
size_t len) {
(void)bus;
(void)dev;
(void)fun;
(void)offset;
(void)len;
printf("STUB: %s:%d", __FILE__, __LINE__);
return 0xffffffff;
}