tpg/acess2.git
13 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

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

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

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

13 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

13 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

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

13 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

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

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

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

13 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

13 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

13 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

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

13 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

13 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

13 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 :(

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

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

13 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

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

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

13 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

13 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

13 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

13 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

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

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

13 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

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

13 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

13 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

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

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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

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

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

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

13 years agoBugfixing
John Hodge [Thu, 3 Jun 2010 03:23:19 +0000 (11:23 +0800)]
Bugfixing
- Fixing bug in module loader with x86_64
- Fixed debug reusing a va_list

13 years agoMore 32-bit int fixes
John Hodge [Mon, 31 May 2010 15:24:54 +0000 (23:24 +0800)]
More 32-bit int fixes

13 years agoDarn defaulting to 32-bit integers :(
John Hodge [Mon, 31 May 2010 15:23:12 +0000 (23:23 +0800)]
Darn defaulting to 32-bit integers :(

13 years agoSpeedups to physical memory allocation, fixed a stupid error in the
John Hodge [Mon, 31 May 2010 15:12:33 +0000 (23:12 +0800)]
Speedups to physical memory allocation, fixed a stupid error in the
stack moving code

13 years agoNew kernel stack, fixing pmem alloc bug, updated to maintain free page positions
John Hodge [Mon, 31 May 2010 15:01:17 +0000 (23:01 +0800)]
New kernel stack, fixing pmem alloc bug, updated to maintain free page positions
- Misc changes in other places

13 years agoYay! TSS issues fixed, now to work on the VMM
John Hodge [Mon, 31 May 2010 14:20:40 +0000 (22:20 +0800)]
Yay! TSS issues fixed, now to work on the VMM

13 years agoFixed GCC using sse instructions, fixing TSS support (and removed using
John Hodge [Mon, 31 May 2010 14:14:20 +0000 (22:14 +0800)]
Fixed GCC using sse instructions, fixing TSS support (and removed using
the TSS as a data segment in GetCPUNum

13 years agoDisabled debug in PMM, and fixed error in #UD reporting
John Hodge [Mon, 31 May 2010 03:01:21 +0000 (11:01 +0800)]
Disabled debug in PMM, and fixed error in #UD reporting

13 years agoFixed heap bug
John Hodge [Mon, 31 May 2010 02:51:14 +0000 (10:51 +0800)]
Fixed heap bug

13 years agoFixed bug with physical memory allocation, update MM_Allocate to check mapping before...
John Hodge [Mon, 31 May 2010 02:39:18 +0000 (10:39 +0800)]
Fixed bug with physical memory allocation, update MM_Allocate to check mapping before allocating.

13 years agoAdded page table dump and using INVPLG
John Hodge [Mon, 31 May 2010 02:32:00 +0000 (10:32 +0800)]
Added page table dump and using INVPLG

13 years agoCleaning up and adding page fault handler
John Hodge [Sun, 30 May 2010 01:23:26 +0000 (09:23 +0800)]
Cleaning up and adding page fault handler

13 years agoUpdated mm_phys to use Debug statements instead of Log()
John Hodge [Sat, 29 May 2010 06:09:53 +0000 (14:09 +0800)]
Updated mm_phys to use Debug statements instead of Log()

13 years agoChanged build system to not require calc
John Hodge [Sat, 29 May 2010 05:54:44 +0000 (13:54 +0800)]
Changed build system to not require calc
- Also made separate build counts for each arch
- changed the OBJDUMP variable to DISASM to allow better interoperability

13 years agoFixed typo, cleaned up stuff
John Hodge [Sat, 29 May 2010 05:45:38 +0000 (13:45 +0800)]
Fixed typo, cleaned up stuff

13 years agoFun bugs are fun, fixed MM_AllocPhysRange, now for more fun
John Hodge [Sat, 29 May 2010 04:05:23 +0000 (12:05 +0800)]
Fun bugs are fun, fixed MM_AllocPhysRange, now for more fun

13 years agoPhysical page counts are now filled
John Hodge [Sat, 29 May 2010 03:54:56 +0000 (11:54 +0800)]
Physical page counts are now filled

13 years agoChicken and egg problem, solved
John Hodge [Sat, 29 May 2010 03:19:25 +0000 (11:19 +0800)]
Chicken and egg problem, solved

13 years agoNow with less fail
John Hodge [Sat, 29 May 2010 01:02:52 +0000 (09:02 +0800)]
Now with less fail

13 years agoBitmap filling done
John Hodge [Sat, 29 May 2010 00:23:07 +0000 (08:23 +0800)]
Bitmap filling done

13 years agoNearly completed physical init
John Hodge [Sat, 29 May 2010 00:02:31 +0000 (08:02 +0800)]
Nearly completed physical init

13 years agoUntested work on physical mm setup
John Hodge [Fri, 28 May 2010 15:32:38 +0000 (23:32 +0800)]
Untested work on physical mm setup

13 years agoFixes to 64-bit port, now working on physical memory allocation
John Hodge [Fri, 28 May 2010 11:58:44 +0000 (19:58 +0800)]
Fixes to 64-bit port, now working on physical memory allocation

13 years agoMore work on error and interrupt handling (almost got it working)
John Hodge [Fri, 28 May 2010 06:24:14 +0000 (14:24 +0800)]
More work on error and interrupt handling (almost got it working)
- Note: Need to fix gdt to fix entry 0x10

13 years agoMore work on x86_64 build, error handling and IDT
John Hodge [Thu, 27 May 2010 14:06:21 +0000 (22:06 +0800)]
More work on x86_64 build, error handling and IDT

13 years agoWorking on 64-bit IDT
John Hodge [Thu, 27 May 2010 13:02:51 +0000 (21:02 +0800)]
Working on 64-bit IDT

13 years agox86_64 starts without erroring, reaches high mem and full 64-bit
John Hodge [Thu, 27 May 2010 12:10:53 +0000 (20:10 +0800)]
x86_64 starts without erroring, reaches high mem and full 64-bit

13 years agox86_64 now compiles and builds :) :)
John Hodge [Thu, 27 May 2010 11:38:59 +0000 (19:38 +0800)]
x86_64 now compiles and builds :) :)

13 years agoVM8086 stub for x86_64 build
John Hodge [Thu, 27 May 2010 05:57:40 +0000 (13:57 +0800)]
VM8086 stub for x86_64 build

13 years agoBugfixing
John Hodge [Thu, 27 May 2010 05:57:16 +0000 (13:57 +0800)]
Bugfixing

13 years agoWork on ext2
John Hodge [Thu, 27 May 2010 05:56:58 +0000 (13:56 +0800)]
Work on ext2

13 years agoMore work on Ext2 write (and fixed an error made earlier)
John Hodge [Mon, 24 May 2010 14:06:08 +0000 (22:06 +0800)]
More work on Ext2 write (and fixed an error made earlier)

13 years agoWorking on UDI support
John Hodge [Mon, 24 May 2010 05:35:04 +0000 (13:35 +0800)]
Working on UDI support

13 years agoslight change to memory map
John Hodge [Mon, 24 May 2010 05:34:55 +0000 (13:34 +0800)]
slight change to memory map

13 years agoUpdate to tVFS_Node to support hard links
John Hodge [Mon, 24 May 2010 05:32:21 +0000 (13:32 +0800)]
Update to tVFS_Node to support hard links

14 years agoWorking on mem management
John Hodge [Mon, 17 May 2010 15:03:17 +0000 (23:03 +0800)]
Working on mem management

14 years agoAdded architectue documentation
John Hodge [Sun, 16 May 2010 11:24:21 +0000 (19:24 +0800)]
Added architectue documentation
- also added a fixed typo

14 years agoSlight memory organisation changes
John Hodge [Sat, 15 May 2010 05:10:38 +0000 (13:10 +0800)]
Slight memory organisation changes

14 years agoUpdates to CPU Determining and initialising fractal mappings
John Hodge [Sat, 15 May 2010 02:49:55 +0000 (10:49 +0800)]
Updates to CPU Determining and initialising fractal mappings

14 years agoMore work on x86_64 port, near compiling now
John Hodge [Fri, 14 May 2010 12:54:59 +0000 (20:54 +0800)]
More work on x86_64 port, near compiling now

14 years agoMore memory management functions implemented, other fixes too
John Hodge [Thu, 13 May 2010 23:55:36 +0000 (07:55 +0800)]
More memory management functions implemented, other fixes too

14 years agoSpeedup fix to PUSH_GPR and POP_GPR
John Hodge [Thu, 13 May 2010 15:09:57 +0000 (23:09 +0800)]
Speedup fix to PUSH_GPR and POP_GPR

14 years agoFixed bugs caused by the segregation of timer code.
John Hodge [Thu, 13 May 2010 13:51:35 +0000 (21:51 +0800)]
Fixed bugs caused by the segregation of timer code.
- Also removed MM_IsUser from x86 and replaced it with MM_GetFlags
- Added Kernel/time.c (I should have added this earlier)

14 years agoMore work on x86_64 port, also cleaned up a little of the API.
John Hodge [Thu, 13 May 2010 13:36:53 +0000 (21:36 +0800)]
More work on x86_64 port, also cleaned up a little of the API.
- Fixed notices in the GenSyscalls.php script

14 years agoWorking on separating architecture dependent and independent stuff,
John Hodge [Thu, 13 May 2010 04:40:09 +0000 (12:40 +0800)]
Working on separating architecture dependent and independent stuff,
Also did more work on getting the x86_64 port working.
- Related changes to VESA driver and usermode

14 years agoRemoved the need for xRM and xRMDIR (also finished fixing core Makefile)
John Hodge [Thu, 13 May 2010 04:38:00 +0000 (12:38 +0800)]
Removed the need for xRM and xRMDIR (also finished fixing core Makefile)

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