|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <stdio.h>#include <string.h>#include <fcntl.h>#include <unistd.h>#include <stdint.h>#include <sys/types.h>
Classes | |
| struct | linux_dirent64 |
Macros | |
| #define | DT_DIR 4 |
| #define | DT_REG 8 |
Functions | |
| static long | getdents (int fd, void *buf, unsigned int count) |
| static const char * | pci_class_name (uint8_t base_class) |
| static int | read_attr (const char *dir, const char *attr, char *buf, int buflen) |
| static uint16_t | parse_hex16 (const char *s) |
| static uint32_t | parse_hex32 (const char *s) |
| int | main (int argc, char **argv) |
| #define DT_DIR 4 |
| #define DT_REG 8 |
|
static |
| int main | ( | int | argc, |
| char ** | argv ) |

|
static |
parse_hex16() - Parse a "0xNNNN" string into a uint16_t.

|
static |
parse_hex32() - Parse a "0xNNNNNNNN" string into a uint32_t.

|
static |

|
static |

