tpg/acess2.git
13 years agoKernel - Converted binary loading to mmap
John Hodge [Tue, 23 Aug 2011 06:57:08 +0000 (14:57 +0800)]
Kernel - Converted binary loading to mmap

13 years agoKernel - General fixing after ARM7 changes
John Hodge [Mon, 22 Aug 2011 07:16:55 +0000 (15:16 +0800)]
Kernel - General fixing after ARM7 changes

- Also fixed x86_64 crt0

13 years agoKernel/arm7 - Stubbing functions, now compiles and links
John Hodge [Mon, 22 Aug 2011 04:20:36 +0000 (12:20 +0800)]
Kernel/arm7 - Stubbing functions, now compiles and links

13 years agoKernel - Helps if I test things before committing
John Hodge [Sun, 21 Aug 2011 09:11:19 +0000 (17:11 +0800)]
Kernel - Helps if I test things before committing

13 years agoUsermode - Fixing build system
John Hodge [Sun, 21 Aug 2011 09:00:45 +0000 (17:00 +0800)]
Usermode - Fixing build system

- And a silly documentation issue in ifconfig

13 years agoUsermode - AxWin2 notes, and a write support test app
John Hodge [Sun, 21 Aug 2011 08:53:05 +0000 (16:53 +0800)]
Usermode - AxWin2 notes, and a write support test app

13 years agoJust some useful scripts
John Hodge [Sun, 21 Aug 2011 08:50:34 +0000 (16:50 +0800)]
Just some useful scripts

13 years agoModules/Network - Added PCnet-FASTIII driver (untested,incomplete)
John Hodge [Sun, 21 Aug 2011 08:48:12 +0000 (16:48 +0800)]
Modules/Network - Added PCnet-FASTIII driver (untested,incomplete)

13 years agoKernel - Gitignore for build numbers
John Hodge [Sun, 21 Aug 2011 08:46:58 +0000 (16:46 +0800)]
Kernel - Gitignore for build numbers

13 years agoRelease set script added, assumes mtools b:\ is destination
John Hodge [Sun, 21 Aug 2011 08:44:22 +0000 (16:44 +0800)]
Release set script added, assumes mtools b:\ is destination

13 years agoIPStack - SCTP support, dunno how good it is, but part of it is written
John Hodge [Sun, 21 Aug 2011 08:41:17 +0000 (16:41 +0800)]
IPStack - SCTP support, dunno how good it is, but part of it is written

13 years agoAcessNative - Just a script
John Hodge [Sun, 21 Aug 2011 08:39:47 +0000 (16:39 +0800)]
AcessNative - Just a script

13 years agoKernel - Reworked kernel build to use object directories
John Hodge [Sun, 21 Aug 2011 08:37:04 +0000 (16:37 +0800)]
Kernel - Reworked kernel build to use object directories

- Much neater now

13 years agoUsermode/axwin3 - Fiddling
John Hodge [Sun, 21 Aug 2011 08:34:41 +0000 (16:34 +0800)]
Usermode/axwin3 - Fiddling

13 years agoKernel/arm7 - Working on ARM7 port
John Hodge [Sun, 21 Aug 2011 08:32:41 +0000 (16:32 +0800)]
Kernel/arm7 - Working on ARM7 port

- PMM implemented
- VMM on the way
- Proc started, but nowhere near complete

13 years agoKernel - Attempting to fix scroll redraw issue
John Hodge [Sat, 20 Aug 2011 10:33:32 +0000 (18:33 +0800)]
Kernel - Attempting to fix scroll redraw issue

13 years agoModules/InitRD - Added new files, and re-added debug
John Hodge [Sat, 20 Aug 2011 10:32:03 +0000 (18:32 +0800)]
Modules/InitRD - Added new files, and re-added debug

- Using it in real hardware/PXE testing

13 years agoKernel - Debugging cleanup
John Hodge [Sat, 20 Aug 2011 10:30:58 +0000 (18:30 +0800)]
Kernel - Debugging cleanup

13 years agoKernel/x86_64 - Working on 64-bit build, required reworking part of init script code
John Hodge [Sat, 20 Aug 2011 10:28:32 +0000 (18:28 +0800)]
Kernel/x86_64 - Working on 64-bit build, required reworking part of init script code

13 years agoUsermode/axwin3 - Working on things
John Hodge [Wed, 17 Aug 2011 13:34:58 +0000 (21:34 +0800)]
Usermode/axwin3 - Working on things

13 years agoUsermode/axwin3 - Designing AxWin3 API
John Hodge [Wed, 17 Aug 2011 03:46:11 +0000 (11:46 +0800)]
Usermode/axwin3 - Designing AxWin3 API

13 years agoKernel - Implementing infrastructure for GetNodeFromINode
John Hodge [Tue, 16 Aug 2011 14:56:17 +0000 (22:56 +0800)]
Kernel - Implementing infrastructure for GetNodeFromINode

13 years agoUsermode - Fixing syscall API
John Hodge [Sat, 13 Aug 2011 03:38:55 +0000 (11:38 +0800)]
Usermode - Fixing syscall API

- Removed bitfields from ACL entries
- Fixed liburi's use of read/write
- Fixed IRC client's multi-line message support

13 years agoModules/USB - A little more work
John Hodge [Sat, 13 Aug 2011 03:38:22 +0000 (11:38 +0800)]
Modules/USB - A little more work

13 years agoKernel - Fixed syscall parameter orders
John Hodge [Sat, 13 Aug 2011 03:37:47 +0000 (11:37 +0800)]
Kernel - Fixed syscall parameter orders

13 years agoUsermode/libc - Changes to get NASM/irssi/bash ... compiling
John Hodge [Wed, 10 Aug 2011 02:52:10 +0000 (10:52 +0800)]
Usermode/libc - Changes to get NASM/irssi/bash ... compiling

13 years agoKernel - Fixes from clang's scan-build tool
John Hodge [Mon, 8 Aug 2011 13:17:14 +0000 (21:17 +0800)]
Kernel - Fixes from clang's scan-build tool

13 years agoUsermode/libc - Implementing POSIX/BSD sockets
John Hodge [Mon, 8 Aug 2011 13:16:55 +0000 (21:16 +0800)]
Usermode/libc - Implementing POSIX/BSD sockets

13 years agoUsermode - Switched to the POSIX read()/write() argument order
John Hodge [Mon, 8 Aug 2011 08:52:15 +0000 (16:52 +0800)]
Usermode - Switched to the POSIX read()/write() argument order

13 years agoKernel/x86 - Removed PAE support
John Hodge [Mon, 8 Aug 2011 04:40:10 +0000 (12:40 +0800)]
Kernel/x86 - Removed PAE support

13 years agoKernel - Cleaning up messages rel0.10
John Hodge [Sun, 7 Aug 2011 04:08:23 +0000 (12:08 +0800)]
Kernel - Cleaning up messages

13 years agoKernel - Removed #include <adt.h> from acess.h, reduce global deps
John Hodge [Sun, 7 Aug 2011 03:54:26 +0000 (11:54 +0800)]
Kernel - Removed #include <adt.h> from acess.h, reduce global deps

13 years agoKernel - Planning for IOCache to use pages for cache instead of heap
John Hodge [Sun, 7 Aug 2011 03:53:49 +0000 (11:53 +0800)]
Kernel - Planning for IOCache to use pages for cache instead of heap

13 years agoKernel - Updated logging to not cache messages (for a speedup)
John Hodge [Sun, 7 Aug 2011 03:53:04 +0000 (11:53 +0800)]
Kernel - Updated logging to not cache messages (for a speedup)

- Can be re-enabled with a #define

13 years agoKernel - Fixed RootFS mknod bugs
John Hodge [Sun, 7 Aug 2011 03:47:52 +0000 (11:47 +0800)]
Kernel - Fixed RootFS mknod bugs

13 years agoIPStack - Fixed TCP locking up when the receive buffer is full
John Hodge [Sun, 7 Aug 2011 03:46:54 +0000 (11:46 +0800)]
IPStack - Fixed TCP locking up when the receive buffer is full

- Forgot to release a mutex

13 years agoKernel - Updated thread code to add new active tasks to the end of the queue
John Hodge [Sun, 7 Aug 2011 03:44:53 +0000 (11:44 +0800)]
Kernel - Updated thread code to add new active tasks to the end of the queue

- Also halved the default quantum - To improve responsiveness

13 years agoKernel - Fixed concurrency in the RingBuffer type
John Hodge [Sun, 7 Aug 2011 03:44:24 +0000 (11:44 +0800)]
Kernel - Fixed concurrency in the RingBuffer type

13 years agoKernel - Cleaning up unneeded malloc() calls
John Hodge [Sat, 6 Aug 2011 00:37:58 +0000 (08:37 +0800)]
Kernel - Cleaning up unneeded malloc() calls

- Also debug cleanups
- Constness fix in RingBuffer

13 years agoUsermode/telnet - Added default port number
John Hodge [Sat, 6 Aug 2011 00:37:14 +0000 (08:37 +0800)]
Usermode/telnet - Added default port number

13 years agoFAT - Removed unneeded malloc() calls
John Hodge [Sat, 6 Aug 2011 00:37:00 +0000 (08:37 +0800)]
FAT - Removed unneeded malloc() calls

13 years agoIPStack - Cleaned up unneeded malloc() calls
John Hodge [Sat, 6 Aug 2011 00:36:00 +0000 (08:36 +0800)]
IPStack - Cleaned up unneeded malloc() calls

- Also added IPv6 support to TCP
- Changed IPv4 checksum back to being byte-based

13 years agoUsermode/irc - Fixes to long line rendering, misc other changes
John Hodge [Thu, 4 Aug 2011 09:03:21 +0000 (17:03 +0800)]
Usermode/irc - Fixes to long line rendering, misc other changes

13 years agoIPStack - Changed IPv4_Checksum to use a word count
John Hodge [Thu, 4 Aug 2011 09:02:43 +0000 (17:02 +0800)]
IPStack - Changed IPv4_Checksum to use a word count

13 years agoRTL8139 - Fixed Rx wrap bugs
John Hodge [Thu, 4 Aug 2011 08:41:47 +0000 (16:41 +0800)]
RTL8139 - Fixed Rx wrap bugs

13 years agoUsermode/irc - Fixes
John Hodge [Thu, 4 Aug 2011 00:16:59 +0000 (08:16 +0800)]
Usermode/irc - Fixes

- Added full screen redraw on window change
- Fixed SetCursorPosision to get the _old_ position, not new

13 years agoUsermode/axwin2 - Commenting changes
John Hodge [Thu, 4 Aug 2011 00:16:15 +0000 (08:16 +0800)]
Usermode/axwin2 - Commenting changes

13 years agoKernel - Added %P to vsnprintf, print physical address
John Hodge [Thu, 4 Aug 2011 00:14:28 +0000 (08:14 +0800)]
Kernel - Added %P to vsnprintf, print physical address

- Also added some commenting

13 years agoChanged Video device spec to implement cursors
John Hodge [Thu, 4 Aug 2011 00:13:26 +0000 (08:13 +0800)]
Changed Video device spec to implement cursors

13 years agoKernel/arm7 - Still working on it
John Hodge [Thu, 4 Aug 2011 00:12:48 +0000 (08:12 +0800)]
Kernel/arm7 - Still working on it

13 years agoIPStack - Fixed TCP checksuming
John Hodge [Thu, 4 Aug 2011 00:09:38 +0000 (08:09 +0800)]
IPStack - Fixed TCP checksuming

- Padded with zero, instead of Undefined
- Fixed ping to return the ping time, instead of the timestamp

13 years agoRT8139 - Fixed to use Mutexes to control access to TXDescs
John Hodge [Thu, 4 Aug 2011 00:06:08 +0000 (08:06 +0800)]
RT8139 - Fixed to use Mutexes to control access to TXDescs

- Mutex protected current TX descriptor to stop two threads getting
  the same TX.
- Changed in use bitfield to a mutex to stop collisions
- Also fixed a spelling error

13 years agoUsermode/libc - Fixed implementation of atexit and printf
John Hodge [Thu, 4 Aug 2011 00:03:03 +0000 (08:03 +0800)]
Usermode/libc - Fixed implementation of atexit and printf

- *printf now supports string precision and padding
- atexit implemented fully, but may not actually work

13 years agoRTL8139 - Fixed not clearing IO bit in BAR
John Hodge [Tue, 2 Aug 2011 23:57:49 +0000 (07:57 +0800)]
RTL8139 - Fixed not clearing IO bit in BAR

13 years agoKernel - Bugfixing x86_64 port
John Hodge [Sat, 30 Jul 2011 08:31:35 +0000 (16:31 +0800)]
Kernel - Bugfixing x86_64 port

- Switched to using the PIT for timekeeping
- Fixed multiple IRQ errors

13 years agoKernel - Misc cleanup in PCI
John Hodge [Thu, 28 Jul 2011 13:12:21 +0000 (21:12 +0800)]
Kernel - Misc cleanup in PCI

- Oops, forgot the modules header

13 years agoKernel/x86_64 - Implemented UserRIP/CS
John Hodge [Thu, 28 Jul 2011 13:11:36 +0000 (21:11 +0800)]
Kernel/x86_64 - Implemented UserRIP/CS

13 years agoKernel - Implemented fallback to VGA when VESA is unavaliable
John Hodge [Thu, 28 Jul 2011 13:10:40 +0000 (21:10 +0800)]
Kernel - Implemented fallback to VGA when VESA is unavaliable

- Reworked parts of VTerm for it.
- Also fixed bugs in drvutil

13 years agoModules/VGA - Implemented 2DOPS and fixed implementation
John Hodge [Thu, 28 Jul 2011 13:09:40 +0000 (21:09 +0800)]
Modules/VGA - Implemented 2DOPS and fixed implementation

- Just a hack driver really, used as a fallback when no VESA is avaliable

13 years agoKernel - Cleaning up
John Hodge [Wed, 27 Jul 2011 10:04:19 +0000 (18:04 +0800)]
Kernel - Cleaning up

- Decided against PAE support for the 32-bit x86 code
- Some debug in System_*
- Still designing parts of mmap

13 years agoKernel - Cleaning up a little
John Hodge [Wed, 27 Jul 2011 10:04:04 +0000 (18:04 +0800)]
Kernel - Cleaning up a little

13 years agoKernel - Fixed a bug in VFS_ParsePath that cause symlinks to break
John Hodge [Wed, 27 Jul 2011 09:47:17 +0000 (17:47 +0800)]
Kernel - Fixed a bug in VFS_ParsePath that cause symlinks to break

13 years agoKernel - Oops, forgot to change the export definitions
John Hodge [Tue, 19 Jul 2011 10:31:37 +0000 (18:31 +0800)]
Kernel - Oops, forgot to change the export definitions

13 years agoKernel - Added an errno macro (implemented with TLS)
John Hodge [Mon, 18 Jul 2011 13:39:38 +0000 (21:39 +0800)]
Kernel - Added an errno macro (implemented with TLS)

13 years agoKernel - Reworked x86 physical memory allocation
John Hodge [Mon, 18 Jul 2011 04:15:31 +0000 (12:15 +0800)]
Kernel - Reworked x86 physical memory allocation

- Turned reference count array into a page info array
- Allocated when needed as opposed to at boot
- TODO: Split it up into two arrays instead, to save space
 > Could also have a MM_AllocPhys variant that picks pages from allocated
   info blocks instead of just the first avaliable

13 years agoKernel - Fiddling with MMap
John Hodge [Mon, 18 Jul 2011 02:11:42 +0000 (10:11 +0800)]
Kernel - Fiddling with MMap

13 years agoKernel - Fixed a possible infinite loop in VFS_ParsePath
John Hodge [Mon, 18 Jul 2011 02:10:22 +0000 (10:10 +0800)]
Kernel - Fixed a possible infinite loop in VFS_ParsePath

- Restricted paths from symlinks to MAX_PATH_LEN characters (255 atm)

13 years agoKernel - Implemented strcat/strncat
John Hodge [Mon, 18 Jul 2011 02:10:04 +0000 (10:10 +0800)]
Kernel - Implemented strcat/strncat

13 years agoFixing compile errors
John Hodge [Sun, 17 Jul 2011 15:43:45 +0000 (23:43 +0800)]
Fixing compile errors

13 years agoKernel - Adding support for MMap (untested)
John Hodge [Sun, 17 Jul 2011 15:23:35 +0000 (23:23 +0800)]
Kernel - Adding support for MMap (untested)

13 years agoKernel - VFS mmap spec (Node level)
John Hodge [Mon, 11 Jul 2011 13:29:57 +0000 (21:29 +0800)]
Kernel - VFS mmap spec (Node level)

13 years agoUsermode Build - Updated makefiles to compile needed libraries if not avaliable
John Hodge [Wed, 6 Jul 2011 15:10:06 +0000 (23:10 +0800)]
Usermode Build - Updated makefiles to compile needed libraries if not avaliable

13 years agoAxWin2 - Added mouse support (well, it now reads the mouse state)
John Hodge [Wed, 6 Jul 2011 15:09:25 +0000 (23:09 +0800)]
AxWin2 - Added mouse support (well, it now reads the mouse state)

- TODO: Implement the cursor (probably as a HW cursor in the video driver)

13 years agoPS2Mouse - Reworked driver to conform with Joystick spec
John Hodge [Wed, 6 Jul 2011 15:08:46 +0000 (23:08 +0800)]
PS2Mouse - Reworked driver to conform with Joystick spec

- Also slightly updated spec to confirm how Axis callbacks happen

13 years agoModules/x86 - Needs a makefile :)
John Hodge [Wed, 6 Jul 2011 08:35:04 +0000 (16:35 +0800)]
Modules/x86 - Needs a makefile :)

13 years agoRemoving old attempt at UDI interface
John Hodge [Wed, 6 Jul 2011 08:32:20 +0000 (16:32 +0800)]
Removing old attempt at UDI interface

13 years agoKernel - Reworked PCI API to be cleaner
John Hodge [Wed, 6 Jul 2011 08:30:04 +0000 (16:30 +0800)]
Kernel - Reworked PCI API to be cleaner

- Part of some mods to get UDIref ported (not in git)

13 years agoMisc changes
John Hodge [Tue, 5 Jul 2011 06:29:21 +0000 (14:29 +0800)]
Misc changes

- Code cleanup
- Preparing for ^C/etc in VTerm
- Better commenting

13 years agoFDD Driver - Fixing bugs exposed in x86_64 testing
John Hodge [Tue, 5 Jul 2011 06:18:42 +0000 (14:18 +0800)]
FDD Driver - Fixing bugs exposed in x86_64 testing

13 years agoKernel - Absently cleaning up (minor presentation changes)
John Hodge [Sun, 3 Jul 2011 03:21:01 +0000 (11:21 +0800)]
Kernel - Absently cleaning up (minor presentation changes)

13 years agoIRC - Set server to Qemu host address (better for debugging)
John Hodge [Sun, 3 Jul 2011 03:20:36 +0000 (11:20 +0800)]
IRC - Set server to Qemu host address (better for debugging)

13 years agoIPStack - Fixed invalid window size in outgoing TCP packets
John Hodge [Sun, 3 Jul 2011 03:18:26 +0000 (11:18 +0800)]
IPStack - Fixed invalid window size in outgoing TCP packets

13 years agoKernel - Fixed VTerm tab behavior when width is not a multiple of 8
John Hodge [Sun, 3 Jul 2011 03:11:02 +0000 (11:11 +0800)]
Kernel - Fixed VTerm tab behavior when width is not a multiple of 8

13 years agoKernel - Changed VFS_SelectNode to be able to watch multiple attribs
John Hodge [Sat, 2 Jul 2011 10:00:20 +0000 (18:00 +0800)]
Kernel - Changed VFS_SelectNode to be able to watch multiple attribs

13 years agoBugfixing a hidden bug in vm8086 (to help trace a tcp bug)
John Hodge [Sat, 2 Jul 2011 08:51:57 +0000 (16:51 +0800)]
Bugfixing a hidden bug in vm8086 (to help trace a tcp bug)

13 years agoKernel/x86_64 - Cleaning up unused symbols in linker script
John Hodge [Sat, 2 Jul 2011 04:38:19 +0000 (12:38 +0800)]
Kernel/x86_64 - Cleaning up unused symbols in linker script

13 years agoUsermode/testclient - Fixes for debugging
John Hodge [Sat, 2 Jul 2011 04:38:01 +0000 (12:38 +0800)]
Usermode/testclient - Fixes for debugging

13 years agoKernel - Fixed up a lack of const-ness
John Hodge [Sat, 2 Jul 2011 04:37:09 +0000 (12:37 +0800)]
Kernel - Fixed up a lack of const-ness

13 years agoAcessNative - Debugging and implementing, getting there now
John Hodge [Sat, 2 Jul 2011 04:36:09 +0000 (12:36 +0800)]
AcessNative - Debugging and implementing, getting there now

13 years agoIPStack - Fixing bugs in TCP close
John Hodge [Sat, 2 Jul 2011 04:35:42 +0000 (12:35 +0800)]
IPStack - Fixing bugs in TCP close

13 years agoOops, no makefile for input :)
John Hodge [Wed, 29 Jun 2011 05:00:36 +0000 (13:00 +0800)]
Oops, no makefile for input :)

13 years agoAcessNative - Fixing Fixing Fixing
John Hodge [Wed, 22 Jun 2011 09:36:42 +0000 (17:36 +0800)]
AcessNative - Fixing Fixing Fixing

- Now can do stuff at the CLIShell prompt
- Fixed some loading issues
- Fixed debug in Kernel/VFS/io.c

13 years agoKernel - Implemented waking from semaphores
John Hodge [Thu, 16 Jun 2011 11:01:51 +0000 (19:01 +0800)]
Kernel - Implemented waking from semaphores

- Threads waiting on semaphores can now be woken by other threads
- Changed ping to not base its timestamp on after the packet is sent
 > Fixes extra-long timeouts

13 years agoAxWin2 - Debugging and misc
John Hodge [Thu, 16 Jun 2011 11:00:11 +0000 (19:00 +0800)]
AxWin2 - Debugging and misc

- Added DWARF support to the linker script
- Fixed 100% CPU usage due to not reading from terminal

13 years agoUsermode - IRC Client
John Hodge [Thu, 16 Jun 2011 10:58:10 +0000 (18:58 +0800)]
Usermode - IRC Client

- Changed Readline behavior to not print a newline when recieving one
- Cleaning up and fixing display bugs
- Implemented atexit() in libc

13 years agoKernel/x86_64 - Working out bugs and unimplementeds
John Hodge [Thu, 16 Jun 2011 10:56:57 +0000 (18:56 +0800)]
Kernel/x86_64 - Working out bugs and unimplementeds

13 years agoKernel/x86_64 - Bugfixing
John Hodge [Sun, 12 Jun 2011 02:24:15 +0000 (10:24 +0800)]
Kernel/x86_64 - Bugfixing

- Changed page dump to be more readable
- Fixed display issues in page dump
- Fixed a broken CallWithArgArray implementation

13 years agoKernel/x86_64 - Bugfixing
John Hodge [Sat, 11 Jun 2011 16:06:07 +0000 (00:06 +0800)]
Kernel/x86_64 - Bugfixing

13 years agoMisc - x86_64 port related changes
John Hodge [Sat, 11 Jun 2011 13:39:36 +0000 (21:39 +0800)]
Misc - x86_64 port related changes

- Made Log_KernelPanic actually panic
- Allowe BochsGA driver to supprt 0xB0C0
- x86_64 module configuration

13 years agoKernel/x86 - Emarrasing, stray " at the start of the file
John Hodge [Sat, 11 Jun 2011 13:39:01 +0000 (21:39 +0800)]
Kernel/x86 - Emarrasing, stray " at the start of the file

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