mirror of
https://github.com/ksherlock/profuse.git
synced 2024-06-10 17:29:32 +00:00
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@319 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
670254034a
commit
98fd4a1af9
|
@ -1,11 +1,11 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "Bitmap.h"
|
#include <ProDOS/Bitmap.h>
|
||||||
#include "BlockDevice.h"
|
#include <ProDOS/BlockDevice.h>
|
||||||
#include "auto.h"
|
#include "auto.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace ProFUSE;
|
using namespace ProDOS;
|
||||||
|
|
||||||
// returns # of 1-bits set (0-8)
|
// returns # of 1-bits set (0-8)
|
||||||
inline static unsigned popCount(uint8_t x)
|
inline static unsigned popCount(uint8_t x)
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace ProFUSE {
|
namespace ProDOS {
|
||||||
|
|
||||||
class BlockDevice;
|
class BlockDevice;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ public:
|
||||||
|
|
||||||
Bitmap(unsigned blocks);
|
Bitmap(unsigned blocks);
|
||||||
Bitmap(BlockDevice *device, unsigned keyPointer, unsigned blocks);
|
Bitmap(BlockDevice *device, unsigned keyPointer, unsigned blocks);
|
||||||
//todo -- constructor by loading fro, block device...
|
//todo -- constructor by loading from, block device...
|
||||||
~Bitmap();
|
~Bitmap();
|
||||||
|
|
||||||
int allocBlock();
|
int allocBlock();
|
Loading…
Reference in New Issue
Block a user