Chameleon

Chameleon Svn Source Tree

Root/branches/rewrite/i386/modules/BiosDisk/include/BiosDisk.hpp

Source at commit 1075 created 12 years 9 months ago.
By meklort, Disk code
1/*
2 * Copyright (c) 2011 Evan Lojewski. All rights reserved.
3 *
4 */
5#ifndef BIOSDISK_H
6#define BIOSDISK_H
7
8#include <IOKit/IOTypes.h>
9#include <Disk.hpp>
10
11
12#define super Disk
13
14class BiosDisk : public Disk
15{
16public:
17 BiosDisk(const char* name);
18 ~BiosDisk();
19
20 virtual IOReturn Read(UInt64 sector, UInt64 size, char* buffer);
21 virtual IOReturn Write(UInt64 sector, UInt64 size, char* buffer);
22
23protected:
24
25private:
26 UInt8 mDiskID;
27};
28
29#endif /* BIOSDISK_H */
30

Archive Download this file

Revision: 1075