tpg/acess2.git
12 years agoUsermode/ld-acess - Disabled PIC (not needed) mmap_binary
John Hodge [Sun, 28 Aug 2011 04:08:16 +0000 (12:08 +0800)]
Usermode/ld-acess - Disabled PIC (not needed)

Also added (commented out) debug to malloc() in libc

12 years agoKernel - Added current thread ID to log messages
John Hodge [Sun, 28 Aug 2011 04:07:58 +0000 (12:07 +0800)]
Kernel - Added current thread ID to log messages

12 years agoKernel - Working on IOCache using page sized blocks
John Hodge [Sun, 28 Aug 2011 04:06:58 +0000 (12:06 +0800)]
Kernel - Working on IOCache using page sized blocks

12 years agoKernel/arm7 - Fixed SPINLOCK to use the swap opcode
John Hodge [Sun, 28 Aug 2011 04:06:24 +0000 (12:06 +0800)]
Kernel/arm7 - Fixed SPINLOCK to use the swap opcode

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 years agoKernel - Preparing for ELF64 support
John Hodge [Mon, 22 Aug 2011 08:05:35 +0000 (16:05 +0800)]
Kernel - Preparing for ELF64 support

12 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

12 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

12 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

12 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

12 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

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

12 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)

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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

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

12 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

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

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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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)

12 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

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

12 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)

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

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

12 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)

12 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)

12 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

12 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)

12 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

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

12 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

12 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)

12 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

12 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

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