Root/
Source at commit 1146 created 12 years 11 months ago. By azimutz, Sync with trunk (r1145). Add nVidia dev id's, 0DF4 for "GeForce GT 450M" (issue 99) and 1251 for "GeForce GTX 560M" (thanks to oSxFr33k for testing). | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2011 Evan Lojewski. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | #include <cstdlib>␊ |
6 | #include <iostream>␊ |
7 | #include <modules>␊ |
8 | ␊ |
9 | extern "C"␊ |
10 | {␊ |
11 | void FileSystem_start();␊ |
12 | ␊ |
13 | // placeholder untill complete␊ |
14 | int file_size(int fdesc);␊ |
15 | int close(int fdesc);␊ |
16 | int open(const char *str, int how);␊ |
17 | int read(int fdesc, char *buf, int count);␊ |
18 | int readdir(struct dirstuff *dirp, const char **name, long *flags, long *time);␊ |
19 | struct dirstuff * opendir(const char *path);␊ |
20 | }␊ |
21 | ␊ |
22 | void FileSystem_start()␊ |
23 | {␊ |
24 | }␊ |
25 | ␊ |
26 | int file_size(int fdesc)␊ |
27 | {␊ |
28 | return -1; // unsupported␊ |
29 | }␊ |
30 | ␊ |
31 | int close(int fdesc)␊ |
32 | {␊ |
33 | return -1;␊ |
34 | }␊ |
35 | ␊ |
36 | int open(const char *str, int how)␊ |
37 | {␊ |
38 | return -1;␊ |
39 | }␊ |
40 | int read(int fdesc, char *buf, int count)␊ |
41 | {␊ |
42 | return -1;␊ |
43 | }␊ |
44 | ␊ |
45 | int readdir(struct dirstuff *dirp, const char **name, long *flags, long *time)␊ |
46 | {␊ |
47 | return -1;␊ |
48 | }␊ |
49 | ␊ |
50 | struct dirstuff * opendir(const char *path)␊ |
51 | {␊ |
52 | return NULL;␊ |
53 | }␊ |
54 | ␊ |
55 |