cmsx.kernel Namespace

Classes

public class AddFileDDRequest
public class AddressSpace
public class BitmapBlock
public class Block
public class BlockBitmap
public class BlockCache
public class BlockKey
public class BlockKeyHash
public abstract class BlockManager
public class BlockNumberBlock
public class BlockPutter
public class Buffer
public class ConsoleDriver
public class ConsoleInputFile
public class ConsoleOutputFile
public abstract class DDRequest
public class Debugger
public class DebuggerInputFile
public class DebuggerOutputFile
public class DirectoryBlock
public class DirectoryEntry
public class DirectoryFile
public class DirectorySlot
public class DiskDriver
public class Fifo
public abstract class File
public class FileBlock
public class FilePtr
public abstract class FileSystem
public class GlobalFileTable
public class GlobalMemoryTable
public class HostBlockManager
public class HostDirectoryFile
public class HostFile
public class HostFileSystem
public class HostINodeManager
public class INode
public class INodeBitmap
public class INodeBlock
public class INodeKey
public class INodeKeyHash
public class INodeLock
public abstract class INodeManager
public class INodePutter
public class IOCompletion
public class IORequest
public class Kernel
public class LogFileWriter
public class LogLock
public class MemoryTable
public class MountTable
public class Overlapped
public class PipeInputFile
public class PipeOutputFile
public class Process
public class ProcessDueTimeLess
public class ProcessFileTable
public class ProcessTable
public class RegularFile
public class RootBlockManager
public class RootFileSystem
public class RootINodeManager
public class SegmentDescriptor
public class SegmentTable
public class Session
public class SessionTable
public class SleepingProcessQueue
public class SuperBlock
public class SystemCall
public class SystemError

Functions

public nothrow String<char> AccessStr(Access access)
public void AllocateMemory(Memory& mem, const MemoryTable& memoryTable, bool skipTextSegment)
public void AllocateMemoryPages(Memory& mem, ulong rootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages, ushort addressSpaceNumber)
public inline nothrow bool BeginColors(uchar c)
public void Boot(Machine& machine)
public nothrow void CalculatePageNumbers(const SegmentDescriptor& sd, ulong& startPageNumber, ulong& numPages)
public void Catch(SystemCall& sc)
public void ChDir(Machine& machine, Process* process, ulong pathAddress)
public void ChDir(SystemCall& sc)
public void Chmod(Machine& machine, Process* process, ulong pathAddress, int mode)
public void Chmod(SystemCall& sc)
public void Chown(Machine& machine, Process* process, ulong pathAddress, int uid, int gid)
public void Chown(SystemCall& sc)
public nothrow void ClockInterruptHandler(Machine& machine, byte irq)
public void CloneMemory(Memory& mem, MemoryTable& targetMemoryTable, MemoryTable& sourceMemoryTable)
public nothrow Process* CloneProcess(ProcessTable& processTable, Process* parent)
public void CloneProcessMemory(Machine& machine, Process* child, Process* parent)
public void Close(Machine& machine, Process* process, int fd)
public void Close(SystemCall& sc)
public void CloseDir(Machine& machine, Process* process, int fd)
public void CloseDir(SystemCall& sc)
public String<char> ConsoleColorName(ConsoleColor color)
public void ConsoleInputWaitingCallback()
public void ContinueExceptionDispatch(Machine& machine, Process* process, ulong fp)
public void CopyMemoryPages(Memory& mem, ulong targetRootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages, ushort targetAddressSpaceNumber, ulong sourceRootPageAddress, ushort sourceAddressSpaceNumber, Protection pageProtection)
public void CopySegment(Memory& mem, byte segmentIndex, MemoryTable& targetMemoryTable, const MemoryTable& sourceMemoryTable, Protection protection)
public int Create(Machine& machine, Process* process, ulong pathAddress, int mode)
public void Create(SystemCall& sc)
public nothrow Process* CreateProcess(ProcessTable& processTable, const String<char>& name, ulong entryPoint, ulong textSegmentBaseAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement, int sid)
public nothrow SegmentDescriptor* CreateSegmentDescriptor(ulong startAddress, ulong baseAddress, ulong length)
public nothrow SegmentDescriptor* CreateSegmentDescriptor(ulong startAddress, ulong baseAddress, ulong minLength, ulong maxLength, ulong increment)
public Process* CreateSingleProcess(Machine& machine, ProcessTable& processTable, const String<char>& name, ulong entryPoint, ulong textSegmentBaseAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement, int sid)
public void DebugBreak(SystemCall& sc)
public inline nothrow void DecodeMode(int mode, Flags& flags, FileType& fileType, Access& ownerAccess, Access& groupAccess, Access& otherAccess)
public nothrow void DefaultInitializeMemoryTable(Machine& machine, MemoryTable& memoryTable)
public nothrow void DiskInterruptHandler(Machine& machine, byte irq)
public void DispatchException(Machine& machine, Process* process, ulong fp)
public int Dup(Process* process, int fd)
public void Dup(SystemCall& sc)
public inline nothrow int EncodeMode(Flags flags, FileType fileType, Access ownerAccess, Access groupAccess, Access otherAccess)
public inline nothrow bool EndColors(uchar c)
public String<char> ErrorCodeStr(int errorCode)
public String<char> ErrorMsg(int errorCode)
public nothrow String<char> EventStr(ulong event, ulong eventData1, ulong eventData2)
public void Exec(Machine& machine, ProcessTable& processTable, Process* process, int argc, int envc, ulong bufferAddress, long count)
public void Exec(SystemCall& sc)
public void Exit(SystemCall& sc)
public void ExitProcess(Machine& machine, ProcessTable& processTable, Process* process, ushort exitCode)
public nothrow String<char> FileTypeStr(FileType fileType)
public void Fork(SystemCall& sc)
public int ForkProcess(Machine& machine, ProcessTable& processTable, Process* parent)
public void FreeMemory(Memory& mem, MemoryTable& memoryTable)
public void FreeMemoryPages(Memory& mem, ulong rootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages)
public nothrow void FreeProcess(ProcessTable& processTable, Process* process)
public nothrow void FreeProcessMemory(Memory& mem, Process* process)
public nothrow void FreeSegmentDescriptor(SegmentDescriptor* sd)
public void GetCWD(Machine& machine, Process* process, ulong pathBufferAddress, long count)
public void GetCWD(SystemCall& sc)
public inline nothrow void GetColors(uchar c, ConsoleColor& foregroundColor, ConsoleColor& backgroundColor)
public ConsoleDriver& GetConsoleDriver()
public void GetCurrentDate(SystemCall& sc)
public void GetCurrentDateTime(SystemCall& sc)
public void GetCurrentTimePoint(SystemCall& sc)
public DiskDriver& GetDiskDriver()
public int GetFGPID(Process* process, int fd)
public void GetFGPID(SystemCall& sc)
public inline nothrow int GetFileSystemIndex(int fsNumber)
public void GetGID(SystemCall& sc)
public ulong GetHandlerAddress(Machine& machine, Process* process, ulong exceptionBlockTableAddress, ulong exceptionClassId)
public inline nothrow int GetHostFileIndex(int fsNumber)
public void GetHostName(SystemCall& sc)
public inline nothrow int GetINodeBlockNumber(int inodeNumber, int firstINodeBlockNumber)
public inline nothrow int GetINodeIndex(int inodeNumber)
public Kernel& GetKernel()
public nothrow MountTable& GetMountTable()
public nothrow ushort GetNextAddressSpaceNumber()
public void GetPGID(SystemCall& sc)
public void GetPID(SystemCall& sc)
public nothrow Process* GetProcess(ProcessTable& processTable, int pid)
public String<char> GetProcessStackTrace(Machine& machine, Process* process, ulong fp)
public void GetProcessStackTrace(Machine& machine, Process* process, ulong fp, ulong buffer, long count)
public void GetProcessSystemError(Machine& machine, Process* process, ulong errorCodeAddress, ulong bufferAddress, long count)
public nothrow ProcessTable& GetProcessTable()
public void GetRandomSeed(SystemCall& sc)
public nothrow Process* GetRunningProcess(ProcessTable& processTable)
public SessionTable& GetSessionTable()
public void GetSystemError(SystemCall& sc)
public void GetUID(SystemCall& sc)
public void GrowSegment(Memory& mem, MemoryTable& memoryTable, byte segmentIndex, ulong numBytes)
public void IOCtl(Machine& machine, Process* process, int fd, int item, ulong bufferAddress, long count)
public void IOCtl(SystemCall& sc)
public nothrow String<char> IOOperationStr(IOOperation op)
public void InitializeFileTable(Machine& machine, ProcessFileTable& fileTable)
public nothrow void InitializeIdleProcess(Machine& machine, ProcessTable& processTable, Process* idleProcess)
public nothrow void InitializeInterruptVector(Machine& machine)
public nothrow void InitializeMemoryTable(Machine& machine, MemoryTable& targetMemoryTable, const MemoryTable& sourceMemoryTable, ulong poolSegmentSize)
public nothrow void InitializeMemoryTable(Machine& machine, MemoryTable& memoryTable, ulong textSegmentStartAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement)
public nothrow void InitializeMemoryTableForCloning(Machine& machine, MemoryTable& memoryTable)
public nothrow void InitializeProcessMemory(Machine& machine, Process* process, ulong textSegmentStartAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement)
public nothrow void InitializeSystemCalls(Machine& machine)
public nothrow void IntervalInterruptHandler(Machine& machine, byte irq)
public nothrow ulong KernelGetMaxStackSize(ushort addressSpaceNumber)
public nothrow bool KernelGrowStack(ushort addressSpaceNumber)
public void KernelInterruptReturn()
public const char* KernelVersion()
public nothrow void KeyboardInterruptHandler(Machine& machine, byte irq)
public void Kill(SystemCall& sc)
public void Link(Machine& machine, Process* process, ulong sourcePathAddress, ulong targetPathAddress)
public void Link(SystemCall& sc)
public int Load(const String<char>& programFileName, const List<String<char>>& programArguments, int sid)
public nothrow bool Log()
public void Log(SystemCall& sc)
public void LogMessage(SystemCall& sc)
public nothrow void LogMessage(const String<char>& method, const String<char>& msg)
public inline nothrow int MakeFSNumber(int fileSystemIndex, int hostFileIndex)
public Section MakePoolSection(const List<String<char>>& argv, const List<String<char>>& environment, ulong& envDataAddress)
public inline nothrow ushort MakeProcessExitCode(byte signalNumber, byte userExitCode)
public inline nothrow ulong MakeSystemCallPtrAddress(int systemCall)
public void Mkdir(Machine& machine, Process* process, ulong pathAddress, int mode)
public void Mkdir(SystemCall& sc)
public int Open(Machine& machine, Process* process, ulong pathAddress, OpenFlags flags, int mode)
public void Open(SystemCall& sc)
public int OpenDir(Machine& machine, Process* process, ulong pathAddress)
public void OpenDir(SystemCall& sc)
public void PageFaultHandler(Machine& machine, byte irq)
public void Pipe(Machine& machine, Process* process, ulong readFDAddress, ulong writeFDAddress)
public void Pipe(SystemCall& sc)
public void PoolEnd(SystemCall& sc)
public void Pow(SystemCall& sc)
public nothrow String<char> ProcessName(Process* process)
public long Read(Machine& machine, Process* process, int fd, ulong bufferAddress, long count)
public void Read(SystemCall& sc)
public int ReadDir(Machine& machine, Process* process, int fd, ulong inodeNumberAddress, ulong entryNameAddress)
public void ReadDir(SystemCall& sc)
public void ReadExceptionBlockTableFromProcessMemory(Machine& machine, Process* process, ulong exceptionBlockTableAddress, List<UniquePtr<ExceptionBlock>>& exceptionBlockTable)
public void ReadExceptionTableFromProcessMemory(Machine& machine, Process* process, ulong exceptionTableAddress, uint& frameSize, List<DispatchTableEntry>& dispatchTable)
public SharedPtr<ByteStream> ReadFileIntoMemoryStream(INode* inode)
public SharedPtr<ByteStream> ReadFilePortionIntoMemoryStream(INode* inode, long fileOffset, long count)
public SharedPtr<ByteStream> ReadFirstBlockIntoMemoryStream(INode* inode)
public void ReadFunctionTableFromProcessMemory(Machine& machine, Process* process, ulong functionTableAddress, ulong functionTableLength, List<FunctionTableEntry>& functionTable)
public void ReadLineNumberTableFromProcessMemory(Machine& machine, Process* process, ulong lineNumberTableStartAddress, ulong lineNumberTableEndAddress, List<LineNumberTableEntry>& lineNumberTable)
public void ReadProcessMemory(Machine& machine, Process* process, ulong address, byte* buffer, ulong size)
public void ReadProcessMemory(Machine& machine, Process* process, ulong address, byte* buffer, ulong size, bool pageFault)
public void ReadProcessMemory(Machine& machine, Process* process, ulong address, ulong& value, byte size)
public void ReadProcessMemory(Machine& machine, Process* process, ulong address, ulong& value, byte size, bool pageFault)
public void ReadStringFromProcessMemory(Machine& machine, Process* process, ulong address, String<char>& s)
public void Rename(Machine& machine, Process* process, ulong sourcePathAddress, ulong targetPathAddress)
public void Rename(SystemCall& sc)
public void Resume(SystemCall& sc)
public nothrow void SaveContext(Machine& machine, Process* process)
public nothrow void Schedule(Machine& machine, ProcessTable& processTable)
public void SecurityViolationHandler(Machine& machine, byte irq)
public long Seek(Machine& machine, Process* process, int fd, long pos, Origin origin)
public void Seek(SystemCall& sc)
public void SendSignalProcess(Machine& machine, ProcessTable& processTable, Process* process, int pid, int sig)
public void SetFGPID(Process* process, int fd, int pid)
public void SetFGPID(SystemCall& sc)
public void SetGID(SystemCall& sc)
public void SetGIDProcess(Process* process, int gid)
public nothrow void SetLog()
public nothrow void SetLog(const String<char>& logFile)
public void SetPGID(SystemCall& sc)
public void SetPoolEnd(SystemCall& sc)
public int SetPoolEndProcess(Machine& machine, Process* process, ulong poolEndAddress)
public nothrow void SetProcessReadyToRun(ProcessTable& processTable, Process* process)
public void SetUID(SystemCall& sc)
public void SetUIDProcess(Process* process, int uid)
public void ShareMemoryPages(Memory& mem, ulong targetRootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages, ushort targetAddressSpaceNumber, ulong sourceRootPageAddress, ushort sourceAddressSpaceNumber, Protection pageProtection)
public void ShareSegment(Memory& mem, byte segmentIndex, MemoryTable& targetMemoryTable, const MemoryTable& sourceMemoryTable, Protection protection)
public void ShrinkSegment(Memory& mem, MemoryTable& memoryTable, byte segmentIndex, ulong numBytes)
public void Sleep(SystemCall& sc)
public nothrow void SleepProcess(Process* process, ulong event, ulong eventData1, ulong eventData2)
public void SoftwareInterruptHandler(Machine& machine, byte irq)
public void StackTrace(SystemCall& sc)
public nothrow void StartLog()
public nothrow void StartUserTime()
public void Stat(Machine& machine, Process* process, ulong pathAddress, ulong statBufAddress)
public void Stat(SystemCall& sc)
public void StopKernelThreads()
public nothrow void StopLog()
public nothrow void StopUserTime()
public void Sync(SystemCall& sc)
public void SystemCallFiber(void* processParam)
public nothrow String<char> SystemCallName(byte systemCall)
public long Tell(Machine& machine, Process* process, int fd)
public void Tell(SystemCall& sc)
public void Throw(SystemCall& sc)
public void Times(Machine& machine, Process* process, ulong kernelTimeAddress, ulong userTimeAddress, ulong childKernelTimeAddress, ulong childUserTimeAddress)
public void Times(SystemCall& sc)
public int UMask(Machine& machine, Process* process, int mask)
public void UMask(SystemCall& sc)
public void UTime(Machine& machine, Process* process, ulong pathAddress, ulong timeBufAddress)
public void UTime(SystemCall& sc)
public void Unlink(Machine& machine, Process* process, ulong pathAddress)
public void Unlink(SystemCall& sc)
public inline nothrow void UnpackProcessExitCode(ushort exitCode, byte& signalNumber, byte& userExitCode)
public void Wait(SystemCall& sc)
public int WaitProcess(Machine& machine, ProcessTable& processTable, Process* process, ulong exitCodeAddress)
public nothrow void WakeUpProcess(ProcessTable& processTable, Process* process)
public long Write(Machine& machine, Process* process, int fd, ulong bufferAddress, long count)
public void Write(SystemCall& sc)
public void WriteProcessMemory(Machine& machine, Process* process, ulong targetAddress, byte* source, ulong size, Protection access)
public void WriteProcessMemory(Machine& machine, Process* process, ulong address, ulong value, byte size, Protection access)
public nothrow bool operator==(const BlockKey& left, const BlockKey& right)
public nothrow bool operator==(const INodeKey& left, const INodeKey& right)

Delegates

public delegate void ConsoleInputCallback()
public delegate void SystemCallFiberDelegate(void * processParam)
public delegate void SystemCallHandler(SystemCall & sc)

Enumerated Types

public enum Access
public enum ConsoleColor
public enum FileType
public enum IOOperation
public enum OpenFlags
public enum Origin
public enum PathToINodeFlags

Constants

public const ushort BACKGROUND_BLUE = 0x10u
public const ushort BACKGROUND_GREEN = 0x20u
public const ushort BACKGROUND_INTENSITY = 0x80u
public const ushort BACKGROUND_RED = 0x40u
public const uint DRIVE_CDROM = 5u
public const uint DRIVE_FIXED = 3u
public const uint DRIVE_NO_ROOT_DIR = 1u
public const uint DRIVE_RAMDISK = 6u
public const uint DRIVE_REMOTE = 4u
public const uint DRIVE_REMOVABLE = 2u
public const uint DRIVE_UNKNOWN = 0u
public const int EBADF = 2
public const int EEXIST = 9
public const int EFAIL = 1
public const int EINVAL = 5
public const int EIO = 7
public const int EMEM = 3
public const int ENOENT = 10
public const int ENOTSUPPORTED = 6
public const int EPERM = 8
public const int ERANGE = 11
public const int ERLIMITEXCEEDED = 4
public const uint FILE_ATTRIBUTE_ARCHIVE = 32u
public const uint FILE_ATTRIBUTE_DIRECTORY = 16u
public const uint FILE_ATTRIBUTE_NORMAL = 128u
public const ushort FOREGROUND_BLUE = 0x01u
public const ushort FOREGROUND_GREEN = 0x02u
public const ushort FOREGROUND_INTENSITY = 0x08u
public const ushort FOREGROUND_RED = 0x04u
public const uint INVALID_FILE_ATTRIBUTES = cast
public const int IOCTL_BEGIN_OBEY_COLOR_STRINGS_ITEM = 7
public const int IOCTL_END_OBEY_COLOR_STRINGS_ITEM = 8
public const int IOCTL_GET_COLORS_ITEM = 5
public const int IOCTL_GET_ECHO_ITEM = 9
public const int IOCTL_GET_WINDOW_SIZE_ITEM = 4
public const int IOCTL_HAS_COLORS_ITEM = 3
public const int IOCTL_IS_CONSOLE_ITEM = 1
public const int IOCTL_IS_HOST_TEXT_FILE_ITEM = 2
public const int IOCTL_SET_COLORS_ITEM = 6
public const int IOCTL_SET_ECHO_ITEM = 10
public const int SIGKILL = 9
public const ulong anyBlockFreeEvent = 5u
public const uchar beginColors = cast
public const ulong blockIOEvent = 6u
public const int blockSize = 4096
public const ulong blockUnlockedEvent = 4u
public const ulong childExitEvent = 1u
public const ulong consoleInputEvent = 2u
public const ulong ddExitCompletionKey = 0xFFFFFFFFFFFFFFFFu
public const ulong ddRequestCompletionKey = 0xFFFFFFFFFFFFFFFEu
public const uint debugBreakInst = (TRAP << 24u) | (0u << 16u) | (sys_debug_break << 8u) | (0u << 0u)
public const int directoryEntrySize = 4 + nameMax
public const uchar endColors = cast
public const int idlePID = 0
public const int inodeSize = 128
public const ulong inodeUnlockedEvent = 7u
public const int invalidBlockNumber = 0
public const int invalidINodeNumber = 0
public const int maxCachedBlocks = 1024
public const int maxCachedINodes = 1024
public const int maxPipeSize = numDirectBlockNumbers * blockSize
public const long maxSegmentDescriptors = 4096
public const int nameMax = 252
public const ulong noEvent = 0u
public const int noPID = -1
public const int numBitsInBitmapBlock = blockSize * 8
public const int numBlockNumbersInBlock = blockSize / 4
public const int numDirectBlockNumbers = 17
public const int numDirectoryEntriesInBlock = blockSize / directoryEntrySize
public const int numINodesInBlock = blockSize / inodeSize
public const int numProcessSlots = 1024
public const long numSessionSlots = 128
public const byte numSystemCalls = sys_log_message + 1u
public const int numULongsInBitmapBlock = blockSize / 8
public const long openFileMax = 32
public const ulong pipeNotEmptyEvent = 9u
public const ulong pipeNotFullEvent = 8u
public const int rootFSMaxBlocks = 256 * 1024
public const int rootFSMaxFiles = 1024
public const int statBufSize = 56
public const byte sys_catch = 17u
public const byte sys_chdir = 34u
public const byte sys_chmod = 38u
public const byte sys_chown = 39u
public const byte sys_close = 7u
public const byte sys_closedir = 32u
public const byte sys_create = 5u
public const byte sys_debug_break = 14u
public const byte sys_dup = 53u
public const byte sys_exec = 3u
public const byte sys_exit = 0u
public const byte sys_fork = 2u
public const byte sys_get_current_date = 22u
public const byte sys_get_current_date_time = 23u
public const byte sys_get_current_time_point = 20u
public const byte sys_get_host_name = 52u
public const byte sys_get_random_seed = 25u
public const byte sys_get_system_error = 19u
public const byte sys_getcwd = 33u
public const byte sys_getfgpid = 48u
public const byte sys_getgid = 43u
public const byte sys_getpgid = 46u
public const byte sys_getpid = 45u
public const byte sys_getuid = 41u
public const byte sys_ioctl = 37u
public const byte sys_kill = 4u
public const byte sys_link = 26u
public const byte sys_log = 55u
public const byte sys_log_message = 56u
public const byte sys_mkdir = 29u
public const byte sys_open = 6u
public const byte sys_opendir = 30u
public const byte sys_pipe = 54u
public const byte sys_pool_end = 12u
public const byte sys_pow = 24u
public const byte sys_read = 8u
public const byte sys_readdir = 31u
public const byte sys_rename = 28u
public const byte sys_resume = 18u
public const byte sys_seek = 10u
public const byte sys_set_pool_end = 13u
public const byte sys_setfgpid = 49u
public const byte sys_setgid = 44u
public const byte sys_setpgid = 47u
public const byte sys_setuid = 42u
public const byte sys_sleep = 21u
public const byte sys_stack_trace = 15u
public const byte sys_stat = 35u
public const byte sys_sync = 50u
public const byte sys_tell = 11u
public const byte sys_throw = 16u
public const byte sys_times = 51u
public const byte sys_umask = 36u
public const byte sys_unlink = 27u
public const byte sys_utime = 40u
public const byte sys_wait = 1u
public const byte sys_write = 9u
public const ulong wakeupEvent = 3u

Function Details

AccessStr Function

public nothrow String<char> AccessStr(Access access)

Definition
Line 42 of cmsxk/INode.cm


AllocateMemory Function

public void AllocateMemory(Memory& mem, const MemoryTable& memoryTable, bool skipTextSegment)

Definition
Line 1362 of cmsxk/Memory.cm


AllocateMemoryPages Function

public void AllocateMemoryPages(Memory& mem, ulong rootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages, ushort addressSpaceNumber)

Definition
Line 221 of cmsxk/Memory.cm


BeginColors Function

public inline nothrow bool BeginColors(uchar c)

Definition
Line 58 of cmsxk/Console.cm


Boot Function

public void Boot(Machine& machine)

Definition
Line 226 of cmsxk/Boot.cm


CalculatePageNumbers Function

public nothrow void CalculatePageNumbers(const SegmentDescriptor& sd, ulong& startPageNumber, ulong& numPages)

Definition
Line 206 of cmsxk/Memory.cm


Catch Function

public void Catch(SystemCall& sc)

Definition
Line 410 of cmsxk/SystemCall.cm


ChDir Function

public void ChDir(Machine& machine, Process* process, ulong pathAddress)

Definition
Line 323 of cmsxk/File.cm


ChDir Function

public void ChDir(SystemCall& sc)

Definition
Line 636 of cmsxk/SystemCall.cm


Chmod Function

public void Chmod(Machine& machine, Process* process, ulong pathAddress, int mode)

Definition
Line 388 of cmsxk/File.cm


Chmod Function

public void Chmod(SystemCall& sc)

Definition
Line 675 of cmsxk/SystemCall.cm


Chown Function

public void Chown(Machine& machine, Process* process, ulong pathAddress, int uid, int gid)

Definition
Line 404 of cmsxk/File.cm


Chown Function

public void Chown(SystemCall& sc)

Definition
Line 685 of cmsxk/SystemCall.cm


ClockInterruptHandler Function

public nothrow void ClockInterruptHandler(Machine& machine, byte irq)

Definition
Line 63 of cmsxk/InterruptHandler.cm


CloneMemory Function

public void CloneMemory(Memory& mem, MemoryTable& targetMemoryTable, MemoryTable& sourceMemoryTable)

Definition
Line 1405 of cmsxk/Memory.cm


CloneProcess Function

public nothrow Process* CloneProcess(ProcessTable& processTable, Process* parent)

Definition
Line 367 of cmsxk/Process.cm


CloneProcessMemory Function

public void CloneProcessMemory(Machine& machine, Process* child, Process* parent)

Definition
Line 816 of cmsxk/Process.cm


Close Function

public void Close(Machine& machine, Process* process, int fd)

Definition
Line 70 of cmsxk/File.cm


Close Function

public void Close(SystemCall& sc)

Definition
Line 299 of cmsxk/SystemCall.cm


CloseDir Function

public void CloseDir(Machine& machine, Process* process, int fd)

Definition
Line 283 of cmsxk/File.cm


CloseDir Function

public void CloseDir(SystemCall& sc)

Definition
Line 616 of cmsxk/SystemCall.cm


ConsoleColorName Function

public String<char> ConsoleColorName(ConsoleColor color)

Definition
Line 32 of cmsxk/Console.cm


ConsoleInputWaitingCallback Function

public void ConsoleInputWaitingCallback()

Definition
Line 525 of cmsxk/Console.cm


ContinueExceptionDispatch Function

public void ContinueExceptionDispatch(Machine& machine, Process* process, ulong fp)

Definition
Line 190 of cmsxk/Exception.cm


CopyMemoryPages Function

public void CopyMemoryPages(Memory& mem, ulong targetRootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages, ushort targetAddressSpaceNumber, ulong sourceRootPageAddress, ushort sourceAddressSpaceNumber, Protection pageProtection)

Definition
Line 1097 of cmsxk/Memory.cm


CopySegment Function

public void CopySegment(Memory& mem, byte segmentIndex, MemoryTable& targetMemoryTable, const MemoryTable& sourceMemoryTable, Protection protection)

Definition
Line 1523 of cmsxk/Memory.cm


Create Function

public int Create(Machine& machine, Process* process, ulong pathAddress, int mode)

Definition
Line 38 of cmsxk/File.cm


Create Function

public void Create(SystemCall& sc)

Definition
Line 281 of cmsxk/SystemCall.cm


CreateProcess Function

public nothrow Process* CreateProcess(ProcessTable& processTable, const String<char>& name, ulong entryPoint, ulong textSegmentBaseAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement, int sid)

Definition
Line 361 of cmsxk/Process.cm


CreateSegmentDescriptor Function

public nothrow SegmentDescriptor* CreateSegmentDescriptor(ulong startAddress, ulong baseAddress, ulong length)

Definition
Line 64 of cmsxk/Segment.cm


CreateSegmentDescriptor Function

public nothrow SegmentDescriptor* CreateSegmentDescriptor(ulong startAddress, ulong baseAddress, ulong minLength, ulong maxLength, ulong increment)

Definition
Line 69 of cmsxk/Segment.cm


CreateSingleProcess Function

public Process* CreateSingleProcess(Machine& machine, ProcessTable& processTable, const String<char>& name, ulong entryPoint, ulong textSegmentBaseAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement, int sid)

Definition
Line 1029 of cmsxk/Process.cm


DebugBreak Function

public void DebugBreak(SystemCall& sc)

Definition
Line 372 of cmsxk/SystemCall.cm


DecodeMode Function

public inline nothrow void DecodeMode(int mode, Flags& flags, FileType& fileType, Access& ownerAccess, Access& groupAccess, Access& otherAccess)

Definition
Line 78 of cmsxk/INode.cm


DefaultInitializeMemoryTable Function

public nothrow void DefaultInitializeMemoryTable(Machine& machine, MemoryTable& memoryTable)

Definition
Line 141 of cmsxk/Memory.cm


DiskInterruptHandler Function

public nothrow void DiskInterruptHandler(Machine& machine, byte irq)

Definition
Line 193 of cmsxk/InterruptHandler.cm


DispatchException Function

public void DispatchException(Machine& machine, Process* process, ulong fp)

Definition
Line 83 of cmsxk/Exception.cm


Dup Function

public int Dup(Process* process, int fd)

Definition
Line 116 of cmsxk/File.cm


Dup Function

public void Dup(SystemCall& sc)

Definition
Line 830 of cmsxk/SystemCall.cm


EncodeMode Function

public inline nothrow int EncodeMode(Flags flags, FileType fileType, Access ownerAccess, Access groupAccess, Access otherAccess)

Definition
Line 72 of cmsxk/INode.cm


EndColors Function

public inline nothrow bool EndColors(uchar c)

Definition
Line 63 of cmsxk/Console.cm


ErrorCodeStr Function

public String<char> ErrorCodeStr(int errorCode)

Definition
Line 17 of cmsxk/Error.cm


ErrorMsg Function

public String<char> ErrorMsg(int errorCode)

Definition
Line 36 of cmsxk/Error.cm


EventStr Function

public nothrow String<char> EventStr(ulong event, ulong eventData1, ulong eventData2)

Definition
Line 21 of cmsxk/Process.cm


Exec Function

public void Exec(Machine& machine, ProcessTable& processTable, Process* process, int argc, int envc, ulong bufferAddress, long count)

Definition
Line 146 of cmsxk/Exec.cm


Exec Function

public void Exec(SystemCall& sc)

Definition
Line 261 of cmsxk/SystemCall.cm


Exit Function

public void Exit(SystemCall& sc)

Definition
Line 223 of cmsxk/SystemCall.cm


ExitProcess Function

public void ExitProcess(Machine& machine, ProcessTable& processTable, Process* process, ushort exitCode)

Definition
Line 458 of cmsxk/Process.cm


FileTypeStr Function

public nothrow String<char> FileTypeStr(FileType fileType)

Definition
Line 19 of cmsxk/INode.cm


Fork Function

public void Fork(SystemCall& sc)

Definition
Line 251 of cmsxk/SystemCall.cm


ForkProcess Function

public int ForkProcess(Machine& machine, ProcessTable& processTable, Process* parent)

Definition
Line 539 of cmsxk/Process.cm


FreeMemory Function

public void FreeMemory(Memory& mem, MemoryTable& memoryTable)

Definition
Line 1379 of cmsxk/Memory.cm


FreeMemoryPages Function

public void FreeMemoryPages(Memory& mem, ulong rootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages)

Definition
Line 462 of cmsxk/Memory.cm


FreeProcess Function

public nothrow void FreeProcess(ProcessTable& processTable, Process* process)

Definition
Line 372 of cmsxk/Process.cm


FreeProcessMemory Function

public nothrow void FreeProcessMemory(Memory& mem, Process* process)

Definition
Line 824 of cmsxk/Process.cm


FreeSegmentDescriptor Function

public nothrow void FreeSegmentDescriptor(SegmentDescriptor* sd)

Definition
Line 89 of cmsxk/Segment.cm


GetCWD Function

public void GetCWD(Machine& machine, Process* process, ulong pathBufferAddress, long count)

Definition
Line 304 of cmsxk/File.cm


GetCWD Function

public void GetCWD(SystemCall& sc)

Definition
Line 626 of cmsxk/SystemCall.cm


GetColors Function

public inline nothrow void GetColors(uchar c, ConsoleColor& foregroundColor, ConsoleColor& backgroundColor)

Definition
Line 68 of cmsxk/Console.cm


GetConsoleDriver Function

public ConsoleDriver& GetConsoleDriver()

Definition
Line 538 of cmsxk/Console.cm


GetCurrentDate Function

public void GetCurrentDate(SystemCall& sc)

Definition
Line 471 of cmsxk/SystemCall.cm


GetCurrentDateTime Function

public void GetCurrentDateTime(SystemCall& sc)

Definition
Line 501 of cmsxk/SystemCall.cm


GetCurrentTimePoint Function

public void GetCurrentTimePoint(SystemCall& sc)

Definition
Line 444 of cmsxk/SystemCall.cm


GetDiskDriver Function

public DiskDriver& GetDiskDriver()

Definition
Line 679 of cmsxk/DiskDriver.cm


GetFGPID Function

public int GetFGPID(Process* process, int fd)

Definition
Line 376 of cmsxk/File.cm


GetFGPID Function

public void GetFGPID(SystemCall& sc)

Definition
Line 771 of cmsxk/SystemCall.cm


GetFileSystemIndex Function

public inline nothrow int GetFileSystemIndex(int fsNumber)

Definition
Line 104 of cmsxk/INode.cm


GetGID Function

public void GetGID(SystemCall& sc)

Definition
Line 723 of cmsxk/SystemCall.cm


GetHandlerAddress Function

public ulong GetHandlerAddress(Machine& machine, Process* process, ulong exceptionBlockTableAddress, ulong exceptionClassId)

Definition
Line 63 of cmsxk/Exception.cm


GetHostFileIndex Function

public inline nothrow int GetHostFileIndex(int fsNumber)

Definition
Line 109 of cmsxk/INode.cm


GetHostName Function

public void GetHostName(SystemCall& sc)

Definition
Line 813 of cmsxk/SystemCall.cm


GetINodeBlockNumber Function

public inline nothrow int GetINodeBlockNumber(int inodeNumber, int firstINodeBlockNumber)

Definition
Line 94 of cmsxk/INode.cm


GetINodeIndex Function

public inline nothrow int GetINodeIndex(int inodeNumber)

Definition
Line 99 of cmsxk/INode.cm


GetKernel Function

public Kernel& GetKernel()

Definition
Line 12 of cmsxk/Console.cm


GetMountTable Function

public nothrow MountTable& GetMountTable()

Definition
Line 112 of cmsxk/MountTable.cm


GetNextAddressSpaceNumber Function

public nothrow ushort GetNextAddressSpaceNumber()

Definition
Line 23 of cmsxk/Memory.cm


GetPGID Function

public void GetPGID(SystemCall& sc)

Definition
Line 751 of cmsxk/SystemCall.cm


GetPID Function

public void GetPID(SystemCall& sc)

Definition
Line 742 of cmsxk/SystemCall.cm


GetProcess Function

public nothrow Process* GetProcess(ProcessTable& processTable, int pid)

Definition
Line 377 of cmsxk/Process.cm


GetProcessStackTrace Function

public String<char> GetProcessStackTrace(Machine& machine, Process* process, ulong fp)

Definition
Line 628 of cmsxk/Process.cm


GetProcessStackTrace Function

public void GetProcessStackTrace(Machine& machine, Process* process, ulong fp, ulong buffer, long count)

Definition
Line 715 of cmsxk/Process.cm


GetProcessSystemError Function

public void GetProcessSystemError(Machine& machine, Process* process, ulong errorCodeAddress, ulong bufferAddress, long count)

Definition
Line 742 of cmsxk/Process.cm


GetProcessTable Function

public nothrow ProcessTable& GetProcessTable()

Definition
Line 356 of cmsxk/Process.cm


GetRandomSeed Function

public void GetRandomSeed(SystemCall& sc)

Definition
Line 551 of cmsxk/SystemCall.cm


GetRunningProcess Function

public nothrow Process* GetRunningProcess(ProcessTable& processTable)

Definition
Line 382 of cmsxk/Process.cm


GetSessionTable Function

public SessionTable& GetSessionTable()

Definition
Line 81 of cmsxk/Session.cm


GetSystemError Function

public void GetSystemError(SystemCall& sc)

Definition
Line 431 of cmsxk/SystemCall.cm


GetUID Function

public void GetUID(SystemCall& sc)

Definition
Line 704 of cmsxk/SystemCall.cm


GrowSegment Function

public void GrowSegment(Memory& mem, MemoryTable& memoryTable, byte segmentIndex, ulong numBytes)

Definition
Line 1426 of cmsxk/Memory.cm


IOCtl Function

public void IOCtl(Machine& machine, Process* process, int fd, int item, ulong bufferAddress, long count)

Definition
Line 362 of cmsxk/File.cm


IOCtl Function

public void IOCtl(SystemCall& sc)

Definition
Line 665 of cmsxk/SystemCall.cm


IOOperationStr Function

public nothrow String<char> IOOperationStr(IOOperation op)

Definition
Line 19 of cmsxk/DiskDriver.cm


InitializeFileTable Function

public void InitializeFileTable(Machine& machine, ProcessFileTable& fileTable)

Definition
Line 1710 of cmsxk/File.cm


InitializeIdleProcess Function

public nothrow void InitializeIdleProcess(Machine& machine, ProcessTable& processTable, Process* idleProcess)

Definition
Line 991 of cmsxk/Process.cm


InitializeInterruptVector Function

public nothrow void InitializeInterruptVector(Machine& machine)

Definition
Line 14 of cmsxk/Boot.cm


InitializeMemoryTable Function

public nothrow void InitializeMemoryTable(Machine& machine, MemoryTable& targetMemoryTable, const MemoryTable& sourceMemoryTable, ulong poolSegmentSize)

Definition
Line 172 of cmsxk/Memory.cm


InitializeMemoryTable Function

public nothrow void InitializeMemoryTable(Machine& machine, MemoryTable& memoryTable, ulong textSegmentStartAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement)

Definition
Line 154 of cmsxk/Memory.cm


InitializeMemoryTableForCloning Function

public nothrow void InitializeMemoryTableForCloning(Machine& machine, MemoryTable& memoryTable)

Definition
Line 193 of cmsxk/Memory.cm


InitializeProcessMemory Function

public nothrow void InitializeProcessMemory(Machine& machine, Process* process, ulong textSegmentStartAddress, ulong textSegmentSize, ulong dataSegmentSize, ulong poolSegmentSize, ulong minStackSegmentSize, ulong maxStackSegmentSize, ulong stackSegmentIncrement)

Definition
Line 808 of cmsxk/Process.cm


InitializeSystemCalls Function

public nothrow void InitializeSystemCalls(Machine& machine)

Definition
Line 46 of cmsxk/Boot.cm


IntervalInterruptHandler Function

public nothrow void IntervalInterruptHandler(Machine& machine, byte irq)

Definition
Line 188 of cmsxk/InterruptHandler.cm


KernelGetMaxStackSize Function

public nothrow ulong KernelGetMaxStackSize(ushort addressSpaceNumber)

Definition
Line 72 of cmsxk/Memory.cm


KernelGrowStack Function

public nothrow bool KernelGrowStack(ushort addressSpaceNumber)

Definition
Line 93 of cmsxk/Memory.cm


KernelInterruptReturn Function

public void KernelInterruptReturn()

Definition
Line 217 of cmsxk/InterruptHandler.cm


KernelVersion Function

public const char* KernelVersion()

Definition
Line 9 of cmsxk/Boot.cm


KeyboardInterruptHandler Function

public nothrow void KeyboardInterruptHandler(Machine& machine, byte irq)

Definition
Line 203 of cmsxk/InterruptHandler.cm


Kill Function

public void Kill(SystemCall& sc)

Definition
Line 271 of cmsxk/SystemCall.cm


public void Link(Machine& machine, Process* process, ulong sourcePathAddress, ulong targetPathAddress)

Definition
Line 154 of cmsxk/File.cm


public void Link(SystemCall& sc)

Definition
Line 560 of cmsxk/SystemCall.cm


Load Function

public int Load(const String<char>& programFileName, const List<String<char>>& programArguments, int sid)

Definition
Line 51 of cmsxk/Loader.cm


Log Function

public nothrow bool Log()

Definition
Line 10 of cmsxk/Log.cm


Log Function

public void Log(SystemCall& sc)

Definition
Line 849 of cmsxk/SystemCall.cm


LogMessage Function

public void LogMessage(SystemCall& sc)

Definition
Line 865 of cmsxk/SystemCall.cm


LogMessage Function

public nothrow void LogMessage(const String<char>& method, const String<char>& msg)

Definition
Line 103 of cmsxk/Log.cm


MakeFSNumber Function

public inline nothrow int MakeFSNumber(int fileSystemIndex, int hostFileIndex)

Definition
Line 114 of cmsxk/INode.cm


MakePoolSection Function

public Section MakePoolSection(const List<String<char>>& argv, const List<String<char>>& environment, ulong& envDataAddress)

Definition
Line 9 of cmsxk/Loader.cm


MakeProcessExitCode Function

public inline nothrow ushort MakeProcessExitCode(byte signalNumber, byte userExitCode)

Definition
Line 397 of cmsxk/Process.cm


MakeSystemCallPtrAddress Function

public inline nothrow ulong MakeSystemCallPtrAddress(int systemCall)

Definition
Line 133 of cmsxk/SystemCall.cm


Mkdir Function

public void Mkdir(Machine& machine, Process* process, ulong pathAddress, int mode)

Definition
Line 222 of cmsxk/File.cm


Mkdir Function

public void Mkdir(SystemCall& sc)

Definition
Line 589 of cmsxk/SystemCall.cm


Open Function

public int Open(Machine& machine, Process* process, ulong pathAddress, OpenFlags flags, int mode)

Definition
Line 54 of cmsxk/File.cm


Open Function

public void Open(SystemCall& sc)

Definition
Line 290 of cmsxk/SystemCall.cm


OpenDir Function

public int OpenDir(Machine& machine, Process* process, ulong pathAddress)

Definition
Line 238 of cmsxk/File.cm


OpenDir Function

public void OpenDir(SystemCall& sc)

Definition
Line 598 of cmsxk/SystemCall.cm


PageFaultHandler Function

public void PageFaultHandler(Machine& machine, byte irq)

Definition
Line 79 of cmsxk/InterruptHandler.cm


Pipe Function

public void Pipe(Machine& machine, Process* process, ulong readFDAddress, ulong writeFDAddress)

Definition
Line 125 of cmsxk/File.cm


Pipe Function

public void Pipe(SystemCall& sc)

Definition
Line 839 of cmsxk/SystemCall.cm


PoolEnd Function

public void PoolEnd(SystemCall& sc)

Definition
Line 353 of cmsxk/SystemCall.cm


Pow Function

public void Pow(SystemCall& sc)

Definition
Line 539 of cmsxk/SystemCall.cm


ProcessName Function

public nothrow String<char> ProcessName(Process* process)

Definition
Line 39 of cmsxk/Process.cm


Read Function

public long Read(Machine& machine, Process* process, int fd, ulong bufferAddress, long count)

Definition
Line 84 of cmsxk/File.cm


Read Function

public void Read(SystemCall& sc)

Definition
Line 309 of cmsxk/SystemCall.cm


ReadDir Function

public int ReadDir(Machine& machine, Process* process, int fd, ulong inodeNumberAddress, ulong entryNameAddress)

Definition
Line 254 of cmsxk/File.cm


ReadDir Function

public void ReadDir(SystemCall& sc)

Definition
Line 607 of cmsxk/SystemCall.cm


ReadExceptionBlockTableFromProcessMemory Function

public void ReadExceptionBlockTableFromProcessMemory(Machine& machine, Process* process, ulong exceptionBlockTableAddress, List<UniquePtr<ExceptionBlock>>& exceptionBlockTable)

Definition
Line 30 of cmsxk/Exception.cm


ReadExceptionTableFromProcessMemory Function

public void ReadExceptionTableFromProcessMemory(Machine& machine, Process* process, ulong exceptionTableAddress, uint& frameSize, List<DispatchTableEntry>& dispatchTable)

Definition
Line 8 of cmsxk/Exception.cm


ReadFileIntoMemoryStream Function

public SharedPtr<ByteStream> ReadFileIntoMemoryStream(INode* inode)

Definition
Line 10 of cmsxk/Exec.cm


ReadFilePortionIntoMemoryStream Function

public SharedPtr<ByteStream> ReadFilePortionIntoMemoryStream(INode* inode, long fileOffset, long count)

Definition
Line 104 of cmsxk/Exec.cm


ReadFirstBlockIntoMemoryStream Function

public SharedPtr<ByteStream> ReadFirstBlockIntoMemoryStream(INode* inode)

Definition
Line 61 of cmsxk/Exec.cm


ReadFunctionTableFromProcessMemory Function

public void ReadFunctionTableFromProcessMemory(Machine& machine, Process* process, ulong functionTableAddress, ulong functionTableLength, List<FunctionTableEntry>& functionTable)

Definition
Line 895 of cmsxk/Process.cm


ReadLineNumberTableFromProcessMemory Function

public void ReadLineNumberTableFromProcessMemory(Machine& machine, Process* process, ulong lineNumberTableStartAddress, ulong lineNumberTableEndAddress, List<LineNumberTableEntry>& lineNumberTable)

Definition
Line 919 of cmsxk/Process.cm


ReadProcessMemory Function

public void ReadProcessMemory(Machine& machine, Process* process, ulong address, byte* buffer, ulong size)

Definition
Line 857 of cmsxk/Process.cm


ReadProcessMemory Function

public void ReadProcessMemory(Machine& machine, Process* process, ulong address, byte* buffer, ulong size, bool pageFault)

Definition
Line 862 of cmsxk/Process.cm


ReadProcessMemory Function

public void ReadProcessMemory(Machine& machine, Process* process, ulong address, ulong& value, byte size)

Definition
Line 829 of cmsxk/Process.cm


ReadProcessMemory Function

public void ReadProcessMemory(Machine& machine, Process* process, ulong address, ulong& value, byte size, bool pageFault)

Definition
Line 834 of cmsxk/Process.cm


ReadStringFromProcessMemory Function

public void ReadStringFromProcessMemory(Machine& machine, Process* process, ulong address, String<char>& s)

Definition
Line 878 of cmsxk/Process.cm


Rename Function

public void Rename(Machine& machine, Process* process, ulong sourcePathAddress, ulong targetPathAddress)

Definition
Line 196 of cmsxk/File.cm


Rename Function

public void Rename(SystemCall& sc)

Definition
Line 579 of cmsxk/SystemCall.cm


Resume Function

public void Resume(SystemCall& sc)

Definition
Line 420 of cmsxk/SystemCall.cm


SaveContext Function

public nothrow void SaveContext(Machine& machine, Process* process)

Definition
Line 770 of cmsxk/Process.cm


Schedule Function

public nothrow void Schedule(Machine& machine, ProcessTable& processTable)

Definition
Line 1040 of cmsxk/Process.cm


SecurityViolationHandler Function

public void SecurityViolationHandler(Machine& machine, byte irq)

Definition
Line 120 of cmsxk/InterruptHandler.cm


Seek Function

public long Seek(Machine& machine, Process* process, int fd, long pos, Origin origin)

Definition
Line 104 of cmsxk/File.cm


Seek Function

public void Seek(SystemCall& sc)

Definition
Line 329 of cmsxk/SystemCall.cm


SendSignalProcess Function

public void SendSignalProcess(Machine& machine, ProcessTable& processTable, Process* process, int pid, int sig)

Definition
Line 547 of cmsxk/Process.cm


SetFGPID Function

public void SetFGPID(Process* process, int fd, int pid)

Definition
Line 382 of cmsxk/File.cm


SetFGPID Function

public void SetFGPID(SystemCall& sc)

Definition
Line 781 of cmsxk/SystemCall.cm


SetGID Function

public void SetGID(SystemCall& sc)

Definition
Line 732 of cmsxk/SystemCall.cm


SetGIDProcess Function

public void SetGIDProcess(Process* process, int gid)

Definition
Line 566 of cmsxk/Process.cm


SetLog Function

public nothrow void SetLog()

Definition
Line 15 of cmsxk/Log.cm


SetLog Function

public nothrow void SetLog(const String<char>& logFile)

Definition
Line 64 of cmsxk/Log.cm


SetPGID Function

public void SetPGID(SystemCall& sc)

Definition
Line 760 of cmsxk/SystemCall.cm


SetPoolEnd Function

public void SetPoolEnd(SystemCall& sc)

Definition
Line 363 of cmsxk/SystemCall.cm


SetPoolEndProcess Function

public int SetPoolEndProcess(Machine& machine, Process* process, ulong poolEndAddress)

Definition
Line 579 of cmsxk/Process.cm


SetProcessReadyToRun Function

public nothrow void SetProcessReadyToRun(ProcessTable& processTable, Process* process)

Definition
Line 387 of cmsxk/Process.cm


SetUID Function

public void SetUID(SystemCall& sc)

Definition
Line 713 of cmsxk/SystemCall.cm


SetUIDProcess Function

public void SetUIDProcess(Process* process, int uid)

Definition
Line 553 of cmsxk/Process.cm


ShareMemoryPages Function

public void ShareMemoryPages(Memory& mem, ulong targetRootPageAddress, byte segmentIndex, ulong startPageNumber, ulong numPages, ushort targetAddressSpaceNumber, ulong sourceRootPageAddress, ushort sourceAddressSpaceNumber, Protection pageProtection)

Definition
Line 816 of cmsxk/Memory.cm


ShareSegment Function

public void ShareSegment(Memory& mem, byte segmentIndex, MemoryTable& targetMemoryTable, const MemoryTable& sourceMemoryTable, Protection protection)

Definition
Line 1491 of cmsxk/Memory.cm


ShrinkSegment Function

public void ShrinkSegment(Memory& mem, MemoryTable& memoryTable, byte segmentIndex, ulong numBytes)

Definition
Line 1456 of cmsxk/Memory.cm


Sleep Function

public void Sleep(SystemCall& sc)

Definition
Line 454 of cmsxk/SystemCall.cm


SleepProcess Function

public nothrow void SleepProcess(Process* process, ulong event, ulong eventData1, ulong eventData2)

Definition
Line 408 of cmsxk/Process.cm


SoftwareInterruptHandler Function

public void SoftwareInterruptHandler(Machine& machine, byte irq)

Definition
Line 141 of cmsxk/InterruptHandler.cm


StackTrace Function

public void StackTrace(SystemCall& sc)

Definition
Line 382 of cmsxk/SystemCall.cm


StartLog Function

public nothrow void StartLog()

Definition
Line 72 of cmsxk/Log.cm


StartUserTime Function

public nothrow void StartUserTime()

Definition
Line 1093 of cmsxk/Process.cm


Stat Function

public void Stat(Machine& machine, Process* process, ulong pathAddress, ulong statBufAddress)

Definition
Line 339 of cmsxk/File.cm


Stat Function

public void Stat(SystemCall& sc)

Definition
Line 646 of cmsxk/SystemCall.cm


StopKernelThreads Function

public void StopKernelThreads()

Definition
Line 200 of cmsxk/Kernel.cm


StopLog Function

public nothrow void StopLog()

Definition
Line 77 of cmsxk/Log.cm


StopUserTime Function

public nothrow void StopUserTime()

Definition
Line 1101 of cmsxk/Process.cm


Sync Function

public void Sync(SystemCall& sc)

Definition
Line 793 of cmsxk/SystemCall.cm


SystemCallFiber Function

public void SystemCallFiber(void* processParam)

Definition
Line 175 of cmsxk/SystemCall.cm


SystemCallName Function

public nothrow String<char> SystemCallName(byte systemCall)

Definition
Line 66 of cmsxk/SystemCall.cm


Tell Function

public long Tell(Machine& machine, Process* process, int fd)

Definition
Line 110 of cmsxk/File.cm


Tell Function

public void Tell(SystemCall& sc)

Definition
Line 342 of cmsxk/SystemCall.cm


Throw Function

public void Throw(SystemCall& sc)

Definition
Line 395 of cmsxk/SystemCall.cm


Times Function

public void Times(Machine& machine, Process* process, ulong kernelTimeAddress, ulong userTimeAddress, ulong childKernelTimeAddress, ulong childUserTimeAddress)

Definition
Line 1112 of cmsxk/Process.cm


Times Function

public void Times(SystemCall& sc)

Definition
Line 803 of cmsxk/SystemCall.cm


UMask Function

public int UMask(Machine& machine, Process* process, int mask)

Definition
Line 355 of cmsxk/File.cm


UMask Function

public void UMask(SystemCall& sc)

Definition
Line 656 of cmsxk/SystemCall.cm


UTime Function

public void UTime(Machine& machine, Process* process, ulong pathAddress, ulong timeBufAddress)

Definition
Line 420 of cmsxk/File.cm


UTime Function

public void UTime(SystemCall& sc)

Definition
Line 695 of cmsxk/SystemCall.cm


public void Unlink(Machine& machine, Process* process, ulong pathAddress)

Definition
Line 180 of cmsxk/File.cm


public void Unlink(SystemCall& sc)

Definition
Line 569 of cmsxk/SystemCall.cm


UnpackProcessExitCode Function

public inline nothrow void UnpackProcessExitCode(ushort exitCode, byte& signalNumber, byte& userExitCode)

Definition
Line 402 of cmsxk/Process.cm


Wait Function

public void Wait(SystemCall& sc)

Definition
Line 241 of cmsxk/SystemCall.cm


WaitProcess Function

public int WaitProcess(Machine& machine, ProcessTable& processTable, Process* process, ulong exitCodeAddress)

Definition
Line 495 of cmsxk/Process.cm


WakeUpProcess Function

public nothrow void WakeUpProcess(ProcessTable& processTable, Process* process)

Definition
Line 437 of cmsxk/Process.cm


Write Function

public long Write(Machine& machine, Process* process, int fd, ulong bufferAddress, long count)

Definition
Line 94 of cmsxk/File.cm


Write Function

public void Write(SystemCall& sc)

Definition
Line 319 of cmsxk/SystemCall.cm


WriteProcessMemory Function

public void WriteProcessMemory(Machine& machine, Process* process, ulong targetAddress, byte* source, ulong size, Protection access)

Definition
Line 967 of cmsxk/Process.cm


WriteProcessMemory Function

public void WriteProcessMemory(Machine& machine, Process* process, ulong address, ulong value, byte size, Protection access)

Definition
Line 937 of cmsxk/Process.cm


operator== Function

public nothrow bool operator==(const BlockKey& left, const BlockKey& right)

Definition
Line 33 of cmsxk/Block.cm


operator== Function

public nothrow bool operator==(const INodeKey& left, const INodeKey& right)

Definition
Line 134 of cmsxk/INode.cm