Usermode - Changed install dir to $(DISTROOT)/$(ARCH) for cross-installs
[tpg/acess2.git] / Kernel / include / acess.h
index ad86578..6373cec 100644 (file)
@@ -280,25 +280,23 @@ extern void       MM_DerefPhys(tPAddr PAddr);
  */
 extern int     MM_GetRefCount(tPAddr PAddr);
 /**
- * \brief Set the node/offset associated with a page
+ * \brief Set the node associated with a page
  * \param PAddr        Physical address of page
  * \param Node Node pointer (tVFS_Node)
- * \param Offset       File offset
  * \return Boolean failure
  * \retval 0   Success
  * \retval 1   Page not allocated
  */
-extern int     MM_SetPageInfo(tPAddr PAddr, void *Node, Uint64 Offset);
+extern int     MM_SetPageNode(tPAddr PAddr, void *Node);
 /**
- * \brief Get the node/offset associated with a page
+ * \brief Get the node associated with a page
  * \param PAddr        Physical address of page
  * \param Node Node pointer (tVFS_Node) destination
- * \param Offset       File offset destination (pointer)
  * \return Boolean failure
  * \retval 0   Success
  * \retval 1   Page not allocated
  */
-extern int     MM_GetPageInfo(tPAddr PAddr, void **Node, Uint64 *Offset);
+extern int     MM_GetPageNode(tPAddr PAddr, void **Node);
 /**
  * \}
  */
@@ -441,7 +439,7 @@ extern void Time_Delay(int Delay);
  * \{
  */
 extern int     Proc_SpawnWorker(void);
-extern int     Proc_Spawn(char *Path);
+extern int     Proc_Spawn(const char *Path);
 extern void    Threads_Exit(int TID, int Status);
 extern void    Threads_Yield(void);
 extern void    Threads_Sleep(void);
@@ -462,7 +460,6 @@ extern int  DivUp(int num, int dem);
 
 #include <binary_ext.h>
 #include <vfs_ext.h>
-#include <adt.h>
 #include <mutex.h>
 
 #endif

UCC git Repository :: git.ucc.asn.au