Missing boot loader headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
#ifndef KERNEL_BOOT_PARTITIONS_H
|
||||
#define KERNEL_BOOT_PARTITIONS_H
|
||||
|
||||
|
||||
#include <boot/vfs.h>
|
||||
#include <disk_device_manager.h>
|
||||
|
||||
|
||||
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 kPartitionTypeApple "Apple"
|
||||
|
||||
struct partition_module_info;
|
||||
extern partition_module_info gAmigaPartitionModule;
|
||||
extern partition_module_info gIntelPartitionModule;
|
||||
extern partition_module_info gApplePartitionModule;
|
||||
|
||||
#endif /* KERNEL_BOOT_PARTITIONS_H */
|
||||
Reference in New Issue
Block a user