tpg/acess2.git
13 years agoKernel - Fixed Binary_MapIn not closing its handle
John Hodge [Sun, 28 Aug 2011 04:06:03 +0000 (12:06 +0800)]
Kernel - Fixed Binary_MapIn not closing its handle

13 years agoKernel/mmap - Fixed pages being derefed, and memory not being zeroed
John Hodge [Sun, 28 Aug 2011 04:05:11 +0000 (12:05 +0800)]
Kernel/mmap - Fixed pages being derefed, and memory not being zeroed

13 years agoKernel - Improved debug in threads.c
John Hodge [Sun, 28 Aug 2011 04:04:36 +0000 (12:04 +0800)]
Kernel - Improved debug in threads.c

13 years agoKernel/x86 - Misc fixes
John Hodge [Sun, 28 Aug 2011 04:01:32 +0000 (12:01 +0800)]
Kernel/x86 - Misc fixes

- Fixed bugs in PMM
 > Reference counts were not being filled correctly
 > Nodes were not stored correctly
- Added some improved output to debug / MM_DumpTables
- Fixed VM8086 sometimes hard locking
- Improved bInstrTrace support

13 years agoKernel - Fixing binary loader and MMap
John Hodge [Fri, 26 Aug 2011 03:15:17 +0000 (11:15 +0800)]
Kernel - Fixing binary loader and MMap

- Still some issues with what seems to be nodes going out of scope

13 years agoUsermode/ld-acess - Fixing ELF loader modifying .text during relocation
John Hodge [Fri, 26 Aug 2011 03:14:33 +0000 (11:14 +0800)]
Usermode/ld-acess - Fixing ELF loader modifying .text during relocation

13 years agoKernel/x86 - Added node display to DumpTables, fixed bug in GetPageNode
John Hodge [Fri, 26 Aug 2011 03:13:34 +0000 (11:13 +0800)]
Kernel/x86 - Added node display to DumpTables, fixed bug in GetPageNode

13 years agoKernel/ELF - Fixed ELF segment permissions
John Hodge [Thu, 25 Aug 2011 05:58:57 +0000 (13:58 +0800)]
Kernel/ELF - Fixed ELF segment permissions

13 years agoKernel/x86 - Implemented VFS node in PMM, debugging some other parts
John Hodge [Thu, 25 Aug 2011 05:57:22 +0000 (13:57 +0800)]
Kernel/x86 - Implemented VFS node in PMM, debugging some other parts

13 years agoKernel - Bugfixing mmap and new binary loading
John Hodge [Wed, 24 Aug 2011 02:57:04 +0000 (10:57 +0800)]
Kernel - Bugfixing mmap and new binary loading

13 years agoModules/FAT - Implemented GetNodeFromINode
John Hodge [Wed, 24 Aug 2011 02:56:51 +0000 (10:56 +0800)]
Modules/FAT - Implemented GetNodeFromINode

13 years agoKernel/x86 - Fixed bug MM_DumpTables
John Hodge [Wed, 24 Aug 2011 02:56:25 +0000 (10:56 +0800)]
Kernel/x86 - Fixed bug MM_DumpTables

13 years agoKernel - Fixes to Proc_Clone usage in x86
John Hodge [Wed, 24 Aug 2011 02:55:48 +0000 (10:55 +0800)]
Kernel - Fixes to Proc_Clone usage in x86

13 years agoKernel/vfs - Fixing OpenInode support
John Hodge [Wed, 24 Aug 2011 00:01:18 +0000 (08:01 +0800)]
Kernel/vfs - Fixing OpenInode support

13 years agoMerge commit 'eb98f1f2915446ef05120482a2fc353c76330b50' into mmap_binary
John Hodge [Tue, 23 Aug 2011 10:51:57 +0000 (18:51 +0800)]
Merge commit 'eb98f1f2915446ef05120482a2fc353c76330b50' into mmap_binary

13 years agoKernel/x86 - Fixed usage of Proc_Clone
John Hodge [Tue, 23 Aug 2011 10:27:48 +0000 (18:27 +0800)]
Kernel/x86 - Fixed usage of Proc_Clone

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 - Preparing for ELF64 support
John Hodge [Mon, 22 Aug 2011 08:05:35 +0000 (16:05 +0800)]
Kernel - Preparing for ELF64 support

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

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