tpg/acess2.git
13 years agoKernel/armv7 - Fixed error messages having invalid addresses
John Hodge [Fri, 21 Oct 2011 01:28:10 +0000 (09:28 +0800)]
Kernel/armv7 - Fixed error messages having invalid addresses

13 years agoKernel - memmove improved (but with an assumption)
John Hodge [Fri, 21 Oct 2011 01:27:45 +0000 (09:27 +0800)]
Kernel - memmove improved (but with an assumption)

13 years agoKernel/armv7 - Moved to asssembly 32-bit divide
John Hodge [Thu, 20 Oct 2011 23:37:54 +0000 (07:37 +0800)]
Kernel/armv7 - Moved to asssembly 32-bit divide

13 years agoKernel/armv7 - Fixed Proc_NewKThread, included lib.S in Makefile
John Hodge [Thu, 20 Oct 2011 14:32:04 +0000 (22:32 +0800)]
Kernel/armv7 - Fixed Proc_NewKThread, included lib.S in Makefile

13 years agoKernel/armv7 - Improved memcpy
John Hodge [Thu, 20 Oct 2011 14:31:21 +0000 (22:31 +0800)]
Kernel/armv7 - Improved memcpy

13 years agoKernel/vterm - Removed an unneeded divide
John Hodge [Thu, 20 Oct 2011 14:29:54 +0000 (22:29 +0800)]
Kernel/vterm - Removed an unneeded divide

13 years agoKernel/armv7 - Fixed worker thread creation
John Hodge [Thu, 20 Oct 2011 13:20:01 +0000 (21:20 +0800)]
Kernel/armv7 - Fixed worker thread creation

13 years agoKernel/armv7 - Fixing some unneeded errors
John Hodge [Thu, 20 Oct 2011 13:13:42 +0000 (21:13 +0800)]
Kernel/armv7 - Fixing some unneeded errors

13 years agoKernel - Updated free's error checking to print the return addr
John Hodge [Thu, 20 Oct 2011 13:12:31 +0000 (21:12 +0800)]
Kernel - Updated free's error checking to print the return addr

13 years agoModules/PL110 - Added support for the Versatile version
John Hodge [Thu, 20 Oct 2011 13:12:06 +0000 (21:12 +0800)]
Modules/PL110 - Added support for the Versatile version

13 years agoKernel/armv7 - Fixed MM_Clone bug, moved cache invalidate to main.c
John Hodge [Thu, 20 Oct 2011 11:13:56 +0000 (19:13 +0800)]
Kernel/armv7 - Fixed MM_Clone bug, moved cache invalidate to main.c

13 years agoUsermode/ld-acess - Fixed ARM relocations
John Hodge [Thu, 20 Oct 2011 11:13:22 +0000 (19:13 +0800)]
Usermode/ld-acess - Fixed ARM relocations

13 years agoMakefile - Added source output to x86_64 DISASM variable
John Hodge [Thu, 20 Oct 2011 04:02:45 +0000 (12:02 +0800)]
Makefile - Added source output to x86_64 DISASM variable

13 years agoKernel/x86_64 - Added backtrace on user page fault
John Hodge [Thu, 20 Oct 2011 04:02:30 +0000 (12:02 +0800)]
Kernel/x86_64 - Added backtrace on user page fault

13 years agoUsermode/ld-acess - Fixed error in x86_64 clone syscall
John Hodge [Thu, 20 Oct 2011 04:01:46 +0000 (12:01 +0800)]
Usermode/ld-acess - Fixed error in x86_64 clone syscall

13 years agoUsermode/libc - Fixed libc from assuming 32-bit pointer size
John Hodge [Thu, 20 Oct 2011 04:01:26 +0000 (12:01 +0800)]
Usermode/libc - Fixed libc from assuming 32-bit pointer size

13 years agoApplications/cat - Added error check
John Hodge [Thu, 20 Oct 2011 04:01:10 +0000 (12:01 +0800)]
Applications/cat - Added error check

13 years agoModules/PL110 - Helps if I fix this too
John Hodge [Wed, 19 Oct 2011 12:50:02 +0000 (20:50 +0800)]
Modules/PL110 - Helps if I fix this too

13 years agoModules/VESA - Changed to use DrvUtil functions
John Hodge [Wed, 19 Oct 2011 04:31:50 +0000 (12:31 +0800)]
Modules/VESA - Changed to use DrvUtil functions

13 years agoKernel/APIs - Moved buffer mode to FBInfo
John Hodge [Wed, 19 Oct 2011 04:31:23 +0000 (12:31 +0800)]
Kernel/APIs - Moved buffer mode to FBInfo

13 years agoKernel - Fixed error when checking syscall params
John Hodge [Wed, 19 Oct 2011 04:30:47 +0000 (12:30 +0800)]
Kernel - Fixed error when checking syscall params

13 years agoUsermode/ld-acess - Implemented R_836_COPY and R_X86_64_COPY
John Hodge [Wed, 19 Oct 2011 04:29:12 +0000 (12:29 +0800)]
Usermode/ld-acess - Implemented R_836_COPY and R_X86_64_COPY

13 years agoUsermode/ld-acess - Fixed crash when arguments are passed to user apps
John Hodge [Wed, 19 Oct 2011 04:22:58 +0000 (12:22 +0800)]
Usermode/ld-acess - Fixed crash when arguments are passed to user apps

13 years agoKernel/x86 - Compile fixes for newer gcc
John Hodge [Tue, 18 Oct 2011 15:06:31 +0000 (23:06 +0800)]
Kernel/x86 - Compile fixes for newer gcc

13 years agoKernel - Doxygen fixes
John Hodge [Tue, 18 Oct 2011 15:05:09 +0000 (23:05 +0800)]
Kernel - Doxygen fixes

13 years agoKernel/drvutil - Adding software cursor support
John Hodge [Tue, 18 Oct 2011 10:59:07 +0000 (18:59 +0800)]
Kernel/drvutil - Adding software cursor support

13 years agoKernel/x86 - Fixed warnings in newer versions of GCC
John Hodge [Tue, 18 Oct 2011 10:58:41 +0000 (18:58 +0800)]
Kernel/x86 - Fixed warnings in newer versions of GCC

13 years agoMisc fixes, and I think I broke ld-acess x86_64 a while back
John Hodge [Mon, 17 Oct 2011 15:15:32 +0000 (23:15 +0800)]
Misc fixes, and I think I broke ld-acess x86_64 a while back

13 years agoUsermode - Build fixes (slight ones)
John Hodge [Mon, 17 Oct 2011 14:59:04 +0000 (22:59 +0800)]
Usermode - Build fixes (slight ones)

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

13 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

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

13 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

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

13 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

13 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

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

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

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

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

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

13 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

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

13 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

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

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