tpg/acess2.git
13 years agoAxWin2 - Working in UDP based IPC, select() for input
John Hodge [Sun, 29 May 2011 09:48:55 +0000 (17:48 +0800)]
AxWin2 - Working in UDP based IPC, select() for input

13 years agoIPStack - Removed client/server structure from UDP (now just one file)
John Hodge [Sun, 29 May 2011 09:47:33 +0000 (17:47 +0800)]
IPStack - Removed client/server structure from UDP (now just one file)

- Ends up being far simpler too
- Untester, but should work

13 years agoMoved to BASE_IOCTLS() macro for keyboard driver
John Hodge [Sun, 29 May 2011 09:46:56 +0000 (17:46 +0800)]
Moved to BASE_IOCTLS() macro for keyboard driver

13 years agoMouse driver and AxWin
John Hodge [Sat, 28 May 2011 13:10:31 +0000 (21:10 +0800)]
Mouse driver and AxWin

- Mouse driver implemented, only had very basic testing
- Decided to use select() and sockets for the AxWin IPC framework
 > Allows the use of select() on the keyboard and mouse for input

13 years agoKernel - Finally fixed that corruption bug (description follows)
John Hodge [Sat, 28 May 2011 09:05:35 +0000 (17:05 +0800)]
Kernel - Finally fixed that corruption bug (description follows)

- Also fixed some logging bugs (Heap dump and VFS)
- Fixed a bug in the AxWin2 shell include statement

Bug Description:
The last non-idle thread to be put to sleep didn't get the ->CurCPU field
reset to -1. This probably caused the scheduler to think that the process
was still in use, and hence it never got re-scheduled. The other VTs did
not suffer this problem because they were not the last to sleep.

13 years agoMerge branch 'master' of serenade.mutabah.net:acess2
John Hodge [Sat, 28 May 2011 02:13:55 +0000 (10:13 +0800)]
Merge branch 'master' of serenade.mutabah.net:acess2

13 years agoARM7 - Removed unneeded div header
John Hodge [Sat, 28 May 2011 02:03:40 +0000 (10:03 +0800)]
ARM7 - Removed unneeded div header

13 years agoSpiderScript - Commenting changes
John Hodge [Sat, 28 May 2011 02:01:45 +0000 (10:01 +0800)]
SpiderScript - Commenting changes

13 years agoRemove x86 specific drivers from global build config
John Hodge [Sat, 28 May 2011 02:01:23 +0000 (10:01 +0800)]
Remove x86 specific drivers from global build config

13 years agoKernel - More work on ARM port
John Hodge [Sat, 28 May 2011 01:55:22 +0000 (09:55 +0800)]
Kernel - More work on ARM port

- Moved PCI into two files, one core (with the scanning etc) and one per
  architecture for the IO commands.
- Addded time/pci to the ARM7 tree
- Moved drv/vga.c to a module
- Misc fiddling with ARM port
- Removed Big/LittleEndian16/32 functions, now in acess.h as macros
- Misc changes elsewhere

13 years agoMerge branch 'master' of [email protected]:acess2
John Hodge [Wed, 25 May 2011 14:29:08 +0000 (14:29 +0000)]
Merge branch 'master' of [email protected]:acess2

13 years agoUsermode edit - Can view :)
John Hodge [Wed, 25 May 2011 14:25:29 +0000 (14:25 +0000)]
Usermode edit - Can view :)

13 years agoMisc fixes to libc, added ISADMA to core Makefile.cfg
John Hodge [Mon, 16 May 2011 12:52:23 +0000 (20:52 +0800)]
Misc fixes to libc, added ISADMA to core Makefile.cfg

13 years agoImage viewer :)
John Hodge [Mon, 16 May 2011 12:52:12 +0000 (20:52 +0800)]
Image viewer :)

13 years agoAcessNative - Fixes mostly, still not yet complete
John Hodge [Mon, 16 May 2011 12:51:20 +0000 (20:51 +0800)]
AcessNative - Fixes mostly, still not yet complete

13 years agoISADMA moved out to a module
John Hodge [Mon, 16 May 2011 12:49:39 +0000 (20:49 +0800)]
ISADMA moved out to a module

13 years agoARM Build (doesn't compile yet)
John Hodge [Mon, 16 May 2011 12:48:25 +0000 (20:48 +0800)]
ARM Build (doesn't compile yet)

13 years agoHore work to allow ARM builds
John Hodge [Mon, 16 May 2011 11:52:16 +0000 (19:52 +0800)]
Hore work to allow ARM builds

- Cleaning out some x86 specific code from the kernel tree
- Added AS_SUFFIX to allow .asm and .s for diffent archs
- Debugging and fixes for x86/x86_64
- Fixing some bugs exposed by ARM build messages

13 years agoSpiderScript - Speedups
John Hodge [Tue, 10 May 2011 04:50:54 +0000 (12:50 +0800)]
SpiderScript - Speedups

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

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