tpg/acess2.git
13 years agoKernel/vterm - Tiny commenting/indenting change
John Hodge [Wed, 28 Sep 2011 01:39:47 +0000 (09:39 +0800)]
Kernel/vterm - Tiny commenting/indenting change

13 years agoModules/USB - Working on USB support again
John Hodge [Tue, 27 Sep 2011 15:02:47 +0000 (23:02 +0800)]
Modules/USB - Working on USB support again

13 years agoKernel/x86 - Disabled task tracing
John Hodge [Tue, 27 Sep 2011 13:33:04 +0000 (21:33 +0800)]
Kernel/x86 - Disabled task tracing

13 years agoKernel/armv7 - Task switching now supported
John Hodge [Tue, 27 Sep 2011 12:53:52 +0000 (20:53 +0800)]
Kernel/armv7 - Task switching now supported

- Also fixed nested locks in threads.c

13 years agoKernel/armv7 - Renamed to reduce confusion
John Hodge [Tue, 27 Sep 2011 02:43:00 +0000 (10:43 +0800)]
Kernel/armv7 - Renamed to reduce confusion

13 years agoKernel/arm7 - Tiny bugfix in NewKThread
John Hodge [Tue, 27 Sep 2011 01:32:45 +0000 (09:32 +0800)]
Kernel/arm7 - Tiny bugfix in NewKThread

13 years agoModules - Moved to using object directories
John Hodge [Tue, 27 Sep 2011 01:28:26 +0000 (09:28 +0800)]
Modules - Moved to using object directories

13 years agoKernel/arm7 - NewKThread (partially) implemented
John Hodge [Mon, 26 Sep 2011 14:30:43 +0000 (22:30 +0800)]
Kernel/arm7 - NewKThread (partially) implemented

13 years agoKernel/arm7 - Working on threading
John Hodge [Mon, 26 Sep 2011 14:13:58 +0000 (22:13 +0800)]
Kernel/arm7 - Working on threading

13 years agoKernel - Added Proc_Rescedule support
John Hodge [Mon, 26 Sep 2011 13:25:49 +0000 (21:25 +0800)]
Kernel - Added Proc_Rescedule support

13 years agoKernel - Fixes to build info file
John Hodge [Mon, 26 Sep 2011 13:25:21 +0000 (21:25 +0800)]
Kernel - Fixes to build info file

13 years agoKernel/vfs - Fixed bug in VFS_ParsePath
John Hodge [Mon, 26 Sep 2011 13:24:03 +0000 (21:24 +0800)]
Kernel/vfs - Fixed bug in VFS_ParsePath

- MountPoint was not set if the root directory was opened

13 years agoKernel/arm7 - Fiddling on process switching
John Hodge [Mon, 26 Sep 2011 13:23:32 +0000 (21:23 +0800)]
Kernel/arm7 - Fiddling on process switching

- Not implemented yet, but coming along

13 years agoKernel/x86 - Separated timer and task switching
John Hodge [Mon, 26 Sep 2011 13:22:41 +0000 (21:22 +0800)]
Kernel/x86 - Separated timer and task switching

- Tasks no longer switch on the timer, only Sleep/Yield/Exit etc

13 years agoKernel/x86_64 - Separated task switching from timer interrupt
John Hodge [Mon, 26 Sep 2011 13:22:02 +0000 (21:22 +0800)]
Kernel/x86_64 - Separated task switching from timer interrupt

- Well, mostly (the timer still calls it, but it can be called elsewhere)

13 years agoModules/FDD - Fixed random bug
John Hodge [Mon, 26 Sep 2011 05:08:44 +0000 (13:08 +0800)]
Modules/FDD - Fixed random bug

13 years agoUsermode/ld-acess - Adding elf64 support
John Hodge [Mon, 26 Sep 2011 05:07:53 +0000 (13:07 +0800)]
Usermode/ld-acess - Adding elf64 support

- Created stub library file for linking against
 > Stops ld-acess having to be compiled with -fPIC

13 years agoKernel/x86_64 - Debugging iret->CPL3 crash
John Hodge [Mon, 26 Sep 2011 05:07:19 +0000 (13:07 +0800)]
Kernel/x86_64 - Debugging iret->CPL3 crash

13 years agoModules/ATA - Fiddling for bugfixing, bug was elsewhere though :)
John Hodge [Mon, 26 Sep 2011 02:06:00 +0000 (10:06 +0800)]
Modules/ATA - Fiddling for bugfixing, bug was elsewhere though :)

13 years agoKernel/x86_64 - Bugfixing
John Hodge [Mon, 26 Sep 2011 02:04:14 +0000 (10:04 +0800)]
Kernel/x86_64 - Bugfixing

- Fixed the ATA bug (caused by some IRQs not being acked)
- Fixed SYSRET/SYSRETQ issue
- Implemented DivModU64

13 years agoModules/PS2KbMouse - Broke 8042 specific code out
John Hodge [Sun, 25 Sep 2011 09:17:09 +0000 (17:17 +0800)]
Modules/PS2KbMouse - Broke 8042 specific code out

- Incomplete PL050 support

13 years agoKernel/arm7 - Fiddling with PCI etc
John Hodge [Sun, 25 Sep 2011 09:14:07 +0000 (17:14 +0800)]
Kernel/arm7 - Fiddling with PCI etc

- PCI is currently disabled because -pb boards don't implement it

13 years agoKernel/arm7 - Removed debug statement from VMM
John Hodge [Sun, 25 Sep 2011 05:19:01 +0000 (13:19 +0800)]
Kernel/arm7 - Removed debug statement from VMM

13 years agoKernel/arm7 - Starts, but no IO and task switching (yet)
John Hodge [Sun, 25 Sep 2011 05:17:56 +0000 (13:17 +0800)]
Kernel/arm7 - Starts, but no IO and task switching (yet)

13 years agoUsermode - Added sys/stat.h to help with cross compiles
John Hodge [Sun, 25 Sep 2011 04:31:52 +0000 (12:31 +0800)]
Usermode - Added sys/stat.h to help with cross compiles

13 years agoKernel - Oops, no compile test
John Hodge [Sun, 25 Sep 2011 04:31:23 +0000 (12:31 +0800)]
Kernel - Oops, no compile test

13 years agoKernel - Untested template stack based PMM
John Hodge [Sun, 25 Sep 2011 03:40:07 +0000 (11:40 +0800)]
Kernel - Untested template stack based PMM

13 years agoRenamed tpl_drv_* to api_drv_* (a more fitting name)
John Hodge [Sun, 25 Sep 2011 03:39:39 +0000 (11:39 +0800)]
Renamed tpl_drv_* to api_drv_* (a more fitting name)

13 years agoModules/SB16 - Stub driver, nowhere near complete
John Hodge [Sun, 25 Sep 2011 03:21:56 +0000 (11:21 +0800)]
Modules/SB16 - Stub driver, nowhere near complete

13 years agoQemu ARM script, TODO list
John Hodge [Sun, 25 Sep 2011 03:17:54 +0000 (11:17 +0800)]
Qemu ARM script, TODO list

- Don't know if the list is up to date :)

13 years agoJust some little notes
John Hodge [Sun, 25 Sep 2011 03:15:55 +0000 (11:15 +0800)]
Just some little notes

13 years agoUsermode - Stub UDP tester (in the form of a DNS client)
John Hodge [Sun, 25 Sep 2011 03:14:36 +0000 (11:14 +0800)]
Usermode - Stub UDP tester (in the form of a DNS client)

13 years agoKernel/x86_64 - Oops, forgot some files
John Hodge [Sun, 25 Sep 2011 03:13:24 +0000 (11:13 +0800)]
Kernel/x86_64 - Oops, forgot some files

13 years agoKernel/x86 - Fixed build and run after x86_64 and arm7 changes to API
John Hodge [Sun, 25 Sep 2011 03:04:58 +0000 (11:04 +0800)]
Kernel/x86 - Fixed build and run after x86_64 and arm7 changes to API

13 years agoKernel/arm7 - Debugging
John Hodge [Sun, 25 Sep 2011 01:41:57 +0000 (09:41 +0800)]
Kernel/arm7 - Debugging

- lib.c - Updated to use a composite divide/modulo function

13 years agoKernel - Unlocked debug lock when entering kernel panic
John Hodge [Sun, 25 Sep 2011 01:41:04 +0000 (09:41 +0800)]
Kernel - Unlocked debug lock when entering kernel panic

13 years agoKernel/vfs - Minor error reporting changes
John Hodge [Sun, 25 Sep 2011 01:40:21 +0000 (09:40 +0800)]
Kernel/vfs - Minor error reporting changes

13 years agoModules/IPStack - Updated worker thread invocation
John Hodge [Sun, 25 Sep 2011 01:39:48 +0000 (09:39 +0800)]
Modules/IPStack - Updated worker thread invocation

13 years agoKernel/arm7 - Now with less crash
John Hodge [Sat, 24 Sep 2011 00:38:13 +0000 (08:38 +0800)]
Kernel/arm7 - Now with less crash

13 years agoSpiderScript - Light speedups, planning for smarter operation code
John Hodge [Fri, 23 Sep 2011 05:51:26 +0000 (13:51 +0800)]
SpiderScript - Light speedups, planning for smarter operation code

13 years agoKernel/x86 - Indent fixes only
John Hodge [Fri, 23 Sep 2011 05:50:54 +0000 (13:50 +0800)]
Kernel/x86 - Indent fixes only

13 years agoKernel/x86_64 - Fucking about removing inline asm
John Hodge [Fri, 23 Sep 2011 05:49:04 +0000 (13:49 +0800)]
Kernel/x86_64 - Fucking about removing inline asm

- Doesn't boot
- Removed almost all state saves, replaced them with new stacks
- _Clone is broken atm

13 years agoUpdated to allow build number to be obtained far easier
John Hodge [Fri, 23 Sep 2011 05:48:27 +0000 (13:48 +0800)]
Updated to allow build number to be obtained far easier

13 years agoKernel/arm7 - Fixing, manages to start pmm init
John Hodge [Fri, 23 Sep 2011 05:47:37 +0000 (13:47 +0800)]
Kernel/arm7 - Fixing, manages to start pmm init

- VMM broken, doesn't map correctly

13 years agoKernel/arm7 - Serial works (realview-pb-a8)
John Hodge [Fri, 23 Sep 2011 03:26:49 +0000 (11:26 +0800)]
Kernel/arm7 - Serial works (realview-pb-a8)

13 years agoSpiderScript - Speedup fixes to bytecode
John Hodge [Wed, 21 Sep 2011 08:37:51 +0000 (16:37 +0800)]
SpiderScript - Speedup fixes to bytecode

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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.

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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