John Hodge [Sat, 10 Apr 2010 02:10:54 +0000 (10:10 +0800)]
Fixed some bugs in ARP and TCP Code
- also I need to learn not to use "git commit -a" when using git add.
- Last commit also had some huge changes to the Video architecture
> Made the video mode only describe the resolution and colour depth.
> Text/Framebuffer/3D are now controled via an IOCtl that swaps buffer modes
> An IOCtl (still to be put in) will provide feature flags for the VTerm to read
John Hodge [Sat, 10 Apr 2010 01:31:59 +0000 (09:31 +0800)]
Fixed a bug in the heap manager where if an exact match of the block is found, garbage is returned
John Hodge [Tue, 6 Apr 2010 15:42:40 +0000 (23:42 +0800)]
Cleaning up more Log( calls with Log_*(
- TODO: Move the module load messages to Log_Notice instead of Log_Log
John Hodge [Tue, 6 Apr 2010 15:31:32 +0000 (23:31 +0800)]
Fixed VM8086/Vesa memory allocation bug
John Hodge [Tue, 6 Apr 2010 15:09:12 +0000 (23:09 +0800)]
Many changes, Mostly working on improving the BootConf script engine.
- Added variable support and function returns
- Working on VESA driver, still a little buggy
- Misc changes in other places
John Hodge [Tue, 6 Apr 2010 15:08:10 +0000 (23:08 +0800)]
Improved padding code in Debug_Fmt
- Also separated 's' and the general string printing
John Hodge [Fri, 2 Apr 2010 13:31:55 +0000 (21:31 +0800)]
Fixed keyboard bug where keypresses were not being registered, working on libreadline
- Keyboard now reads from 0x60 in keyboard setup to clear keyboard IRQ buffer.
- libreadline is unstable, but supports command histories (just don't try to edit
a command in the history)
John Hodge [Fri, 2 Apr 2010 12:42:27 +0000 (20:42 +0800)]
Fixes to x86 error and interrupt handling
- Fixed double fault handler so it actually works
- I (thePowersGang/John Hodge) am an idiot, As you will see from Kernel/arch/x86/desctab.asm
I forgot to set the data segment selectors to kernel values when handling interrupts,
this caused IRQs and faults that occured in vm8086 mode to triple fault.
- Other changes to logging, moving more log/notice messages to the Log_* functions
- Untested fixes to TCP's Acknowledgement number code
> TODO Check wether to ACK a packet on arrival, or once it's added to the client buffer.
- Also fixed some bugs in the thread Sleep/Wake functions that were exposed by
the vm8086 driver.
John Hodge [Fri, 2 Apr 2010 07:57:08 +0000 (15:57 +0800)]
Updated gitignore rules
John Hodge [Fri, 2 Apr 2010 07:48:24 +0000 (15:48 +0800)]
VM8086 Support, Starting on VESA Driver
- VM8086 required some changes to CPU fault code
- Re-enabled kernel magic combos in keyboard driver
- Slight changes to Memory APIs (changed MM_MapHWPage to MM_MapHWPages)
John Hodge [Thu, 1 Apr 2010 02:18:01 +0000 (10:18 +0800)]
Misc Changes
- Moved USB core to a new folder,
- Slight changes to Ext2 driver
- Slight changes in BochsGA driver
- Added a cache field to the tVFS_Node that can be assumed to be a heap address or NULL
> Allows easier cleanup of per-fs buffers when a node is freed
- Added the start of a VM8086 driver for BIOS calls
John Hodge [Mon, 29 Mar 2010 02:35:23 +0000 (10:35 +0800)]
Disable debug in FAT
John Hodge [Mon, 29 Mar 2010 02:34:08 +0000 (10:34 +0800)]
Added mboot2 header
John Hodge [Mon, 29 Mar 2010 02:33:00 +0000 (10:33 +0800)]
Bugfixing FAT Driver, Addint Multiboot2 Support
- I've decided not to support writing to FAT filesystems
John Hodge [Sun, 28 Mar 2010 12:25:55 +0000 (20:25 +0800)]
More work on the FAT driver, more messy, but more complete
- Also did some documentation changes to the tVFS_Node structure
John Hodge [Sun, 28 Mar 2010 11:47:35 +0000 (19:47 +0800)]
Working on cleaning up the FAT driver, but atm it's more messy than ever.
<UNTESTED COMMIT>
John Hodge [Sat, 27 Mar 2010 07:57:34 +0000 (15:57 +0800)]
Cleanups in FAT driver
- Minor change to acess.h
John Hodge [Sat, 27 Mar 2010 07:43:22 +0000 (15:43 +0800)]
Updating drivers to use the Log_ functions instead of Log() and Warning()
John Hodge [Sat, 27 Mar 2010 07:17:31 +0000 (15:17 +0800)]
Fixed logging print not working, cleaned up debug
- Fixed FDD Driver always timing out on a read/write
- Added an error report to the FDD read/write method
John Hodge [Sat, 27 Mar 2010 03:11:55 +0000 (11:11 +0800)]
Fixed lack of error handling in FDD driver, also abstracted the Read/Write
operations into one common function.
John Hodge [Sat, 27 Mar 2010 01:59:42 +0000 (09:59 +0800)]
Cleanup Commit
- Adding a hell of a lot of files to the tree
> EDI Interface (Incomplete)
> AxWin Shell (Incomplete, Needs to be rewritten)
> AxWin library and headers
- Restructuring AxWin to be non-windowed
- Changes to IpStack
- Fixes to kernel logging
- Added APIDoc files
- Cleaning up ifconfig and other helpers
John Hodge [Sun, 21 Mar 2010 05:00:49 +0000 (13:00 +0800)]
Misc Changes, Added Logging Subsystem, Fixes to InitRD, Working on RTL8139 driver
John Hodge [Thu, 18 Mar 2010 03:07:51 +0000 (11:07 +0800)]
Bugfixing initrd and ld-acess
- ld-acess passed NULL to SysLoadBin if the file is not found
- InitRD ignored Offset in ReadFile
John Hodge [Wed, 17 Mar 2010 14:13:33 +0000 (22:13 +0800)]
Multiple fixes
- Fixed bug in FDD driver where motor was stopped during a read operation
- Moved PCI and DMA to be loaded like any other module/driver
- Added PCI as a dependency to BochsGA and ATA driver, Added DMA to FDD
- Fixed PCI not scanning the full length of the bus (only scanned 10, not 32 devices per bus)
John Hodge [Wed, 17 Mar 2010 06:08:43 +0000 (14:08 +0800)]
Various changes, most of them involving the FAT and Ext2 Drivers, adding write support
- FAT Now has rudimentary write support (file size still isn't updated)
- Added InitRD to the tree
- Slight changes to the Module build system
- Set modules to use -O3 and fixed the bugs that showed
John Hodge [Tue, 16 Mar 2010 02:20:34 +0000 (10:20 +0800)]
Added file extending to Ext2 Driver, also cleaned up the FS_Ext2 source
- Fixed an off-by-one error when calculating allocated blocks
- Fixed using a fixed 256 blocks per indirect block (now depends on the block size)
John Hodge [Mon, 15 Mar 2010 11:03:45 +0000 (19:03 +0800)]
Moar cleanupe
John Hodge [Mon, 15 Mar 2010 10:59:52 +0000 (18:59 +0800)]
Removed FDD_AcquireSpinlock and FDD_FreeSpinlock, replacing them with LOCK() and RELEASE()
John Hodge [Mon, 15 Mar 2010 10:50:49 +0000 (18:50 +0800)]
Cleaning up FDD driver, removed local cache in favour of iocache.h
John Hodge [Mon, 15 Mar 2010 10:50:40 +0000 (18:50 +0800)]
Misc changes
John Hodge [Mon, 15 Mar 2010 10:49:28 +0000 (18:49 +0800)]
More documentation, mostly to the PCI
John Hodge [Sun, 14 Mar 2010 03:36:03 +0000 (11:36 +0800)]
Commenting for new function
John Hodge [Sun, 14 Mar 2010 03:32:13 +0000 (11:32 +0800)]
Restructured Modules_LoadBuiltins to load modules in the order they are linked in.
- Also moved vterm.o to be linked earlier
- Removed a newline from a Log() in ne2000.c
John Hodge [Sat, 13 Mar 2010 14:56:14 +0000 (22:56 +0800)]
Work on documentation
John Hodge [Sat, 13 Mar 2010 10:27:57 +0000 (18:27 +0800)]
Changes to the module loader to handle specific errors from modules
- Changed MODULE_INIT_SUCCESS to MODULE_ERR_OK and added other MODULE_ERR_* values
John Hodge [Sat, 6 Mar 2010 14:45:11 +0000 (22:45 +0800)]
Slight Changes, mostly fixing CPU error reporting
- Also attempted to fix the Qemu kb bug
- Added a todo to the FDD driver
John Hodge [Sat, 6 Mar 2010 11:33:48 +0000 (19:33 +0800)]
IPv6, and I need to learn to compile before commiting
John Hodge [Fri, 5 Mar 2010 14:57:07 +0000 (22:57 +0800)]
Starting on a NFS driver
John Hodge [Fri, 5 Mar 2010 14:56:41 +0000 (22:56 +0800)]
doxygen fixes
John Hodge [Thu, 4 Mar 2010 14:32:03 +0000 (22:32 +0800)]
More work on TCP, Connection is successfully established, but problemw with ACKing packets.
- RST is sent after ACKing first data packet.
- Also did some changes to Debug_DumpHex and Threads_Get*
John Hodge [Thu, 4 Mar 2010 05:59:21 +0000 (13:59 +0800)]
Bugfixing and testing TCP stack
- Also fixed build process
John Hodge [Thu, 4 Mar 2010 02:54:04 +0000 (10:54 +0800)]
More work on TCP, untested and almost complete
John Hodge [Wed, 3 Mar 2010 14:54:31 +0000 (22:54 +0800)]
More work on TCP, approaching usable (untested)
John Hodge [Wed, 3 Mar 2010 07:28:43 +0000 (15:28 +0800)]
Cleanup commit, fixes to UDP, TCP and ICMP
- Basicly cleaning up commented out code and potential bugs
- More work on TCP support
John Hodge [Fri, 26 Feb 2010 15:12:22 +0000 (23:12 +0800)]
Removed debug from Network/NE2000/ne2000.c
John Hodge [Fri, 26 Feb 2010 14:29:03 +0000 (22:29 +0800)]
UDP Packets are now sent and recieved correctly (server not tested)
- Also did some work on USB, only minor.
- Fixed a bug in IPStack/link.c that passed a non-aligned packet to the interface.
- Fixed channel being skipped if the IP _matches_ (should be skipped if it doesn't)
"Yo dawg, I heard you liek packets, so I sent you one"
John Hodge [Thu, 25 Feb 2010 13:35:27 +0000 (21:35 +0800)]
More fixups to ARP and UDP (udp still buggy)
John Hodge [Thu, 25 Feb 2010 11:44:14 +0000 (19:44 +0800)]
Working on UDP, removed debug from some code, fixed ARP setting hwtype to 0x100 (should be 1)
- Other Misc changes
John Hodge [Sun, 14 Feb 2010 03:48:38 +0000 (11:48 +0800)]
More work on TCP, splitted UDI arch dependent out of udi.h, slight work on AxWin
John Hodge [Fri, 12 Feb 2010 09:18:51 +0000 (17:18 +0800)]
More work on TCP, still not usable
John Hodge [Thu, 11 Feb 2010 05:15:26 +0000 (13:15 +0800)]
Work on IP/TCP Stack
- TCP now registered with IPv4
- Added debug code and started on TCP server support
- Fixed bitfield error (removed the bitfields for portability)
John Hodge [Sun, 7 Feb 2010 02:32:44 +0000 (10:32 +0800)]
Helps if I add it to the main makefile
John Hodge [Sun, 7 Feb 2010 02:27:06 +0000 (10:27 +0800)]
Removed the need to alter acess.ld for each build environment
John Hodge [Fri, 5 Feb 2010 08:42:50 +0000 (16:42 +0800)]
More work on IPStack, TCP and UDP slowly moving along
John Hodge [Wed, 3 Feb 2010 06:44:45 +0000 (14:44 +0800)]
Cleanups that will hopefully allow compilation in more strict environments
John Hodge [Wed, 3 Feb 2010 03:57:48 +0000 (11:57 +0800)]
Fixed and improved Ping support
- BUG: ARP requests time out for some reason, todo check on other networks
- Also updated the readme for better support when building
John Hodge [Wed, 3 Feb 2010 02:10:45 +0000 (10:10 +0800)]
More work on the IP Stack, now responds to pings
- Also fixed bug in NE2000 driver that resent the first packet
on each subsequent send.
John Hodge [Wed, 3 Feb 2010 00:30:22 +0000 (08:30 +0800)]
Fixed IPStack's ID showing as IDENT
John Hodge [Wed, 3 Feb 2010 00:30:06 +0000 (08:30 +0800)]
More additions
John Hodge [Wed, 3 Feb 2010 00:26:42 +0000 (08:26 +0800)]
Cleaning up unadded files
John Hodge [Tue, 2 Feb 2010 12:16:35 +0000 (20:16 +0800)]
Working on GUI, side changes to the message passing
John Hodge [Tue, 2 Feb 2010 00:16:30 +0000 (08:16 +0800)]
Reorganised the modules directory, started serious work on GUI support
- Cleaning up and bugfixing VTerm graphics support
John Hodge [Sat, 23 Jan 2010 11:48:18 +0000 (19:48 +0800)]
Altered & Renamed LookupString, Added DrvUtil_SetIdent
- Both now check the user memory before using it
John Hodge [Wed, 20 Jan 2010 10:39:16 +0000 (18:39 +0800)]
I really need to learn to compile test before commiting
John Hodge [Wed, 20 Jan 2010 10:36:45 +0000 (18:36 +0800)]
Updated gitignore rules, cleaned up MBR parsing
John Hodge [Wed, 20 Jan 2010 03:10:07 +0000 (11:10 +0800)]
Started splitting ATA driver into separate files
John Hodge [Wed, 20 Jan 2010 03:01:56 +0000 (11:01 +0800)]
Renamed ATA core to main.c
John Hodge [Wed, 20 Jan 2010 02:55:45 +0000 (10:55 +0800)]
Moved ATA driver out of Kernel tree
- Also changed VER3 macro to VER2 for compatability with MODULE_DEFINE
John Hodge [Tue, 19 Jan 2010 09:30:11 +0000 (17:30 +0800)]
Bugfixes and debug cleanup
- Cleanup in threads.c
- Fixed ACL/Permissions bugs in VFS
- Also fixed instaces where tVFS_Node methods were called without NULL checking
John Hodge [Tue, 19 Jan 2010 06:36:15 +0000 (14:36 +0800)]
Multi-user testing and bugfixing
- Actually changes the UID now
- Added stub normal user 'tpg', no password
John Hodge [Tue, 19 Jan 2010 05:52:00 +0000 (13:52 +0800)]
More debug in PE loader
John Hodge [Tue, 19 Jan 2010 05:50:45 +0000 (13:50 +0800)]
Exteding Driver interface
- Changed 4-byte ID to a 31 byte string (32 with NULL terminator)
- Created a macro for the version numbers
John Hodge [Tue, 19 Jan 2010 04:12:08 +0000 (12:12 +0800)]
Comment/documentation change to the VFS
John Hodge [Mon, 18 Jan 2010 05:55:40 +0000 (13:55 +0800)]
Fixes and logging
John Hodge [Mon, 18 Jan 2010 05:21:02 +0000 (13:21 +0800)]
Changes and Features to IPStack
- Added 'ping' ioctl and required calls, currently incomplete
John Hodge [Sun, 17 Jan 2010 10:24:22 +0000 (18:24 +0800)]
Adding PE file support
- Also added binary register function (now modules can handle binary files)
John Hodge [Sun, 17 Jan 2010 06:05:38 +0000 (14:05 +0800)]
Added support for dynamic registration of module loaders
- Also updated .gitignore to exclude more object files
- UDI is now a dynamic module
John Hodge [Sat, 16 Jan 2010 14:14:28 +0000 (22:14 +0800)]
Adding `udisetup` (and required linker script)
John Hodge [Fri, 15 Jan 2010 23:34:43 +0000 (07:34 +0800)]
Slight changes to UDI structures and logging
John Hodge [Fri, 15 Jan 2010 15:41:34 +0000 (23:41 +0800)]
Fixed Double-Relocation in modules.c (edited bin/elf.c to find this)
John Hodge [Fri, 15 Jan 2010 15:37:56 +0000 (23:37 +0800)]
More work on UDI, cleanup and pseudod should now load.
- Also added a NULL check to ELF_GetSymbol
John Hodge [Fri, 15 Jan 2010 09:30:47 +0000 (17:30 +0800)]
Added cb.o to the UDI objects list
John Hodge [Fri, 15 Jan 2010 09:29:29 +0000 (17:29 +0800)]
More UDI work
- GIO Metalanguage
- CB Functions
- Also added the UNIMPLEMENTED() macro for unimplemented functions
John Hodge [Fri, 15 Jan 2010 07:49:58 +0000 (15:49 +0800)]
More work on UDI support
John Hodge [Thu, 14 Jan 2010 15:03:44 +0000 (23:03 +0800)]
More work on UDI support, still doesn't load pseudud yet
- Also fixed the FAT ReadDir bug (bad treatment of SPC==1)
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
UCC git Repository :: git.ucc.asn.au