John Hodge [Thu, 15 Oct 2009 13:30:48 +0000 (21:30 +0800)]
Various Changes
- Double fault protection
- Optomised Memory Functions (also added memcmp)
- Added worker threads
- Fixes to the timer code (stop the RTC firing at 1024 Hz)
- Re-included the FDD driver
- Moved the NE2000 driver to /Modules
- Inconcequential changes to system.c
- Added block allocation to fs/ext2
- Changed the makefiles to support static linking of modules
John Hodge [Sun, 11 Oct 2009 07:55:04 +0000 (15:55 +0800)]
Fixed network triple fault, packets now send successfully.
Changed RTC to fire at 4 Hz, instead of 1024Hz
Slight changes to EXT2, library functions and IRQ handling
John Hodge [Sun, 11 Oct 2009 01:54:05 +0000 (09:54 +0800)]
Implemented basic disk write support in EXT2.
Fixed Debug_HexDump bug.
Made changes to NE2000 driver (now triplefaults on write, instead of doing nothing
John Hodge [Sat, 10 Oct 2009 04:42:44 +0000 (12:42 +0800)]
Fixed the RTC only firing once.
Also added the <acess/devices.h> usermode header that will be used by the GUI
John Hodge [Sat, 10 Oct 2009 04:10:40 +0000 (12:10 +0800)]
Added Driver Utils to git tree
John Hodge [Sat, 10 Oct 2009 04:09:37 +0000 (12:09 +0800)]
Cleaned up ATA driver (not only 3 functions in the Read chain, instead of 4)
John Hodge [Sat, 10 Oct 2009 01:53:33 +0000 (09:53 +0800)]
Fixed Infinite reading in ext2 driver, removed debug from DrvUitl
John Hodge [Sat, 10 Oct 2009 01:06:00 +0000 (09:06 +0800)]
Fixed Triple Fault in EXT2 driver/hdd driver
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)
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 ..
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
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
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
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
John Hodge [Fri, 2 Oct 2009 04:17:29 +0000 (12:17 +0800)]
Added sanity checking to VFS_OPEN
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
John Hodge [Thu, 1 Oct 2009 08:07:46 +0000 (16:07 +0800)]
Disabled the FDD driver
John Hodge [Thu, 1 Oct 2009 08:06:53 +0000 (16:06 +0800)]
Actually initialised the DMA
John Hodge [Thu, 1 Oct 2009 07:56:45 +0000 (15:56 +0800)]
Added DMA and FDD drivers to the tree
John Hodge [Thu, 1 Oct 2009 07:55:50 +0000 (15:55 +0800)]
Added Timer functions, DMA Driver and FDD driver
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
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
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
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)
John Hodge [Wed, 30 Sep 2009 12:44:46 +0000 (20:44 +0800)]
Verbosity in MM_PageFault for user Pagefaults
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
John Hodge [Mon, 28 Sep 2009 13:37:53 +0000 (21:37 +0800)]
Porting FIFO driver
John Hodge [Mon, 28 Sep 2009 13:37:01 +0000 (21:37 +0800)]
Started work on VTerm Fonts, slight changes to BochsVBE driver
John Hodge [Mon, 28 Sep 2009 01:14:29 +0000 (09:14 +0800)]
Debug
John Hodge [Mon, 28 Sep 2009 01:12:18 +0000 (09:12 +0800)]
Fixed invalid parameters passed to Threads_Exit by SYS_EXIT
John Hodge [Mon, 28 Sep 2009 01:09:04 +0000 (09:09 +0800)]
Debug
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
John Hodge [Sun, 27 Sep 2009 10:48:32 +0000 (18:48 +0800)]
Removed debug (VFS_GetAbsPath seems to be stable)
John Hodge [Sun, 27 Sep 2009 10:47:10 +0000 (18:47 +0800)]
fixed EOS calculation
John Hodge [Sun, 27 Sep 2009 10:42:24 +0000 (18:42 +0800)]
testing
John Hodge [Sun, 27 Sep 2009 10:41:01 +0000 (18:41 +0800)]
testing
John Hodge [Sun, 27 Sep 2009 10:34:32 +0000 (18:34 +0800)]
Testing
John Hodge [Sun, 27 Sep 2009 10:33:55 +0000 (18:33 +0800)]
Testing
John Hodge [Sun, 27 Sep 2009 10:32:14 +0000 (18:32 +0800)]
Bugfixes, bugfixes, bugfixes
John Hodge [Sun, 27 Sep 2009 10:30:20 +0000 (18:30 +0800)]
Fixed string being copied offset
John Hodge [Sun, 27 Sep 2009 10:25:30 +0000 (18:25 +0800)]
Made it _look_ like the leading / is included
John Hodge [Sun, 27 Sep 2009 10:24:30 +0000 (18:24 +0800)]
Included leading / in path parsing
John Hodge [Sun, 27 Sep 2009 10:23:20 +0000 (18:23 +0800)]
Fixed offset issue with slashNum
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
John Hodge [Sun, 27 Sep 2009 10:19:16 +0000 (18:19 +0800)]
Fixed: Used pos-increment instead of pre-increment
John Hodge [Sun, 27 Sep 2009 10:17:07 +0000 (18:17 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 10:14:35 +0000 (18:14 +0800)]
Fixed use of `pos` instead of `read` in first slash positions
John Hodge [Sun, 27 Sep 2009 10:12:46 +0000 (18:12 +0800)]
Fixed strncmp
John Hodge [Sun, 27 Sep 2009 10:10:02 +0000 (18:10 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 10:08:24 +0000 (18:08 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 10:06:40 +0000 (18:06 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 09:53:54 +0000 (17:53 +0800)]
Fixed incorrect use of strpos
John Hodge [Sun, 27 Sep 2009 09:42:47 +0000 (17:42 +0800)]
Fixed: Not adding a trailing slash to CWD in VFS_GetAbsPath
John Hodge [Sun, 27 Sep 2009 09:41:34 +0000 (17:41 +0800)]
Remove debug & add Debug
John Hodge [Sun, 27 Sep 2009 09:39:06 +0000 (17:39 +0800)]
Fixed: Moved back to using symbolic keys for states
John Hodge [Sun, 27 Sep 2009 09:37:49 +0000 (17:37 +0800)]
Fixed: Increased key states array to accomidate full range
John Hodge [Sun, 27 Sep 2009 09:36:30 +0000 (17:36 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 09:33:59 +0000 (17:33 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 09:33:14 +0000 (17:33 +0800)]
Debug
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
John Hodge [Sun, 27 Sep 2009 09:03:02 +0000 (17:03 +0800)]
Fixed VFS_ChDir to handle symlinks by using VFS_Open
John Hodge [Sun, 27 Sep 2009 08:57:19 +0000 (16:57 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 08:54:38 +0000 (16:54 +0800)]
Removed debug
John Hodge [Sun, 27 Sep 2009 08:52:49 +0000 (16:52 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 08:48:42 +0000 (16:48 +0800)]
Removed debug
John Hodge [Sun, 27 Sep 2009 08:47:39 +0000 (16:47 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 08:46:05 +0000 (16:46 +0800)]
Debug
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
John Hodge [Sun, 27 Sep 2009 08:35:57 +0000 (16:35 +0800)]
Fixed SYS_READ and SYS_WRITE to return correct values
John Hodge [Sun, 27 Sep 2009 07:44:59 +0000 (15:44 +0800)]
Disabled Debug
John Hodge [Sun, 27 Sep 2009 07:43:41 +0000 (15:43 +0800)]
Fixed MM_ClearUser not zeroing cleared entries
John Hodge [Sun, 27 Sep 2009 07:41:09 +0000 (15:41 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 07:39:34 +0000 (15:39 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 07:37:49 +0000 (15:37 +0800)]
Debug
John Hodge [Sun, 27 Sep 2009 06:12:12 +0000 (14:12 +0800)]
Fixed bit arithmatic
John Hodge [Sun, 27 Sep 2009 06:10:50 +0000 (14:10 +0800)]
Extended MM_Dump to dump table addresses
John Hodge [Sun, 27 Sep 2009 06:06:02 +0000 (14:06 +0800)]
Changed user stack to be at 8M
John Hodge [Sun, 27 Sep 2009 06:03:02 +0000 (14:03 +0800)]
Added catch for when rand() sticks
John Hodge [Sun, 27 Sep 2009 06:00:55 +0000 (14:00 +0800)]
Changed random values again
John Hodge [Sun, 27 Sep 2009 05:59:26 +0000 (13:59 +0800)]
Changed the random values A and C
John Hodge [Sun, 27 Sep 2009 05:58:26 +0000 (13:58 +0800)]
Debug statement in rand()
John Hodge [Sun, 27 Sep 2009 05:46:51 +0000 (13:46 +0800)]
Added tracing of ticket draws
John Hodge [Sun, 27 Sep 2009 05:44:57 +0000 (13:44 +0800)]
Moved adding a task to the active list to threads.c
John Hodge [Sun, 27 Sep 2009 05:40:56 +0000 (13:40 +0800)]
Added debug to Threads_GetNext
John Hodge [Sun, 27 Sep 2009 05:37:56 +0000 (13:37 +0800)]
Added tracing of task switches
John Hodge [Sun, 27 Sep 2009 04:15:07 +0000 (12:15 +0800)]
Cut down on debug
John Hodge [Sun, 27 Sep 2009 04:13:27 +0000 (12:13 +0800)]
Invalidated page that has just been marked COW
John Hodge [Sun, 27 Sep 2009 03:51:50 +0000 (11:51 +0800)]
Helps if DEBUG is defined
John Hodge [Sun, 27 Sep 2009 03:50:43 +0000 (11:50 +0800)]
Added debug to MM_PageFault
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
John Hodge [Sun, 27 Sep 2009 03:40:17 +0000 (11:40 +0800)]
Added magic breakpoint to SYS_CLONE, cleaned up other debug
John Hodge [Sun, 27 Sep 2009 03:18:11 +0000 (11:18 +0800)]
Strike that
John Hodge [Sun, 27 Sep 2009 03:16:20 +0000 (11:16 +0800)]
Fixed stack changing in SYS_CLONE
John Hodge [Sun, 27 Sep 2009 03:12:51 +0000 (11:12 +0800)]
Disabled debug in binary loader and added sleeping message
John Hodge [Sun, 27 Sep 2009 03:11:25 +0000 (11:11 +0800)]
Turned debug on for binary loader to trace Proc_Execve
John Hodge [Sun, 27 Sep 2009 03:05:50 +0000 (11:05 +0800)]
Extra debug in Idle thread
John Hodge [Sun, 27 Sep 2009 03:04:23 +0000 (11:04 +0800)]
Debug in Proc_Clone
John Hodge [Sun, 27 Sep 2009 02:37:52 +0000 (10:37 +0800)]
Added debug to idle task
John Hodge [Sun, 27 Sep 2009 02:33:42 +0000 (10:33 +0800)]
Added debug to Proc_Clone
John Hodge [Sun, 27 Sep 2009 02:09:18 +0000 (10:09 +0800)]
Fixed Threads_Yield clearning the Quantum, not the remaining timesteps
UCC git Repository :: git.ucc.asn.au