From e5d542ba54bff1c62271ccffdac49eca59f90bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 8 Sep 2003 02:39:24 +0000 Subject: [PATCH] Moved the Partition class declaration to the source file. Added some partition types. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4551 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/boot/partitions.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/headers/private/kernel/boot/partitions.h b/headers/private/kernel/boot/partitions.h index 7989462bb2..1921b3cd10 100644 --- a/headers/private/kernel/boot/partitions.h +++ b/headers/private/kernel/boot/partitions.h @@ -10,26 +10,18 @@ #include -class Partition : public partition_data, Node { - public: - Partition(int deviceFD); - virtual ~Partition(); - - virtual ssize_t ReadAt(void *cookie, off_t offset, void *buffer, size_t bufferSize); - virtual ssize_t WriteAt(void *cookie, off_t offset, const void *buffer, size_t bufferSize); - - private: - int fFD; -}; - // DiskDeviceTypes we need/support in the boot loader #define kPartitionTypeAmiga "Amiga RDB" #define kPartitionTypeIntel "Intel" +#define kPartitionTypeIntelExtended "Intel Extended" #define kPartitionTypeApple "Apple" +#define kPartitionTypeBFS "BFS" + struct partition_module_info; extern partition_module_info gAmigaPartitionModule; -extern partition_module_info gIntelPartitionModule; +extern partition_module_info gIntelPartitionMapModule; +extern partition_module_info gIntelExtendedPartitionModule; extern partition_module_info gApplePartitionModule; #endif /* KERNEL_BOOT_PARTITIONS_H */