UserSvr Class Reference

class UserSvr

A collection of static functions that are intended for internal use only, except for AddEvent. UserSvr::AddEvent()

Public Member Functions
IMPORT_C TIntAddEvent(const TRawEvent &)
IMPORT_C voidCaptureEventHook()
IMPORT_C TIntChangeLocale(const TDesC &)
IMPORT_C TUint32DebugMask()
IMPORT_C TUint32DebugMask(TUint)
IMPORT_C voidDllFileName(TInt, TDes &)
IMPORT_C voidDllFreeTls(TInt)
IMPORT_C TIntDllSetTls(TInt, TAny *)
IMPORT_C TIntDllSetTls(TInt, TInt, TAny *)
IMPORT_C TAny *DllTls(TInt)
IMPORT_C TAny *DllTls(TInt, TInt)
IMPORT_C TLinAddrExceptionDescriptor(TLinAddr)
IMPORT_C TIntExecuteInSupervisorMode(TSupervisorFunction, TAny *)
IMPORT_C voidFsRegisterThread()
IMPORT_C TIntHalFunction(TInt, TInt, TAny *, TAny *)
IMPORT_C TIntHalFunction(TInt, TInt, TAny *, TAny *, TInt)
IMPORT_C TIntHalGet(TInt, TAny *)
IMPORT_C TIntHalSet(TInt, TAny *)
IMPORT_C TBoolIpcV1Available()
IMPORT_C TIntLocalePropertiesSetDefaults()
IMPORT_C voidLockRamDrive()
IMPORT_C voidRegisterTrustedChunk(TInt)
IMPORT_C voidReleaseEventHook()
IMPORT_C voidRequestEvent(TRawEventBuf &, TRequestStatus &)
IMPORT_C voidRequestEventCancel()
IMPORT_C TIntResetMachine(TMachineStartupType)
IMPORT_C TUint32RomHeaderAddress()
IMPORT_C TUint32RomRootDirectoryAddress()
IMPORT_C voidScreenInfo(TDes8 &)
IMPORT_C TIntSetMemoryThresholds(TInt, TInt)
IMPORT_C TBoolTestBootSequence()
IMPORT_C voidUnlockRamDrive()
IMPORT_C voidWsRegisterSwitchOnScreenHandling(TBool)
IMPORT_C voidWsRegisterThread()
IMPORT_C voidWsSwitchOnScreen()

Member Functions Documentation

AddEvent(const TRawEvent &)

IMPORT_C TIntAddEvent(const TRawEvent &anEvent)[static]

Add an event to the queue.

capability
SwEvent
capability
PowerMgmt for ESwitchOff, ERestartSystem, ECaseOpen and ECaseClose

Parameters

const TRawEvent & anEventThe raw hardware event to be added to the event queue.

CaptureEventHook()

IMPORT_C voidCaptureEventHook()[static]

ChangeLocale(const TDesC &)

IMPORT_C TIntChangeLocale(const TDesC &aLocaleDllName)[static]

Parameters

const TDesC & aLocaleDllName

DebugMask()

IMPORT_C TUint32DebugMask()[static]

Return the kernel debug mask at index 0

DebugMask(TUint)

IMPORT_C TUint32DebugMask(TUintaIndex)[static]

Return the kernel debug mask at the given index position

Parameters

TUint aIndexAn index of which 32 bit mask word is to be accessed

DllFileName(TInt, TDes &)

IMPORT_C voidDllFileName(TIntaHandle,
TDes &aFileName
)[static]

Parameters

TInt aHandle
TDes & aFileName

DllFreeTls(TInt)

IMPORT_C voidDllFreeTls(TIntaHandle)[static]

Parameters

TInt aHandle

DllSetTls(TInt, TAny *)

IMPORT_C TIntDllSetTls(TIntaHandle,
TAny *aPtr
)[static]

Parameters

TInt aHandle
TAny * aPtr

DllSetTls(TInt, TInt, TAny *)

IMPORT_C TIntDllSetTls(TIntaHandle,
TIntaDllUid,
TAny *aPtr
)[static]

Parameters

TInt aHandle
TInt aDllUid
TAny * aPtr

DllTls(TInt)

IMPORT_C TAny *DllTls(TIntaHandle)[static]

Parameters

TInt aHandle

DllTls(TInt, TInt)

IMPORT_C TAny *DllTls(TIntaHandle,
TIntaDllUid
)[static]

Parameters

TInt aHandle
TInt aDllUid

ExceptionDescriptor(TLinAddr)

IMPORT_C TLinAddrExceptionDescriptor(TLinAddraCodeAddress)[static]

Gets the linear address of the exception descriptor for the code module in which a specified code address resides.

Parameters

TLinAddr aCodeAddressThe code address in question.

ExecuteInSupervisorMode(TSupervisorFunction, TAny *)

IMPORT_C TIntExecuteInSupervisorMode(TSupervisorFunctionaFunction,
TAny *aParameter
)[static]

Parameters

TSupervisorFunction aFunction
TAny * aParameter

FsRegisterThread()

IMPORT_C voidFsRegisterThread()[static]

HalFunction(TInt, TInt, TAny *, TAny *)

IMPORT_C TIntHalFunction(TIntaGroup,
TIntaFunction,
TAny *a1,
TAny *a2
)[static]

Parameters

TInt aGroup
TInt aFunction
TAny * a1
TAny * a2

HalFunction(TInt, TInt, TAny *, TAny *, TInt)

IMPORT_C TIntHalFunction(TIntaGroup,
TIntaFunction,
TAny *a1,
TAny *a2,
TIntaDeviceNumber
)[static]

Parameters

TInt aGroup
TInt aFunction
TAny * a1
TAny * a2
TInt aDeviceNumber

HalGet(TInt, TAny *)

IMPORT_C TIntHalGet(TInt,
TAny *
)[static]

Parameters

TInt
TAny *

HalSet(TInt, TAny *)

IMPORT_C TIntHalSet(TInt,
TAny *
)[static]

Parameters

TInt
TAny *

IpcV1Available()

IMPORT_C TBoolIpcV1Available()[static]

LocalePropertiesSetDefaults()

IMPORT_C TIntLocalePropertiesSetDefaults()[static]

LockRamDrive()

IMPORT_C voidLockRamDrive()[static]

RegisterTrustedChunk(TInt)

IMPORT_C voidRegisterTrustedChunk(TIntaHandle)[static]

Registers file server's chunk intended for DMA transfer.

Parameters

TInt aHandle

ReleaseEventHook()

IMPORT_C voidReleaseEventHook()[static]

RequestEvent(TRawEventBuf &, TRequestStatus &)

IMPORT_C voidRequestEvent(TRawEventBuf &anEvent,
TRequestStatus &aStatus
)[static]

Parameters

TRawEventBuf & anEvent
TRequestStatus & aStatus

RequestEventCancel()

IMPORT_C voidRequestEventCancel()[static]

ResetMachine(TMachineStartupType)

IMPORT_C TIntResetMachine(TMachineStartupTypeaType)[static]

Parameters

TMachineStartupType aType

RomHeaderAddress()

IMPORT_C TUint32RomHeaderAddress()[static]

RomRootDirectoryAddress()

IMPORT_C TUint32RomRootDirectoryAddress()[static]

ScreenInfo(TDes8 &)

IMPORT_C voidScreenInfo(TDes8 &anInfo)[static]

Parameters

TDes8 & anInfo

SetMemoryThresholds(TInt, TInt)

IMPORT_C TIntSetMemoryThresholds(TIntaLowThreshold,
TIntaGoodThreshold
)[static]
capability
WriteDeviceData

Parameters

TInt aLowThreshold
TInt aGoodThreshold

TestBootSequence()

IMPORT_C TBoolTestBootSequence()[static]

UnlockRamDrive()

IMPORT_C voidUnlockRamDrive()[static]

WsRegisterSwitchOnScreenHandling(TBool)

IMPORT_C voidWsRegisterSwitchOnScreenHandling(TBoolaState)[static]

Register whether the W/S takes care of turning the screen on

Parameters

TBool aState

WsRegisterThread()

IMPORT_C voidWsRegisterThread()[static]

WsSwitchOnScreen()

IMPORT_C voidWsSwitchOnScreen()[static]