Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

RTDECL ( uint32_t   )  const

Calculate CRC32 for a memory block.

Returns:
CRC32 for the memory block.
Parameters:
pv Pointer to the memory block.
cb Size of the memory block in bytes.
Start a multiblock CRC32 calculation.

Returns:
Start CRC32.
Processes a multiblock of a CRC32 calculation.

Returns:
Intermediate CRC32 value.
Parameters:
uCRC32 Current CRC32 intermediate value.
pv The data block to process.
cb The size of the data block in bytes.
Complete a multiblock CRC32 calculation.

Returns:
CRC32 value.
Parameters:
uCRC32 Current CRC32 intermediate value.
Release a reference to the address space.

When the reference count reaches zero, the address space is destroyed. That means unlinking all the modules it currently contains, potentially causing some or all of them to be destroyed as they are managed by reference counting.

Returns:
New reference count, UINT32_MAX on invalid handle (asserted).
Parameters:
hDbgAs The address space handle. The NIL handle is quietly ignored and 0 is returned.
Remarks:
Will not take any locks.
Gets the number of modules in the address space.

This can be used together with RTDbgAsModuleByIndex to enumerate the modules.

Returns:
The number of modules.
Parameters:
hDbgAs The address space handle.
Remarks:
Will not take any locks.
Retains another reference to the module.

Returns:
New reference count, UINT32_MAX on invalid handle (asserted).
Parameters:
hDbgMod The module handle.
Remarks:
Will not take any locks.
Release a reference to the module.

When the reference count reaches zero, the module is destroyed.

Returns:
New reference count, UINT32_MAX on invalid handle (asserted).
Parameters:
hDbgMod The module handle. The NIL handle is quietly ignored and 0 is returned.
Remarks:
Will not take any locks.
Gets the symbol count.

This can be used together wtih RTDbgModSymbolByOrdinal or RTDbgModSymbolByOrdinalA to enumerate all the symbols.

Returns:
The number of symbols in the module. UINT32_MAX is returned if the module handle is invalid or some other error occurs.
Parameters:
hDbgMod The module handle.
Gets the line number count.

This can be used together wtih RTDbgModLineByOrdinal or RTDbgModSymbolByLineA to enumerate all the line number information.

Returns:
The number of line numbers in the module. UINT32_MAX is returned if the module handle is invalid or some other error occurs.
Parameters:
hDbgMod The module handle.
Releases a reference to a memory block in a pool.

Parameters:
hMemPool Handle to the pool containing the memory. Passing NIL here is fine, but it may come at a slight performance cost.
pv Pointer to memory block.
Get the maximum frequency of a CPU.

The CPU must be online.

Returns:
The frequency as MHz. 0 if the CPU is offline or the information is not available.
Parameters:
idCpu The identifier of the CPU.
Generate a 32-bit unsigned random number.

Returns:
The random number.
Generate a 32-bit unsigned random number in the set [u32First..u32Last].

Returns:
The random number.
Parameters:
hRand Handle to the random number generator.
u32First First number in the set.
u32Last Last number in the set.
Generate a 32-bit unsigned random number.

Returns:
The random number.
Parameters:
hRand Handle to the random number generator.
Gets the read recursion count of the current writer.

Returns:
The read recursion count (0 if bad semaphore handle).
Parameters:
RWSem The Read/Write semaphore in question.
Releases a reference to a string.

Returns:
The new reference count. UINT32_MAX is returned if the string pointer is invalid.
Parameters:
hStrCache Handle to the string cache. Passing NIL is ok, but this may come a performance hit.
psz Pointer to a cached string.
Debugging the time api.

Returns:
the number of times the TSC interval expired RTTimeNanoTS().
Debugging the time api.

Returns:
the number of bad previous values encountered by RTTimeNanoTS().
Debugging the time api.

Returns:
the number of update races in RTTimeNanoTS().
Get the second timestamp relative to program startup.

Returns:
Timestamp relative to program startup.

Todo:
darwin R0 MP (rainy day)

Definition at line 175 of file mp-r0drv-darwin.cpp.

{
    /** @todo darwin R0 MP (rainy day) */
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index