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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

14 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()

14 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

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

14 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

14 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

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

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

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

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

14 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

14 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

14 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

14 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

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

14 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

14 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 :) :)

14 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

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

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

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

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

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

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

14 years agox86_64 support, requiring a slight refactor to the build system.
John Hodge [Tue, 11 May 2010 13:47:01 +0000 (21:47 +0800)]
x86_64 support, requiring a slight refactor to the build system.
- The x86_64 port does not compile yet, still working on that
- The new cross compiler I'm using for the 32-bit builds is a little
  more pedantic, so it seems that the i386 doesn't build either.

14 years agoMerge branch 'master' of serenade.mutabah.net:acess2
John Hodge [Tue, 11 May 2010 02:18:09 +0000 (10:18 +0800)]
Merge branch 'master' of serenade.mutabah.net:acess2

14 years agoCleaned up thread code, changed default compiler name (to i586 elf)
John Hodge [Tue, 11 May 2010 02:16:51 +0000 (10:16 +0800)]
Cleaned up thread code, changed default compiler name (to i586 elf)

14 years agoMerge branch 'master' of [email protected]:acess2
John Hodge [Tue, 11 May 2010 02:15:47 +0000 (10:15 +0800)]
Merge branch 'master' of [email protected]:acess2

14 years agoCorrectness in ATA driver
John Hodge [Tue, 11 May 2010 02:15:14 +0000 (10:15 +0800)]
Correctness in ATA driver

14 years agoAdding start of x86_64 port
John Hodge [Tue, 11 May 2010 02:10:32 +0000 (10:10 +0800)]
Adding start of x86_64 port

14 years agoBugfixes to usermode 64-bit division, more work on GUI (now sizes almost correctly)
John Hodge [Mon, 3 May 2010 14:50:02 +0000 (22:50 +0800)]
Bugfixes to usermode 64-bit division, more work on GUI (now sizes almost correctly)

14 years agoWork on WM's sizing code, not quite complete yet
John Hodge [Mon, 3 May 2010 01:03:59 +0000 (09:03 +0800)]
Work on WM's sizing code, not quite complete yet
- Slight fixes to ATA and InitRD

14 years agoFixed InitRD
John Hodge [Sat, 1 May 2010 15:18:07 +0000 (23:18 +0800)]
Fixed InitRD

14 years agoMore work on axwin, and slight changes in othe places
John Hodge [Sat, 1 May 2010 04:20:42 +0000 (12:20 +0800)]
More work on axwin, and slight changes in othe places

14 years agoImproved user error handling, now a user DIV0 doesn't cause a kernel
John Hodge [Sat, 1 May 2010 04:20:12 +0000 (12:20 +0800)]
Improved user error handling, now a user DIV0 doesn't cause a kernel
 panic.

14 years agoRemoved debug
John Hodge [Sat, 1 May 2010 04:19:48 +0000 (12:19 +0800)]
Removed debug

14 years agoFixes to VTerm to make vterms with resolutions lower than the current one
John Hodge [Sat, 1 May 2010 04:18:42 +0000 (12:18 +0800)]
Fixes to VTerm to make vterms with resolutions lower than the current one
 print to the center of the screen.

14 years agoAdded strings header that was deleted in last commit (it was
John Hodge [Fri, 30 Apr 2010 15:46:38 +0000 (23:46 +0800)]
Added strings header that was deleted in last commit (it was
 actually renamed, but I forgot to add the new file)

14 years agoMany changes, bugfixes to user vsnprintf and to escape code handling
John Hodge [Fri, 30 Apr 2010 15:43:46 +0000 (23:43 +0800)]
Many changes, bugfixes to user vsnprintf and to escape code handling
- Added coloured messages to kernel output
- Implemented arguments to staticly compiled modules
- Updated VTerm to only change video modes when needed (not fully
  tested yet)
- Other misc changes to kernel
- Dramatic overhaul of AxWin, nearing completion

14 years agoAdded calloc to libc
John Hodge [Mon, 26 Apr 2010 02:19:47 +0000 (10:19 +0800)]
Added calloc to libc

14 years agoMore work on the GUI. Still useless tho
John Hodge [Mon, 26 Apr 2010 01:14:12 +0000 (09:14 +0800)]
More work on the GUI. Still useless tho

14 years agoFixing documentation for 2D operations
John Hodge [Sat, 24 Apr 2010 15:47:19 +0000 (23:47 +0800)]
Fixing documentation for 2D operations

14 years agoRemoved debug statements that happened during VESA buffer mode changes
John Hodge [Sat, 24 Apr 2010 15:39:26 +0000 (23:39 +0800)]
Removed debug statements that happened during VESA buffer mode changes

14 years agoAdded basic 2D video accelleration
John Hodge [Sat, 24 Apr 2010 15:38:02 +0000 (23:38 +0800)]
Added basic 2D video accelleration

14 years agoDarn stupid bugs
John Hodge [Sat, 24 Apr 2010 14:18:37 +0000 (22:18 +0800)]
Darn stupid bugs

14 years agoBig rewrite of AxWin to get it to compile and run
John Hodge [Sat, 24 Apr 2010 14:17:02 +0000 (22:17 +0800)]
Big rewrite of AxWin to get it to compile and run

14 years agoFixed SYS_SEEK not working due to 64-bit offset
John Hodge [Sat, 24 Apr 2010 13:26:56 +0000 (21:26 +0800)]
Fixed SYS_SEEK not working due to 64-bit offset

14 years agoStrike that, I like zlib better :D
thePowersGang [Sat, 24 Apr 2010 09:50:06 +0000 (17:50 +0800)]
Strike that, I like zlib better :D

14 years agoadded licence, 3-clause BSD
thePowersGang [Sat, 24 Apr 2010 09:46:09 +0000 (17:46 +0800)]
added licence, 3-clause BSD

14 years agoUpdates to VTerm to correctly handle framebuffer modes
John Hodge [Sat, 24 Apr 2010 02:21:59 +0000 (10:21 +0800)]
Updates to VTerm to correctly handle framebuffer modes
- Also fixed the clipping warning generated by VESA (VTerm was not
  scrolling when the cursor reaches the bottom of the screen, only
  when it past the bottom)

14 years agoFixed the EFLAGS contents to actually enable IF
John Hodge [Sat, 24 Apr 2010 02:21:17 +0000 (10:21 +0800)]
Fixed the EFLAGS contents to actually enable IF

14 years agoFixed MM_UnmapHWPages overwriting the wrong area
John Hodge [Sat, 24 Apr 2010 02:20:35 +0000 (10:20 +0800)]
Fixed MM_UnmapHWPages overwriting the wrong area

14 years agoHalfway through deciding where to put the error handlers, I've settled on libc
John Hodge [Fri, 23 Apr 2010 14:05:53 +0000 (22:05 +0800)]
Halfway through deciding where to put the error handlers, I've settled on libc
- TODO: Make a clean way of getting access to ld-acess's functions/data at runtime
- Also drafting up the 2D accelerated video interface

14 years agoFixes to error handling and User text mappings
John Hodge [Fri, 23 Apr 2010 13:24:35 +0000 (21:24 +0800)]
Fixes to error handling and User text mappings

14 years agoFixes to VM8086 handler to remove operand size errors.
John Hodge [Fri, 23 Apr 2010 11:53:02 +0000 (19:53 +0800)]
Fixes to VM8086 handler to remove operand size errors.

14 years agoAltered debug print function to use vsnprintf and to use Debug_Puts instead of Debug_...
John Hodge [Fri, 23 Apr 2010 11:51:08 +0000 (19:51 +0800)]
Altered debug print function to use vsnprintf and to use Debug_Puts instead of Debug_Putchar
- Also changed when the VTerm updates the screen, now it updates on newlines and end of input
  instead on every character, major speed increase.

14 years agoFixed VESA scrolling bug
John Hodge [Thu, 22 Apr 2010 00:18:25 +0000 (08:18 +0800)]
Fixed VESA scrolling bug

14 years agoRemoved debug from VTerm
John Hodge [Wed, 21 Apr 2010 14:20:42 +0000 (22:20 +0800)]
Removed debug from VTerm

14 years agoFixes to Vesa video driver and VTerm's mode setting
John Hodge [Wed, 21 Apr 2010 14:19:09 +0000 (22:19 +0800)]
Fixes to Vesa video driver and VTerm's mode setting
- Known Bugs: Vesa seems to not like scrolling, it may be related to the
  update speed, but I doubt it, probably due to some limit in the size
  of the update (when doing a whole screen update)

14 years agoFixed case where the screen was cleared during a panic
John Hodge [Wed, 21 Apr 2010 13:50:07 +0000 (21:50 +0800)]
Fixed case where the screen was cleared during a panic

14 years agoMade the KPanic routine switch back to 0xB8000 text mode
John Hodge [Wed, 21 Apr 2010 13:46:11 +0000 (21:46 +0800)]
Made the KPanic routine switch back to 0xB8000 text mode

14 years agoFixed VESA using LogF when not needed, changed VTerm to use VGA, added a kpanic to...
John Hodge [Wed, 21 Apr 2010 13:11:35 +0000 (21:11 +0800)]
Fixed VESA using LogF when not needed, changed VTerm to use VGA, added a kpanic to the keyboard magics

14 years agoAdded kernel panic routines to output to the screen on kpanic
John Hodge [Wed, 21 Apr 2010 13:11:03 +0000 (21:11 +0800)]
Added kernel panic routines to output to the screen on kpanic

14 years agoFixed login text-entry bug, fixes to KMS (graphics is still buggy)
John Hodge [Wed, 21 Apr 2010 05:24:26 +0000 (13:24 +0800)]
Fixed login text-entry bug, fixes to KMS (graphics is still buggy)

14 years agoRandom fixes, disabled debug in vterm, random crash disappeared, also doing fixes...
John Hodge [Wed, 21 Apr 2010 04:29:04 +0000 (12:29 +0800)]
Random fixes, disabled debug in vterm, random crash disappeared, also doing fixes on TCP stack

14 years agoTCP Server now seems to work, started fixing client (also need to clean up TCP code)
John Hodge [Sat, 17 Apr 2010 05:29:39 +0000 (13:29 +0800)]
TCP Server now seems to work, started fixing client (also need to clean up TCP code)

14 years agoMakefile cleanup, documentation
John Hodge [Thu, 15 Apr 2010 02:43:37 +0000 (10:43 +0800)]
Makefile cleanup, documentation

14 years agoAdded test server to git tree
John Hodge [Thu, 15 Apr 2010 02:42:33 +0000 (10:42 +0800)]
Added test server to git tree
- Test server opens a server on port 80 and serves a hello world page

14 years agoAdded SYS_OPENCHILD system call
John Hodge [Thu, 15 Apr 2010 02:11:01 +0000 (10:11 +0800)]
Added SYS_OPENCHILD system call
- SYS_OPENCHILD opens a file that is a direct child of the passed FD
  (using the FD's Node)
- Used for IPStack servers to open a client connection

14 years agoAdded the ADT library (not really abstract, but it's a common data type library)
John Hodge [Thu, 15 Apr 2010 02:09:47 +0000 (10:09 +0800)]
Added the ADT library (not really abstract, but it's a common data type library)
- Currenly only includes Ring Buffer code

14 years agoMore fixing work on TCP, now correctly accepts packets,
John Hodge [Thu, 15 Apr 2010 02:08:00 +0000 (10:08 +0800)]
More fixing work on TCP, now correctly accepts packets,
- but the 2nd ACK seems to still be buggy (client sends RST when Acess ACKs)

14 years agoRenamed libc filename, disabled debug and reenabled lfn in FAT
John Hodge [Wed, 14 Apr 2010 10:26:13 +0000 (18:26 +0800)]
Renamed libc filename, disabled debug and reenabled lfn in FAT

14 years agoAdded debug to FAT driver, trying to fix a Real HW bug
John Hodge [Wed, 14 Apr 2010 04:24:18 +0000 (12:24 +0800)]
Added debug to FAT driver, trying to fix a Real HW bug

14 years agoFixed cursor code, added pointer to current VT
John Hodge [Wed, 14 Apr 2010 04:23:59 +0000 (12:23 +0800)]
Fixed cursor code, added pointer to current VT

14 years agoFixed logging to support 8-charater identifiers
John Hodge [Wed, 14 Apr 2010 04:23:30 +0000 (12:23 +0800)]
Fixed logging to support 8-charater identifiers

14 years agoFixing API documentation, added Disk cache spec
John Hodge [Wed, 14 Apr 2010 04:22:27 +0000 (12:22 +0800)]
Fixing API documentation, added Disk cache spec

14 years agoPossible fix to TCP Acknowlegement Numbers
John Hodge [Wed, 14 Apr 2010 04:20:52 +0000 (12:20 +0800)]
Possible fix to TCP Acknowlegement Numbers
- Also changed Sequence number variables to Uint32, not int

14 years agoMerge branch 'master' of git://git.ucc.asn.au/acess2
John Hodge [Tue, 13 Apr 2010 01:35:29 +0000 (09:35 +0800)]
Merge branch 'master' of git://git.ucc.asn.au/acess2

14 years agomisc
John Hodge [Tue, 13 Apr 2010 01:35:20 +0000 (09:35 +0800)]
misc

14 years agoDisabled ATA debug, turned FAT Debug on, misc in IPStack/TCP
John Hodge [Sun, 11 Apr 2010 08:28:12 +0000 (16:28 +0800)]
Disabled ATA debug, turned FAT Debug on, misc in IPStack/TCP

14 years agoUpdated FAT filesystem driver to not cache the FAT if the disk is too large
John Hodge [Sun, 11 Apr 2010 07:17:10 +0000 (15:17 +0800)]
Updated FAT filesystem driver to not cache the FAT if the disk is too large

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