move delay code into separate function.
[AROS.git] / rom / partition / partition.conf
blob6544acb86a10c89f6861c423186e953daa7202b3
1 ##begin config
2 basename Partition
3 libbase PartitionBase
4 libbasetype struct PartitionBase_intern
5 libbasetypeextern struct PartitionBase
6 seglist_field segList
7 version 3.1
8 residentpri 40
9 rellib utility
10 ##end config
13 ##begin cdef
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.
19  */
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)
25 ##end cdef
28 ##begin cdefprivate
29 #define __aros_getoffsettable()   ((char *)PartitionBase)
30 #define __aros_setoffsettable(lh) 
32 #include "partition_intern.h"
33 ##end cdefprivate
36 ##begin functionlist
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, struct TagItem *taglist) (A1, A2)
44 void DeletePartition(struct PartitionHandle *ph) (A1)
45 LONG GetPartitionTableAttrs(struct PartitionHandle *root, struct TagItem *taglist) (A1, A2)
46 LONG SetPartitionTableAttrs(struct PartitionHandle *root, struct TagItem *taglist) (A1, A2)
47 LONG GetPartitionAttrs(struct PartitionHandle *ph, struct TagItem *taglist) (A1, A2)
48 LONG SetPartitionAttrs(struct PartitionHandle *ph, 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, struct TagItem *taglist) (A1, A2)
53 BPTR LoadFileSystem(struct Node *handle) (A1)
54 void GetFileSystemAttrsA(struct Node *handle, 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)
59 ##end functionlist