From 1d8ca048d3f9592c23bd99dc2d51f5acf2c047c1 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Thu, 31 May 2012 22:29:52 +0400
Subject: Added stub for get_nth_pci_info. BeRometer works now.
---
src/system/libroot/os/arch/x86/compatibility.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/system/libroot/os/arch/x86/compatibility.c b/src/system/libroot/os/arch/x86/compatibility.c
index 6ba9fec..291f35c 100644
a
|
b
|
|
13 | 13 | #include <errno_private.h> |
14 | 14 | #include <fs_info.h> |
15 | 15 | #include <fs_volume.h> |
| 16 | #include <PCI.h> |
16 | 17 | |
17 | 18 | #include <syscalls.h> |
18 | 19 | |
… |
… |
int _kstatfs_(dev_t device, void *whatever, int fd, const char *path, fs_info *i
|
27 | 28 | int mount(const char *filesystem, const char *where, const char *device, ulong flags, |
28 | 29 | void *parms, int len); |
29 | 30 | int unmount(const char *path); |
| 31 | long get_nth_pci_info(long index, pci_info *info); |
30 | 32 | |
31 | 33 | |
32 | 34 | int |
… |
… |
unmount(const char *path)
|
143 | 145 | return 0; |
144 | 146 | } |
145 | 147 | |
| 148 | |
| 149 | long get_nth_pci_info(long index,pci_info *info) |
| 150 | { |
| 151 | return B_ERROR; |
| 152 | } |