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