tpg/acess2.git
14 years agoFixing commenting (always nice)
John Hodge [Sun, 22 Aug 2010 02:37:46 +0000 (10:37 +0800)]
Fixing commenting (always nice)

14 years agoChanged spinlock mechananisim
John Hodge [Sun, 22 Aug 2010 02:25:26 +0000 (10:25 +0800)]
Changed spinlock mechananisim
- LOCK, TIGHTLOCK and VTIGHTLOCK have been removed
- Replaced by SHORTLOCK and Mutex_Acquire
 > SHORTLOCK disables interrupts and busy polls the lock waiting for other CPUs
 > Mutex_Acquire puts the thread to sleep if the lock is in use, and is given the
   lock when woken.

14 years agoFixed heap troubles (and bugs in VFS_GetTruePath)
John Hodge [Fri, 20 Aug 2010 10:53:48 +0000 (18:53 +0800)]
Fixed heap troubles (and bugs in VFS_GetTruePath)

14 years agoImproving the debug capabilities of the heap code, changed VFS to use const char...
John Hodge [Fri, 20 Aug 2010 01:49:49 +0000 (09:49 +0800)]
Improving the debug capabilities of the heap code, changed VFS to use const char* instead of char*
- Also, misc work on SpiderScript

14 years agoUpdated sample scripts (and included a static version)
John Hodge [Tue, 17 Aug 2010 01:41:33 +0000 (09:41 +0800)]
Updated sample scripts (and included a static version)

14 years agoSpiderScript! (with a sample script)
John Hodge [Tue, 17 Aug 2010 01:40:31 +0000 (09:40 +0800)]
SpiderScript! (with a sample script)

14 years agoSlight commenting changes
John Hodge [Tue, 17 Aug 2010 01:38:33 +0000 (09:38 +0800)]
Slight commenting changes

14 years agoAdded strncmp
John Hodge [Tue, 17 Aug 2010 01:38:13 +0000 (09:38 +0800)]
Added strncmp

14 years agoCommenting is nice
John Hodge [Tue, 17 Aug 2010 01:37:53 +0000 (09:37 +0800)]
Commenting is nice

14 years agoMore work on IPv4/IPv6 firewalling support
John Hodge [Tue, 17 Aug 2010 01:35:04 +0000 (09:35 +0800)]
More work on IPv4/IPv6 firewalling support

14 years agoAdded timeout support to the ATA driver (timeout is 2 seconds)
John Hodge [Tue, 17 Aug 2010 01:34:22 +0000 (09:34 +0800)]
Added timeout support to the ATA driver (timeout is 2 seconds)

14 years agoFixed behavior of VTerm when driver is set at runtime
John Hodge [Sat, 7 Aug 2010 00:45:12 +0000 (08:45 +0800)]
Fixed behavior of VTerm when driver is set at runtime
Writing a script parser for use with init (SpiderScript)
NOTE: Init does not compile atm, please go to an old commit or remove
 the references to spiderscript in it to compile

14 years agoFixed cursor behavior in VTerm
John Hodge [Mon, 2 Aug 2010 01:34:11 +0000 (09:34 +0800)]
Fixed cursor behavior in VTerm

14 years agoFixed mode switch behavior
John Hodge [Mon, 2 Aug 2010 01:22:13 +0000 (09:22 +0800)]
Fixed mode switch behavior

14 years agoUst cleaning up
John Hodge [Sun, 1 Aug 2010 14:11:05 +0000 (22:11 +0800)]
Ust cleaning up

14 years agoMore behavior fixes (changes to resolution only apply on a mode set)
John Hodge [Sun, 1 Aug 2010 13:08:07 +0000 (21:08 +0800)]
More behavior fixes (changes to resolution only apply on a mode set)

14 years agoChanging VTerm behavior (Get/Set Width/Height now returns the text/framebuffer
John Hodge [Sun, 1 Aug 2010 12:49:49 +0000 (20:49 +0800)]
Changing VTerm behavior (Get/Set Width/Height now returns the text/framebuffer
dimensions depending on the curren buffer mode)

14 years agoCleanup (NTFS fiddling and fixed debug hexdump)
John Hodge [Sun, 1 Aug 2010 11:46:43 +0000 (19:46 +0800)]
Cleanup (NTFS fiddling and fixed debug hexdump)

14 years agoWorking on NTFS driver
John Hodge [Sun, 1 Aug 2010 05:17:22 +0000 (13:17 +0800)]
Working on NTFS driver

14 years agoRemoved debug from ATA_ReadFS (that bug is fixed)
John Hodge [Sun, 1 Aug 2010 05:05:11 +0000 (13:05 +0800)]
Removed debug from ATA_ReadFS (that bug is fixed)

14 years agoNo more VFS debug please
John Hodge [Sun, 1 Aug 2010 05:04:13 +0000 (13:04 +0800)]
No more VFS debug please

14 years agoLinking and MM Fiddling (mm now handles large pages - well, partially)
John Hodge [Sun, 1 Aug 2010 03:15:10 +0000 (11:15 +0800)]
Linking and MM Fiddling (mm now handles large pages - well, partially)

14 years agoBugfixing the x86_64 port
John Hodge [Sun, 1 Aug 2010 01:39:09 +0000 (09:39 +0800)]
Bugfixing the x86_64 port

14 years agoDebugging GPF in VFS (non-canoical addr) - Added catch for root mount failure
John Hodge [Sat, 31 Jul 2010 15:48:08 +0000 (23:48 +0800)]
Debugging GPF in VFS (non-canoical addr) - Added catch for root mount failure

14 years agoSlight doxygen fix
John Hodge [Sat, 31 Jul 2010 15:17:00 +0000 (23:17 +0800)]
Slight doxygen fix

14 years agoWorking on MP build (now can run, just crashes due to CPUs treading on each other...
John Hodge [Sat, 31 Jul 2010 15:10:04 +0000 (23:10 +0800)]
Working on MP build (now can run, just crashes due to CPUs treading on each other's toes)

14 years agoRemoved old debug from init
John Hodge [Sat, 31 Jul 2010 15:09:35 +0000 (23:09 +0800)]
Removed old debug from init
- Just cleaning up my tree :)

14 years agoMP Scheduling work (slightly buggy, but no impact on SP builds)
John Hodge [Sat, 31 Jul 2010 15:08:45 +0000 (23:08 +0800)]
MP Scheduling work (slightly buggy, but no impact on SP builds)

14 years agoRemoved debug
John Hodge [Sat, 31 Jul 2010 15:08:10 +0000 (23:08 +0800)]
Removed debug

14 years agoMakign debug functions thread safe
John Hodge [Sat, 31 Jul 2010 15:07:56 +0000 (23:07 +0800)]
Makign debug functions thread safe

14 years agoFixes to x86_64 - Fixed MM_phys corrupting memory (forgot to initialise bitmap pointers)
John Hodge [Sat, 31 Jul 2010 15:06:33 +0000 (23:06 +0800)]
Fixes to x86_64 - Fixed MM_phys corrupting memory (forgot to initialise bitmap pointers)
- Some other changes to allow compilation against new threading code (not yet in tree)

14 years agoNo more ATA debug (fixed the Qemu bug)
John Hodge [Sat, 31 Jul 2010 14:43:02 +0000 (22:43 +0800)]
No more ATA debug (fixed the Qemu bug)

14 years agoUpdating IPStack to have firewall hooks (well, the start of them)
John Hodge [Sat, 31 Jul 2010 11:52:46 +0000 (19:52 +0800)]
Updating IPStack to have firewall hooks (well, the start of them)

14 years agoBroke out the ATA IO functions (Read/WriteDMA into their own file to improve code...
John Hodge [Sat, 31 Jul 2010 11:49:24 +0000 (19:49 +0800)]
Broke out the ATA IO functions (Read/WriteDMA into their own file to improve code neatness)

14 years agoHelps if I test in BOTH builds
John Hodge [Wed, 28 Jul 2010 14:51:38 +0000 (22:51 +0800)]
Helps if I test in BOTH builds

14 years agoBugfixed MP scheduling code in MP build
John Hodge [Wed, 28 Jul 2010 14:47:23 +0000 (22:47 +0800)]
Bugfixed MP scheduling code in MP build

14 years agoFixing MultiCPU thread distribution (only tested in single-cpu)
John Hodge [Wed, 28 Jul 2010 12:48:19 +0000 (20:48 +0800)]
Fixing MultiCPU thread distribution (only tested in single-cpu)

14 years agoWorking on the x86 bit port (caused some changes to try and get it
John Hodge [Tue, 27 Jul 2010 07:41:17 +0000 (15:41 +0800)]
Working on the x86 bit port (caused some changes to try and get it
to compile on more strict warnings)
- Also working on that *#@% Qemu ATA bug

14 years agoAdded -mno-red-zone
John Hodge [Sun, 25 Jul 2010 13:29:09 +0000 (21:29 +0800)]
Added -mno-red-zone

14 years agoFixing bugs and removing debug statements
John Hodge [Sat, 24 Jul 2010 03:59:59 +0000 (11:59 +0800)]
Fixing bugs and removing debug statements
- Killing debug in timer code
- Changed the syscall method back to using int 0xAC (for now)
- Working on RTL8139 driver
- More UDI fiddling (I'm going to move to the UDIref implementation
  soon, just triying to make it compile properly)

14 years agoMisc changes, working on the VTerm's VT100 support and CLIShell's input
John Hodge [Thu, 22 Jul 2010 13:12:12 +0000 (21:12 +0800)]
Misc changes, working on the VTerm's VT100 support and CLIShell's input

14 years agoChanging syscall interface to jump to KUSER_CODE, allowing use
John Hodge [Thu, 22 Jul 2010 13:11:15 +0000 (21:11 +0800)]
Changing syscall interface to jump to KUSER_CODE, allowing use
of SYSENTER/SYSCALL instead of int 0x80 to be selected at runtime
- Also moved timer start earlier in startup

14 years agoFixed timer code bug (not ACKing after enabling)
John Hodge [Thu, 22 Jul 2010 13:09:17 +0000 (21:09 +0800)]
Fixed timer code bug (not ACKing after enabling)
- Also fixed bug in timekeeping constants

14 years agoUpdating gitignore to ignore the linker maps generated by the usermode library makefile
John Hodge [Tue, 20 Jul 2010 15:20:04 +0000 (23:20 +0800)]
Updating gitignore to ignore the linker maps generated by the usermode library makefile

14 years agoCleaning up files
John Hodge [Tue, 20 Jul 2010 15:19:33 +0000 (23:19 +0800)]
Cleaning up files

14 years agoMajor revamp to FAT code, fixing LFN issues and other bugs
John Hodge [Tue, 20 Jul 2010 15:09:48 +0000 (23:09 +0800)]
Major revamp to FAT code, fixing LFN issues and other bugs
Notable changes:
- LFN now caches per entry (resolving multiple read issue)
- Fixed a bug in FAT12 non-cached FAT reads
- Cleaned up the code and reduced the number of memcpys in FAT_Read

14 years agoBit of debug cleanup, fixing bugs found on GrUB2
John Hodge [Tue, 20 Jul 2010 13:51:45 +0000 (21:51 +0800)]
Bit of debug cleanup, fixing bugs found on GrUB2
- NOTE: Grub 2 does not pass the kernel binary path in the command line
  Hence, the argc code breaks in system.c
- Starting on a RTL8139 driver
- Fixed logging/debug calls to use \r\n, fixing serial debugging

14 years agoMore MP fiddling
John Hodge [Sun, 18 Jul 2010 11:29:57 +0000 (19:29 +0800)]
More MP fiddling

14 years agoMore MP work (now APs start and use the LAPIC timer)
John Hodge [Sun, 18 Jul 2010 04:19:23 +0000 (12:19 +0800)]
More MP work (now APs start and use the LAPIC timer)

14 years agoAdding support for the Local APIC Timer (requires some hacks)
John Hodge [Sat, 17 Jul 2010 13:24:04 +0000 (21:24 +0800)]
Adding support for the Local APIC Timer (requires some hacks)

14 years agoAPs start nicely now.
John Hodge [Sat, 17 Jul 2010 10:23:04 +0000 (18:23 +0800)]
APs start nicely now.
TODO: Get APIC timers working

14 years agoWorking on multiprocessing support
John Hodge [Fri, 16 Jul 2010 09:41:21 +0000 (17:41 +0800)]
Working on multiprocessing support
- Also some cleanup in other parts

14 years agoFiddling with usermode PCI dump
John Hodge [Thu, 15 Jul 2010 16:42:43 +0000 (00:42 +0800)]
Fiddling with usermode PCI dump

14 years agoDoes help if the biggest offender is actually a #if DEBUG'ed
John Hodge [Thu, 15 Jul 2010 15:48:16 +0000 (23:48 +0800)]
Does help if the biggest offender is actually a #if DEBUG'ed

14 years agoATA Debug was getting annoying
John Hodge [Thu, 15 Jul 2010 15:46:45 +0000 (23:46 +0800)]
ATA Debug was getting annoying

14 years agoCleaning up some old code
John Hodge [Thu, 15 Jul 2010 15:29:50 +0000 (23:29 +0800)]
Cleaning up some old code

14 years agoDisabled ELF debugging
John Hodge [Thu, 15 Jul 2010 15:04:49 +0000 (23:04 +0800)]
Disabled ELF debugging

14 years agoFixing binary loader bugs relating to page sizes
John Hodge [Thu, 15 Jul 2010 15:03:19 +0000 (23:03 +0800)]
Fixing binary loader bugs relating to page sizes

14 years agoATA Fixes, Module compilation fixups
John Hodge [Thu, 15 Jul 2010 13:26:51 +0000 (21:26 +0800)]
ATA Fixes, Module compilation fixups
- Working on getting the InitRD working again
- Also, I shouldn't blame stable code for bugs (elf loader was blamed
  for issued arising from the module compilation)
- Also been slightly fiddling with the IPStack code

14 years agoFiddling with ATA driver to try and fix RHW issues
John Hodge [Wed, 14 Jul 2010 08:47:09 +0000 (16:47 +0800)]
Fiddling with ATA driver to try and fix RHW issues

14 years agoCleaning up a bit
John Hodge [Wed, 14 Jul 2010 02:30:39 +0000 (10:30 +0800)]
Cleaning up a bit

14 years agoCleaning up some debug, fixing cosmetic bugs in usermode apps
John Hodge [Tue, 13 Jul 2010 14:38:53 +0000 (22:38 +0800)]
Cleaning up some debug, fixing cosmetic bugs in usermode apps

14 years agoAnd the same for udivdi3, [TPG]: you are a ning-nong
John Hodge [Tue, 13 Jul 2010 13:07:27 +0000 (21:07 +0800)]
And the same for udivdi3, [TPG]: you are a ning-nong

14 years agoNice job, making umoddi3 call umoddi3 in the usermode stuff :(
John Hodge [Tue, 13 Jul 2010 13:06:26 +0000 (21:06 +0800)]
Nice job, making umoddi3 call umoddi3 in the usermode stuff :(

14 years agoIncreased user stack size, fiddling with error recovery
John Hodge [Tue, 13 Jul 2010 12:29:34 +0000 (20:29 +0800)]
Increased user stack size, fiddling with error recovery
- Also, next time use 0x1000, not 4069 (as opposed to 4096)

14 years agoFiddling with multiboot modules (and some bug searching in ATA code)
John Hodge [Mon, 5 Jul 2010 16:35:49 +0000 (00:35 +0800)]
Fiddling with multiboot modules (and some bug searching in ATA code)

14 years agoCleaning up a little, and possibly a speed increase
John Hodge [Sun, 4 Jul 2010 05:47:32 +0000 (13:47 +0800)]
Cleaning up a little, and possibly a speed increase

14 years agoCommenting is nice (also disabled debug in FDD driver)
John Hodge [Sun, 4 Jul 2010 05:43:32 +0000 (13:43 +0800)]
Commenting is nice (also disabled debug in FDD driver)

14 years agoFixing handling of Multiboot modules
John Hodge [Sun, 4 Jul 2010 05:41:47 +0000 (13:41 +0800)]
Fixing handling of Multiboot modules

14 years agoEnabled heaps of debug in ATA driver to try and solve Qemu issue
John Hodge [Sun, 4 Jul 2010 03:31:01 +0000 (11:31 +0800)]
Enabled heaps of debug in ATA driver to try and solve Qemu issue

14 years agoFiddling with VESA cursor, cleaning up VESA and VTerm
John Hodge [Sun, 4 Jul 2010 03:30:32 +0000 (11:30 +0800)]
Fiddling with VESA cursor, cleaning up VESA and VTerm

14 years agoDisabled KPanic mode switch, cleanup in 64-bit PMM
John Hodge [Sun, 4 Jul 2010 03:29:33 +0000 (11:29 +0800)]
Disabled KPanic mode switch, cleanup in 64-bit PMM

14 years agoAdded current time syscall, commented some others
John Hodge [Sun, 4 Jul 2010 03:28:31 +0000 (11:28 +0800)]
Added current time syscall, commented some others

14 years agoFiddling with default config
John Hodge [Sun, 4 Jul 2010 03:27:37 +0000 (11:27 +0800)]
Fiddling with default config

14 years agoForgot common.h for NTFS
John Hodge [Sun, 4 Jul 2010 03:27:08 +0000 (11:27 +0800)]
Forgot common.h for NTFS

14 years agoFixed potential coherency bug in timer code
John Hodge [Sun, 4 Jul 2010 03:26:01 +0000 (11:26 +0800)]
Fixed potential coherency bug in timer code

14 years agoWorking on NTFS driver more (currently debug only, and untested)
John Hodge [Sun, 4 Jul 2010 03:24:50 +0000 (11:24 +0800)]
Working on NTFS driver more (currently debug only, and untested)

14 years agoAdded a check to the FDD driver to disable it at runtime
John Hodge [Sun, 4 Jul 2010 03:24:15 +0000 (11:24 +0800)]
Added a check to the FDD driver to disable it at runtime

14 years agoAttempt to fix multiboot module support
John Hodge [Sun, 4 Jul 2010 03:23:27 +0000 (11:23 +0800)]
Attempt to fix multiboot module support

14 years agocommitting partial fixup to ATA code
John Hodge [Fri, 2 Jul 2010 09:16:08 +0000 (17:16 +0800)]
committing partial fixup to ATA code
- Been cleaning up to try and fix read bug (only first read actually works)

14 years agoBugfix to debug code (fixing usage of va_args)
John Hodge [Fri, 2 Jul 2010 07:05:28 +0000 (15:05 +0800)]
Bugfix to debug code (fixing usage of va_args)

14 years agoVESA cursor now works, TODO: Allow setting of colour
John Hodge [Sun, 27 Jun 2010 03:01:35 +0000 (11:01 +0800)]
VESA cursor now works, TODO: Allow setting of colour

14 years agoCleaning up timer code, implementing cursor in vesa
John Hodge [Sun, 27 Jun 2010 02:52:55 +0000 (10:52 +0800)]
Cleaning up timer code, implementing cursor in vesa
- fixed the usermode 64-bit div bug

14 years agoTrying to fix the string corruption bug, working on NTFS driver
John Hodge [Tue, 22 Jun 2010 00:37:39 +0000 (08:37 +0800)]
Trying to fix the string corruption bug, working on NTFS driver

14 years agoWorking on a NTFS implementation (it's only going to be RO)
John Hodge [Sun, 20 Jun 2010 13:51:38 +0000 (21:51 +0800)]
Working on a NTFS implementation (it's only going to be RO)

14 years agoDivision bug hidden, now only shows when 64-bit division is needed
John Hodge [Sun, 20 Jun 2010 10:01:52 +0000 (18:01 +0800)]
Division bug hidden, now only shows when 64-bit division is needed

14 years agoMisc debug to fix a printf bug, traced the bug to 64-bit division code
John Hodge [Sun, 20 Jun 2010 09:53:38 +0000 (17:53 +0800)]
Misc debug to fix a printf bug, traced the bug to 64-bit division code

14 years agoFixing a kernel #PF caused by an unitialised VFS method
John Hodge [Sun, 20 Jun 2010 09:28:50 +0000 (17:28 +0800)]
Fixing a kernel #PF caused by an unitialised VFS method

14 years agoRemoved debug statement, not needed anymore
John Hodge [Sun, 20 Jun 2010 06:08:46 +0000 (14:08 +0800)]
Removed debug statement, not needed anymore

14 years agoFixing behavior of Threads_CloneTCB
John Hodge [Sun, 20 Jun 2010 06:04:29 +0000 (14:04 +0800)]
Fixing behavior of Threads_CloneTCB
- Also removed the SMP CPU number hack in x86, now uses the TSS trick

14 years agoCleaning up and attempting to fix these darn heisenbugs
John Hodge [Sat, 19 Jun 2010 12:56:54 +0000 (20:56 +0800)]
Cleaning up and attempting to fix these darn heisenbugs

14 years agoFixed some edge cases in heap where the spinlock was not releases
John Hodge [Sat, 19 Jun 2010 02:57:04 +0000 (10:57 +0800)]
Fixed some edge cases in heap where the spinlock was not releases

14 years agoSlight changes to PCI driver to clean up code
John Hodge [Sat, 19 Jun 2010 02:55:35 +0000 (10:55 +0800)]
Slight changes to PCI driver to clean up code

14 years agoReworked part of the PCI driver to better allow PCI bridges
John Hodge [Sat, 19 Jun 2010 02:23:50 +0000 (10:23 +0800)]
Reworked part of the PCI driver to better allow PCI bridges

14 years agoFixed #PF in Memory Manager (mm_virt.h was using KERNEL_BASE as a prefix)
John Hodge [Sat, 19 Jun 2010 02:04:10 +0000 (10:04 +0800)]
Fixed #PF in Memory Manager (mm_virt.h was using KERNEL_BASE as a prefix)

14 years agoFixed the EnvP array passed to Proc_StartUser not being NULL terminated
John Hodge [Fri, 18 Jun 2010 09:32:02 +0000 (17:32 +0800)]
Fixed the EnvP array passed to Proc_StartUser not being NULL terminated

14 years agoRemoved debug in module loader, shortened the length of the logging timestamps
John Hodge [Fri, 18 Jun 2010 08:48:14 +0000 (16:48 +0800)]
Removed debug in module loader, shortened the length of the logging timestamps

14 years agono more debug plz
John Hodge [Fri, 18 Jun 2010 08:46:14 +0000 (16:46 +0800)]
no more debug plz

14 years agoVESA scrolling bug fixed (caused by the removal of memcpyd)
John Hodge [Fri, 18 Jun 2010 08:45:38 +0000 (16:45 +0800)]
VESA scrolling bug fixed (caused by the removal of memcpyd)

14 years agoIt's been too long since I committed
John Hodge [Fri, 18 Jun 2010 08:42:31 +0000 (16:42 +0800)]
It's been too long since I committed
- Mostly fixes to bugs exposed/caused by the 64-bit port or the new
  compiler.

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