From 0b00ec6b25e69242fc4b5b450a903542310aac0c Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 25 Sep 2011 11:15:55 +0800 Subject: [PATCH] Just some little notes --- Notes/AutoconfCrossCompiling.txt | 3 +++ Notes/VFS_MMap_Notes_20110711.txt | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 Notes/AutoconfCrossCompiling.txt create mode 100644 Notes/VFS_MMap_Notes_20110711.txt diff --git a/Notes/AutoconfCrossCompiling.txt b/Notes/AutoconfCrossCompiling.txt new file mode 100644 index 00000000..d1cfdc48 --- /dev/null +++ b/Notes/AutoconfCrossCompiling.txt @@ -0,0 +1,3 @@ + +Cross Compiling +CC=i586-elf-gcc CPPFLAGS="-I /home/tpg/Projects/Acess2/Usermode/include/" CFLAGS="-Wl,-T,/home/tpg/Projects/Acess2/Usermode/Output/i386/Libs/acess.ld -nostartfiles -nodefaultlibs -lld-acess -lc" ./configure --host=i586-elf diff --git a/Notes/VFS_MMap_Notes_20110711.txt b/Notes/VFS_MMap_Notes_20110711.txt new file mode 100644 index 00000000..c04b402a --- /dev/null +++ b/Notes/VFS_MMap_Notes_20110711.txt @@ -0,0 +1,6 @@ +Notes: + +- Implement mmap() in Acess + > tVFS_Node.MMap(tVFS_Node *Node, int Size, void *Dest): int + > tVFS_Node.MappedAreas[]: struct{void *Base, int Size} + > \a Size is always a multiple of page size -- 2.20.1