tpg/acess2.git
15 years agoFixed Infinite reading in ext2 driver, removed debug from DrvUitl
John Hodge [Sat, 10 Oct 2009 01:53:33 +0000 (09:53 +0800)]
Fixed Infinite reading in ext2 driver, removed debug from DrvUitl

15 years agoFixed Triple Fault in EXT2 driver/hdd driver
John Hodge [Sat, 10 Oct 2009 01:06:00 +0000 (09:06 +0800)]
Fixed Triple Fault in EXT2 driver/hdd driver

15 years agoVarious Changes
John Hodge [Sat, 10 Oct 2009 00:33:55 +0000 (08:33 +0800)]
Various Changes
- Fixes to network driver (still doesn't work)
- Added EXT2 Driver (required changes to HDD driver and VFS Driver interface)
 > Seems to cause a Triple Fault
- Features and bugfixes for libc
- Implemented alternative directories for libraries in ld-acess
- Implemented usermode mount support (no unmount yet)

15 years agoEnabled WP flag in CR0 to allow COW to work if the kernel writes to the page
John Hodge [Sat, 3 Oct 2009 04:22:11 +0000 (12:22 +0800)]
Enabled WP flag in CR0 to allow COW to work if the kernel writes to the page
Fixed handling of . and ..

15 years agoFixed correctness in stdio, minor changes in ls to handle dirs with negative sizes
John Hodge [Sat, 3 Oct 2009 03:37:01 +0000 (11:37 +0800)]
Fixed correctness in stdio, minor changes in ls to handle dirs with negative sizes

15 years agoFixed bug where system would lock if a user task segfaulted (forgot to sti)
John Hodge [Fri, 2 Oct 2009 15:45:43 +0000 (23:45 +0800)]
Fixed bug where system would lock if a user task segfaulted (forgot to sti)
Cosmetic fix to login shell
Ignored tabs in CLI Shell

15 years agoFixed bug with handling of . and .. that was trashing the heap. Fixed soname of libgc...
John Hodge [Fri, 2 Oct 2009 15:22:01 +0000 (23:22 +0800)]
Fixed bug with handling of . and .. that was trashing the heap. Fixed soname of libgcc to libgcc.so instead of libgcc.acess.so

15 years agoCleanup
John Hodge [Fri, 2 Oct 2009 13:00:47 +0000 (21:00 +0800)]
Cleanup
- Unified the build systems for user and kernel space code
- Fixed bug in VFS when VFS_Open is called by user when the current working directory is NULL
- Added testing EXT2 and NE2000 drivers
- Added files forgotten in the FDD commit

15 years agoAdded sanity checking to VFS_OPEN
John Hodge [Fri, 2 Oct 2009 04:17:29 +0000 (12:17 +0800)]
Added sanity checking to VFS_OPEN

15 years agoRemoved Page directory dump, added a mention of the fault details before the table...
John Hodge [Fri, 2 Oct 2009 03:22:43 +0000 (11:22 +0800)]
Removed Page directory dump, added a mention of the fault details before the table dump. Added qsort function to libc

15 years agoDisabled the FDD driver
John Hodge [Thu, 1 Oct 2009 08:07:46 +0000 (16:07 +0800)]
Disabled the FDD driver

15 years agoActually initialised the DMA
John Hodge [Thu, 1 Oct 2009 08:06:53 +0000 (16:06 +0800)]
Actually initialised the DMA

15 years agoAdded DMA and FDD drivers to the tree
John Hodge [Thu, 1 Oct 2009 07:56:45 +0000 (15:56 +0800)]
Added DMA and FDD drivers to the tree

15 years agoAdded Timer functions, DMA Driver and FDD driver
John Hodge [Thu, 1 Oct 2009 07:55:50 +0000 (15:55 +0800)]
Added Timer functions, DMA Driver and FDD driver

15 years agoFixed CLIShell's `dir` command, added a logout/exit command. Added a newline after...
John Hodge [Thu, 1 Oct 2009 00:36:54 +0000 (08:36 +0800)]
Fixed CLIShell's `dir` command, added a logout/exit command. Added a newline after a failed login prompt

15 years agoUpdated the CLI Shell to use the new path, adding login to git
John Hodge [Wed, 30 Sep 2009 14:31:56 +0000 (22:31 +0800)]
Updated the CLI Shell to use the new path, adding login to git

15 years agoFixed Segfault if execve fails, fixed errors in LibC pertaining to stdin,... not...
John Hodge [Wed, 30 Sep 2009 14:29:48 +0000 (22:29 +0800)]
Fixed Segfault if execve fails, fixed errors in LibC pertaining to stdin,... not being set

15 years agoImplemented debug SYS_SETUID and SYS_SETGID (need to actually make them)
John Hodge [Wed, 30 Sep 2009 13:57:57 +0000 (21:57 +0800)]
Implemented debug SYS_SETUID and SYS_SETGID (need to actually make them)

15 years agoVerbosity in MM_PageFault for user Pagefaults
John Hodge [Wed, 30 Sep 2009 12:44:46 +0000 (20:44 +0800)]
Verbosity in MM_PageFault for user Pagefaults

15 years agoImmense cleanup of libc, implemening login program. Slight changes to ACL handling...
John Hodge [Wed, 30 Sep 2009 12:39:55 +0000 (20:39 +0800)]
Immense cleanup of libc, implemening login program. Slight changes to ACL handling and FAT driver

15 years agoPorting FIFO driver
John Hodge [Mon, 28 Sep 2009 13:37:53 +0000 (21:37 +0800)]
Porting FIFO driver

15 years agoStarted work on VTerm Fonts, slight changes to BochsVBE driver
John Hodge [Mon, 28 Sep 2009 13:37:01 +0000 (21:37 +0800)]
Started work on VTerm Fonts, slight changes to BochsVBE driver

15 years agoDebug
John Hodge [Mon, 28 Sep 2009 01:14:29 +0000 (09:14 +0800)]
Debug

15 years agoFixed invalid parameters passed to Threads_Exit by SYS_EXIT
John Hodge [Mon, 28 Sep 2009 01:12:18 +0000 (09:12 +0800)]
Fixed invalid parameters passed to Threads_Exit by SYS_EXIT

15 years agoDebug
John Hodge [Mon, 28 Sep 2009 01:09:04 +0000 (09:09 +0800)]
Debug

15 years agoCut down on debug, fixed tabs, made process tree be killed when root is killed
John Hodge [Mon, 28 Sep 2009 01:07:08 +0000 (09:07 +0800)]
Cut down on debug, fixed tabs, made process tree be killed when root is killed

15 years agoRemoved debug (VFS_GetAbsPath seems to be stable)
John Hodge [Sun, 27 Sep 2009 10:48:32 +0000 (18:48 +0800)]
Removed debug (VFS_GetAbsPath seems to be stable)

15 years agofixed EOS calculation
John Hodge [Sun, 27 Sep 2009 10:47:10 +0000 (18:47 +0800)]
fixed EOS calculation

15 years agotesting
John Hodge [Sun, 27 Sep 2009 10:42:24 +0000 (18:42 +0800)]
testing

15 years agotesting
John Hodge [Sun, 27 Sep 2009 10:41:01 +0000 (18:41 +0800)]
testing

15 years agoTesting
John Hodge [Sun, 27 Sep 2009 10:34:32 +0000 (18:34 +0800)]
Testing

15 years agoTesting
John Hodge [Sun, 27 Sep 2009 10:33:55 +0000 (18:33 +0800)]
Testing

15 years agoBugfixes, bugfixes, bugfixes
John Hodge [Sun, 27 Sep 2009 10:32:14 +0000 (18:32 +0800)]
Bugfixes, bugfixes, bugfixes

15 years agoFixed string being copied offset
John Hodge [Sun, 27 Sep 2009 10:30:20 +0000 (18:30 +0800)]
Fixed string being copied offset

15 years agoMade it _look_ like the leading / is included
John Hodge [Sun, 27 Sep 2009 10:25:30 +0000 (18:25 +0800)]
Made it _look_ like the leading / is included

15 years agoIncluded leading / in path parsing
John Hodge [Sun, 27 Sep 2009 10:24:30 +0000 (18:24 +0800)]
Included leading / in path parsing

15 years agoFixed offset issue with slashNum
John Hodge [Sun, 27 Sep 2009 10:23:20 +0000 (18:23 +0800)]
Fixed offset issue with slashNum

15 years agoCorrectness Fix: Stuff speed, now parses CWD with the rest of the path to fix issues...
John Hodge [Sun, 27 Sep 2009 10:21:30 +0000 (18:21 +0800)]
Correctness Fix: Stuff speed, now parses CWD with the rest of the path to fix issues with relative paths

15 years agoFixed: Used pos-increment instead of pre-increment
John Hodge [Sun, 27 Sep 2009 10:19:16 +0000 (18:19 +0800)]
Fixed: Used pos-increment instead of pre-increment

15 years agoDebug
John Hodge [Sun, 27 Sep 2009 10:17:07 +0000 (18:17 +0800)]
Debug

15 years agoFixed use of `pos` instead of `read` in first slash positions
John Hodge [Sun, 27 Sep 2009 10:14:35 +0000 (18:14 +0800)]
Fixed use of `pos` instead of `read` in first slash positions

15 years agoFixed strncmp
John Hodge [Sun, 27 Sep 2009 10:12:46 +0000 (18:12 +0800)]
Fixed strncmp

15 years agoDebug
John Hodge [Sun, 27 Sep 2009 10:10:02 +0000 (18:10 +0800)]
Debug

15 years agoDebug
John Hodge [Sun, 27 Sep 2009 10:08:24 +0000 (18:08 +0800)]
Debug

15 years agoDebug
John Hodge [Sun, 27 Sep 2009 10:06:40 +0000 (18:06 +0800)]
Debug

15 years agoFixed incorrect use of strpos
John Hodge [Sun, 27 Sep 2009 09:53:54 +0000 (17:53 +0800)]
Fixed incorrect use of strpos

15 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

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

15 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

15 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

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

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

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

15 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

15 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

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

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

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

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

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

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

15 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

15 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

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

15 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

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

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

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

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

15 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

15 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

15 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

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

15 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

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

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

15 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

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

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

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

15 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

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

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

15 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

15 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

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

15 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

15 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

15 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

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

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

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

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

15 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

15 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

15 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-...

15 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-...

15 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

15 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

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

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