4 libbasetype struct PartitionBase_intern
5 libbasetypeextern struct PartitionBase
11 #include <libraries/partition.h>
13 /* Helpers: the AROS call convention places QUADs at the end of
14 * argument list, so we use these helpers to reorder the arguments into
15 * a more natural order.
17 #define ReadPartitionData(StartBlock, DataSize, Buffer, Partition) \
18 ReadPartitionDataQ(DataSize, Buffer, Partition, StartBlock)
20 #define WritePartitionData(StartBlock, DataSize, Buffer, Partition) \
21 WritePartitionDataQ(DataSize, Buffer, Partition, StartBlock)
26 #include "partition_intern.h"
29 struct PartitionHandle *OpenRootPartition(CONST_STRPTR Device, LONG Unit) (A1, D1)
30 void CloseRootPartition(struct PartitionHandle *ph) (A1)
31 LONG OpenPartitionTable(struct PartitionHandle *root) (A1)
32 void ClosePartitionTable(struct PartitionHandle *root) (A1)
33 LONG WritePartitionTable(struct PartitionHandle *root) (A1)
34 LONG CreatePartitionTable(struct PartitionHandle *root, ULONG type) (A1, D1)
35 struct PartitionHandle *AddPartition(struct PartitionHandle *root, struct TagItem *taglist) (A1, A2)
36 void DeletePartition(struct PartitionHandle *ph) (A1)
37 LONG GetPartitionTableAttrs(struct PartitionHandle *root, const struct TagItem *taglist) (A1, A2)
38 LONG SetPartitionTableAttrs(struct PartitionHandle *root, struct TagItem *taglist) (A1, A2)
39 LONG GetPartitionAttrs(struct PartitionHandle *ph, const struct TagItem *taglist) (A1, A2)
40 LONG SetPartitionAttrs(struct PartitionHandle *ph, struct TagItem *taglist) (A1, A2)
41 const struct PartitionAttribute *QueryPartitionTableAttrs(struct PartitionHandle *table) (A1)
42 const struct PartitionAttribute *QueryPartitionAttrs(struct PartitionHandle *table) (A1)
43 LONG DestroyPartitionTable(struct PartitionHandle *root) (A1)
44 struct Node *FindFileSystemA(struct PartitionHandle *ph, struct TagItem *taglist) (A1, A2)
45 BPTR LoadFileSystem(struct Node *handle) (A1)
46 void GetFileSystemAttrsA(struct Node *handle, const struct TagItem *taglist) (A1, A2)
47 LONG AddBootFileSystem(struct Node *handle) (A1)
48 LONG LoadBootFileSystems() ()
49 LONG ReadPartitionDataQ(struct PartitionHandle *Partition, APTR Buffer, ULONG DataSize, UQUAD StartBlock) (A0, A1, D0, D1/D2)
50 LONG WritePartitionDataQ(struct PartitionHandle *Partition, APTR Buffer, ULONG DataSize, UQUAD StartBlock) (A0, A1, D0, D1/D2)