tpg/acess2.git
13 years agoMoved PS2 Keyboard driver out to module tree (still in kernel, but will move once...
John Hodge [Sun, 8 May 2011 14:14:11 +0000 (22:14 +0800)]
Moved PS2 Keyboard driver out to module tree (still in kernel, but will move once debugged)

- Adding a PS2 mouse driver too

13 years agoFiddling ready for an ARM port
John Hodge [Sun, 8 May 2011 12:58:17 +0000 (20:58 +0800)]
Fiddling ready for an ARM port

13 years agoAdded BochsGA to build
John Hodge [Sat, 7 May 2011 13:41:32 +0000 (21:41 +0800)]
Added BochsGA to build

13 years agoAxWin2 - Misc commenting changes (and moving Shell to new specs)
John Hodge [Sat, 7 May 2011 13:41:10 +0000 (21:41 +0800)]
AxWin2 - Misc commenting changes (and moving Shell to new specs)

13 years agoUsermode - Better separation of types and calls in sys.h
John Hodge [Sat, 7 May 2011 13:40:23 +0000 (21:40 +0800)]
Usermode - Better separation of types and calls in sys.h

13 years agoUpgraded BochsGA to new specs, formatting change in ext2fs
John Hodge [Sat, 7 May 2011 13:39:55 +0000 (21:39 +0800)]
Upgraded BochsGA to new specs, formatting change in ext2fs

13 years agoUSB - Still non working, but fiddling with it
John Hodge [Sat, 7 May 2011 13:39:37 +0000 (21:39 +0800)]
USB - Still non working, but fiddling with it

13 years agoIPStack - Misc cleanups
John Hodge [Sat, 7 May 2011 13:38:27 +0000 (21:38 +0800)]
IPStack - Misc cleanups

- IPv6 fiddling
- Fixed some const-ness

13 years agoIPStack - Firewall cleanups and speedups (now shoudl at least work)
John Hodge [Sat, 7 May 2011 13:36:23 +0000 (21:36 +0800)]
IPStack - Firewall cleanups and speedups (now shoudl at least work)

13 years agoCleaning up and Debugging (Exposed by AcessNative mostly)
John Hodge [Sat, 7 May 2011 13:29:33 +0000 (21:29 +0800)]
Cleaning up and Debugging (Exposed by AcessNative mostly)

- Removed x86 specific code form debug.c (now in arch/x86/lib.c)
- Fixed some bugs in vterm / drvutil that caused some graphical glitches
- Added improved process state logging (for user state)
- Added instruction tracing (via x86 EFLAGS.TF)
- Fixed some possible bugs in the x86 task switch code (DR0 may not be set correctly)
- Cleaned up keyboard driver a bit
- Fixed some bugs shown by clang's static analyser
- Changed how VTerm determines IO devices (now with fallbacks)
- Fixed bug in VTerm with line not updating when text wraps
- Moved mutex.h to its own header
- Moved strdup to heap.h (makes AcessNative easier)
- Better debug and handling of errors in threads.c

13 years agoBroke threads.h into two files (for better isolation)
John Hodge [Sat, 7 May 2011 13:21:35 +0000 (21:21 +0800)]
Broke threads.h into two files (for better isolation)

13 years agoKernel - Instruction tracing support
John Hodge [Sat, 7 May 2011 13:20:34 +0000 (21:20 +0800)]
Kernel - Instruction tracing support

13 years agoMoved call to strip until install (to allow the debug information to be accessible...
John Hodge [Sat, 7 May 2011 13:18:32 +0000 (21:18 +0800)]
Moved call to strip until install (to allow the debug information to be accessible by gdb)

13 years agoDebugging a segfault in ELF loader (when loading CLIShell)
John Hodge [Sat, 7 May 2011 13:17:03 +0000 (21:17 +0800)]
Debugging a segfault in ELF loader (when loading CLIShell)

13 years agoAcessNative - Huge changes, cleaning up and getting it to work
John Hodge [Sat, 7 May 2011 10:05:04 +0000 (18:05 +0800)]
AcessNative - Huge changes, cleaning up and getting it to work

- Restructure to the client IDs (now Acess PIDs)
- Fixing up fork() behavior
- Implemented waittid()
- Fixed some bugs with video
- Implemented NativeFS
- Many other changes that I can't remember

13 years agoSpiderScript - Added tags to loops to allow arbitary depth breaks
John Hodge [Sun, 3 Apr 2011 10:35:34 +0000 (18:35 +0800)]
SpiderScript - Added tags to loops to allow arbitary depth breaks

13 years agoSpiderScript - Fixed namespace handling (and unset the . hack)
John Hodge [Sun, 3 Apr 2011 09:03:29 +0000 (17:03 +0800)]
SpiderScript - Fixed namespace handling (and unset the . hack)

- Also improved the parse/run output (by way of an elegant hack
  with storing the filename)

13 years agoSpiderScript - Fixing order of operations, improved error handling and cleanup
John Hodge [Sun, 3 Apr 2011 01:52:13 +0000 (09:52 +0800)]
SpiderScript - Fixing order of operations, improved error handling and cleanup

13 years agoAdding forgotten files
John Hodge [Sat, 2 Apr 2011 17:21:42 +0000 (01:21 +0800)]
Adding forgotten files

13 years agoMisc changes
John Hodge [Sat, 2 Apr 2011 17:19:04 +0000 (01:19 +0800)]
Misc changes

- Fixing invalid use of Unit in some places
- Cleaning up drivers and build output
- Improved Threading dump output
- Working on thread CPU state dump (for non-scheduled threads)
 > TODO: Implement stack backtrace to find the location of the currently
   active thread.

13 years agoSpiderScript - Bugs, Documentation and a few language features
John Hodge [Sat, 2 Apr 2011 17:16:17 +0000 (01:16 +0800)]
SpiderScript - Bugs, Documentation and a few language features

13 years agoSpiderScript - Moar fixes, mostly speedups (caching values and lookups)
John Hodge [Sat, 2 Apr 2011 14:45:22 +0000 (22:45 +0800)]
SpiderScript - Moar fixes, mostly speedups (caching values and lookups)

13 years agoSpiderScript - Bugfixes and speed improvements
John Hodge [Sat, 2 Apr 2011 09:00:49 +0000 (17:00 +0800)]
SpiderScript - Bugfixes and speed improvements

13 years agoSpiderScript - Implementing objects and classes, fixing bugs
John Hodge [Sat, 2 Apr 2011 06:17:34 +0000 (14:17 +0800)]
SpiderScript - Implementing objects and classes, fixing bugs

13 years agoSpiderScript - A day of debugging and improvements
John Hodge [Thu, 31 Mar 2011 14:24:01 +0000 (22:24 +0800)]
SpiderScript - A day of debugging and improvements

- Fixed execution bugs and memory leaks
- Added support for += and friends
- Added basic serialisation of the AST (no read back as yet)

13 years agoMore work on x86_64 port of usermode
John Hodge [Thu, 24 Mar 2011 13:49:39 +0000 (21:49 +0800)]
More work on x86_64 port of usermode

- Some slight changes to the build system too

13 years agoCompile fixes for clang
John Hodge [Thu, 24 Mar 2011 08:05:28 +0000 (16:05 +0800)]
Compile fixes for clang

13 years agoUsermode/axwin2 - Compile fixes for clang
John Hodge [Thu, 24 Mar 2011 08:04:37 +0000 (16:04 +0800)]
Usermode/axwin2 - Compile fixes for clang

13 years agoUsermode/Libs - x86_64 port in progress
John Hodge [Thu, 24 Mar 2011 08:03:54 +0000 (16:03 +0800)]
Usermode/Libs - x86_64 port in progress

13 years agoUsermode/ld-acess - x86_64 support
John Hodge [Thu, 24 Mar 2011 08:02:58 +0000 (16:02 +0800)]
Usermode/ld-acess - x86_64 support

13 years agoFixing gitigore, added a config file for the 'host' architecture
John Hodge [Thu, 24 Mar 2011 02:35:02 +0000 (10:35 +0800)]
Fixing gitigore, added a config file for the 'host' architecture

- Used for using clang's scan-build tool

13 years agoUsermode - Changed build system to separate different arch builds
John Hodge [Thu, 24 Mar 2011 02:31:13 +0000 (10:31 +0800)]
Usermode - Changed build system to separate different arch builds

- Now all object files are put in a directory for each architecture
 > e.g. 'obj-i386/main.o'
- Fixed a compile error in telnet

13 years agoUsermode/ld-acess - Reworked build structure and syscall files
John Hodge [Thu, 24 Mar 2011 02:28:28 +0000 (10:28 +0800)]
Usermode/ld-acess - Reworked build structure and syscall files

- Fixed up many places that used Uint in place of a pointer
- Converted the *.asm files into common and architecture-dependent parts
 > Some hackery with $(CPP) was used :)

13 years agoUsermode/axwin2 - Commenting
John Hodge [Wed, 23 Mar 2011 05:56:59 +0000 (13:56 +0800)]
Usermode/axwin2 - Commenting

13 years agoFiddling with build system
John Hodge [Wed, 23 Mar 2011 05:45:58 +0000 (13:45 +0800)]
Fiddling with build system

13 years agoNE2000 - Cleaning up code, moved to a semaphore
John Hodge [Wed, 23 Mar 2011 05:44:17 +0000 (13:44 +0800)]
NE2000 - Cleaning up code, moved to a semaphore

13 years agoUsermode/telnet - Moved to new routing API
John Hodge [Wed, 23 Mar 2011 05:36:08 +0000 (13:36 +0800)]
Usermode/telnet - Moved to new routing API

13 years agoUsermode/libnet - Added support for change to routing API
John Hodge [Wed, 23 Mar 2011 05:35:22 +0000 (13:35 +0800)]
Usermode/libnet - Added support for change to routing API

13 years agoIPStack - Working on removing future packet cache
John Hodge [Wed, 23 Mar 2011 05:34:28 +0000 (13:34 +0800)]
IPStack - Working on removing future packet cache

- Replacing with a ring buffer (faster to work with and more reliable)

13 years agoCleaning up mostly
John Hodge [Wed, 23 Mar 2011 05:33:04 +0000 (13:33 +0800)]
Cleaning up mostly

- Fixed makefiles to not assume that environment is correctly set (I.e. $(ARCH))
- Changed GCC to CC and NASM to AS in makefile trace output
- Cleaned up top-of-file externs
- Improved Heap_Dump output

13 years agoFiddling with the x86_64 port
John Hodge [Wed, 23 Mar 2011 05:26:28 +0000 (13:26 +0800)]
Fiddling with the x86_64 port

13 years agoIPStack - Slight header updated
John Hodge [Mon, 21 Mar 2011 08:21:01 +0000 (16:21 +0800)]
IPStack - Slight header updated

13 years agoIPStack - Added ability to use /Devices/ip/routes/* as a shortcut to the interface...
John Hodge [Mon, 21 Mar 2011 08:20:08 +0000 (16:20 +0800)]
IPStack - Added ability to use /Devices/ip/routes/* as a shortcut to the interface node

13 years agoIPStack - Working on implementing IPv6
John Hodge [Mon, 21 Mar 2011 08:19:36 +0000 (16:19 +0800)]
IPStack - Working on implementing IPv6

13 years agoIPStack - Cleanup to ARP code (slight)
John Hodge [Mon, 21 Mar 2011 08:18:55 +0000 (16:18 +0800)]
IPStack - Cleanup to ARP code (slight)

13 years agoIPStack - Cleaning IPv4 code, implemented routing
John Hodge [Mon, 21 Mar 2011 08:18:35 +0000 (16:18 +0800)]
IPStack - Cleaning IPv4 code, implemented routing

13 years agoIPStack - Fiddling with firewall
John Hodge [Mon, 21 Mar 2011 08:17:59 +0000 (16:17 +0800)]
IPStack - Fiddling with firewall

13 years agoIPStack - Cleaning up TCP code
John Hodge [Mon, 21 Mar 2011 08:17:29 +0000 (16:17 +0800)]
IPStack - Cleaning up TCP code

13 years agoIPStack - Fiddling with firewall code
John Hodge [Mon, 21 Mar 2011 08:15:32 +0000 (16:15 +0800)]
IPStack - Fiddling with firewall code

13 years agoBedtime commit, misc changes
John Hodge [Wed, 2 Mar 2011 16:08:21 +0000 (00:08 +0800)]
Bedtime commit, misc changes

- Debugging in threads
- TCP fixes
- Overhaul of IRC client
 > TODO: GUI instead of stream based (or at least implement a consistent prompt)
- Fixed type error in strchr() and friends

13 years agoOverhaul of TCP code (still messy, but now WORKS!!!!)
John Hodge [Wed, 2 Mar 2011 06:12:13 +0000 (14:12 +0800)]
Overhaul of TCP code (still messy, but now WORKS!!!!)

13 years agoIRC Client - Added Readline support, error catching
John Hodge [Wed, 2 Mar 2011 06:11:45 +0000 (14:11 +0800)]
IRC Client - Added Readline support, error catching

13 years agoAdded telnet to root Makefile
John Hodge [Wed, 2 Mar 2011 06:10:15 +0000 (14:10 +0800)]
Added telnet to root Makefile

13 years agoUpgrading telnet client to new TCP code
John Hodge [Wed, 2 Mar 2011 06:09:46 +0000 (14:09 +0800)]
Upgrading telnet client to new TCP code

13 years agoUpdated test client for Qemu user network
John Hodge [Wed, 2 Mar 2011 05:06:26 +0000 (13:06 +0800)]
Updated test client for Qemu user network

13 years agoFixed default minium size in vsnprintf being 1 (should be 0)
John Hodge [Wed, 2 Mar 2011 05:05:33 +0000 (13:05 +0800)]
Fixed default minium size in vsnprintf being 1 (should be 0)

- Fixes empty strings being inserted as one space

13 years agoAdded debug (disabled) to Semaphore_Signal
John Hodge [Wed, 2 Mar 2011 05:04:09 +0000 (13:04 +0800)]
Added debug (disabled) to Semaphore_Signal

- Used to find bugs in keyboard interrupt handler

13 years agoFixed bug in kernel script parsing (uninitialised value)
John Hodge [Wed, 2 Mar 2011 05:03:31 +0000 (13:03 +0800)]
Fixed bug in kernel script parsing (uninitialised value)

13 years agoBugfix in NE2K driver (didn't wait for the DMA to be ready)
John Hodge [Wed, 2 Mar 2011 05:02:39 +0000 (13:02 +0800)]
Bugfix in NE2K driver (didn't wait for the DMA to be ready)

13 years ago*partial commit* - Added debut name to VFS_SelectNode
John Hodge [Wed, 2 Mar 2011 05:01:47 +0000 (13:01 +0800)]
*partial commit* - Added debut name to VFS_SelectNode

13 years agoBugfix in Ring buffer (embarrasing)
John Hodge [Wed, 2 Mar 2011 05:00:44 +0000 (13:00 +0800)]
Bugfix in Ring buffer (embarrasing)

13 years agoCleaning up (committing stuff)
John Hodge [Tue, 1 Mar 2011 07:13:25 +0000 (15:13 +0800)]
Cleaning up (committing stuff)

- Stub proc.h for AcessNative
- SIF format spec

13 years agoAdded telnet client
John Hodge [Tue, 1 Mar 2011 07:02:09 +0000 (15:02 +0800)]
Added telnet client

13 years agoMade IRC use select()
John Hodge [Tue, 1 Mar 2011 06:58:09 +0000 (14:58 +0800)]
Made IRC use select()

- Also fixed filesystem xMKDIR

13 years agold-acess - Exported select()
John Hodge [Tue, 1 Mar 2011 06:57:55 +0000 (14:57 +0800)]
ld-acess - Exported select()

13 years agoUsermode implementation of select()
John Hodge [Tue, 1 Mar 2011 06:42:05 +0000 (14:42 +0800)]
Usermode implementation of select()

13 years agoFixed vsnprintf
John Hodge [Tue, 1 Mar 2011 06:40:01 +0000 (14:40 +0800)]
Fixed vsnprintf

- '-' is padding, not '+'
- Added precision

13 years agoFixing select() implementation (and usage)
John Hodge [Tue, 1 Mar 2011 06:39:34 +0000 (14:39 +0800)]
Fixing select() implementation (and usage)

13 years agoKernel - Added backtrace for user segfault
John Hodge [Tue, 1 Mar 2011 06:38:03 +0000 (14:38 +0800)]
Kernel - Added backtrace for user segfault

13 years agoMental note, adding resources is a good idea
John Hodge [Tue, 1 Mar 2011 06:35:35 +0000 (14:35 +0800)]
Mental note, adding resources is a good idea

13 years agoaxwin2 - Little cleanup
John Hodge [Tue, 1 Mar 2011 06:35:13 +0000 (14:35 +0800)]
axwin2 - Little cleanup

13 years agoAcessNative - Compile fixes after select() implementation
John Hodge [Tue, 1 Mar 2011 06:32:44 +0000 (14:32 +0800)]
AcessNative - Compile fixes after select() implementation

13 years agolibreadline - Rework of library (less sucky now!)
John Hodge [Tue, 1 Mar 2011 06:31:03 +0000 (14:31 +0800)]
libreadline - Rework of library (less sucky now!)

13 years agoKernel - Implemented select(), partially debugged
John Hodge [Mon, 28 Feb 2011 06:30:17 +0000 (14:30 +0800)]
Kernel - Implemented select(), partially debugged

- There is quite likely a couple of bugs in there

13 years agoMoved to using a perl syscall generation script
John Hodge [Mon, 28 Feb 2011 06:27:29 +0000 (14:27 +0800)]
Moved to using a perl syscall generation script

- Goodbye php

13 years agoImplementing (and using) select() at kernel level
John Hodge [Mon, 28 Feb 2011 03:17:35 +0000 (11:17 +0800)]
Implementing (and using) select() at kernel level

13 years agoKernel - Some rational comments to select
John Hodge [Sun, 27 Feb 2011 14:37:54 +0000 (22:37 +0800)]
Kernel - Some rational comments to select

13 years agoKernel - Implementing select()
John Hodge [Sun, 27 Feb 2011 13:54:09 +0000 (21:54 +0800)]
Kernel - Implementing select()

- Fully untested, but it does compile
- TODO: Complete the helpers (flag setting), and port blocking calls
  to use select() instead of using their own semaphores.
- TODO: Implement an alarm in threads (or timer) to implement the timeout
  argument to select()

13 years agoModules/FDD (minor) - Removed defunct code
John Hodge [Sun, 27 Feb 2011 11:13:45 +0000 (19:13 +0800)]
Modules/FDD (minor) - Removed defunct code

13 years agoNotes on how to implement select()
John Hodge [Sun, 27 Feb 2011 11:13:27 +0000 (19:13 +0800)]
Notes on how to implement select()

13 years agoMisc changes, fixing problems with long log strings
John Hodge [Sun, 27 Feb 2011 10:51:27 +0000 (18:51 +0800)]
Misc changes, fixing problems with long log strings

- Added a very early boot indicator (for RHW tests)
- Fixed some warning messages

13 years agoModules/FDD - Moved head settle delay to SeekTrack, speeds up reads
John Hodge [Sun, 27 Feb 2011 10:50:16 +0000 (18:50 +0800)]
Modules/FDD - Moved head settle delay to SeekTrack, speeds up reads

13 years agoModules/ATA - Debugging issue with VBox, problem still there
John Hodge [Sun, 27 Feb 2011 10:49:33 +0000 (18:49 +0800)]
Modules/ATA - Debugging issue with VBox, problem still there

13 years agolibc - Fixed an embarrasing bug in strchr :|
John Hodge [Sun, 27 Feb 2011 10:48:35 +0000 (18:48 +0800)]
libc - Fixed an embarrasing bug in strchr :|

13 years agoFixing makefiles
John Hodge [Sun, 27 Feb 2011 10:47:00 +0000 (18:47 +0800)]
Fixing makefiles

- Ignoring if $(xMKDIR) fails (darn mtools)
- Fiddling with warning flags
- Added axwin and others to /Makefile

13 years agoIPStack - Bugfixing (and testing IRC client)
John Hodge [Sun, 27 Feb 2011 10:46:15 +0000 (18:46 +0800)]
IPStack - Bugfixing (and testing IRC client)

13 years agoaxwin2 - Working on GUI, implemented image loading
John Hodge [Sun, 27 Feb 2011 10:44:54 +0000 (18:44 +0800)]
axwin2 - Working on GUI, implemented image loading

- Also fixed URI/URL handling code (needs correctness though)

13 years agoModules/Display/VESA - Fixes to mode select
John Hodge [Sun, 27 Feb 2011 10:42:34 +0000 (18:42 +0800)]
Modules/Display/VESA - Fixes to mode select

- Also cleaned up write function

13 years agoMoved to using semaphores in VTerm
John Hodge [Sun, 27 Feb 2011 10:41:38 +0000 (18:41 +0800)]
Moved to using semaphores in VTerm

13 years agoFixed `make install` issues, bugs with VESA rel0.07
John Hodge [Thu, 17 Feb 2011 13:19:33 +0000 (21:19 +0800)]
Fixed `make install` issues, bugs with VESA

13 years agoAdded some very pedantic warning flags
John Hodge [Mon, 14 Feb 2011 09:35:00 +0000 (17:35 +0800)]
Added some very pedantic warning flags

13 years agoReworked semaphores to be symetric
John Hodge [Sun, 13 Feb 2011 07:10:02 +0000 (15:10 +0800)]
Reworked semaphores to be symetric

- Can block on Signal now
- Removing busy waits

13 years agoWorking on x86_64 build
John Hodge [Sun, 13 Feb 2011 04:28:32 +0000 (12:28 +0800)]
Working on x86_64 build

13 years agoFixed a bug where stack was accessed after address space switch
John Hodge [Sun, 13 Feb 2011 04:28:04 +0000 (12:28 +0800)]
Fixed a bug where stack was accessed after address space switch

13 years agocleanup (removed debug comment)
John Hodge [Sun, 13 Feb 2011 04:27:49 +0000 (12:27 +0800)]
cleanup (removed debug comment)

13 years agoFixed crt0.o not creating its output directory
John Hodge [Sun, 13 Feb 2011 04:26:15 +0000 (12:26 +0800)]
Fixed crt0.o not creating its output directory

13 years agoCleanup (debug statements removed)
John Hodge [Sun, 13 Feb 2011 04:25:43 +0000 (12:25 +0800)]
Cleanup (debug statements removed)

13 years agoFixed gitignore to skip x86_64 objects
John Hodge [Sun, 13 Feb 2011 04:24:07 +0000 (12:24 +0800)]
Fixed gitignore to skip x86_64 objects

13 years agoChanged to a classfull sequential allocation algo
John Hodge [Sun, 13 Feb 2011 04:22:47 +0000 (12:22 +0800)]
Changed to a classfull sequential allocation algo

- Means that addresses end up being allocated sequentially (instead
  of in reverse), cleans up the memory dumps.

13 years agoTSC backed timekeeping, 64-bit integer printing
John Hodge [Sat, 12 Feb 2011 04:29:50 +0000 (12:29 +0800)]
TSC backed timekeeping, 64-bit integer printing

- Improved 64-bit division (using the FPU)

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