summaryrefslogtreecommitdiff
path: root/dxr3cpu.c
diff options
context:
space:
mode:
authoraustriancoder <austriancoder>2004-09-13 16:23:16 +0000
committeraustriancoder <austriancoder>2004-09-13 16:23:16 +0000
commit05bc5bd2466f42a18fe467ee611f0a2e42bade39 (patch)
treec330021f2c5bc1b9d15c8d8dd8b13a6fa7ed29a5 /dxr3cpu.c
parent433938312aba894f3487064387a59336f0e76acc (diff)
downloadvdr-plugin-dxr3-05bc5bd2466f42a18fe467ee611f0a2e42bade39.tar.gz
vdr-plugin-dxr3-05bc5bd2466f42a18fe467ee611f0a2e42bade39.tar.bz2
added and converted comments into a doxygen friendly format
Diffstat (limited to 'dxr3cpu.c')
-rw-r--r--dxr3cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dxr3cpu.c b/dxr3cpu.c
index 4666e89..4186013 100644
--- a/dxr3cpu.c
+++ b/dxr3cpu.c
@@ -26,7 +26,7 @@
#include "dxr3memcpy.h"
// ==================================
-// const.
+//! constructor
cDxr3CPU::cDxr3CPU()
{
unsigned long eax,ebx,edx,unused;
@@ -111,7 +111,7 @@ cDxr3CPU::cDxr3CPU()
}
// ==================================
-// does the cpu support cpuid instructions
+//! does the cpu support cpuid instructions
bool cDxr3CPU::CheckCPUIDPresence()
{
// todo
@@ -119,7 +119,7 @@ bool cDxr3CPU::CheckCPUIDPresence()
}
// ==================================
-// cpuid function
+//! cpuid function
bool cDxr3CPU::cpuid(unsigned long function, unsigned long& out_eax, unsigned long& out_ebx, unsigned long& out_ecx, unsigned long& out_edx)
{
asm("cpuid": "=a" (out_eax), "=b" (out_ebx), "=c" (out_ecx), "=d" (out_edx) : "a" (function));