tpg/acess2.git
13 years agoAcessNative - Now can use the `dir` CLIShell builtin
John Hodge [Mon, 24 Oct 2011 01:17:41 +0000 (09:17 +0800)]
AcessNative - Now can use the `dir` CLIShell builtin

13 years agoKernel/DrvUtil - Fixed compile error on ARMv7
John Hodge [Sun, 23 Oct 2011 13:45:08 +0000 (21:45 +0800)]
Kernel/DrvUtil - Fixed compile error on ARMv7

13 years agoUsermode/ld-acess - Fixed warning when debug is enabled
John Hodge [Sun, 23 Oct 2011 13:44:14 +0000 (21:44 +0800)]
Usermode/ld-acess - Fixed warning when debug is enabled

13 years agoKernel/VTerm - Fixed not changing VT resolution when default resolution is unavaliable
John Hodge [Sun, 23 Oct 2011 13:43:15 +0000 (21:43 +0800)]
Kernel/VTerm - Fixed not changing VT resolution when default resolution is unavaliable

13 years agoAcessNative/ld-acess - Fixed forgetting to update for API changes
John Hodge [Sun, 23 Oct 2011 13:33:49 +0000 (21:33 +0800)]
AcessNative/ld-acess - Fixed forgetting to update for API changes

13 years agoKernel - Fixed infinite loop in memmove (exposed by AcessNative's use of SDL)
John Hodge [Sun, 23 Oct 2011 03:59:52 +0000 (11:59 +0800)]
Kernel - Fixed infinite loop in memmove (exposed by AcessNative's use of SDL)

13 years agoUsermode - Finally cleaned up ELF32 relocation
John Hodge [Sun, 23 Oct 2011 03:58:29 +0000 (11:58 +0800)]
Usermode - Finally cleaned up ELF32 relocation

- No more Uint32 and friends, uint32_t/Elf32_Word instead
- Also moved definition of off_t (should be in unistd.h though)

13 years agoMakefile - Added version number configuration
John Hodge [Sun, 23 Oct 2011 03:56:53 +0000 (11:56 +0800)]
Makefile - Added version number configuration

13 years agoAcessNative - Cleanup and slight fixes.
John Hodge [Sun, 23 Oct 2011 03:54:42 +0000 (11:54 +0800)]
AcessNative - Cleanup and slight fixes.

- Shared elf relocation with Usermode ld-acess
- Reduced ammount of code that mixes Acess and native headers
- Shifted server syscall handling into a thread so SDL doesn't do
  event handling / initialisation in a thread.

13 years agoMisc - Fixed all-install not setting up destination dirs/static files
John Hodge [Sat, 22 Oct 2011 12:10:20 +0000 (20:10 +0800)]
Misc - Fixed all-install not setting up destination dirs/static files

13 years agoUsermode/AxWin2 - Made the cursor a little neater
John Hodge [Sat, 22 Oct 2011 12:06:45 +0000 (20:06 +0800)]
Usermode/AxWin2 - Made the cursor a little neater

13 years agoKernel/drvutil - Added 24bpp support
John Hodge [Sat, 22 Oct 2011 12:06:29 +0000 (20:06 +0800)]
Kernel/drvutil - Added 24bpp support

13 years agoMakeReleaseSet - Fixed two tiny issues
John Hodge [Sat, 22 Oct 2011 10:16:29 +0000 (18:16 +0800)]
MakeReleaseSet - Fixed two tiny issues

13 years agoUsermode/axwin2 - Added full mouse/cursor support (no input yet though :) rel0.13
John Hodge [Sat, 22 Oct 2011 09:46:24 +0000 (17:46 +0800)]
Usermode/axwin2 - Added full mouse/cursor support (no input yet though :)

13 years agoKernel/APIs - Commenting fix in Joystick
John Hodge [Sat, 22 Oct 2011 09:45:51 +0000 (17:45 +0800)]
Kernel/APIs - Commenting fix in Joystick

13 years agoUsermode/include - Terminal device changes (TODO: use kernel version only)
John Hodge [Sat, 22 Oct 2011 09:44:33 +0000 (17:44 +0800)]
Usermode/include - Terminal device changes (TODO: use kernel version only)

13 years agoKernel/VTerm - Rewrote cursor handling to support FB mode cursors.
John Hodge [Sat, 22 Oct 2011 09:43:16 +0000 (17:43 +0800)]
Kernel/VTerm - Rewrote cursor handling to support FB mode cursors.

- Cursor is now displayed all the time (unless explicitly hidden)
  due to problems in detecting if it should be displayed.

13 years agoKernel/drvutil - Fixes to cursor handling
John Hodge [Sat, 22 Oct 2011 09:41:05 +0000 (17:41 +0800)]
Kernel/drvutil - Fixes to cursor handling

13 years agoKernel/armv7 - Debug changes, nothing more
John Hodge [Sat, 22 Oct 2011 07:25:07 +0000 (15:25 +0800)]
Kernel/armv7 - Debug changes, nothing more

13 years agoModules/VESA - Cleaned the code a little
John Hodge [Sat, 22 Oct 2011 07:22:18 +0000 (15:22 +0800)]
Modules/VESA - Cleaned the code a little

13 years agoModules/BochsGA - Added DrvUtil cursor support
John Hodge [Sat, 22 Oct 2011 07:20:29 +0000 (15:20 +0800)]
Modules/BochsGA - Added DrvUtil cursor support

13 years agoKernel/Makefile - Fixed error when starting a new build
John Hodge [Sat, 22 Oct 2011 07:10:17 +0000 (15:10 +0800)]
Kernel/Makefile - Fixed error when starting a new build

13 years agoKernel/api_video - Oops, forgot this
John Hodge [Sat, 22 Oct 2011 07:09:45 +0000 (15:09 +0800)]
Kernel/api_video - Oops, forgot this

13 years agoKernel/VTerm - Disabled cursor unless the terminal has a read blocking
John Hodge [Sat, 22 Oct 2011 07:09:11 +0000 (15:09 +0800)]
Kernel/VTerm - Disabled cursor unless the terminal has a read blocking

13 years agoModules/VESA - Added cursor support (with blinking)
John Hodge [Sat, 22 Oct 2011 07:08:14 +0000 (15:08 +0800)]
Modules/VESA - Added cursor support (with blinking)

13 years agoKernel/drvutil - Fiddling with software cursor
John Hodge [Sat, 22 Oct 2011 01:28:28 +0000 (09:28 +0800)]
Kernel/drvutil - Fiddling with software cursor

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)

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