tpg/acess2.git
12 years agoSpiderScript - Speedup fixes to bytecode
John Hodge [Wed, 21 Sep 2011 08:37:51 +0000 (16:37 +0800)]
SpiderScript - Speedup fixes to bytecode

12 years agoSpiderScript - Fixes, SpiderWeb's print_test.sw works
John Hodge [Wed, 21 Sep 2011 07:52:36 +0000 (15:52 +0800)]
SpiderScript - Fixes, SpiderWeb's print_test.sw works

12 years agoSpiderScript - Bugfixing, most bytecode runs now
John Hodge [Wed, 21 Sep 2011 04:20:02 +0000 (12:20 +0800)]
SpiderScript - Bugfixing, most bytecode runs now

12 years agoSpiderScript - Bytecode now _runs_ still buggy
John Hodge [Tue, 20 Sep 2011 14:20:50 +0000 (22:20 +0800)]
SpiderScript - Bytecode now _runs_ still buggy

12 years agoSpiderScript - Cleaning and sorting
John Hodge [Sun, 18 Sep 2011 07:52:54 +0000 (15:52 +0800)]
SpiderScript - Cleaning and sorting

- Broken now, because bytecode doesn't execute
 > Changed to compile on load, and perfer the bytecode version

12 years agoSpiderScript - Restructured to be able to keep bytecode and AST in memory at one...
John Hodge [Sun, 18 Sep 2011 04:48:28 +0000 (12:48 +0800)]
SpiderScript - Restructured to be able to keep bytecode and AST in memory at one time

- Also removed the linked list of argument nodes in function def

12 years agoSpiderScript - More changes, cleaning up
John Hodge [Sat, 17 Sep 2011 14:57:15 +0000 (22:57 +0800)]
SpiderScript - More changes, cleaning up

- Bytecode still doesn't run, but getting there
- Fixed some memory leaks about the place

12 years agoSpiderScript - Huge changes to introduce bytecode support
John Hodge [Sat, 17 Sep 2011 10:21:24 +0000 (18:21 +0800)]
SpiderScript - Huge changes to introduce bytecode support

- Scripts can be compiled into bytecode (last I checked)
- Still leaks memory
- Bytecode does not yet run

12 years agoChanged Proc_StartUser to use SYSRET
John Hodge [Fri, 9 Sep 2011 09:56:57 +0000 (17:56 +0800)]
Changed Proc_StartUser to use SYSRET

12 years agoIPStack - Fiddling with firewall
John Hodge [Thu, 8 Sep 2011 23:32:22 +0000 (07:32 +0800)]
IPStack - Fiddling with firewall

12 years agoUsermode/ld-acess - Fixed for x86_64 syscall interface
John Hodge [Thu, 8 Sep 2011 15:02:27 +0000 (23:02 +0800)]
Usermode/ld-acess - Fixed for x86_64 syscall interface

12 years agoKernel/x86_64 - Implemented SYSCALL in x86_64 port
John Hodge [Thu, 8 Sep 2011 15:01:54 +0000 (23:01 +0800)]
Kernel/x86_64 - Implemented SYSCALL in x86_64 port

- Seems to work
- I just love this code

12 years agoKernel - Removed debug from elf and mmap
John Hodge [Thu, 8 Sep 2011 12:16:10 +0000 (20:16 +0800)]
Kernel - Removed debug from elf and mmap

12 years agoKernel - Trace messages now only go to debug (not VTerm)
John Hodge [Thu, 8 Sep 2011 12:15:18 +0000 (20:15 +0800)]
Kernel - Trace messages now only go to debug (not VTerm)

12 years agoKernel/x86_64 - Fixed MM bugs and StartProcess
John Hodge [Thu, 8 Sep 2011 12:14:48 +0000 (20:14 +0800)]
Kernel/x86_64 - Fixed MM bugs and StartProcess

12 years agoUsermode/ld-access - Fixed issues linking with libld-acess without PIC
John Hodge [Thu, 8 Sep 2011 00:24:19 +0000 (08:24 +0800)]
Usermode/ld-access - Fixed issues linking with libld-acess without PIC

12 years agoUsermode - Changed install dir to $(DISTROOT)/$(ARCH) for cross-installs
John Hodge [Thu, 8 Sep 2011 00:23:34 +0000 (08:23 +0800)]
Usermode - Changed install dir to $(DISTROOT)/$(ARCH) for cross-installs

12 years agoKernel/tpl_phys - Fixed bug in GetPageNode
John Hodge [Thu, 8 Sep 2011 00:22:47 +0000 (08:22 +0800)]
Kernel/tpl_phys - Fixed bug in GetPageNode

12 years agoKernel/vterm - Attempting to fix scrolling issues
John Hodge [Thu, 8 Sep 2011 00:21:57 +0000 (08:21 +0800)]
Kernel/vterm - Attempting to fix scrolling issues

12 years agoModules/ATA - Hack/fix for x86-64 ATA
John Hodge [Thu, 8 Sep 2011 00:20:51 +0000 (08:20 +0800)]
Modules/ATA - Hack/fix for x86-64 ATA

- If ATA times out, but an interrupt is on the queue, an error is printed
  but the data is returned.

12 years agoKernel - Updated ELF loader to support ELF64
John Hodge [Thu, 8 Sep 2011 00:20:26 +0000 (08:20 +0800)]
Kernel - Updated ELF loader to support ELF64

12 years agoKernel/x86-64 - Updated and debug
John Hodge [Thu, 8 Sep 2011 00:17:05 +0000 (08:17 +0800)]
Kernel/x86-64 - Updated and debug

- Updated PMM to implement MM_GetPageNode etc
- Known bug in VMM where PTEs aren't actually set/mapped, even though MM_DumpTables shows them

12 years agoKernel/arm7 - Fiddling, still having issues with VMM
John Hodge [Thu, 8 Sep 2011 00:16:41 +0000 (08:16 +0800)]
Kernel/arm7 - Fiddling, still having issues with VMM

12 years agoKernel/arm7 - Updated ARM7 code to newer HAL API changes
John Hodge [Sun, 28 Aug 2011 08:48:16 +0000 (16:48 +0800)]
Kernel/arm7 - Updated ARM7 code to newer HAL API changes

12 years agoUpdated Usermode FInfo structure to match the kernel's copy
John Hodge [Sun, 28 Aug 2011 08:21:34 +0000 (16:21 +0800)]
Updated Usermode FInfo structure to match the kernel's copy

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

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