tpg/acess2.git
13 years agoKernel/x86_64 - Unbroke user stack creation
John Hodge [Sun, 16 Oct 2011 14:31:05 +0000 (22:31 +0800)]
Kernel/x86_64 - Unbroke user stack creation

13 years agoAdded PL110 to ARMv7 build
John Hodge [Sun, 16 Oct 2011 14:30:42 +0000 (22:30 +0800)]
Added PL110 to ARMv7 build

13 years agoKernel/armv7 - Fixing/breaking things
John Hodge [Sun, 16 Oct 2011 14:29:55 +0000 (22:29 +0800)]
Kernel/armv7 - Fixing/breaking things

- Fixed 32-bit signed division
- Added vterm config for PL110 to boot options

13 years agoModules/PL110 - Added ARM PL110 CLCD driver
John Hodge [Sun, 16 Oct 2011 14:28:41 +0000 (22:28 +0800)]
Modules/PL110 - Added ARM PL110 CLCD driver

- Added more to DrvUtils (video)
- Working on an API to parse Key/Value pairs (header only)

13 years agoCommenting and cleanup
John Hodge [Sat, 15 Oct 2011 13:46:03 +0000 (21:46 +0800)]
Commenting and cleanup

13 years agoKernel/armv7 - Added cache invalidate syscall
John Hodge [Sat, 15 Oct 2011 02:23:01 +0000 (10:23 +0800)]
Kernel/armv7 - Added cache invalidate syscall

13 years agoUsermode/ld-acess - Sorting and improvements to ld-acess
John Hodge [Sat, 15 Oct 2011 02:21:49 +0000 (10:21 +0800)]
Usermode/ld-acess - Sorting and improvements to ld-acess

- Removed ELF64 support if compiling for 32-bit (I think)
- Sorted the ELF code a little differently
- Adding ARM support

13 years agoUsermode/ld-acess - Syscall stub changes
John Hodge [Sat, 15 Oct 2011 00:24:34 +0000 (08:24 +0800)]
Usermode/ld-acess - Syscall stub changes

- SYS_CLONE stack switch moved to usermode
- ARMv7 syscall fixes

13 years agoUsermode/acess.ld - Fixed ARMv7 not loading headers
John Hodge [Sat, 15 Oct 2011 00:23:39 +0000 (08:23 +0800)]
Usermode/acess.ld - Fixed ARMv7 not loading headers

13 years agoKernel - Cleaning up proc/syscalls
John Hodge [Sat, 15 Oct 2011 00:22:33 +0000 (08:22 +0800)]
Kernel - Cleaning up proc/syscalls

- Moved SYS_CLONE stack switch to userland
- Cleaned up the Proc_StartUser spec (and removed memory leak)

13 years agoKernel/threads - Removing nested locks
John Hodge [Sat, 15 Oct 2011 00:22:08 +0000 (08:22 +0800)]
Kernel/threads - Removing nested locks

13 years agoKernel/armv7 - Bugfixing, can get to user relocation now
John Hodge [Sat, 15 Oct 2011 00:19:45 +0000 (08:19 +0800)]
Kernel/armv7 - Bugfixing, can get to user relocation now

13 years agoMakefile - Added a kernel mode make all (without install)
John Hodge [Fri, 14 Oct 2011 07:49:56 +0000 (15:49 +0800)]
Makefile - Added a kernel mode make all (without install)

13 years agoModules/InitRD - Added inode number lookup support
John Hodge [Fri, 14 Oct 2011 07:49:25 +0000 (15:49 +0800)]
Modules/InitRD - Added inode number lookup support

13 years agoKernel/armv7 - Implemetned Hivecs, fixing bugs
John Hodge [Fri, 14 Oct 2011 07:48:58 +0000 (15:48 +0800)]
Kernel/armv7 - Implemetned Hivecs, fixing bugs

13 years agoKernel/armv7 - Fixing bugs, Proc_Clone works now
John Hodge [Fri, 14 Oct 2011 06:11:47 +0000 (14:11 +0800)]
Kernel/armv7 - Fixing bugs, Proc_Clone works now

- Also fixed a few bugs in tpl_mm_phys_bitmap

13 years agoFixes to MakeReleaseSet script
John Hodge [Thu, 13 Oct 2011 13:44:06 +0000 (21:44 +0800)]
Fixes to MakeReleaseSet script

13 years agoKernel - Fixing bugs
John Hodge [Thu, 13 Oct 2011 13:43:39 +0000 (21:43 +0800)]
Kernel - Fixing bugs

13 years agoKernel/armv7 - Implementing MM_Clone and fixing MMU errors
John Hodge [Thu, 13 Oct 2011 13:42:43 +0000 (21:42 +0800)]
Kernel/armv7 - Implementing MM_Clone and fixing MMU errors

13 years agoModules/InitRD - Fixed .gitignore to remove depfiles too
John Hodge [Wed, 12 Oct 2011 04:39:40 +0000 (12:39 +0800)]
Modules/InitRD - Fixed .gitignore to remove depfiles too

13 years agoMakeReleaseSet - Made clean code before building
John Hodge [Wed, 12 Oct 2011 04:38:50 +0000 (12:38 +0800)]
MakeReleaseSet - Made clean code before building

13 years agoKernel/armv7 - Threading work
John Hodge [Wed, 12 Oct 2011 04:37:55 +0000 (12:37 +0800)]
Kernel/armv7 - Threading work

- Fixed WFI being executed while tasks are waiting
- Starting work on Proc_Clone

13 years agoKernel - Changed Threads_CloneTCB (removed Err ptr)
John Hodge [Wed, 12 Oct 2011 04:37:37 +0000 (12:37 +0800)]
Kernel - Changed Threads_CloneTCB (removed Err ptr)

13 years agoKernel/armv7 - Set ARMv7 to use the initrd for /Acess rel0.12
John Hodge [Wed, 12 Oct 2011 03:27:10 +0000 (11:27 +0800)]
Kernel/armv7 - Set ARMv7 to use the initrd for /Acess

13 years agoModules/InitRD - Fixed dependencies in InitRD script
John Hodge [Wed, 12 Oct 2011 03:26:56 +0000 (11:26 +0800)]
Modules/InitRD - Fixed dependencies in InitRD script

13 years agoUsermode - Fixed GAS/NASM detection
John Hodge [Wed, 12 Oct 2011 03:26:38 +0000 (11:26 +0800)]
Usermode - Fixed GAS/NASM detection

13 years agoMajor build system changes
John Hodge [Wed, 12 Oct 2011 03:12:29 +0000 (11:12 +0800)]
Major build system changes

- Implemented ARMv7 userspace
- Shifted build system about to do so
 > `make all` processes user apps first
   This is so they are compiled for the initrd
 > Syscalls header changed to use #define instead of enum
   Allows ARMv7 assembly file to use it
- Moved most of my libgcc functions to ld-acess
 > ld-acess needed them, so remove code duplication

NOTE: Broke dependencies for nasm in user code
- I need to properly separate NASM and GAS objects, will
  do that in next commit.

13 years agoKernel/armv7 - Fixed edge case in __divmod64
John Hodge [Wed, 12 Oct 2011 00:35:17 +0000 (08:35 +0800)]
Kernel/armv7 - Fixed edge case in __divmod64

13 years agoModules/GIC - Fixed interrupt handling
John Hodge [Wed, 12 Oct 2011 00:34:57 +0000 (08:34 +0800)]
Modules/GIC - Fixed interrupt handling

13 years agoUsermode/ld-acess - COPY relocation (no clue what it should do, but this works)
John Hodge [Tue, 11 Oct 2011 23:46:15 +0000 (07:46 +0800)]
Usermode/ld-acess - COPY relocation (no clue what it should do, but this works)

13 years agoKernel/x86_64 - Fixed Kernel not using COW, cleanup
John Hodge [Tue, 11 Oct 2011 23:45:04 +0000 (07:45 +0800)]
Kernel/x86_64 - Fixed Kernel not using COW, cleanup

- Didn't have the WP bit set, meaning the kernel wasn't
  using the PT.W bit, hence COW didn't work if the kernel changed
  the page.
- Cleaned up all the x86_64 debug code

13 years agoKernel/x86_64 - Now boots, login a little bugged though
John Hodge [Tue, 11 Oct 2011 14:06:54 +0000 (22:06 +0800)]
Kernel/x86_64 - Now boots, login a little bugged though

- Also added debug to threads if a thread wakes up when it shouldn't

13 years agoLibraries/ld-acess - Cleaning up
John Hodge [Tue, 11 Oct 2011 09:01:22 +0000 (17:01 +0800)]
Libraries/ld-acess - Cleaning up

13 years agoKernel - MMU usage fixes
John Hodge [Tue, 11 Oct 2011 09:00:43 +0000 (17:00 +0800)]
Kernel - MMU usage fixes

13 years agoKernel/x86_64 - Implemented COW, fixed PMM bugs
John Hodge [Tue, 11 Oct 2011 08:59:12 +0000 (16:59 +0800)]
Kernel/x86_64 - Implemented COW, fixed PMM bugs

- Also made kernel stack smaller

13 years agoKernel/armv7 - Added IRQ stack, changed IRQs to be disabled until after handling
John Hodge [Tue, 11 Oct 2011 01:45:03 +0000 (09:45 +0800)]
Kernel/armv7 - Added IRQ stack, changed IRQs to be disabled until after handling

13 years agoUsermode/ld-acess - Fixing Elf64 support (and incorrect Uint* sizes)
John Hodge [Sun, 9 Oct 2011 06:04:45 +0000 (14:04 +0800)]
Usermode/ld-acess - Fixing Elf64 support (and incorrect Uint* sizes)

13 years agoFix clean all script for renamed armv7 arch rel0.11
John Hodge [Sun, 9 Oct 2011 04:35:29 +0000 (12:35 +0800)]
Fix clean all script for renamed armv7 arch

13 years agoKernel/x86_64 - Fixed usage of IA32_FMASK
John Hodge [Sun, 9 Oct 2011 04:28:54 +0000 (12:28 +0800)]
Kernel/x86_64 - Fixed usage of IA32_FMASK

13 years agoModules/FDDv2 - Fixed incorrect usage of 'B', added to x86 config
John Hodge [Sun, 9 Oct 2011 04:25:41 +0000 (12:25 +0800)]
Modules/FDDv2 - Fixed incorrect usage of 'B', added to x86 config

13 years agoKernel - Cleaning up a little
John Hodge [Sun, 9 Oct 2011 04:20:50 +0000 (12:20 +0800)]
Kernel - Cleaning up a little

13 years agoKernel/x86_64 - Fixed not resetting IF after SYSCALL entry
John Hodge [Sun, 9 Oct 2011 04:20:24 +0000 (12:20 +0800)]
Kernel/x86_64 - Fixed not resetting IF after SYSCALL entry

13 years agoModules/ISADMA - Removed commented out cli/sti
John Hodge [Sun, 9 Oct 2011 04:19:40 +0000 (12:19 +0800)]
Modules/ISADMA - Removed commented out cli/sti

13 years agoModules/FDD - Heaps of changes when debugging, may be broken now
John Hodge [Sun, 9 Oct 2011 04:19:17 +0000 (12:19 +0800)]
Modules/FDD - Heaps of changes when debugging, may be broken now

13 years agoModules/FDDv2 - Completed, seems to work
John Hodge [Sun, 9 Oct 2011 04:19:06 +0000 (12:19 +0800)]
Modules/FDDv2 - Completed, seems to work

13 years agoModules/FDDv2 - VFS interface almost done, Caching added
John Hodge [Sun, 9 Oct 2011 03:01:59 +0000 (11:01 +0800)]
Modules/FDDv2 - VFS interface almost done, Caching added

13 years agoModules - Adding rewrite of the FDD driver
John Hodge [Sat, 8 Oct 2011 13:38:28 +0000 (21:38 +0800)]
Modules - Adding rewrite of the FDD driver

13 years agoMisc changes
John Hodge [Sat, 8 Oct 2011 10:50:58 +0000 (18:50 +0800)]
Misc changes

13 years agoModules/PS2KbMouse - Fixing PL050 bugs
John Hodge [Sat, 8 Oct 2011 10:49:33 +0000 (18:49 +0800)]
Modules/PS2KbMouse - Fixing PL050 bugs

13 years agoKernel/armv7 - Working on interrupt support, currently broken
John Hodge [Sat, 8 Oct 2011 10:48:57 +0000 (18:48 +0800)]
Kernel/armv7 - Working on interrupt support, currently broken

13 years agoModules/armv7 - GIC support coming along
John Hodge [Sat, 8 Oct 2011 10:48:27 +0000 (18:48 +0800)]
Modules/armv7 - GIC support coming along

13 years agoUsermode - More ARM stuff
John Hodge [Sat, 8 Oct 2011 10:48:02 +0000 (18:48 +0800)]
Usermode - More ARM stuff

13 years agoImplementing parts of the ARM usermode
John Hodge [Sat, 8 Oct 2011 10:47:31 +0000 (18:47 +0800)]
Implementing parts of the ARM usermode

13 years agoConfig - Added ARMv7 GIC to build conf
John Hodge [Fri, 7 Oct 2011 08:43:32 +0000 (16:43 +0800)]
Config - Added ARMv7 GIC to build conf

13 years agoModules/armv7 - Added stub IRQ_AddHandler to GIC
John Hodge [Fri, 7 Oct 2011 08:43:02 +0000 (16:43 +0800)]
Modules/armv7 - Added stub IRQ_AddHandler to GIC

13 years agoModules/armv7 - Fixing PL050 support
John Hodge [Fri, 7 Oct 2011 08:42:45 +0000 (16:42 +0800)]
Modules/armv7 - Fixing PL050 support

13 years agoKernel/arm7 - Implementing some MMU functions
John Hodge [Fri, 7 Oct 2011 08:42:07 +0000 (16:42 +0800)]
Kernel/arm7 - Implementing some MMU functions

13 years agoConfig - Removed UDI from build, never completed
John Hodge [Fri, 7 Oct 2011 01:04:04 +0000 (09:04 +0800)]
Config - Removed UDI from build, never completed

13 years agoNotes - Update to cross compile notes
John Hodge [Fri, 7 Oct 2011 01:03:42 +0000 (09:03 +0800)]
Notes - Update to cross compile notes

13 years agoKernel/x86_64 - Commenting and cleanup
John Hodge [Thu, 6 Oct 2011 15:19:03 +0000 (23:19 +0800)]
Kernel/x86_64 - Commenting and cleanup

13 years agoUsermode/libc - Look ma! setjmp
John Hodge [Thu, 6 Oct 2011 15:18:26 +0000 (23:18 +0800)]
Usermode/libc - Look ma! setjmp

13 years agoReworking usermode/libc to closer C compliance
John Hodge [Thu, 6 Oct 2011 14:16:43 +0000 (22:16 +0800)]
Reworking usermode/libc to closer C compliance

13 years agoKernel - Fixed vterm corruption at end of buffer
John Hodge [Wed, 5 Oct 2011 05:28:36 +0000 (13:28 +0800)]
Kernel - Fixed vterm corruption at end of buffer

13 years agoAcessNative - Fixing build
John Hodge [Wed, 5 Oct 2011 04:09:43 +0000 (12:09 +0800)]
AcessNative - Fixing build

13 years agoModules/PS2KbMouse - Fixed 8042 not being initialised
John Hodge [Wed, 5 Oct 2011 04:09:08 +0000 (12:09 +0800)]
Modules/PS2KbMouse - Fixed 8042 not being initialised

13 years agoKernel/proc - Fixed version display
John Hodge [Wed, 5 Oct 2011 04:08:41 +0000 (12:08 +0800)]
Kernel/proc - Fixed version display

13 years agoModules/armv7 - Adding a stub GIC driver
John Hodge [Tue, 4 Oct 2011 04:06:01 +0000 (12:06 +0800)]
Modules/armv7 - Adding a stub GIC driver

13 years agoUSB Testing
John Hodge [Tue, 4 Oct 2011 04:05:34 +0000 (12:05 +0800)]
USB Testing

13 years agoModules - Switched GNU99
John Hodge [Tue, 4 Oct 2011 04:05:03 +0000 (12:05 +0800)]
Modules - Switched GNU99

13 years agoModules/FDD - Trying to fix fdd behavior
John Hodge [Tue, 4 Oct 2011 04:04:35 +0000 (12:04 +0800)]
Modules/FDD - Trying to fix fdd behavior

13 years agoModules/USB - Fiddling with USB
John Hodge [Tue, 4 Oct 2011 04:01:54 +0000 (12:01 +0800)]
Modules/USB - Fiddling with USB

13 years agoKernel - Cleaning up unneeded messages
John Hodge [Tue, 4 Oct 2011 03:59:54 +0000 (11:59 +0800)]
Kernel - Cleaning up unneeded messages

13 years agoKernel/x86_64 - Bugfixing, cleaning up scheduling
John Hodge [Tue, 4 Oct 2011 03:56:36 +0000 (11:56 +0800)]
Kernel/x86_64 - Bugfixing, cleaning up scheduling

13 years agoModules/PS2KbMouse - Adding pl050 support
John Hodge [Tue, 4 Oct 2011 03:53:31 +0000 (11:53 +0800)]
Modules/PS2KbMouse - Adding pl050 support

13 years agoUsermode/ld-acess - Fixing elf64 support (and x86-64)
John Hodge [Tue, 4 Oct 2011 03:52:16 +0000 (11:52 +0800)]
Usermode/ld-acess - Fixing elf64 support (and x86-64)

13 years agoKernel/armv7 - Fixed lack of in*/out* functions
John Hodge [Tue, 4 Oct 2011 03:51:01 +0000 (11:51 +0800)]
Kernel/armv7 - Fixed lack of in*/out* functions

13 years agoKernel - Added pointer to IRQ callbacks
John Hodge [Wed, 28 Sep 2011 02:28:56 +0000 (10:28 +0800)]
Kernel - Added pointer to IRQ callbacks

13 years agoModules/USB - Working on things :)
John Hodge [Wed, 28 Sep 2011 01:40:06 +0000 (09:40 +0800)]
Modules/USB - Working on things :)

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

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