umka/windows/pci.c

28 lines
632 B
C
Raw Permalink Normal View History

2022-06-27 19:36:56 +02:00
/*
SPDX-License-Identifier: GPL-2.0-or-later
UMKa - User-Mode KolibriOS developer tools
Copyright (C) 2021 Magomed Kostoev <mkostoevr@yandex.ru>
*/
2021-12-12 11:35:35 +01:00
#include "pci.h"
#include <stdio.h>
2021-12-12 11:35:35 +01:00
#include <stdint.h>
#include "../umka.h"
2021-12-12 11:35:35 +01:00
char pci_path[UMKA_PATH_MAX] = ".";
2021-12-12 11:35:35 +01:00
__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;
2021-12-12 11:35:35 +01:00
printf("STUB: %s:%d", __FILE__, __LINE__);
return 0xffffffff;
}