\n
Microsoft Invisible Computing

BaseRtl Concrete Class

Base export table.

Implements IBaseRtl

Methods

BaseRtlQueryInterface implements IUnknown.QueryInterface
Source in _thertl.c _thertl.c _thertl.c _thertl.c _thertl.c

Determines which interfaces an object supports and returns a valid pointer to an interface.

BaseRtlAddRef implements IUnknown.AddRef
Source in _thertl.c _thertl.c _thertl.c _thertl.c _thertl.c

Increments the reference count of the object.

BaseRtlRelease implements IUnknown.Release
Source in _thertl.c _thertl.c _thertl.c _thertl.c _thertl.c

Decrements the reference count of an object. When the count goes to zero, the object is destroyed.

CurrentNameSpace implements IBaseRtl.CurrentNameSpace
Source in current.c xpshim.c mmlite_md.h

Returns a pointer to the INameSpace interface that is the process-specific namespace of the process of the current thread. In small configurations the initial namespace is shared between all processes.

CurrentThread implements IBaseRtl.CurrentThread
Source in current.c fatfs.h fatfs.h xpshim.c mmlite_md.h

Return a pointer to the thread object of the currently running thread.

CurrentProcess implements IBaseRtl.CurrentProcess
Source in current.c xpshim.c

Return a pointer to the process object this thread was created in (dynamic scoping).

CurrentVmView implements IBaseRtl.CurrentVmView
Source in current.c xpshim.c

Return a pointer to the current virtual memory view object or NULL if running in physical memory.

CurrentHeap implements IBaseRtl.CurrentHeap
Source in current.c _hostfsd.c _hostfsd.c xpshim.c dbg_heap.h mmlite_md.h

Return default heap of this process.

ProcessImage implements IBaseRtl.ProcessImage
Source in _freds.s _thertl.c _start.s _misc.s _thertl.c

Return the name of the current process (statically scoped).

ProcessArgs implements IBaseRtl.ProcessArgs
Source in _freds.s _thertl.c _start.s _misc.s _thertl.c

Return the command line arguments of the current process (statically scoped).

GetPC implements IBaseRtl.GetPC
Source in _freds.s _getpc.c _getpc.s _getpc.s

Return the current program counter.

ThreadExit implements IBaseRtl.ThreadExit
Source in thread.c thread2.c xpshim.c

Terminate the currently running thread.

HWLoadThreadContext implements IBaseRtl.HWLoadThreadContext
Source in _traps.s _start.s _misc.s _schedul.c _schedul.c _schedul.c _schedul.c _schedul.c _first.c

Low-level register set load.

GenericCobInit implements IBaseRtl.GenericCobInit
Source in classreg.c

Initialize component descriptor.

CUnknownInit implements IBaseRtl.CUnknownInit
Source in classreg.c

Initialize v-tables etc. Optionally allocate memory.

AtomicCmpAndSwap implements IBaseRtl.AtomicCmpAndSwap
Source in _atom.s _atomic.c _atomic.c _atomic.c _atomic.c _atomic.c _start.s _atomic.c _misc.s bm_heap.c queue.c main.c main.c main.c main.c glue.c glue.c mmlite_md.h

Compare value of variable to given value and if equal, set the variable to a new value.

AtomicAdd implements IBaseRtl.AtomicAdd
Source in atomic.c

Atomically add a value to a variable.

AtomicSub implements IBaseRtl.AtomicSub
Source in atomic.c

Atomically subtract a value from a variable.

AtomicDec implements IBaseRtl.AtomicDec
Source in atomic.c sched-multi.h main.c sockets.c u_mbuf.c main.c glue.c mmlite_md.h

Atomically subtract one from a variable.

AtomicInc implements IBaseRtl.AtomicInc
Source in atomic.c sched-multi.h main.c sockets.c u_mbuf.c main.c glue.c mmlite_md.h

Atomically add one to a variable.

AtomicSwap implements IBaseRtl.AtomicSwap
Source in _atom.s _atomic.c _atomic.c _atomic.c _atomic.c _atomic.c

Atomically retrieve the value of a variable and set it to a new value.

AtomicLIFOInsert implements IBaseRtl.AtomicLIFOInsert
Source in atomic.c listfunc.c

Atomically add an item to the head of the queue.

AtomicLIFORemove implements IBaseRtl.AtomicLIFORemove
Source in atomic.c listfunc.c

Return the last value insterted by AtomicLIFOInsert and atomically remove it from the Last-in-First-out queue.

Mutex_Init implements IBaseRtl.Mutex_Init
Source in mutex.c mutex2.c bm_heap.c xpshim.c

Initializes a mutex object, appropriately setting its internal state.

Mutex_Destroy implements IBaseRtl.Mutex_Destroy
Source in mutex.c mutex2.c xpshim.c

Deletes a mutex object from the system.

Mutex_Lock implements IBaseRtl.Mutex_Lock
Source in mutex.c mutex2.c bm_heap.c xpshim.c cs8900.c

Acquires a lock on a mutex object. If the mutex is currently held by another thread, the thread waits until the mutex is available. If the mutex is already held by the calling thread, a deadlock will occur.

Mutex_Unlock implements IBaseRtl.Mutex_Unlock
Source in mutex.c mutex2.c bm_heap.c xpshim.c cs8900.c

Releases a previously acquired lock on a mutex object.

Mutex_TryLock implements IBaseRtl.Mutex_TryLock
Source in mutex.c mutex2.c xpshim.c

Attempts to acquire the lock on a mutex object. If the mutex is already locked, the function returns FALSE. If it is not locked by any thread, the function locks it and returns TRUE. This method is similar to Mutex_Lock, except that it does not block on a locked mutex.

Mutex_Locked implements IBaseRtl.Mutex_Locked
Source in mutex.c mutex2.c xpshim.c

Determines if the current thread owns a lock on a specified mutex object.

Condition_Init implements IBaseRtl.Condition_Init
Source in condition2.c condtn.c xpshim.c

Make a condition ready for use. Should be called for every condition prior to calling other methods.

Condition_Destroy implements IBaseRtl.Condition_Destroy
Source in condition2.c condtn.c xpshim.c

Finalize condition. Any waiters are ignored and should be woken up prior to destruction.

Condition_Signal implements IBaseRtl.Condition_Signal
Source in condition2.c condtn.c xpshim.c ioqueue.h

Wake up one thread waiting for the condition. If there are no waiters, the call has no effect. The thread to be woken up is based primarily on urgency as defined by time constraints and secondarily on LIFO order.

Condition_InterruptSignal implements IBaseRtl.Condition_InterruptSignal
Source in condition2.c condtn.c xpshim.c

Signal a condition from ISR context. While mutexes and other condition methods can not be called form an interrupt handler, this function is specifically suited from that purpose.

Condition_Broadcast implements IBaseRtl.Condition_Broadcast
Source in condition2.c condtn.c xpshim.c

Wake up all threads (if any) that are currently waiting on the condition.

Condition_Wait implements IBaseRtl.Condition_Wait
Source in condition2.c condtn.c xpshim.c

Wait until the condition is signalled or the timeout expires. The mutex is temporarily unlocked while the thread is blocked.

If this is the first wait after a Condition_InterruptSignal the call will return immediately.

Condition_WaitAndBeginConstraint implements IBaseRtl.Condition_WaitAndBeginConstraint
Source in condition2.c condtn.c xpshim.c

Like Condition_Wait with the addition that the thread will assume the given constraint when it is woken up.

BeginConstraint implements IBaseRtl.BeginConstraint
Source in cb_sched.c cb_sched2.c no_sched.c no_sched2.c xpshim.c

Sets a real-time constraint for the current thread and optionally ends the previous constraint.

EndConstraint implements IBaseRtl.EndConstraint
Source in cb_sched.c cb_sched2.c no_sched.c no_sched2.c xpshim.c

Ends the current constraint and reports the time taken since the constraint began. The execution constraints that existed before the current constraint began are restored. If no previous constraints exist, the thread reverts to time-sharing scheduling, which is the initial scheduling policy for a newly created thread.

CurrentTime implements IBaseRtl.CurrentTime
Source in base_sml.c rtl.c cb_sched.c xpshim.c tstads64.c tstdiv64.c tstmod64.c tstmul64.c tstmul64s.c tstshf64.c tstuads64.c tstudiv64.c tstumod64.c tstumul64.c tstumul64s.c tstxor64.c

Gets the current system time.

SleepUntil implements IBaseRtl.SleepUntil
Source in cb_sched2.c cb_sched3.c no_sched.c no_sched2.c rr_sched.c xpshim.c

Pauses execution of the current thread until a specified time, or until a specified amount of time has passed.

Delay implements IBaseRtl.Delay
Source in base_sml.c _thertl.c _timer.c _thertl.c _delay.c _delay.c _misc.s ttcp.c _thertl.c i8255x.c mmhal.h mmhal.h mmhal.h mmhal.h mmhal.h mmhal.h mmhal.h pdelay.c

Places the current thread in a loop until a specified amount of time has passed.

BaseInheritClass implements IBaseRtl.BaseInheritClass
Source in classreg.c

Copy all methods that are NULL in VTable from class ClassName.

BaseRegisterClass implements IBaseRtl.BaseRegisterClass
Source in classreg.c

Register a class so that it can be used by InheritClass.

LookupModule implements IBaseRtl.LookupModule
Source in process.c process.c process2.c loader.h

Get a handle to a previously loaded module.

GetModuleNext implements IBaseRtl.GetModuleNext
Source in process.c process.c process2.c

Module iterator. Deprecated.

GetModuleContainsAddr implements IBaseRtl.GetModuleContainsAddr
Source in process.c process.c process2.c mmlite.h

Find a module given a memory address.

CheckDelayedFree implements IBaseRtl.CheckDelayedFree
Source in delayfre.c xpheap.c

Frees up delayed deallocations, such as from thread termination.

UuidCmp implements IBaseRtl.UuidCmp
Source in uuidcmp.c

Determine whether two interface ids (universal unique identifiers) are the same.

AddDevice implements IBaseRtl.AddDevice
Source in rtl.c _thertl.c mmlite.h

Adds an interrupt service routine for a device driver to the system.

GenericQueryInterface implements IBaseRtl.GenericQueryInterface
Source in queryif.c

A convenience function for doing the common task of QueryInterface.

StrFormat implements IBaseRtl.StrFormat
Source in debug.c

This is the basic formatter for printf, vsprintf, and friends.

UNIMPLEMENTEDMethodSCODE implements IBaseRtl.UNIMPLEMENTEDMethodSCODE
Source in rtl.c _thertl.c

Always returns E_NOT_IMPLEMENTED.

UNIMPLEMENTEDMethodZero implements IBaseRtl.UNIMPLEMENTEDMethodZero
Source in rtl.c _thertl.c

Always returns zero or NULL.

malloc implements IBaseRtl.malloc
Source in _hostfsd.c malloc.c ll.c frag_test.c stdlib.h

Allocate uninitialized memory.

free implements IBaseRtl.free
Source in _hostfsd.c free.c ll.c hostfs.c hostfs.c frag_test.c stdlib.h

Free memory previously allocated by malloc.

memmove implements IBaseRtl.memmove
Source in memmove.c _memfunc.s

Copy bytes from one place to another.

_tcsncpy implements IBaseRtl._tcsncpy
Source in strncpy.c

Copy characters until NUL is seen in source ot len.

DosxPointer implements IBaseRtl.DosxPointer
Source in _dosx.c _ntu.c _thertl.c _dosx.h

Returns dos extender control interface.

_allmul implements IBaseRtl._allmul
Source in _thertl.c _thertl.c _llmul.c _thertl.c _thertl.c

Visual Studio C Compiler support function.

_alldiv implements IBaseRtl._alldiv
Source in _thertl.c _thertl.c _lldiv.c _thertl.c _thertl.c

Visual Studio C Compiler support function.

_allrem implements IBaseRtl._allrem
Source in _thertl.c _thertl.c _llrem.c _thertl.c _thertl.c

Visual Studio C Compiler support function.

_aulldiv implements IBaseRtl._aulldiv
Source in _thertl.c _thertl.c _ulldiv.c _thertl.c _thertl.c

Visual Studio C Compiler support function.

_aullrem implements IBaseRtl._aullrem
Source in _thertl.c _thertl.c _ullrem.c _thertl.c _thertl.c

Visual Studio C Compiler support function.

memcpy implements IBaseRtl.memcpy
Source in memcpy.c _memfunc.s ping.c lance.c lance.c lance.c lance.c sock.h sock.h

C runtime support shared between Base and other components.

memcmp implements IBaseRtl.memcmp
Source in memcmp.c _memfunc.s ping.c sock.h

C runtime support shared between Base and other components.

memset implements IBaseRtl.memset
Source in memset.c _memfunc.s ping.c snake.h bm_heap.c sock.h

C runtime support shared between Base and other components.

_tcscpy implements IBaseRtl._tcscpy
Source in strcpy.c

C runtime support shared between Base and other components.

_tcscat implements IBaseRtl._tcscat
Source in strcat.c

C runtime support shared between Base and other components.

_tcslen implements IBaseRtl._tcslen
Source in strlen.c

C runtime support shared between Base and other components.

Int64Add implements IBaseRtl.Int64Add
Source in int64ads.c _int64.s int64.h int64.h int64.h filter.c

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64AddInt32 implements IBaseRtl.Int64AddInt32
Source in int64ads.c _int64.s int64.h int64.h int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Uint64AddUint32 implements IBaseRtl.Uint64AddUint32
Source in int64ads.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64Subtract implements IBaseRtl.Int64Subtract
Source in int64ads.c _int64.s int64.h int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Uint64SubtractUint32 implements IBaseRtl.Uint64SubtractUint32
Source in int64ads.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64LShift implements IBaseRtl.Int64LShift
Source in int64shf.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64RShift implements IBaseRtl.Int64RShift
Source in int64shf.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Uint64RShift implements IBaseRtl.Uint64RShift
Source in int64shf.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64TimesInt32 implements IBaseRtl.Int64TimesInt32
Source in int64mul.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64TimesInt64 implements IBaseRtl.Int64TimesInt64
Source in int64mul.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64DividedByInt32 implements IBaseRtl.Int64DividedByInt32
Source in int64div.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

Int64DividedByInt64 implements IBaseRtl.Int64DividedByInt64
Source in int64div.c _int64.s int64.h int64.h

64 bit support for compilers that don't have builtins. See include/base/int64.h for macros.

_memcpy implements IBaseRtl._memcpy
Source in _memfunc.s

ARMCC support.

__udivsi3 implements IBaseRtl.__udivsi3
Source in _thertl.c _udiv.c

Gcc on arm support.

__modsi3 implements IBaseRtl.__modsi3

Gcc on arm support.

__divdi3 implements IBaseRtl.__divdi3
Source in _int64.s _div64.s

Gcc on arm support.

__muldi3 implements IBaseRtl.__muldi3
Source in _int64.s

Gcc on arm support.

DebugBreak implements IBaseRtl.DebugBreak
Source in _armstart.s _startAeb.s _startCerf.s _startSA.s _startZ1.s _start.s _break.s _break.s frag_test.c mmlite.h mmlite.h debugger.h machdep.h

Debugging support, causes an exception that an attached debugger will handle. On some systems it is a macro, on others a function. Do not use in shipping code, only during development. It is unpredictable what would happen on a released system, on some it might crash and burn on some it might just terminate the thread.

_rt_udiv implements IBaseRtl._rt_udiv
Source in _udiv.c _udiv.c _udiv.c _udiv.c

Trimedia compiler support, unsigned division.

_rt_idiv implements IBaseRtl._rt_idiv
Source in _udiv.c _udiv.c _udiv.c _udiv.c

Trimedia compiler support, signed division.

_rt_umod implements IBaseRtl._rt_umod
Source in _udiv.c _udiv.c _udiv.c _udiv.c

Trimedia compiler support, signed modulus.

_rt_imod implements IBaseRtl._rt_imod
Source in _udiv.c _udiv.c _udiv.c _udiv.c

Trimedia compiler support, signed modulus.

2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement Accessibility End User License Agreement