mirror of
https://github.com/ksherlock/profuse.git
synced 2025-08-15 20:27:23 +00:00
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@319 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -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();
|
Reference in New Issue
Block a user