|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static double |
clockFrequency
See cpu.cpp |
static void* |
FAILED
See acpi.cpp |
char[ GFX_CARD_LEN ] |
gfx_card
========================================================================= File : gfx. |
const size_t |
GFX_CARD_LEN
========================================================================= File : gfx. |
char[ GFX_DRV_VER_LEN ] |
gfx_drv_ver
See gfx.cpp |
const size_t |
GFX_DRV_VER_LEN
See gfx.h |
int |
gfx_mem
See gfx.cpp |
static ModuleInitState |
initState
See acpi.cpp |
static size_t |
memoryTotalMib
See cpu.cpp |
static int |
numTables
See acpi.cpp |
static const size_t |
RSDP_ALIGNMENT
See acpi.cpp |
char[ SND_CARD_LEN ] |
snd_card
========================================================================= File : snd. |
const size_t |
SND_CARD_LEN
========================================================================= File : snd. |
char[ SND_DRV_VER_LEN ] |
snd_drv_ver
See snd.cpp |
const size_t |
SND_DRV_VER_LEN
See snd.h |
static void* |
SUCCEEDED
See acpi.cpp |
static const AcpiTable** |
tables
See acpi.cpp |
Method Summary | |
const AcpiTable* |
acpi_GetTable( const char* signature )
See acpi.cpp |
bool |
acpi_Init()
See acpi.cpp |
void |
acpi_Shutdown()
See acpi.cpp |
static const AcpiTable* |
AllocateCopyOfTable( u64 physicalAddress )
See acpi.cpp |
static inline void* |
CallWithSafetyBlanket( UnsafeFunction func, PCV_u8 mem, size_t numBytes, void* arg )
See acpi.cpp |
static u8 |
ComputeChecksum( PCV_u8 buf, size_t numBytes )
See acpi.cpp |
void |
cpu_AtomicAdd( volatile intptr_t* location, intptr_t increment )
See cpu.cpp |
LibError |
cpu_CallByEachCPU( CpuCallback cb, void* param )
See cpu.cpp |
bool |
cpu_CAS( volatile uintptr_t* location, uintptr_t expected, uintptr_t new_value )
See cpu.cpp |
double |
cpu_ClockFrequency()
See cpu.cpp |
uint |
cpu_CoresPerPackage()
See cpu.cpp |
i32 |
cpu_i32FromDouble( double d )
See cpu.cpp |
i32 |
cpu_i32FromFloat( float f )
See cpu.cpp |
i64 |
cpu_i64FromDouble( double d )
See cpu.cpp |
const char* |
cpu_IdentifierString()
See cpu.cpp |
void |
cpu_Init()
See cpu.cpp |
uint |
cpu_LogicalPerCore()
See cpu.cpp |
void* |
cpu_memcpy( void* RESTRICT dst, const void* RESTRICT src, size_t nbytes )
See cpu.cpp |
void |
cpu_MemoryFence()
See cpu.cpp |
size_t |
cpu_MemorySize( CpuMemoryIndicators mem_type )
See cpu.cpp |
size_t |
cpu_MemoryTotalMiB()
See cpu.cpp |
uint |
cpu_NumPackages()
See cpu.cpp |
int |
cpu_OsNumProcessors()
See cpu.cpp |
void |
cpu_Serialize()
See cpu.cpp |
void |
cpu_Shutdown()
See cpu.cpp |
template< typename T > static void |
DeallocateTable( const T* table )
See acpi.cpp |
static void |
DetectClockFrequency()
See cpu.cpp |
static void |
DetectMemory()
See cpu.cpp |
|
ERROR_ASSOCIATE( ERR::CPU_RESTRICTED_AFFINITY,"Cannot set desired CPU affinity",-1 )
See cpu.cpp |
|
ERROR_ASSOCIATE( ERR::CPU_UNKNOWN_OPCODE,"Disassembly failed",-1 )
See cpu.cpp |
|
ERROR_ASSOCIATE( ERR::CPU_FEATURE_MISSING,"This CPU doesn't support a required feature",-1 )
========================================================================= File : cpu. |
|
ERROR_ASSOCIATE( ERR::CPU_UNKNOWN_VENDOR,"CPU vendor unknown",-1 )
See cpu.cpp |
static void |
FreeAllTables()
See acpi.cpp |
static const AcpiTable* |
GetTable( u64 physicalAddress, const char* signature = 0 )
See acpi.cpp |
void |
gfx_detect()
See gfx.cpp |
static bool |
LatchAllTables()
See acpi.cpp |
static bool |
RetrieveRsdp( RSDP& rsdp )
See acpi.cpp |
void |
snd_detect()
See snd.cpp |
wchar_t* |
sys_get_module_filename( void* addr, wchar_t* path )
See sysdep.h |
static void* |
TransactPhysicalMemory( u64 physicalAddress, size_t numBytes, UnsafeFunction func, void* arg = 0 )
See acpi.cpp |
static inline void* |
UnsafeAllocateCopyOfTable( PCV_u8 mem, size_t numBytes, void* arg )
See acpi.cpp |
static void* |
UnsafeLocateAndRetrieveRsdp( PCV_u8 buf, size_t numBytes, void* arg )
See acpi.cpp |
static void* |
UnsafeReadEbdaPhysicalAddress( PCV_u8 mem, size_t numBytes, void* UNUSED( arg ) )
See acpi.cpp |
static bool |
VerifyTable( const AcpiTable* table, const char* signature = 0 )
See acpi.cpp |
Symbol Summary | |
#define |
__func__ "(unknown)"
See compiler.h |
#define |
_HAS_EXCEPTIONS 0
See stl.h |
#define |
_W64
See compiler.h |
#define |
ASSUME_UNREACHABLE
See compiler.h |
#define |
EXTERN_C extern
See compiler.h |
#define |
FP_ Ebp
See cpu.h |
#define |
INCLUDED_ACPI
See acpi.h |
#define |
INCLUDED_COMPILER
See compiler.h |
#define |
INCLUDED_CPU
See cpu.h |
#define |
INCLUDED_DIR_WATCH
See dir_watch.h |
#define |
INCLUDED_GFX
See gfx.h |
#define |
INCLUDED_SND
See snd.h |
#define |
INCLUDED_STL
See stl.h |
#define |
INCLUDED_SYSDEP
See sysdep.h |
#define |
PC_ Eip
See cpu.h |
#define |
RESTRICT
See compiler.h |
#define |
SP_ Esp
See cpu.h |
#define |
STL_HASH_MAP std::hash_map
See stl.h |
#define |
STL_HASH_MULTIMAP std::hash_multimap
See stl.h |
#define |
STL_HASH_MULTISET std::hash_multiset
See stl.h |
#define |
STL_HASH_SET std::hash_set
See stl.h |
#define |
STL_HASH_VALUE std::hash_value
See stl.h |
#define |
STL_NO_EXCEPTIONS
See stl.h |
#define |
STL_SLIST __gnu_cxx::slist
See stl.h |
#define |
SYS_DIR_SEP '/'
See sysdep.h |
Macro Summary | |
#define |
CAS(l, o, n) cpu_CAS((volatile uintptr_t*)l, (uintptr_t)o, (uintptr_t)n)
See cpu.h |
#define |
SHORTEN(what, chars_to_keepif(!strncmp(gfx_card, what, ARRAY_SIZE(what-1memmove(gfx_card+chars_to_keep, gfx_card+ARRAY_SIZE(what-1, strlen(gfx_card-(ARRAY_SIZE(what-1+1)
See gfx.cpp |
Field Detail |
static double clockFrequency;
static void* FAILED;
char gfx_card[ GFX_CARD_LEN ];
const size_t GFX_CARD_LEN;
char gfx_drv_ver[ GFX_DRV_VER_LEN ];
const size_t GFX_DRV_VER_LEN;
int gfx_mem;
static ModuleInitState initState;
static size_t memoryTotalMib;
static int numTables;
static const size_t RSDP_ALIGNMENT;
char snd_card[ SND_CARD_LEN ];
const size_t SND_CARD_LEN;
char snd_drv_ver[ SND_DRV_VER_LEN ];
const size_t SND_DRV_VER_LEN;
static void* SUCCEEDED;
static const AcpiTable** tables;
Method Detail |
const AcpiTable* acpi_GetTable( const char* signature );
bool acpi_Init();
void acpi_Shutdown();
static const AcpiTable* AllocateCopyOfTable( u64 physicalAddress );
static inline void* CallWithSafetyBlanket( UnsafeFunction func, PCV_u8 mem, size_t numBytes, void* arg );
static u8 ComputeChecksum( PCV_u8 buf, size_t numBytes );
void cpu_AtomicAdd( volatile intptr_t* location, intptr_t increment );
LibError cpu_CallByEachCPU( CpuCallback cb, void* param );
bool cpu_CAS( volatile uintptr_t* location, uintptr_t expected, uintptr_t new_value );
double cpu_ClockFrequency();
uint cpu_CoresPerPackage();
i32 cpu_i32FromDouble( double d );
i32 cpu_i32FromFloat( float f );
i64 cpu_i64FromDouble( double d );
const char* cpu_IdentifierString();
void cpu_Init();
uint cpu_LogicalPerCore();
void* cpu_memcpy( void* RESTRICT dst, const void* RESTRICT src, size_t nbytes );
void cpu_MemoryFence();
size_t cpu_MemorySize( CpuMemoryIndicators mem_type );
size_t cpu_MemoryTotalMiB();
uint cpu_NumPackages();
int cpu_OsNumProcessors();
void cpu_Serialize();
void cpu_Shutdown();
template< typename T > static void DeallocateTable( const T* table );
static void DetectClockFrequency();
static void DetectMemory();
ERROR_ASSOCIATE( ERR::CPU_RESTRICTED_AFFINITY,"Cannot set desired CPU affinity",-1 );
ERROR_ASSOCIATE( ERR::CPU_UNKNOWN_OPCODE,"Disassembly failed",-1 );
ERROR_ASSOCIATE( ERR::CPU_FEATURE_MISSING,"This CPU doesn't support a required feature",-1 );
ERROR_ASSOCIATE( ERR::CPU_UNKNOWN_VENDOR,"CPU vendor unknown",-1 );
static void FreeAllTables();
static const AcpiTable* GetTable( u64 physicalAddress, const char* signature = 0 );
void gfx_detect();
static bool LatchAllTables();
static bool RetrieveRsdp( RSDP& rsdp );
void snd_detect();
wchar_t* sys_get_module_filename( void* addr, wchar_t* path );
static void* TransactPhysicalMemory( u64 physicalAddress, size_t numBytes, UnsafeFunction func, void* arg = 0 );
static inline void* UnsafeAllocateCopyOfTable( PCV_u8 mem, size_t numBytes, void* arg );
static void* UnsafeLocateAndRetrieveRsdp( PCV_u8 buf, size_t numBytes, void* arg );
static void* UnsafeReadEbdaPhysicalAddress( PCV_u8 mem, size_t numBytes, void* UNUSED( arg ) );
static bool VerifyTable( const AcpiTable* table, const char* signature = 0 );
Symbol Detail |
#define __func__ "(unknown)"
#define _HAS_EXCEPTIONS 0
#define _W64
#define ASSUME_UNREACHABLE
#define EXTERN_C extern
#define FP_ Ebp
#define INCLUDED_ACPI
#define INCLUDED_COMPILER
#define INCLUDED_CPU
#define INCLUDED_DIR_WATCH
#define INCLUDED_GFX
#define INCLUDED_SND
#define INCLUDED_STL
#define INCLUDED_SYSDEP
#define PC_ Eip
#define RESTRICT
#define SP_ Esp
#define STL_HASH_MAP std::hash_map
#define STL_HASH_MULTIMAP std::hash_multimap
#define STL_HASH_MULTISET std::hash_multiset
#define STL_HASH_SET std::hash_set
#define STL_HASH_VALUE std::hash_value
#define STL_NO_EXCEPTIONS
#define STL_SLIST __gnu_cxx::slist
#define SYS_DIR_SEP '/'
Macro Detail |
#define CAS(l, o, n) cpu_CAS((volatile uintptr_t*)l, (uintptr_t)o, (uintptr_t)n)
#define SHORTEN(what, chars_to_keepif(!strncmp(gfx_card, what, ARRAY_SIZE(what-1memmove(gfx_card+chars_to_keep, gfx_card+ARRAY_SIZE(what-1, strlen(gfx_card-(ARRAY_SIZE(what-1+1;)
|
0 A.D.
Generated on September 04, 2007 at 18:13 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |