g_part_pc98.c (302408) | g_part_pc98.c (332640) |
---|---|
1/*- 2 * Copyright (c) 2008 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: stable/11/sys/geom/part/g_part_pc98.c 266880 2014-05-30 10:35:51Z ae $"); | 28__FBSDID("$FreeBSD: stable/11/sys/geom/part/g_part_pc98.c 332640 2018-04-17 02:18:04Z kevans $"); |
29 30#include <sys/param.h> 31#include <sys/bio.h> 32#include <sys/diskpc98.h> 33#include <sys/endian.h> 34#include <sys/kernel.h> 35#include <sys/kobj.h> 36#include <sys/limits.h> --- 73 unchanged lines hidden (view full) --- 110 g_part_pc98_methods, 111 sizeof(struct g_part_pc98_table), 112 .gps_entrysz = sizeof(struct g_part_pc98_entry), 113 .gps_minent = PC98_NPARTS, 114 .gps_maxent = PC98_NPARTS, 115 .gps_bootcodesz = BOOTSIZE, 116}; 117G_PART_SCHEME_DECLARE(g_part_pc98); | 29 30#include <sys/param.h> 31#include <sys/bio.h> 32#include <sys/diskpc98.h> 33#include <sys/endian.h> 34#include <sys/kernel.h> 35#include <sys/kobj.h> 36#include <sys/limits.h> --- 73 unchanged lines hidden (view full) --- 110 g_part_pc98_methods, 111 sizeof(struct g_part_pc98_table), 112 .gps_entrysz = sizeof(struct g_part_pc98_entry), 113 .gps_minent = PC98_NPARTS, 114 .gps_maxent = PC98_NPARTS, 115 .gps_bootcodesz = BOOTSIZE, 116}; 117G_PART_SCHEME_DECLARE(g_part_pc98); |
118MODULE_VERSION(geom_part_pc98, 0); |
|
118 119static int 120pc98_parse_type(const char *type, u_char *dp_mid, u_char *dp_sid) 121{ 122 const char *alias; 123 char *endp; 124 long lt; 125 --- 492 unchanged lines hidden --- | 119 120static int 121pc98_parse_type(const char *type, u_char *dp_mid, u_char *dp_sid) 122{ 123 const char *alias; 124 char *endp; 125 long lt; 126 --- 492 unchanged lines hidden --- |