Defines | |
| #define | dump_line(x0, x1...) fprintf(f, "%*s" x0, ind, "", x1) |
| #define | dump_line_str(x0...) fprintf(f, "%*s%s", ind, "", x0) |
| #define | dump_line0(x0...) fprintf(f, x0) |
Functions | |
| static void | dump_normal (hd_data_t *, hd_t *, FILE *) |
| static void | dump_cpu (hd_data_t *, hd_t *, FILE *) |
| static void | dump_bios (hd_data_t *, hd_t *, FILE *) |
| static void | dump_prom (hd_data_t *, hd_t *, FILE *) |
| static void | dump_sys (hd_data_t *, hd_t *, FILE *) |
| static char * | dump_hid (hd_data_t *hd_data, hd_id_t *hid, int format, char *buf, int buf_size) |
| static char * | dump_hid2 (hd_data_t *hd_data, hd_id_t *hid1, hd_id_t *hid2, char *buf, int buf_size) |
| static char * | print_dev_num (hd_dev_num_t *d) |
| void | hd_dump_entry (hd_data_t *hd_data, hd_t *h, FILE *f) |
Variables | |
| static int | ind = 0 |
This module provides a function that prints a hardware entry. This is useful for debugging or to provide the user with some fancy info.
| #define dump_line | ( | x0, | |||
| x1... | ) | fprintf(f, "%*s" x0, ind, "", x1) |
| #define dump_line0 | ( | x0... | ) | fprintf(f, x0) |
| #define dump_line_str | ( | x0... | ) | fprintf(f, "%*s%s", ind, "", x0) |
| char * dump_hid | ( | hd_data_t * | hd_data, | |
| hd_id_t * | hid, | |||
| int | format, | |||
| char * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| char * dump_hid2 | ( | hd_data_t * | hd_data, | |
| hd_id_t * | hid1, | |||
| hd_id_t * | hid2, | |||
| char * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| char * print_dev_num | ( | hd_dev_num_t * | d | ) | [static] |
int ind = 0 [static] |