git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPv6, and I need to learn to compile before commiting
[tpg/acess2.git]
/
Kernel
/
include
/
acess.h
diff --git
a/Kernel/include/acess.h
b/Kernel/include/acess.h
index
d7f2b0d
..
2cd927b
100644
(file)
--- a/
Kernel/include/acess.h
+++ b/
Kernel/include/acess.h
@@
-13,6
+13,8
@@
#include "errno.h"
// --- Types ---
#include "errno.h"
// --- Types ---
+typedef int tPID;
+typedef int tTID;
typedef Uint tUID;
typedef Uint tGID;
typedef Sint64 tTimestamp;
typedef Uint tUID;
typedef Uint tGID;
typedef Sint64 tTimestamp;
@@
-177,11
+179,11
@@
extern void MM_Deallocate(tVAddr VAddr);
*/
extern int MM_Map(tVAddr VAddr, tPAddr PAddr);
/**
*/
extern int MM_Map(tVAddr VAddr, tPAddr PAddr);
/**
- * \brief Get the physical address of \a
V
Addr
- * \param
VAddr
Address of the page to get the physical address of
- * \return Physical page mapped at \a
V
Addr
+ * \brief Get the physical address of \a Addr
+ * \param
Addr
Address of the page to get the physical address of
+ * \return Physical page mapped at \a Addr
*/
*/
-extern tPAddr MM_GetPhysAddr(tVAddr
V
Addr);
+extern tPAddr MM_GetPhysAddr(tVAddr Addr);
/**
* \brief Checks is a memory range is user accessable
* \param VAddr Base address to check
/**
* \brief Checks is a memory range is user accessable
* \param VAddr Base address to check
@@
-367,6
+369,8
@@
extern int Proc_Spawn(char *Path);
extern void Threads_Exit();
extern void Threads_Yield();
extern void Threads_Sleep();
extern void Threads_Exit();
extern void Threads_Yield();
extern void Threads_Sleep();
+extern tPID Threads_GetPID();
+extern tTID Threads_GetTID();
extern tUID Threads_GetUID();
extern tGID Threads_GetGID();
extern int SpawnTask(tThreadFunction Function, void *Arg);
extern tUID Threads_GetUID();
extern tGID Threads_GetGID();
extern int SpawnTask(tThreadFunction Function, void *Arg);
UCC
git Repository :: git.ucc.asn.au