tpg/acess2.git
12 years agoModules/InitRD - Added gitignore to stop autogenerated files.c being flaged as untracked
John Hodge [Sun, 1 Apr 2012 02:35:40 +0000 (10:35 +0800)]
Modules/InitRD - Added gitignore to stop autogenerated files.c being flaged as untracked

12 years agoUsermode/AxWin3 WM - Fixed cursor position not changing in edit control when arrow...
John Hodge [Sun, 1 Apr 2012 02:34:10 +0000 (10:34 +0800)]
Usermode/AxWin3 WM - Fixed cursor position not changing in edit control when arrow keys used

12 years agoKernel/vm8086 - Added debugging message for 0F XX instructions
John Hodge [Sun, 1 Apr 2012 02:32:31 +0000 (10:32 +0800)]
Kernel/vm8086 - Added debugging message for 0F XX instructions

12 years agoTESTING - Patches to implement Ctrl-C in VTerm
John Hodge [Tue, 27 Mar 2012 02:33:16 +0000 (10:33 +0800)]
TESTING - Patches to implement Ctrl-C in VTerm

12 years agoKernel - Fixed PCI bus enumeration bug, switched x86 serial debug to 115200baud
John Hodge [Tue, 27 Mar 2012 02:00:00 +0000 (10:00 +0800)]
Kernel - Fixed PCI bus enumeration bug, switched x86 serial debug to 115200baud

- PCI wasn't enumuerating extra busses located

12 years agoUsermode/login - Disabled screen clear so kernel boot messages can be seen
John Hodge [Sat, 24 Mar 2012 05:48:12 +0000 (13:48 +0800)]
Usermode/login - Disabled screen clear so kernel boot messages can be seen

12 years agoModules/InitRD - Disabled tree dump, it makes things slow :)
John Hodge [Sat, 24 Mar 2012 05:47:50 +0000 (13:47 +0800)]
Modules/InitRD - Disabled tree dump, it makes things slow :)

12 years agoKernel - Put debug output to the vterm to allow rhw debugging without a serial port
John Hodge [Sat, 24 Mar 2012 05:47:06 +0000 (13:47 +0800)]
Kernel - Put debug output to the vterm to allow rhw debugging without a serial port

12 years agoModules/RTL8139 - Improved debugging for RHW bugs
John Hodge [Sat, 24 Mar 2012 05:46:45 +0000 (13:46 +0800)]
Modules/RTL8139 - Improved debugging for RHW bugs

12 years agoIPStack - Fixed bug in ping code
John Hodge [Fri, 23 Mar 2012 04:04:28 +0000 (12:04 +0800)]
IPStack - Fixed bug in ping code

12 years agoKernel/RingBuffer - Fix spinlock not being zeroed
John Hodge [Thu, 22 Mar 2012 04:09:34 +0000 (12:09 +0800)]
Kernel/RingBuffer - Fix spinlock not being zeroed

12 years agoModules/IPStack - Moving to reduction of memcpy usage
John Hodge [Wed, 21 Mar 2012 14:07:57 +0000 (22:07 +0800)]
Modules/IPStack - Moving to reduction of memcpy usage

- Apears to have broken something in TCP receive... somehow.
 > Lock in RingBuffer_Write never succeeds

12 years agoAdding some newer files to initrd
John Hodge [Fri, 16 Mar 2012 09:56:36 +0000 (17:56 +0800)]
Adding some newer files to initrd

12 years agoFixing KMod support
John Hodge [Fri, 16 Mar 2012 08:02:27 +0000 (16:02 +0800)]
Fixing KMod support

- Combined user and kernel ELF relocation code
- Enabled -ffreestanding for Kernel
- NOTE: Possible race condition in kernel relocation

12 years agoModules - x86_64 compile fix to ATA and LVM
John Hodge [Thu, 15 Mar 2012 14:27:44 +0000 (22:27 +0800)]
Modules - x86_64 compile fix to ATA and LVM

12 years agoKernel - Fixing bugs in VT scrolling and keyboard mappings exposed by RHW tests
John Hodge [Thu, 15 Mar 2012 14:26:52 +0000 (22:26 +0800)]
Kernel - Fixing bugs in VT scrolling and keyboard mappings exposed by RHW tests

12 years agoAcessNative - Implementing SendMessage/GetMessage
John Hodge [Wed, 14 Mar 2012 06:07:44 +0000 (14:07 +0800)]
AcessNative - Implementing SendMessage/GetMessage

12 years agoKernel/messages - Fix compile error in debug
John Hodge [Wed, 14 Mar 2012 06:07:34 +0000 (14:07 +0800)]
Kernel/messages - Fix compile error in debug

12 years agoAcessNative - Possible fix to ioctl() bugs
John Hodge [Sun, 11 Mar 2012 06:43:18 +0000 (14:43 +0800)]
AcessNative - Possible fix to ioctl() bugs

12 years agoUsermode/axwin3 - Little additions and bugfixes
John Hodge [Sun, 11 Mar 2012 06:24:35 +0000 (14:24 +0800)]
Usermode/axwin3 - Little additions and bugfixes

12 years agoModules/Mouse - Fixing bugs, removing debug
John Hodge [Sun, 11 Mar 2012 03:21:12 +0000 (11:21 +0800)]
Modules/Mouse - Fixing bugs, removing debug

- Mouse multiplexer now works
- AxWin3 uses it nicely
- TODO: Fix AxWin3 arrow key handling

12 years agoModules - Implementing mouse multiplexer
John Hodge [Sun, 11 Mar 2012 01:30:18 +0000 (09:30 +0800)]
Modules - Implementing mouse multiplexer

- Only used by USB Mouse atm
- Untested, but compiles

12 years agoModules/UHCI - Fixed interrupt bug that caused keyboard to not work
John Hodge [Sat, 10 Mar 2012 10:00:43 +0000 (18:00 +0800)]
Modules/UHCI - Fixed interrupt bug that caused keyboard to not work

- Also implemented interrupt load management

12 years agoMerge branch 'master' of git://git.ucc.asn.au/tpg/acess2
John Hodge [Thu, 8 Mar 2012 11:33:25 +0000 (19:33 +0800)]
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2

Conflicts:
KernelLand/Modules/Display/Tegra2Vid/main.c

12 years agoModules/Tegra2Vid - Fiddling!
John Hodge [Thu, 8 Mar 2012 11:31:52 +0000 (19:31 +0800)]
Modules/Tegra2Vid - Fiddling!

12 years agoModules/AHCI - Initial fiddling
John Hodge [Thu, 8 Mar 2012 11:30:14 +0000 (19:30 +0800)]
Modules/AHCI - Initial fiddling

12 years agoModules/Tegra2Vid - Slight debugging updates
John Hodge [Tue, 6 Mar 2012 03:54:32 +0000 (11:54 +0800)]
Modules/Tegra2Vid - Slight debugging updates

12 years agoModules/RTL8169 - Misc
John Hodge [Tue, 6 Mar 2012 03:54:21 +0000 (11:54 +0800)]
Modules/RTL8169 - Misc

12 years agoModules/USB - Fixing lack of locking, some commenting updates
John Hodge [Tue, 6 Mar 2012 03:53:43 +0000 (11:53 +0800)]
Modules/USB - Fixing lack of locking, some commenting updates

12 years agoModules/USB HID - Keyboard support!
John Hodge [Mon, 5 Mar 2012 14:07:57 +0000 (22:07 +0800)]
Modules/USB HID - Keyboard support!

12 years agoMerge branch 'master' of ssh.ucc.asn.au:tpg/acess2
John Hodge [Mon, 5 Mar 2012 08:49:07 +0000 (16:49 +0800)]
Merge branch 'master' of ssh.ucc.asn.au:tpg/acess2

12 years agoModules/USB HID - Shell USB Keyboard
John Hodge [Mon, 5 Mar 2012 08:47:33 +0000 (16:47 +0800)]
Modules/USB HID - Shell USB Keyboard

12 years agoModules/RTL8169 - Incomplete
John Hodge [Mon, 5 Mar 2012 00:41:02 +0000 (08:41 +0800)]
Modules/RTL8169 - Incomplete

12 years agoKernel - Slight comming change
John Hodge [Thu, 1 Mar 2012 13:03:38 +0000 (21:03 +0800)]
Kernel - Slight comming change

12 years agoModules/Keyboard - Improving documentation
John Hodge [Thu, 1 Mar 2012 13:01:41 +0000 (21:01 +0800)]
Modules/Keyboard - Improving documentation

12 years agomissed file
John Hodge [Thu, 1 Mar 2012 12:00:48 +0000 (20:00 +0800)]
missed file

12 years agoKernel/VTerm - Fixing meta-key handling
John Hodge [Thu, 1 Mar 2012 11:37:47 +0000 (19:37 +0800)]
Kernel/VTerm - Fixing meta-key handling

12 years agoKernel - Split key translation out of PS2Keyboard
John Hodge [Thu, 1 Mar 2012 10:21:01 +0000 (18:21 +0800)]
Kernel - Split key translation out of PS2Keyboard

- Also unified all keyboard events into a meta-driver (/Devices/Keyboard)
- NOTE: Possibly broken VTerm arrow keys due to API change

12 years agoModules/USB_HID - Fixed report parsing bug that caused mouse not not detect buttons...
John Hodge [Wed, 29 Feb 2012 13:40:38 +0000 (21:40 +0800)]
Modules/USB_HID - Fixed report parsing bug that caused mouse not not detect buttons correctly

12 years agoModules/USB - Interrupt endpoints work
John Hodge [Wed, 29 Feb 2012 13:22:54 +0000 (21:22 +0800)]
Modules/USB - Interrupt endpoints work

- Fixed interrupt callback sleeping in the host's interrupt thread

12 years agoUSB/UHCI - Cleanup
John Hodge [Wed, 29 Feb 2012 00:21:15 +0000 (08:21 +0800)]
USB/UHCI - Cleanup

12 years agoModules/USB - Fixed UHCI (partially)
John Hodge [Tue, 28 Feb 2012 14:19:10 +0000 (22:19 +0800)]
Modules/USB - Fixed UHCI (partially)

- UHCI now can enumerate the bus correctly
 > Interrupts are broken it seems (well, mouse doesn't work in AxWin)
- OHCI still needs to be ported
- Fixed a bug in HID mouse where it would dereference NULL if FindDir
  didn't find a node.

12 years agoKernel/USB - Still broken, reworking host controller API to give driver more information
John Hodge [Sun, 26 Feb 2012 13:48:20 +0000 (21:48 +0800)]
Kernel/USB - Still broken, reworking host controller API to give driver more information

- Moved interrupt polling to host driver
- OHCI not converted yet
- UHCI is buggy, doesn't manage to read descriptors

12 years agoKernel - Added another event and allowed clearing of events
John Hodge [Sun, 26 Feb 2012 13:25:07 +0000 (21:25 +0800)]
Kernel - Added another event and allowed clearing of events

- Also allowed Proc_GetCurThread to be accessed outside
 > It's needed for events

12 years agoKernel/x86 - Added option to disable preemption, and used it
John Hodge [Sun, 26 Feb 2012 13:24:42 +0000 (21:24 +0800)]
Kernel/x86 - Added option to disable preemption, and used it

12 years agoModules/USB - Slight correctness fixes, and fixed a race condition
John Hodge [Sat, 25 Feb 2012 14:21:03 +0000 (22:21 +0800)]
Modules/USB - Slight correctness fixes, and fixed a race condition

- Still has interrupt issues, possibly a transaction causing the entire
  queue to stop

12 years agoModules/UHCI - Just a little more debug
John Hodge [Fri, 24 Feb 2012 03:26:44 +0000 (11:26 +0800)]
Modules/UHCI - Just a little more debug

12 years agoExtra - Added -nousb and -notee flags to RunQemu
John Hodge [Thu, 23 Feb 2012 16:05:38 +0000 (00:05 +0800)]
Extra - Added -nousb and -notee flags to RunQemu

12 years agoModules/UHCI - Big cleanups to code... but there is a bug somewhere
John Hodge [Thu, 23 Feb 2012 16:04:28 +0000 (00:04 +0800)]
Modules/UHCI - Big cleanups to code... but there is a bug somewhere

- After a while (i.e. before the mouse is set up) interrupts stop firing
  or the TDs aren't being processed properly

12 years agoModules/USB - Documention/Debugging, and fixed an API use
John Hodge [Thu, 23 Feb 2012 16:03:59 +0000 (00:03 +0800)]
Modules/USB - Documention/Debugging, and fixed an API use

12 years agoKernel - Slight semaphore fix
John Hodge [Thu, 23 Feb 2012 16:03:10 +0000 (00:03 +0800)]
Kernel - Slight semaphore fix

12 years agoModules/LVM - Fiddling
John Hodge [Tue, 21 Feb 2012 10:43:14 +0000 (18:43 +0800)]
Modules/LVM - Fiddling

Also fixed a slight bug in the USBMouse code

12 years agoUsermode/AxWin3 - Fixing mouse code to handle non 3 button mice :)
John Hodge [Tue, 21 Feb 2012 10:41:23 +0000 (18:41 +0800)]
Usermode/AxWin3 - Fixing mouse code to handle non 3 button mice :)

12 years agoAcessNative - Fixing a couple of bugs exposed by AxWin
John Hodge [Sun, 19 Feb 2012 14:31:37 +0000 (22:31 +0800)]
AcessNative - Fixing a couple of bugs exposed by AxWin

12 years agoUpdated readme
John Hodge [Sun, 19 Feb 2012 08:30:43 +0000 (16:30 +0800)]
Updated readme

12 years agoAcessNative - Fixes, now can run again (and spawn/kill new processes)
John Hodge [Sun, 19 Feb 2012 08:07:35 +0000 (16:07 +0800)]
AcessNative - Fixes, now can run again (and spawn/kill new processes)

12 years agoModules - Working on LVM layer (not integrated yet)
John Hodge [Fri, 17 Feb 2012 14:14:52 +0000 (22:14 +0800)]
Modules - Working on LVM layer (not integrated yet)

12 years agoModules/USB - Made HIDMouse a folder
John Hodge [Fri, 17 Feb 2012 09:22:19 +0000 (17:22 +0800)]
Modules/USB - Made HIDMouse a folder

12 years agoKernel - Update VFS API to use off_t/size_t instead of Uint64
John Hodge [Fri, 17 Feb 2012 05:37:32 +0000 (13:37 +0800)]
Kernel - Update VFS API to use off_t/size_t instead of Uint64

- Also fixed compilation issues in x86_64/ARMv7

12 years agoModules/USB - Slight commenting updates in HID
John Hodge [Fri, 17 Feb 2012 03:31:26 +0000 (11:31 +0800)]
Modules/USB - Slight commenting updates in HID

12 years agoModules/USB - Crash prevention in UHCI, VFS interface for HIDMouse
John Hodge [Fri, 17 Feb 2012 03:18:15 +0000 (11:18 +0800)]
Modules/USB - Crash prevention in UHCI, VFS interface for HIDMouse

12 years agoKernel - Added snprintf function
John Hodge [Fri, 17 Feb 2012 03:17:38 +0000 (11:17 +0800)]
Kernel - Added snprintf function

12 years agoModules/USB - Untested updates to USB mouse support
John Hodge [Thu, 16 Feb 2012 14:58:14 +0000 (22:58 +0800)]
Modules/USB - Untested updates to USB mouse support

12 years agoModules/USB - Working on HID support (and fixed some little bugs)
John Hodge [Thu, 16 Feb 2012 13:14:29 +0000 (21:14 +0800)]
Modules/USB - Working on HID support (and fixed some little bugs)

- Had to do slight API changes (currently not documented)

12 years agoKernel - Fixed bug in x86/proc.c (caused early task preemption)
John Hodge [Thu, 16 Feb 2012 12:55:47 +0000 (20:55 +0800)]
Kernel - Fixed bug in x86/proc.c (caused early task preemption)

- Also updated some commenting

12 years agoUsermode/AxWin3 - Fixed bug with underlined items in menus
John Hodge [Tue, 14 Feb 2012 07:34:50 +0000 (15:34 +0800)]
Usermode/AxWin3 - Fixed bug with underlined items in menus

12 years agoUsermode/include - Slight fixes
John Hodge [Tue, 14 Feb 2012 07:34:33 +0000 (15:34 +0800)]
Usermode/include - Slight fixes

12 years agoKernel/vfs - Fixed edge case bug with chroots
John Hodge [Tue, 14 Feb 2012 07:34:05 +0000 (15:34 +0800)]
Kernel/vfs - Fixed edge case bug with chroots

- Trims trailing slash off chroot

12 years agoAcessNative - Little fixes to get it running on 64-bit
John Hodge [Tue, 14 Feb 2012 07:33:32 +0000 (15:33 +0800)]
AcessNative - Little fixes to get it running on 64-bit

- Still broken though :)

12 years agoKernel - Fixed freeze (I think)
John Hodge [Mon, 13 Feb 2012 10:33:42 +0000 (18:33 +0800)]
Kernel - Fixed freeze (I think)

- Caused by Proc_Scheduler not ACKing IRQ before doing shite

12 years agoKernel - Reenabled locking on debug output
John Hodge [Mon, 13 Feb 2012 10:21:41 +0000 (18:21 +0800)]
Kernel - Reenabled locking on debug output

- Also initialised work queue for timers (didn't matter, but it's a
  neatness thing)

12 years agoKernel/timers - Cleaning up timer code... might have made more mess
John Hodge [Mon, 13 Feb 2012 10:18:26 +0000 (18:18 +0800)]
Kernel/timers - Cleaning up timer code... might have made more mess

- Moved callbacks into a worker thread
- BUG: Possibly some race conditions causing lockups
- Re-enabled preemption :)
- Fixed workqueue not setting ->Next to NULL

12 years agoModules/EHCI - Header, no code yet
John Hodge [Sat, 11 Feb 2012 03:47:59 +0000 (11:47 +0800)]
Modules/EHCI - Header, no code yet

12 years agoKernel/x86 - Slight fixes to PMM statistics
John Hodge [Fri, 10 Feb 2012 10:57:47 +0000 (18:57 +0800)]
Kernel/x86 - Slight fixes to PMM statistics

12 years agoModules/OHCI - Working on it, a few little bugs and non-impls left
John Hodge [Fri, 10 Feb 2012 10:57:13 +0000 (18:57 +0800)]
Modules/OHCI - Working on it, a few little bugs and non-impls left

12 years agoBuildConf - Added OHCI to x86 build
John Hodge [Fri, 10 Feb 2012 08:17:57 +0000 (16:17 +0800)]
BuildConf - Added OHCI to x86 build

12 years agoModules/OHCI - Implementation work, not usable yet, but getting there
John Hodge [Fri, 10 Feb 2012 08:17:32 +0000 (16:17 +0800)]
Modules/OHCI - Implementation work, not usable yet, but getting there

12 years agoModules/UHCI - Cosmetic changes
John Hodge [Fri, 10 Feb 2012 08:17:13 +0000 (16:17 +0800)]
Modules/UHCI - Cosmetic changes

12 years agoModules/ATA - Bugfix to MBR extended partition handling
John Hodge [Fri, 10 Feb 2012 08:16:11 +0000 (16:16 +0800)]
Modules/ATA - Bugfix to MBR extended partition handling

- Extended partitions are based off the offset, not the start of the
  disk.

12 years agoNodules/USB - Working on OHCI
John Hodge [Thu, 9 Feb 2012 10:54:40 +0000 (18:54 +0800)]
Nodules/USB - Working on OHCI

12 years agoMisc warning killing
John Hodge [Thu, 9 Feb 2012 10:54:26 +0000 (18:54 +0800)]
Misc warning killing

12 years agoUSB - Slight host API change
John Hodge [Wed, 8 Feb 2012 08:38:04 +0000 (16:38 +0800)]
USB - Slight host API change

12 years agoMerge branch 'master' of git://git.ucc.asn.au/tpg/acess2
John Hodge [Wed, 8 Feb 2012 06:59:58 +0000 (14:59 +0800)]
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2

12 years agoRandom fixes with Tegra2 debugging
John Hodge [Wed, 8 Feb 2012 06:59:44 +0000 (14:59 +0800)]
Random fixes with Tegra2 debugging

12 years agoFixing compile warnings
John Hodge [Wed, 8 Feb 2012 06:59:04 +0000 (14:59 +0800)]
Fixing compile warnings

12 years agoAdded USB back into the main build
John Hodge [Wed, 8 Feb 2012 06:22:15 +0000 (14:22 +0800)]
Added USB back into the main build

12 years agoUsermode/include - Fixes so user sys/ works in AcessNative
John Hodge [Wed, 8 Feb 2012 06:21:56 +0000 (14:21 +0800)]
Usermode/include - Fixes so user sys/ works in AcessNative

12 years agoAcessNative - Implemented events, don't trust them
John Hodge [Wed, 8 Feb 2012 06:21:40 +0000 (14:21 +0800)]
AcessNative - Implemented events, don't trust them

12 years agoUSB - Cleaning a little
John Hodge [Wed, 8 Feb 2012 06:21:22 +0000 (14:21 +0800)]
USB - Cleaning a little

12 years agoOops
John Hodge [Tue, 7 Feb 2012 12:41:08 +0000 (20:41 +0800)]
Oops

12 years agoMore work on neatening code
John Hodge [Tue, 7 Feb 2012 09:58:36 +0000 (17:58 +0800)]
More work on neatening code

12 years agoSorting source tree a bit
John Hodge [Tue, 7 Feb 2012 09:25:05 +0000 (17:25 +0800)]
Sorting source tree a bit

12 years agoKernel - Slight reworks to timer code
John Hodge [Tue, 7 Feb 2012 08:38:04 +0000 (16:38 +0800)]
Kernel - Slight reworks to timer code

12 years agoUsermode - Cleanups courtesey of scan-build
John Hodge [Tue, 7 Feb 2012 08:36:42 +0000 (16:36 +0800)]
Usermode - Cleanups courtesey of scan-build

12 years agoAcessNative - Fixing for recent kernel changes
John Hodge [Tue, 7 Feb 2012 08:34:10 +0000 (16:34 +0800)]
AcessNative - Fixing for recent kernel changes

12 years agoMerge branch 'master' of git://git.ucc.asn.au/tpg/acess2
John Hodge [Mon, 6 Feb 2012 06:20:20 +0000 (14:20 +0800)]
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2

Conflicts:
Kernel/drv/vterm.c

12 years agoKernel/ARMv7 - Fixed not using ASIDs
John Hodge [Mon, 6 Feb 2012 06:18:49 +0000 (14:18 +0800)]
Kernel/ARMv7 - Fixed not using ASIDs

12 years agoUsermode - Added device detection to DHCP client
John Hodge [Sun, 5 Feb 2012 14:03:36 +0000 (22:03 +0800)]
Usermode - Added device detection to DHCP client

12 years agoNetworking - Reworked route table management
John Hodge [Sun, 5 Feb 2012 09:58:52 +0000 (17:58 +0800)]
Networking - Reworked route table management

- Changed to using meaningful file names instead of indexes
- DHCP client now registers a default route, traffic passes

12 years agoNetworking - Working on DHCP client (and related changes)
John Hodge [Sun, 5 Feb 2012 04:10:35 +0000 (12:10 +0800)]
Networking - Working on DHCP client (and related changes)

- Fixing broadcast behavior
- Cleaning up IPStack debug
- Added userspace rand()
- Slight commenting changes

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