shockrah
566e65cfea
skeleton for irq's
2019-11-07 10:58:25 -08:00
shockrahwow
012f2fb853
Merge branch 'master' of gitlab.com:shockrah/jankos
2019-11-07 10:13:59 -08:00
shockrah
b111e7815f
newly registered irq's
2019-11-07 03:41:20 -08:00
shockrah
41473c3832
ignoring gui debugger files
2019-11-07 03:05:39 -08:00
shockrah
e34be4b1e7
Merge branch 'master' of gitlab.com:shockrah/jankos
2019-11-07 03:04:22 -08:00
shockrahwow
7f26a46ff8
gui debugger config keeps auto changing so its ignored
2019-11-06 19:52:39 -08:00
shockrahwow
511a6eb52a
renamed interrupts to line up with indexes in table
2019-11-06 19:31:23 -08:00
shockrahwow
b399556da1
gui debugger init file
2019-11-06 19:17:20 -08:00
shockrah
afb5ea45d7
Merging updated interrupt debug code
2019-11-06 11:27:51 -08:00
shockrahwow
c9e8873b8b
protected mode breaks interrupt handling for some reason
2019-11-05 19:29:58 -08:00
shockrahwow
52cd597b2a
enabled magic breakkpoints in bochs
2019-11-05 17:44:16 -08:00
shockrahwow
8660744a4f
moved breakpoint to kmain to track interrupt problems
2019-11-05 17:44:03 -08:00
shockrah
588a3b6e89
visual debugger added to bochsrs
2019-11-05 15:39:10 -08:00
shockrah
b4782bd919
proper div by zero in test case
2019-11-05 14:42:53 -08:00
shockrah
847a4090b8
Merge branch 'master' of gitlab.com:shockrah/jankos
2019-11-03 23:54:59 -08:00
shockrah
c1cbfb3472
readme better reflects current project state
2019-10-30 23:21:48 -07:00
shockrahwow
80a4e7069a
changing main interrupt_handler to take a pointer
...
also moving some logic around to help reson what's happening in recent errors
2019-10-30 23:18:49 -07:00
shockrahwow
35985d9199
removed fluff prints
2019-10-30 18:40:07 -07:00
shockrahwow
d706c5c3f4
fixes broken segment reconstruction(i hope)
2019-10-30 18:39:54 -07:00
shockrahwow
e5c2553bf5
* setting ID[i].zero to 0
...
* also adding louder prints to interrupt handler for now
2019-10-30 18:39:26 -07:00
shockrahwow
7eb8da29fc
more concise tests
2019-10-30 18:37:37 -07:00
shockrahwow
48b7662dee
removing Werror _for now_ while I debug isr's
2019-10-30 18:37:08 -07:00
shockrahwow
c4bae42dd9
putch + broken interrupt handlers
...
int handlers only break when ran
2019-10-27 22:08:21 -07:00
shockrahwow
677c53165d
Interrupt handlers are busted but only break when ran
...
oh yea and putch was added to stlio
2019-10-27 22:07:31 -07:00
shockrahwow
fb1b7c868b
srlen now respects const qualifiers
2019-10-27 21:21:59 -07:00
shockrahwow
5bc285b7ca
Adding keyboard interrupt handler
...
as of right now its busted(doesn't printanythng)
2019-10-27 20:27:46 -07:00
shockrah
a0752cba62
Moved load_idt to .s file
2019-10-24 03:03:08 -07:00
shockrahwow
3f95c1ec8b
updated dones
2019-10-23 18:36:30 -07:00
shockrah
63fcc09cea
removed annoying comments
2019-10-19 22:53:09 -07:00
shockrah
8b178f0992
interrupt service routines registered under init_idt, but not yet impl
2019-10-19 22:48:33 -07:00
shockrah
377622d87c
prep for interrupt service handlers
2019-10-14 15:32:07 -07:00
shockrah
fc33c711b3
interrupt descriptor table setup, but has no handlers yet
2019-10-14 14:06:22 -07:00
shockrah
e8fc06943c
moving strictly memory based utils to their own module for clarity sake
2019-10-14 14:02:21 -07:00
shockrah
18e4aba57f
intel syntax support for inlined assembly and O2 for more memaccess efficient code
2019-10-14 03:10:38 -07:00
shockrah
7385ba7d7f
adding structures to be used later in construction idt
2019-10-14 03:09:57 -07:00
shockrah
a97affbe72
removed fluff files
2019-10-14 03:09:41 -07:00
shockrah
b879ad943d
memcpy & memset implementations in stlio
2019-10-14 02:27:31 -07:00
shockrah
a417a74731
base working kernel with a gdt that doesn't restart emulator(no idea why this works yet)
2019-10-14 02:06:50 -07:00
shockrah
535f88a908
stats sript output slightly more meaningful now
2019-10-14 01:10:44 -07:00
shockrah
8a7d4e8994
removed unused stl files which are largely outdated now
2019-10-14 00:47:43 -07:00
shockrah
1b9ed26506
removing fluff that is not yet needed
2019-10-14 00:47:04 -07:00
shockrah
d68f4b5264
trying out a new version of gdt initialization
2019-10-14 00:45:40 -07:00
shockrah
c94252c3f2
Huge GDT update:
...
GDT control is how I would like it to be but there are some issues, namely:
1. far jumping to flush the code segment crashes the whole os(not good)
2. Segment selectors seem fine apart from the code segment thing
3. some administrative issues regarding the structure of the project which is slowly making things painful
2019-10-14 00:23:37 -07:00
shockrah
7d9800f1eb
starting point for interrupt handlers though some of this code isn't ready to be used, it serves as a reference point for later
2019-10-13 23:14:49 -07:00
shockrah
c84997dea0
global descriptor table things cleaner/ready to be registered
2019-10-13 23:13:20 -07:00
shockrah
ec9cd34dc6
reduced complexity on master branch for now as i setup for gdt things
2019-10-09 15:26:54 -07:00
shockrah
9e7effcc7f
basic structure for gdt things
2019-10-09 01:42:03 -07:00
shockrahwow
536f4e8e0c
interim commit nothing to see here non working but need to do things on other machine
2019-10-08 22:35:00 -07:00
shockrahwow
6fc97083bb
updated roadmap/bugs list
2019-10-08 10:09:47 -07:00
shockrahwow
2312b6fbc1
escaped percents in printf
2019-10-07 19:40:04 -07:00