kernel.system.definitions



struct Memory;
This structure keeps track of information pertaining to onboard memory.

ulong length;
The size of the RAM.

void* virtualStart;
The Virtual location of RAM.

struct Module;
This structure keeps track of modules loaded alongside the kernel.

PhysicalAddress start;
The physical location of the module.

ulong length;
The length of the module.

char[] name;
The name of the module, if given.

char[] path;
The path to this module on the file system.

enum RegionType;
This enum is for the Region structure It contains human-read information about the type of region.

Reserved
The region is special reserved data from the BIOS

Kernel
This signifies that this region is the kernel

struct Region;
This structure keeps track of special memory regions.

PhysicalAddress start;
The location and length of the region

ubyte* virtualStart;
The virtual location of the region

RegionType type;
The type of region. See above for a list of values.

struct Disk;
This structure keeps information about the disks found in the system.

ulong number;
Some identifing number for the drive, as reported by the system.

ulong cylinders;
Typical information about a mechanical hard disk.

uint numPorts;
The ports used to communicate with the disk, if any.

struct Processor;
This structure stores information about the processors available in the system.

struct Cache;
This structure stores information about processor caches available.

struct Device;
This structure stores information about known devices on the system.


Page generated by Ddoc.