git-svn-id: https://spexeah.com:8443/svn/Asuro@397 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
131762059a
commit
06fe9fc32f
@ -23,6 +23,7 @@ uses
|
||||
type
|
||||
|
||||
TControllerType = (ControllerIDE, ControllerUSB, ControllerAHCI, ControllerNET);
|
||||
TFilesystem = (FAT32);
|
||||
|
||||
PStorage_device = ^TStorage_Device;
|
||||
APStorage_Device = array[0..256] of PStorage_device;
|
||||
@ -31,6 +32,7 @@ type
|
||||
controllerId0 : uint32;
|
||||
maxSectorCount : uint32;
|
||||
sectorSize : uint32;
|
||||
writable : boolean;
|
||||
end;
|
||||
|
||||
|
||||
|
35
src/driver/storage/volumemanagement.pas
Normal file
35
src/driver/storage/volumemanagement.pas
Normal file
@ -0,0 +1,35 @@
|
||||
{ ************************************************
|
||||
* Asuro
|
||||
* Unit: Drivers/storage/storagemanagement
|
||||
* Description: manages logical volumes on disks
|
||||
*
|
||||
************************************************
|
||||
* Author: Aaron Hance
|
||||
* Contributors:
|
||||
************************************************ }
|
||||
unit volumemanagement;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
util,
|
||||
drivertypes,
|
||||
console,
|
||||
terminal,
|
||||
drivermanagement,
|
||||
storagemanagement,
|
||||
vmemorymanager,
|
||||
lmemorymanager;
|
||||
|
||||
type
|
||||
|
||||
TStorage_Volume = record
|
||||
device : TStorage_Device;
|
||||
sectorStart : uint32;
|
||||
sectorSize : uint32;
|
||||
filesystem : uint32;
|
||||
end;
|
||||
|
||||
var
|
||||
|
||||
implementation
|
Loading…
x
Reference in New Issue
Block a user