Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/part/g_part_pc98.c
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | static struct g_part_scheme g_part_pc98_scheme = { | ||||
g_part_pc98_methods, | g_part_pc98_methods, | ||||
sizeof(struct g_part_pc98_table), | sizeof(struct g_part_pc98_table), | ||||
.gps_entrysz = sizeof(struct g_part_pc98_entry), | .gps_entrysz = sizeof(struct g_part_pc98_entry), | ||||
.gps_minent = PC98_NPARTS, | .gps_minent = PC98_NPARTS, | ||||
.gps_maxent = PC98_NPARTS, | .gps_maxent = PC98_NPARTS, | ||||
.gps_bootcodesz = BOOTSIZE, | .gps_bootcodesz = BOOTSIZE, | ||||
}; | }; | ||||
G_PART_SCHEME_DECLARE(g_part_pc98); | G_PART_SCHEME_DECLARE(g_part_pc98); | ||||
MODULE_VERSION(geom_part_pc98, 0); | |||||
static int | static int | ||||
pc98_parse_type(const char *type, u_char *dp_mid, u_char *dp_sid) | pc98_parse_type(const char *type, u_char *dp_mid, u_char *dp_sid) | ||||
{ | { | ||||
const char *alias; | const char *alias; | ||||
char *endp; | char *endp; | ||||
long lt; | long lt; | ||||
▲ Show 20 Lines • Show All 492 Lines • Show Last 20 Lines |