/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _PCFILEP_H
#define _PCFILEP_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Access permissions for dosAccess(), dosOpen()
* NOTE: These permission need to match those for the DOS compiler.
*/
/* active partition */
/* the fdisk starts. */
#pragma pack(1)
struct _fdisk_partition_ {
union {
long fd_start_sec_long;
struct {
} s;
} u;
long fd_part_len;
};
#pragma pack()
#pragma pack(1)
struct _boot_sector_ {
/*
* Byte offset at this point is 28 so we can declare the next
* variable with the correct type and not worry about alignment.
*/
long bs_hidden_sectors;
/* ---- ADDED BY SUNSOFT FOR MDBOOT ---- */
};
#pragma pack()
/*
* Cluster types
*/
/*
* Cluster operations for allocation
*/
/*
* This structure is filled in by initFAT()
*/
struct _fat_controller_ {
union {
} fu;
};
#pragma pack(1)
struct _dir_entry_ {
short d_time;
short d_date;
long d_size;
};
#pragma pack()
/*
* Number of entries in one sector
*/
/*
* Directory entry attributes
*/
struct _file_descriptor_ {
};
#ifdef __cplusplus
}
#endif
#endif /* _PCFILEP_H */