tpg/acess2.git
12 years agoKernel/x86_64 - Misc commenting
John Hodge [Mon, 17 Oct 2011 14:58:09 +0000 (22:58 +0800)]
Kernel/x86_64 - Misc commenting

12 years agoKernel/x86 - Fixed bug in user start, hidden by not updating usermode
John Hodge [Mon, 17 Oct 2011 14:57:31 +0000 (22:57 +0800)]
Kernel/x86 - Fixed bug in user start, hidden by not updating usermode

12 years agoModules/PS2KbMouse - Bugfixing (alignment issue)
John Hodge [Mon, 17 Oct 2011 14:57:02 +0000 (22:57 +0800)]
Modules/PS2KbMouse - Bugfixing (alignment issue)

12 years agoModules/BochsGA - Debugging and porting to newer APIs
John Hodge [Mon, 17 Oct 2011 14:53:30 +0000 (22:53 +0800)]
Modules/BochsGA - Debugging and porting to newer APIs

- Also fixed up the DrvUtil_Video functions

12 years agoModules/SunRPC - Stubbed
John Hodge [Mon, 17 Oct 2011 03:12:12 +0000 (11:12 +0800)]
Modules/SunRPC - Stubbed

12 years agoUsermode/include - A pile of hack known as the Acess fcntl.h
John Hodge [Mon, 17 Oct 2011 03:11:07 +0000 (11:11 +0800)]
Usermode/include - A pile of hack known as the Acess fcntl.h

- Macros a few Acess syscalls into the posix equivalents

12 years agoModules - Added DEPS variable for inter-module includes
John Hodge [Mon, 17 Oct 2011 03:08:57 +0000 (11:08 +0800)]
Modules - Added DEPS variable for inter-module includes

12 years agoOops, forgot the smp config
John Hodge [Mon, 17 Oct 2011 03:03:11 +0000 (11:03 +0800)]
Oops, forgot the smp config

12 years agoChanged i386 build to x86
John Hodge [Mon, 17 Oct 2011 02:59:06 +0000 (10:59 +0800)]
Changed i386 build to x86

12 years agoModules/PL110 - Commenting
John Hodge [Mon, 17 Oct 2011 02:28:56 +0000 (10:28 +0800)]
Modules/PL110 - Commenting

12 years agoKernel/armv7 - Bugfixing (PAddr != PAGE_SIZE)
John Hodge [Mon, 17 Oct 2011 02:28:38 +0000 (10:28 +0800)]
Kernel/armv7 - Bugfixing (PAddr != PAGE_SIZE)

12 years agoKernel/heap - Debug fixes
John Hodge [Mon, 17 Oct 2011 02:27:33 +0000 (10:27 +0800)]
Kernel/heap - Debug fixes

12 years agoKernel/tpl_mm_phys - Added improved debug when allocating >1 pages
John Hodge [Mon, 17 Oct 2011 02:26:59 +0000 (10:26 +0800)]
Kernel/tpl_mm_phys - Added improved debug when allocating >1 pages

12 years agoKernel - Heap debugging changes
John Hodge [Sun, 16 Oct 2011 14:32:52 +0000 (22:32 +0800)]
Kernel - Heap debugging changes

12 years agoKernel/vterm - Changed VTerm to be less x86 centric
John Hodge [Sun, 16 Oct 2011 14:31:26 +0000 (22:31 +0800)]
Kernel/vterm - Changed VTerm to be less x86 centric

- Reordered parts to avoid resising vterms if the driver does not
  support the base resolution
- Removed the x86 VGA driver from the dependency list, now loaded
  using Module_EnsureLoaded

12 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

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

12 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

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

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

12 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

12 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

12 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

12 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

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

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

12 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

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

12 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

12 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

12 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

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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

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

12 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

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

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

12 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

12 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

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

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

12 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

12 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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

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

12 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

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

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

12 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

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

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

12 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

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

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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

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