tpg/acess2.git
14 years agoFixed incorrect use of strpos
John Hodge [Sun, 27 Sep 2009 09:53:54 +0000 (17:53 +0800)]
Fixed incorrect use of strpos

14 years agoFixed: Not adding a trailing slash to CWD in VFS_GetAbsPath
John Hodge [Sun, 27 Sep 2009 09:42:47 +0000 (17:42 +0800)]
Fixed: Not adding a trailing slash to CWD in VFS_GetAbsPath

14 years agoRemove debug & add Debug
John Hodge [Sun, 27 Sep 2009 09:41:34 +0000 (17:41 +0800)]
Remove debug & add Debug

14 years agoFixed: Moved back to using symbolic keys for states
John Hodge [Sun, 27 Sep 2009 09:39:06 +0000 (17:39 +0800)]
Fixed: Moved back to using symbolic keys for states

14 years agoFixed: Increased key states array to accomidate full range
John Hodge [Sun, 27 Sep 2009 09:37:49 +0000 (17:37 +0800)]
Fixed: Increased key states array to accomidate full range

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 09:36:30 +0000 (17:36 +0800)]
Debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 09:33:59 +0000 (17:33 +0800)]
Debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 09:33:14 +0000 (17:33 +0800)]
Debug

14 years agoFixed duplicate reference of heap locatons, and stopped CWD from being freed if it...
John Hodge [Sun, 27 Sep 2009 09:13:05 +0000 (17:13 +0800)]
Fixed duplicate reference of heap locatons, and stopped CWD from being freed if it is currently NULL

14 years agoFixed VFS_ChDir to handle symlinks by using VFS_Open
John Hodge [Sun, 27 Sep 2009 09:03:02 +0000 (17:03 +0800)]
Fixed VFS_ChDir to handle symlinks by using VFS_Open

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 08:57:19 +0000 (16:57 +0800)]
Debug

14 years agoRemoved debug
John Hodge [Sun, 27 Sep 2009 08:54:38 +0000 (16:54 +0800)]
Removed debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 08:52:49 +0000 (16:52 +0800)]
Debug

14 years agoRemoved debug
John Hodge [Sun, 27 Sep 2009 08:48:42 +0000 (16:48 +0800)]
Removed debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 08:47:39 +0000 (16:47 +0800)]
Debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 08:46:05 +0000 (16:46 +0800)]
Debug

14 years agoFixed FAT_Read to return number of bytes read. Created a simple `cat` command
John Hodge [Sun, 27 Sep 2009 08:43:12 +0000 (16:43 +0800)]
Fixed FAT_Read to return number of bytes read. Created a simple `cat` command

14 years agoFixed SYS_READ and SYS_WRITE to return correct values
John Hodge [Sun, 27 Sep 2009 08:35:57 +0000 (16:35 +0800)]
Fixed SYS_READ and SYS_WRITE to return correct values

14 years agoDisabled Debug
John Hodge [Sun, 27 Sep 2009 07:44:59 +0000 (15:44 +0800)]
Disabled Debug

14 years agoFixed MM_ClearUser not zeroing cleared entries
John Hodge [Sun, 27 Sep 2009 07:43:41 +0000 (15:43 +0800)]
Fixed MM_ClearUser not zeroing cleared entries

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 07:41:09 +0000 (15:41 +0800)]
Debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 07:39:34 +0000 (15:39 +0800)]
Debug

14 years agoDebug
John Hodge [Sun, 27 Sep 2009 07:37:49 +0000 (15:37 +0800)]
Debug

14 years agoFixed bit arithmatic
John Hodge [Sun, 27 Sep 2009 06:12:12 +0000 (14:12 +0800)]
Fixed bit arithmatic

14 years agoExtended MM_Dump to dump table addresses
John Hodge [Sun, 27 Sep 2009 06:10:50 +0000 (14:10 +0800)]
Extended MM_Dump to dump table addresses

14 years agoChanged user stack to be at 8M
John Hodge [Sun, 27 Sep 2009 06:06:02 +0000 (14:06 +0800)]
Changed user stack to be at 8M

14 years agoAdded catch for when rand() sticks
John Hodge [Sun, 27 Sep 2009 06:03:02 +0000 (14:03 +0800)]
Added catch for when rand() sticks

14 years agoChanged random values again
John Hodge [Sun, 27 Sep 2009 06:00:55 +0000 (14:00 +0800)]
Changed random values again

14 years agoChanged the random values A and C
John Hodge [Sun, 27 Sep 2009 05:59:26 +0000 (13:59 +0800)]
Changed the random values A and C

14 years agoDebug statement in rand()
John Hodge [Sun, 27 Sep 2009 05:58:26 +0000 (13:58 +0800)]
Debug statement in rand()

14 years agoAdded tracing of ticket draws
John Hodge [Sun, 27 Sep 2009 05:46:51 +0000 (13:46 +0800)]
Added tracing of ticket draws

14 years agoMoved adding a task to the active list to threads.c
John Hodge [Sun, 27 Sep 2009 05:44:57 +0000 (13:44 +0800)]
Moved adding a task to the active list to threads.c

14 years agoAdded debug to Threads_GetNext
John Hodge [Sun, 27 Sep 2009 05:40:56 +0000 (13:40 +0800)]
Added debug to Threads_GetNext

14 years agoAdded tracing of task switches
John Hodge [Sun, 27 Sep 2009 05:37:56 +0000 (13:37 +0800)]
Added tracing of task switches

14 years agoCut down on debug
John Hodge [Sun, 27 Sep 2009 04:15:07 +0000 (12:15 +0800)]
Cut down on debug

14 years agoInvalidated page that has just been marked COW
John Hodge [Sun, 27 Sep 2009 04:13:27 +0000 (12:13 +0800)]
Invalidated page that has just been marked COW

14 years agoHelps if DEBUG is defined
John Hodge [Sun, 27 Sep 2009 03:51:50 +0000 (11:51 +0800)]
Helps if DEBUG is defined

14 years agoAdded debug to MM_PageFault
John Hodge [Sun, 27 Sep 2009 03:50:43 +0000 (11:50 +0800)]
Added debug to MM_PageFault

14 years agoFixed MM_PageFault duplicating a page when it is only used once
John Hodge [Sun, 27 Sep 2009 03:46:17 +0000 (11:46 +0800)]
Fixed MM_PageFault duplicating a page when it is only used once

14 years agoAdded magic breakpoint to SYS_CLONE, cleaned up other debug
John Hodge [Sun, 27 Sep 2009 03:40:17 +0000 (11:40 +0800)]
Added magic breakpoint to SYS_CLONE, cleaned up other debug

14 years agoStrike that
John Hodge [Sun, 27 Sep 2009 03:18:11 +0000 (11:18 +0800)]
Strike that

14 years agoFixed stack changing in SYS_CLONE
John Hodge [Sun, 27 Sep 2009 03:16:20 +0000 (11:16 +0800)]
Fixed stack changing in SYS_CLONE

14 years agoDisabled debug in binary loader and added sleeping message
John Hodge [Sun, 27 Sep 2009 03:12:51 +0000 (11:12 +0800)]
Disabled debug in binary loader and added sleeping message

14 years agoTurned debug on for binary loader to trace Proc_Execve
John Hodge [Sun, 27 Sep 2009 03:11:25 +0000 (11:11 +0800)]
Turned debug on for binary loader to trace Proc_Execve

14 years agoExtra debug in Idle thread
John Hodge [Sun, 27 Sep 2009 03:05:50 +0000 (11:05 +0800)]
Extra debug in Idle thread

14 years agoDebug in Proc_Clone
John Hodge [Sun, 27 Sep 2009 03:04:23 +0000 (11:04 +0800)]
Debug in Proc_Clone

14 years agoAdded debug to idle task
John Hodge [Sun, 27 Sep 2009 02:37:52 +0000 (10:37 +0800)]
Added debug to idle task

14 years agoAdded debug to Proc_Clone
John Hodge [Sun, 27 Sep 2009 02:33:42 +0000 (10:33 +0800)]
Added debug to Proc_Clone

14 years agoFixed Threads_Yield clearning the Quantum, not the remaining timesteps
John Hodge [Sun, 27 Sep 2009 02:09:18 +0000 (10:09 +0800)]
Fixed Threads_Yield clearning the Quantum, not the remaining timesteps

14 years agoMade Threads_WaitTID do a Threads_Dump to find bug with starting fourth task
John Hodge [Sun, 27 Sep 2009 02:05:16 +0000 (10:05 +0800)]
Made Threads_WaitTID do a Threads_Dump to find bug with starting fourth task

14 years agoChanged kernel magic prefix to just Ctrl-...
John Hodge [Sat, 26 Sep 2009 15:09:07 +0000 (23:09 +0800)]
Changed kernel magic prefix to just Ctrl-...

14 years agoChanged kernel magic combo prefix to Ctrl-Alt-...
John Hodge [Sat, 26 Sep 2009 15:06:57 +0000 (23:06 +0800)]
Changed kernel magic combo prefix to Ctrl-Alt-...

14 years agoImplemented SYS_CHDIR at user level. Added process dump key combo to KB driver
John Hodge [Sat, 26 Sep 2009 15:03:58 +0000 (23:03 +0800)]
Implemented SYS_CHDIR at user level. Added process dump key combo to KB driver

14 years agoStarted adding sanity checks to syscalls. Added SYS_CHDIR and helpers. Used SYS_CHDIR...
John Hodge [Sat, 26 Sep 2009 12:13:03 +0000 (20:13 +0800)]
Started adding sanity checks to syscalls. Added SYS_CHDIR and helpers. Used SYS_CHDIR in CLIShell

14 years agoTurned debug off in PCI
John Hodge [Sat, 26 Sep 2009 03:11:09 +0000 (11:11 +0800)]
Turned debug off in PCI

14 years agoFixed mismatch between generated file name and FindDir's filenames in PCI
John Hodge [Sat, 26 Sep 2009 03:10:05 +0000 (11:10 +0800)]
Fixed mismatch between generated file name and FindDir's filenames in PCI

14 years agoHelps if you turn on debug
John Hodge [Sat, 26 Sep 2009 03:07:01 +0000 (11:07 +0800)]
Helps if you turn on debug

14 years agoAdded debug to PCI
John Hodge [Sat, 26 Sep 2009 03:05:52 +0000 (11:05 +0800)]
Added debug to PCI

14 years agoRemoved debug from ata, modules, vfs/dir.c and rootfs. Also moved '#if DEBUG' to...
John Hodge [Sat, 26 Sep 2009 03:02:29 +0000 (11:02 +0800)]
Removed debug from ata, modules, vfs/dir.c and rootfs. Also moved '#if DEBUG' to common.h

14 years agoFixed RootFS not returning a temp heap address
John Hodge [Sat, 26 Sep 2009 02:24:18 +0000 (10:24 +0800)]
Fixed RootFS not returning a temp heap address

14 years agoAdded `strdup` library function and removed VFS_FREEPLZ, also added valid tVFS_Node...
John Hodge [Sat, 26 Sep 2009 02:19:13 +0000 (10:19 +0800)]
Added `strdup` library function and removed VFS_FREEPLZ, also added valid tVFS_Node->Size information to drivers

14 years agoRemoved debug from FAT and VFS_ReadDir and made DevFS maintain a directory size count
John Hodge [Sat, 26 Sep 2009 02:08:29 +0000 (10:08 +0800)]
Removed debug from FAT and VFS_ReadDir and made DevFS maintain a directory size count

14 years agoFixed not removing the flag from the string in VFS_ReadDir
John Hodge [Sat, 26 Sep 2009 02:05:47 +0000 (10:05 +0800)]
Fixed not removing the flag from the string in VFS_ReadDir

14 years agoMade directories indeterminitely sized in FAT
John Hodge [Sat, 26 Sep 2009 02:02:39 +0000 (10:02 +0800)]
Made directories indeterminitely sized in FAT

14 years agoFixed support for indeterminate sized directories
John Hodge [Sat, 26 Sep 2009 02:01:03 +0000 (10:01 +0800)]
Fixed support for indeterminate sized directories

14 years agoRe-enabled debug in FAT to find bug in ReadDir
John Hodge [Sat, 26 Sep 2009 01:57:23 +0000 (09:57 +0800)]
Re-enabled debug in FAT to find bug in ReadDir

14 years agoAdded "Free Me" Flag to VFS_ReadDir
John Hodge [Sat, 26 Sep 2009 01:54:54 +0000 (09:54 +0800)]
Added "Free Me" Flag to VFS_ReadDir

14 years agoChanged VTerm's default colour
John Hodge [Fri, 25 Sep 2009 14:01:40 +0000 (22:01 +0800)]
Changed VTerm's default colour

14 years agoRemoved debug from VFS_GetACL and VTerm, fixed DevFS not being a directory
John Hodge [Fri, 25 Sep 2009 13:59:55 +0000 (21:59 +0800)]
Removed debug from VFS_GetACL and VTerm, fixed DevFS not being a directory

14 years agoAdded sanity check to VFS_GetHandle and fixed CLIShell closing a handle when it still...
John Hodge [Fri, 25 Sep 2009 13:49:16 +0000 (21:49 +0800)]
Added sanity check to VFS_GetHandle and fixed CLIShell closing a handle when it still needed to be used

14 years agoAdded debug to VFS_GetACL
John Hodge [Fri, 25 Sep 2009 13:45:37 +0000 (21:45 +0800)]
Added debug to VFS_GetACL

14 years agoAdded SYS_GETACL system call and implemented it in userland
John Hodge [Fri, 25 Sep 2009 13:14:20 +0000 (21:14 +0800)]
Added SYS_GETACL system call and implemented it in userland

14 years agoAdded debug to newline handler, started extending DIR command
John Hodge [Fri, 25 Sep 2009 12:57:00 +0000 (20:57 +0800)]
Added debug to newline handler, started extending DIR command

14 years agoAdded NULL check to VFS_ReadDir
John Hodge [Fri, 25 Sep 2009 12:46:42 +0000 (20:46 +0800)]
Added NULL check to VFS_ReadDir

14 years agoAdded support for skipping to VFS_ReadDir
John Hodge [Fri, 25 Sep 2009 12:22:17 +0000 (20:22 +0800)]
Added support for skipping to VFS_ReadDir

14 years agoChanged tVFS_Node->close on a mount root to be a no-op by convention and added tVFS_D...
John Hodge [Fri, 25 Sep 2009 12:18:34 +0000 (20:18 +0800)]
Changed tVFS_Node->close on a mount root to be a no-op by convention and added tVFS_Driver->Unmount to replace it

14 years agoTurned on debug in syscalls and added return address to free's warning
John Hodge [Fri, 25 Sep 2009 12:12:21 +0000 (20:12 +0800)]
Turned on debug in syscalls and added return address to free's warning

14 years agoAdded size maintainence in Root_MkNod
John Hodge [Fri, 25 Sep 2009 08:10:11 +0000 (16:10 +0800)]
Added size maintainence in Root_MkNod

14 years agoAdded position check to VFS_ReadDir
John Hodge [Fri, 25 Sep 2009 06:52:19 +0000 (14:52 +0800)]
Added position check to VFS_ReadDir

14 years agoFixed bug in VFS_ReadDir and added full debug
John Hodge [Fri, 25 Sep 2009 06:45:18 +0000 (14:45 +0800)]
Fixed bug in VFS_ReadDir and added full debug

14 years agoAdded extra debug to VFS_ReadDir
John Hodge [Fri, 25 Sep 2009 06:42:07 +0000 (14:42 +0800)]
Added extra debug to VFS_ReadDir

14 years agoDisabled debug in bin/elf.c
John Hodge [Fri, 25 Sep 2009 06:32:15 +0000 (14:32 +0800)]
Disabled debug in bin/elf.c

14 years agoDisabled trace debugging for heap
John Hodge [Fri, 25 Sep 2009 06:29:34 +0000 (14:29 +0800)]
Disabled trace debugging for heap

14 years agoFixed VFS_ParsePath freeing a string that is returned to the user
John Hodge [Fri, 25 Sep 2009 06:24:15 +0000 (14:24 +0800)]
Fixed VFS_ParsePath freeing a string that is returned to the user

14 years agoAdded return address to malloc's debug
John Hodge [Fri, 25 Sep 2009 06:12:31 +0000 (14:12 +0800)]
Added return address to malloc's debug

14 years agoAdded debug to VFS_ReadDir
John Hodge [Fri, 25 Sep 2009 06:10:47 +0000 (14:10 +0800)]
Added debug to VFS_ReadDir

14 years agoAdded VFS_ReadDir and SYS_READDIR, Implemented basic directory listing in CLIShell
John Hodge [Fri, 25 Sep 2009 05:31:41 +0000 (13:31 +0800)]
Added VFS_ReadDir and SYS_READDIR, Implemented basic directory listing in CLIShell

14 years agoFixed thread deletion when not explicitly killed.
John Hodge [Fri, 25 Sep 2009 03:13:31 +0000 (11:13 +0800)]
Fixed thread deletion when not explicitly killed.

14 years agoCR3 is PHYSICAL not VIRTUAL
John Hodge [Fri, 25 Sep 2009 02:46:01 +0000 (10:46 +0800)]
CR3 is PHYSICAL not VIRTUAL

14 years agoFix Triplefault on task switch
John Hodge [Fri, 25 Sep 2009 02:44:03 +0000 (10:44 +0800)]
Fix Triplefault on task switch

14 years agoFix race condition with scheduler starting before task list is populated
John Hodge [Fri, 25 Sep 2009 02:37:03 +0000 (10:37 +0800)]
Fix race condition with scheduler starting before task list is populated

14 years agoFix Segfault in ArchThreads_Init and added MAX_CPUS macro (x86 = 8 cpus)
John Hodge [Fri, 25 Sep 2009 02:31:56 +0000 (10:31 +0800)]
Fix Segfault in ArchThreads_Init and added MAX_CPUS macro (x86 = 8 cpus)

14 years agoMoved task selection to threads.c, fixed segfault in Proc_ChangeStacks
John Hodge [Fri, 25 Sep 2009 02:13:28 +0000 (10:13 +0800)]
Moved task selection to threads.c, fixed segfault in Proc_ChangeStacks

14 years agoSeparated Architecture independent thread controll into the root of the tree
John Hodge [Fri, 25 Sep 2009 00:25:29 +0000 (08:25 +0800)]
Separated Architecture independent thread controll into the root of the tree

14 years agoAdded SYS_FINFO and functions required to support it
John Hodge [Wed, 23 Sep 2009 08:38:04 +0000 (16:38 +0800)]
Added SYS_FINFO and functions required to support it

14 years agoFixed bug in VT_int_ClearLine and removed debug
John Hodge [Wed, 23 Sep 2009 08:21:54 +0000 (16:21 +0800)]
Fixed bug in VT_int_ClearLine and removed debug

14 years agoDebugging VT_int_ClearLine
John Hodge [Wed, 23 Sep 2009 08:20:45 +0000 (16:20 +0800)]
Debugging VT_int_ClearLine

14 years agoFixed VTerm Clear to use current colour instead of black
John Hodge [Wed, 23 Sep 2009 08:18:15 +0000 (16:18 +0800)]
Fixed VTerm Clear to use current colour instead of black

14 years agoFixed VTerm trashing heap
John Hodge [Wed, 23 Sep 2009 08:11:38 +0000 (16:11 +0800)]
Fixed VTerm trashing heap

14 years agoFixed VTerm scrolling
John Hodge [Wed, 23 Sep 2009 05:24:24 +0000 (13:24 +0800)]
Fixed VTerm scrolling

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