John Hodge [Thu, 14 Jan 2010 05:33:53 +0000 (13:33 +0800)]
Bugfixes and UDI Updates
- Added UDI to the tree
- Bugfixing FAT filesystem (Fixed EOC handling in FindDir)
> Still a bug in ReadDir that causes garbage to be read
John Hodge [Tue, 12 Jan 2010 14:26:09 +0000 (22:26 +0800)]
Ok, this was embarrassing... Added core include file that was renamed
- include/acess.h was renamed (from include/common.h) several commits
ago and I forgot to add it.
John Hodge [Tue, 12 Jan 2010 14:25:31 +0000 (22:25 +0800)]
More work on UDI, Added more Login VTerms
John Hodge [Tue, 12 Jan 2010 13:04:59 +0000 (21:04 +0800)]
Bugfixes, Cleanup and Rewite started on UDI interface
- Fixed bug in mm_virt where the kernel (as 0-1MiB) was being marked COW
(hence triple faulting)
- Cleaned up /Makefile (now only builds kernel and modules with no target)
- Started rewriting the UDI system
John Hodge [Sat, 2 Jan 2010 05:17:30 +0000 (13:17 +0800)]
Fixed a bug that caused physical memory allocation to be one-time use
John Hodge [Fri, 1 Jan 2010 13:47:57 +0000 (21:47 +0800)]
SMP Work (APs now start, just seem to lock up on lgdt, or whatever is at that address)
- Also added support for setting the build architecture in the environment
- Included the Doxygen layout file
John Hodge [Fri, 1 Jan 2010 09:37:26 +0000 (17:37 +0800)]
More SMP Work, also changed the physical allocator to allocate downwards
John Hodge [Thu, 31 Dec 2009 03:14:38 +0000 (11:14 +0800)]
Working on Multiprocessing support
- Cleaned up SysFS debug
- Fixed ByteSum() (now returns a byte)
- Added character array functionality to %c (%Nc will print N chacters from the passed array)
John Hodge [Wed, 30 Dec 2009 13:51:58 +0000 (21:51 +0800)]
Added debug code to vterm, fixed userland _errno support
John Hodge [Wed, 30 Dec 2009 05:10:44 +0000 (13:10 +0800)]
Starting on PAE support, removed UDI from kernel
John Hodge [Wed, 30 Dec 2009 03:01:29 +0000 (11:01 +0800)]
More work on UDI, attempting to get it to load the pseudod driver
John Hodge [Tue, 29 Dec 2009 14:20:34 +0000 (22:20 +0800)]
Changed "common.h" to "acess.h" to reduce possible conflicts
John Hodge [Mon, 28 Dec 2009 15:28:08 +0000 (23:28 +0800)]
Attempting to fix an intermittent TSS bug
John Hodge [Mon, 28 Dec 2009 14:05:28 +0000 (22:05 +0800)]
Cleaned up some more debug
John Hodge [Mon, 28 Dec 2009 13:38:49 +0000 (21:38 +0800)]
Cleanup & Debug Removal
- Disabled debug in ATA driver
- Fixed the return values of module initialisation functions
- Cleaned up some newlines that were still around in Log() calls
John Hodge [Mon, 28 Dec 2009 13:29:02 +0000 (21:29 +0800)]
Added flag to enable/disable debug symbols in the kernel
- `export DEBUG_BUILD=yes` will enable a debug build, any other value
will disable DWARF debug.
John Hodge [Mon, 28 Dec 2009 13:20:37 +0000 (21:20 +0800)]
Changed the x86 architecture to have tPAddr be 64-bits always
- tPAddr being a constant size allows PAE to be selected at
runtime (when I complete it :))
- Related bugfixes (where tPAddr was assumed to be 32-bits)
- Also fixed bugs in the config file parser
- Added -g flag to the build (working on a disable switch)
John Hodge [Mon, 28 Dec 2009 11:09:54 +0000 (19:09 +0800)]
Revamped the config file parsing to be more resiliant to errors.
John Hodge [Mon, 28 Dec 2009 09:48:44 +0000 (17:48 +0800)]
Bugfixes upon chaning GCC versions
- Also updating my config to be correct for my new machine
John Hodge [Sun, 27 Dec 2009 10:54:14 +0000 (18:54 +0800)]
Working on UDI support (UDI manager module now compiles)
- DEBUG ONLY
John Hodge [Sun, 27 Dec 2009 03:43:07 +0000 (11:43 +0800)]
Fixed bug in Inode_ClearCache
John Hodge [Sun, 27 Dec 2009 02:38:40 +0000 (10:38 +0800)]
Updated build system to remove `install` from `all`
- Also created a common makefile for Usermode/Applications to reduce make bugs
- Updated Inode_ClearCache to actually delete the cache correctly (thanks SmSpilaz)
John Hodge [Sat, 26 Dec 2009 16:19:25 +0000 (00:19 +0800)]
Update to readme relating to the filesystem generation
John Hodge [Sat, 26 Dec 2009 16:18:04 +0000 (00:18 +0800)]
Added Filesystem generation and required $(x*) variables
John Hodge [Sat, 26 Dec 2009 15:57:58 +0000 (23:57 +0800)]
Updated the build files to use $(xCP), allows use of mcopy to a mtools disk
John Hodge [Sat, 26 Dec 2009 03:18:13 +0000 (11:18 +0800)]
Big Changes - See commit details
- Cleaned up and fixed kernel API Documentation
- Removed drvutil.h and moved it's definitions to tpl_drv_disk.h
- Changes to the VFS and Driver specs (only minor)
- Fixed behaviour of loader when a module doesn't initialise
- Fixed some modules returning zero when they successfully loaded
- Other changes to fix doxygen generation
John Hodge [Tue, 24 Nov 2009 13:20:19 +0000 (21:20 +0800)]
Altered keyboard driver to correctly support Unicode
- Updated Keyboard and VTerm driver to accomodate this
- Edited Modules/Makefile.tpl to allow modules to set their own CPPFLAGS
- Inconcequential changes elsewhere
John Hodge [Mon, 23 Nov 2009 09:18:49 +0000 (17:18 +0800)]
More work on IPStack (Also fixed Proc_SpawnWorker)
- Fixed structures in IPStack not being packed
- Fixed instances when byte orders were not handled
- Added stub UDP support
- Added copious ammounts of debug code to IPStack
- Added packet reception to NE2000 driver
- Changed autoconf in ifconfig to set the IP to 10.0.0.55
John Hodge [Sun, 22 Nov 2009 08:03:14 +0000 (16:03 +0800)]
Added ProcDev/SysFS + Cleanup
- Added /Devices/system (ProcDev or SysFS)
> Allows exposing of kernel buffers to usermode (readonly)
- Added use of ProcDev to VFS to expose Mounted filesystems and loaded
filesystems.
- Created tSpinlock type to make sure that spinlocks are volatile
John Hodge [Fri, 20 Nov 2009 16:06:55 +0000 (00:06 +0800)]
Cleanup and Bugfixing
- Created a _very_ basic `ifconfig` app to test the IPStack module
- Fixed a bug in MM_NewWorkerStack that caused it to always fail
- Added the LEAVE_RET macro to simplify debugging
- Moved BochsGA driver to module tree
- More work on the IPStack
- Fixed compile errors in NE2000 driver
- and did some work on the makefiles
John Hodge [Thu, 19 Nov 2009 09:24:00 +0000 (17:24 +0800)]
Cleanup and Bugfixes
- Fixed bugs with handling of SYS_READ and SYS_WRITE
- Added EXPORT definitions to functions used by the IPStack
- Updated the core Makefile to use loops to allow easier maintainence
- Fixed bug in IPStack/main.c (Null pointer dereference)
- Cleaned up some of the debug code
John Hodge [Tue, 17 Nov 2009 16:31:45 +0000 (00:31 +0800)]
Cleanups & Implementations to allow IPStack to compile
- IPStack module now compiles (still unusable)
- Added Network Device spec file (tpl_drv_network.h)
- Shuffled definitions between vfs.h and vfs_ext.h
- Added thorough sanity checking to System calls (except IOCtl as
the driver is the only code that knows what it means)
- Cleaned up makefiles to delete Dumps and Disassemblies
- Added USB core file to tree
- Implemented DRV_IOCTL_LOOKUP and NET_IOCTL_GETMAC in NE2000 driver
in prepararion for IPStack.
John Hodge [Mon, 16 Nov 2009 03:14:17 +0000 (11:14 +0800)]
Fixed implementation of ChRoot
(it could be bypassed by using ..)
John Hodge [Sun, 15 Nov 2009 15:27:28 +0000 (23:27 +0800)]
Forgot to build test :S Added defintion of CFG_VFS_CHROOT
John Hodge [Sun, 15 Nov 2009 13:03:08 +0000 (21:03 +0800)]
Added ChRoot Support (untested)
John Hodge [Fri, 13 Nov 2009 07:09:46 +0000 (15:09 +0800)]
Fixes and Cleanup
- Fixed text mode in BochsGA driver and hence set it to the VTerm default
- Moved Ext2 Filesystem driver to Modules tree (As FS_Ext2)
- Included root Makefile in git tree
- Slight changes to the in-process USB code
- Updated the README
- Inconcequential changes to other files
John Hodge [Tue, 10 Nov 2009 05:21:38 +0000 (13:21 +0800)]
Adding several modules to the Tree, plus some files that escaped earlier
- Added the in-progress IP Stack
- Added the in-progress USB Stack
- Added module's linker script
- Added tpl_drv_terminal.h (Terminal Emulator defintions)
- Added libreadline (my own version)
- Added Usermode/stddef.h
John Hodge [Tue, 10 Nov 2009 05:14:31 +0000 (13:14 +0800)]
General Cleanup, Implemented DMA Allocation
- Cleaned up debugging and added notice of loading a module
- Added doxygen comments to common.h
- Fixed the dynamic modules not loading due to a buggy linker script
- Added MM_AllocDMA to allow memory of a specific bit depth to be allocated
- Various bugfixes and export adds
John Hodge [Fri, 6 Nov 2009 10:35:29 +0000 (18:35 +0800)]
Added Doxygen files
John Hodge [Fri, 6 Nov 2009 10:29:56 +0000 (18:29 +0800)]
Added IO Cache Library, Moved FDD Driver to Modules Tree, Fixed Doxygen commenting
John Hodge [Tue, 27 Oct 2009 05:00:05 +0000 (13:00 +0800)]
Implemented Dependency resolving for compile-time modules and Updated the README
- Added more early debug code (See arch/.../errors.c)
- Added dependencies to drivers
- Implemented dependcy resolving in modules.c
- Disabled FAT chaching and fixed bugs that showed
- Updated README to show how to configure and build
John Hodge [Mon, 26 Oct 2009 14:16:41 +0000 (22:16 +0800)]
Improved VTerm support
- Fixed VTerm changing (Ctrl-Alt-F[1-12] sets the Vterm to 0-11)
- Made the kernel output to VTerm 7 after loading drivers
- Added 'calloc' to clean up VTerm code
John Hodge [Mon, 26 Oct 2009 04:54:31 +0000 (12:54 +0800)]
Fixes to Libc, Doxygen Comments and VTerm layout
- Fixed Libc so that zlib could compile against it (still some bugs to get rid of)
- Fixed doxygen commenting
- Fixed a bug in the Makefile (used %* instead of $*)
- Changed the structure of the VTerm driver to facilitate kernel modesetting properly
John Hodge [Sun, 18 Oct 2009 12:25:46 +0000 (20:25 +0800)]
Adding module tree to git, added SYS_LOADMOD to allow usermode module loading
John Hodge [Sun, 18 Oct 2009 11:19:57 +0000 (19:19 +0800)]
Multiple changes (Module Interopability, Timers, FDD Driver, VFS Bugs)
- Changed kernel to be compiled withough -fleading-underscore to allow
modules to be statically linked with the kernel successfully.
- Moved the BochsVBE driver to the Modules tree
- Cleaned up and disabled debug in the FDD driver
- Fixed bugs in VFS_MkNod that caused an infinite loop
- Cleanup in FAT and EXT2 Drivers
John Hodge [Thu, 15 Oct 2009 13:33:58 +0000 (21:33 +0800)]
Added the gitignore file to stop object and dependency files showing up
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
UCC git Repository :: git.ucc.asn.au