Commit Graph

404 Commits

Author SHA1 Message Date
Adrien Bourmault 9f20e63df7 Correcting a bug on real hw caused by malloc that non zeroises the mem it allocates 2019-05-12 18:01:29 +02:00
Adrien Bourmault 5f539e169f minor correction 2019-05-11 10:42:34 +02:00
Adrien Bourmault cef3c37b89 Merge branch 'BetterTerm' into cpu 2019-05-11 00:17:18 +02:00
Adrien Bourmault 20cc9ab4be Major overhaul for the Makefile 2019-05-11 00:16:40 +02:00
Adrien Bourmault 90761c4a10 cpuid 2019-05-09 21:57:54 +02:00
Adrien Bourmault 6c504cff34 CPUID 2019-05-09 12:00:30 +02:00
Julian Barathieu 7f27ead23b Stuff 2019-05-09 11:33:07 +02:00
Julian Barathieu f03a587337 musage 2019-05-09 11:19:44 +02:00
Adrien Bourmault 7d8253cf3e Merge branch 'cpu' into BetterTerm 2019-05-09 10:53:00 +02:00
Adrien Bourmault c0ded6f3a7 minor correction for kernel end addr 2019-05-09 10:52:36 +02:00
Julian Barathieu bd5f99ed37 PoShutdown 2019-05-09 10:27:44 +02:00
Julian Barathieu 43da9c40c4 Minor stuff 2019-05-09 10:25:52 +02:00
Adrien Bourmault 40f38f4275 minor changes cpu 2019-05-09 10:18:43 +02:00
Adrien Bourmault ad1b42aeb1 minor changes cpu 2019-05-09 10:18:33 +02:00
Adrien Bourmault e3d87442f7 sw '-' ? 2019-05-08 23:06:57 +02:00
Julian Barathieu b91f21fafb Stuff 2019-05-08 20:54:40 +02:00
Julian Barathieu 0abbf67bc2 Fixes 2019-05-08 20:45:28 +02:00
Julian Barathieu 8f4fd73de3 Merge branch 'BetterTerm' of github.com:os-k-team/os-k into BetterTerm 2019-05-08 20:24:03 +02:00
Julian Barathieu 3ddfce4ba8 Shell commands musage, mmap, date 2019-05-08 20:23:52 +02:00
Adrien Bourmault 7302681f35 Working on cpu now 2019-05-08 17:49:30 +02:00
Julian Barathieu fcffbcabe9 More shell stuff 2019-05-08 17:20:27 +02:00
Julian Barathieu 5bf39b04c7 Shell 2019-05-08 15:09:16 +02:00
Adrien Bourmault 8a6cfd07c6 minor enhancements 2019-05-08 10:33:17 +02:00
Adrien Bourmault d47f234261 shell update ! 2019-05-08 01:01:53 +02:00
Julian Barathieu 5c7f4bb49a Stuff 2019-05-08 00:28:42 +02:00
Julian Barathieu 184738af61 Star Wars! 2019-05-08 00:08:45 +02:00
Julian Barathieu 56fff7b52d Keyboard, scroll-up, escape, and stuff 2019-05-08 00:00:45 +02:00
Adrien Bourmault 7383a03952 Shutdown ! 2019-05-07 23:40:56 +02:00
Adrien Bourmault 9a51f663c4 Shutdown ! 2019-05-07 23:40:08 +02:00
Adrien Bourmault 079e2ab5f8 Shutdown ! 2019-05-07 23:39:05 +02:00
Julian Barathieu 39e46a072f stuff 2019-05-07 23:16:56 +02:00
Julian Barathieu 241eeb64cb Pushing bugs 2019-05-07 22:32:17 +02:00
Adrien Bourmault a362655af2 cleanup 2019-05-07 18:35:46 +02:00
Adrien Bourmault c1003fc4dc cleanup 2019-05-07 18:32:10 +02:00
Adrien Bourmault 41f98890f8 Actual Crashdump 2019-05-07 18:09:40 +02:00
Adrien Bourmault 1b057a4e06 Star Wars Returns 2019-05-07 17:21:03 +02:00
Adrien Bourmault 64255d5fc7 Star Wars Returns 2019-05-07 17:14:13 +02:00
Adrien Bourmault 4041ad4032 Star Wars Returns 2019-05-07 17:02:25 +02:00
Adrien Bourmault 6c5efc6044 Correcting spkr init 2019-05-07 15:48:09 +02:00
Adrien Bourmault 050f795b39 Correcting spkr init 2019-05-07 15:43:16 +02:00
Adrien Bourmault 58caff5eaa tests pcspkr 2019-05-06 23:08:01 +02:00
Adrien Bourmault fbccfab642 IDT enhancing 2019-05-06 22:50:03 +02:00
Adrien Bourmault 41a4d1ec01 tests spkr 2019-05-06 22:48:27 +02:00
Adrien Bourmault d9aad421a4 tests spkr 2019-05-06 22:47:45 +02:00
Adrien Bourmault 76c63ad7a0 Idt enhancements 2019-05-06 22:04:22 +02:00
Julian Barathieu 6e295c23e3 BEEEEP 2019-05-06 21:08:16 +02:00
Adrien Bourmault 272a0f243e RTC 2019-05-05 23:29:17 +02:00
Julian Barathieu edcbbf966c Bugfix 2019-05-05 21:42:11 +02:00
Adrien Bourmault c58f5d236a Corrected my bad grammar 2019-05-05 18:55:00 +02:00
Adrien Bourmault 13a1395fb7 bug ! 2019-05-05 18:47:36 +02:00
Adrien Bourmault dc91276334 bug ! 2019-05-05 17:37:01 +02:00
Adrien Bourmault eab7a87e77 Merge branch 'cpu' into BetterTerm
Adds some enhancements
2019-05-02 16:31:11 +02:00
Julian Barathieu a3a7132470 Header stuff 2019-05-01 14:17:16 +02:00
Adrien Bourmault ba94035200 minor enhancements 2019-04-29 23:52:53 +02:00
Adrien Bourmault b07a4e8956 minor enhancements 2019-04-29 23:51:25 +02:00
Adrien Bourmault 426c07f30b OS/K works on real hw 2019-04-28 15:37:09 +02:00
Adrien Bourmault 404f1ab20c OS/K works on real hw 2019-04-28 15:30:54 +02:00
Adrien Bourmault 836d967eee it works on real hw 2019-04-28 11:25:03 +02:00
Adrien Bourmault 3748dfbe33 Spurious int 2019-04-27 00:38:47 +02:00
Adrien Bourmault e7d56a8550 IDT is now really ready 2019-04-27 00:04:27 +02:00
Adrien Bourmault 74593f7f71 enhancing IDT 2019-04-26 20:11:08 +02:00
Adrien Bourmault ed534340ae enhancing IDT 2019-04-26 10:36:40 +02:00
Adrien Bourmault 59bd638188 reworking on IDT 2019-04-25 23:09:04 +02:00
Adrien Bourmault 93cce54081 Enhancements for RTC 2019-04-25 16:31:06 +02:00
Adrien Bourmault 1423366d88 time 2019-04-25 13:08:54 +02:00
Adrien Bourmault 50e29d5ad1 OS/K prints the date ! 2019-04-25 12:23:45 +02:00
Adrien Bourmault c1413a7c48 Update ProjectTree 2019-04-24 23:10:19 +02:00
Adrien Bourmault ac0b194f52 Merge branch 'cpu&memory' into BetterTerm 2019-04-24 23:00:29 +02:00
Adrien Bourmault 9b4e563000 cleanup 2019-04-24 23:00:12 +02:00
Adrien Bourmault a2280e31e2 Merge branch 'cpu&memory' into BetterTerm 2019-04-24 22:40:29 +02:00
Adrien Bourmault 8e6cc9a564 Keyboard works ! 2019-04-24 22:40:12 +02:00
Adrien Bourmault c3b35a805b RTC ready 2019-04-24 21:09:47 +02:00
Adrien Bourmault 0118bfb796 RTC finished ! 2019-04-24 21:08:44 +02:00
Adrien Bourmault 11792a58f8 Keyboard in progress 2019-04-24 18:43:05 +02:00
Adrien Bourmault 2d610e1ae6 Keyboard in progress 2019-04-24 18:42:38 +02:00
Adrien Bourmault dfb65fd199 Keyboard in progress 2019-04-24 18:14:23 +02:00
Adrien Bourmault f005894088 Keyboard in progress 2019-04-24 11:55:15 +02:00
Adrien Bourmault e739070ca5 some reorganization 2019-04-24 11:40:14 +02:00
Adrien Bourmault 6f86a1dc28 Exception are now fully supported, working on keyboard and rtc 2019-04-24 00:05:30 +02:00
Adrien Bourmault 0cf1367e7e Exception are now fully supported, working on keyboard and rtc 2019-04-24 00:05:03 +02:00
Adrien Bourmault 02ded3d5ae Idt in progress ! 2019-04-23 17:38:50 +02:00
Adrien Bourmault 1cacf1a4d0 Idt in progress ! 2019-04-23 17:08:43 +02:00
Adrien Bourmault a3f14eb54e Idt in progress ! 2019-04-23 17:07:12 +02:00
Adrien Bourmault 3dbe85b936 Idt in progress ! 2019-04-23 17:06:03 +02:00
Julian Barathieu 1211dc7b2e libbuf stuff & bugs 2019-04-23 11:32:45 +02:00
Adrien Bourmault ca6c7bbcf9 quasi functionnal idt 2019-04-22 22:32:21 +02:00
Adrien Bourmault 3fa203b6b1 idt in progress 2019-04-22 20:15:48 +02:00
Adrien Bourmault 79f7b736e6 idt in progress 2019-04-22 20:15:32 +02:00
Adrien Bourmault ceb08e77dd merging BetterTerm changes 2019-04-22 17:28:30 +02:00
Adrien Bourmault 66a4db7610 Cursor is better 2019-04-22 17:25:00 +02:00
Adrien Bourmault 7ec89187a0 Cursor is better 2019-04-22 17:21:48 +02:00
Adrien Bourmault cc570ff101 Cursor is better 2019-04-22 17:20:44 +02:00
Adrien Bourmault f7deeb1e37 Cursor is better 2019-04-22 17:19:53 +02:00
Adrien Bourmault b27b12e49c grr 2019-04-22 15:54:40 +02:00
Julian Barathieu bf10ff85f8 Stack smashing protection, cursor, and more 2019-04-21 21:18:13 +02:00
Adrien Bourmault 37535f8352 modifs 2019-04-13 09:30:40 +02:00
Adrien Bourmault d5f30ded66 modifs 2019-04-13 09:30:32 +02:00
Julian Barathieu c0507e2128 Stuff 2019-04-13 09:28:18 +02:00
Julian Barathieu f82fe88dab Stuff 2019-04-13 09:27:36 +02:00
Adrien Bourmault 831591d996 merge master ok 2019-04-11 08:35:00 +02:00
Adrien Bourmault 3f5e36599f Makefile Update 2019-04-10 10:55:22 +02:00
Adrien Bourmault 0b95ba91f2 Makefile big enhancement 2019-04-09 23:35:31 +02:00
Adrien Bourmault ac626ae408 Makefile update 2019-04-09 17:16:13 +02:00
Adrien Bourmault 1a051fc5b4 timeout changed 2019-04-06 21:21:34 +02:00
Adrien Bourmault cfb4ae7b09 test 2019-04-06 21:19:31 +02:00
Julian Barathieu feee90c3d0 Renaming & restructuration 2019-04-06 07:53:58 +02:00
Julian Barathieu dc1cfa6151 Global variable (BootTab/CPU) stuff 2019-04-05 10:20:10 +02:00
Julian Barathieu cd66216847 Made a much better vbprintf() 2019-04-04 20:17:50 +02:00
Julian Barathieu b009b6b3c6 Cleanup and IRC channel 2019-04-04 18:47:30 +02:00
Julian Barathieu a35203b876 Non-locking I/O for panic() 2019-04-04 18:42:09 +02:00
Julian Barathieu 887aa60973 Non-locking I/O for panic() 2019-04-04 18:41:39 +02:00
Adrien Bourmault 082a1b82d8 idt stuff 2019-04-01 23:53:36 +02:00
Adrien Bourmault 0614070cfc idt stuff 2019-04-01 23:51:48 +02:00
Adrien Bourmault 5d9324ab68 Correcting the bug of %p modifier 2019-04-01 22:12:25 +02:00
Adrien Bourmault 0b312f7685 Correcting the bug with %p modifier 2019-04-01 22:10:45 +02:00
Adrien Bourmault 774b1a5f04 test 2019-04-01 22:07:23 +02:00
Adrien Bourmault 5f58ffb35a the bug is in the % modifiers processing 2019-04-01 20:42:06 +02:00
Adrien Bourmault 4b06043e3f Bug resolving 2019-04-01 17:58:58 +02:00
Adrien Bourmault 090bfc3c8e mem_map bug 2019-04-01 15:13:45 +02:00
Adrien Bourmault dca1dd3168 clean-up 2019-04-01 12:02:17 +02:00
Adrien Bourmault 6384d6e533 Merging cpu&memory 2019-04-01 11:44:00 +02:00
Julian Barathieu c34221071d bputc() fix 2019-04-01 11:21:04 +02:00
Adrien Bourmault fef82641d7 printing map 2019-03-30 19:38:53 +01:00
Adrien Bourmault 7c0fe01f6a printing mem stuff 2019-03-30 14:58:12 +01:00
Adrien Bourmault 5c931641ad bug... 2019-03-30 12:45:24 +01:00
Adrien Bourmault 899c2966ea bug... 2019-03-30 12:09:14 +01:00
Julian Barathieu a6f615d792 KernLog reimplemented in term of buffer stuff. Finally scrolls down! 2019-03-29 14:19:29 +01:00
Adrien Bourmault f233cc1066 add debugging 2019-03-29 13:45:24 +01:00
Adrien Bourmault 929b399f33 clean-up 2019-03-29 10:29:05 +01:00
Adrien Bourmault 6302ee2c22 clean-up 2019-03-28 23:03:26 +01:00
Adrien Bourmault 2dd6ce9dc7 end of prepaging reorg 2019-03-28 22:53:16 +01:00
Adrien Bourmault c49941df7c Correction of the mapping that sucked 2019-03-28 10:34:18 +01:00
Adrien Bourmault ca7b1b731a Big enhancement with memory identity mapping of 8 first gigs 2019-03-27 17:29:39 +01:00
Adrien Bourmault fe41bc864a stuff 2019-03-26 18:20:23 +01:00
Adrien Bourmault 669236cea1 stuff 2019-03-26 17:50:03 +01:00
Julian Barathieu f67e1baa25 Heap fix 2019-03-26 10:34:36 +01:00
Adrien Bourmault de2a3ca9f9 Merge branch 'master' into BetterTerm 2019-03-25 23:22:23 +01:00
Adrien Bourmault 4caefd028a Stack & heap stuff 2019-03-25 23:10:06 +01:00
Julian Barathieu 93d8a579f8 Buffer stuff: functional printf 2019-03-25 17:33:51 +01:00
Julian Barathieu e28d965ea1 Buffer stuff 2019-03-25 14:02:19 +01:00
Julian Barathieu 950b5a6983 Buffer stuff 2019-03-24 22:51:16 +01:00
Adrien Bourmault a098510b91 Merging ok ! 2019-03-24 21:24:21 +01:00
Adrien Bourmault 8cb110059a merging 2019-03-24 21:16:19 +01:00
Adrien Bourmault 77ad2ef52c Big enhancement, memory detection ! 2019-03-24 20:25:11 +01:00
Julian Barathieu 9b4672d8ca Prefixes 2019-03-24 14:44:59 +01:00
Adrien Bourmault 5cfc5997dc Init clean-up 2019-03-23 23:58:49 +01:00
Adrien Bourmault fd9f87ddd4 VGA initialization 2019-03-23 23:52:18 +01:00
Adrien Bourmault 4c782da79e For the terminal stuff 2019-03-23 20:37:20 +01:00
Adrien Bourmault 858ed26e78 clean-up 2019-03-22 15:42:02 +01:00
Adrien Bourmault bc82695e26 stuff ! 2019-03-22 15:16:37 +01:00
Adrien Bourmault 5fc538c9d2 stuff ! 2019-03-22 15:03:41 +01:00
Adrien Bourmault 53be658a4a stuff 2019-03-22 13:18:20 +01:00
Adrien Bourmault 1aef44b1af Boot organization 2019-03-21 13:30:17 +01:00
Adrien Bourmault 965d12d2cd stuff 2019-03-19 14:24:33 +01:00
Adrien Bourmault 9ea4daecbd debug 2019-03-19 14:08:00 +01:00
Julian Barathieu ef1467ea46 Panic fix 2019-03-19 14:03:13 +01:00
Adrien Bourmault 9f4c8196ce stuff 2019-03-19 13:59:54 +01:00
Adrien Bourmault a2cf863cd0 merge 2019-03-19 13:43:48 +01:00
Adrien Bourmault 4cdde390ae stuff 2019-03-19 13:38:09 +01:00
Julian Barathieu 08b4fa927d Slighly better terminal stuff 2019-03-19 13:37:23 +01:00
Adrien Bourmault 5da56073ad Stuff 2019-03-19 12:24:27 +01:00
Adrien Bourmault e5917a40e4 multiboot work 2019-03-19 00:25:22 +01:00
Adrien Bourmault 672427f310 Legacy 2019-03-18 21:14:09 +01:00
Adrien Bourmault f9878932a6 debug 2019-03-18 20:56:43 +01:00
Adrien Bourmault 8a7b559fe9 allocation 2019-03-18 18:00:40 +01:00
Adrien Bourmault 78e72e6c8a Stuff 2019-03-18 17:49:34 +01:00
Adrien Bourmault e7909bcdf7 Memory struct 2019-03-18 17:43:54 +01:00
Adrien Bourmault 918c4f1b2e Memory struct 2019-03-18 17:43:41 +01:00
Julian Barathieu 5b585e5b70 Heap & memory allocation stuff 2019-03-18 17:25:44 +01:00
Julian Barathieu d718561a9c Terminal stuff 2019-03-18 14:21:00 +01:00
Adrien Bourmault 8f23d76246 Makefile stuff 2019-03-18 13:09:34 +01:00
Adrien Bourmault bc53c696fc Big reorganization of the makefile 2019-03-17 22:32:52 +01:00
Adrien Bourmault 7add417986 stuff 2019-03-14 21:00:03 +01:00
Adrien Bourmault 107688098e working on cpu 2019-03-14 18:33:12 +01:00
Adrien Bourmault 7ba6b95c19 working on cpu 2019-03-14 18:30:29 +01:00
Adrien Bourmault ced75b51f2 stuff I don't remember 2019-03-13 17:03:52 +01:00
Adrien Bourmault 9ab5bbc58c multiboot&memory stuff 2019-03-13 09:19:43 +01:00
Adrien Bourmault afdd3508c6 stuff 2019-03-12 23:36:47 +01:00
Adrien Bourmault 17f714719b multiboooooooot 2019-03-12 23:25:30 +01:00
Adrien Bourmault 32c7c99bc2 Just learned SysV ABI calling conventions and clean-up stuff 2019-03-12 22:11:00 +01:00
Adrien Bourmault f836157c90 stuff 2019-03-12 18:24:27 +01:00
Adrien Bourmault 8fca2de33f Revert "stuff"
This reverts commit be94ec4d2c1d5e3de08e50a0733bd53c69d1acd8, reversing
changes made to 2d9e02db0e580eaf9ccb6a6d2176ee16107a4b0a.
2019-03-12 17:31:25 +01:00
Adrien Bourmault 982cd618a6 stuff 2019-03-12 17:28:34 +01:00
Adrien Bourmault b9322e60e0 stuff 2019-03-12 17:13:09 +01:00
Adrien Bourmault 8660d52912 Assert 2019-03-12 15:29:15 +01:00
Adrien Bourmault 228df83a1a Merging from master (#34)
* Update Readme.md

* Debug this beautiful panicked kernel !

* Stuff I don't remember

* stuff

* merge

* merge

* Step 0 : InitTerms() is the bug

* Debug stuff

* Step 1 : StartPanic is the real problem

* Step 1 : StartPanic is the real problem

* Step 1 : StartPanic is the real problem

* Step 1 : In StartPanic is the real problem

* Step 1 : In StartPanic is the real problem

* Step 1 : In StartPanic is the real problem

* Step 1 : In StartPanic is the real problem

* Step 1 : In StartPanic is the real problem

* Step 1.5 : \n was a problem

* Step 2 : Well... It was a 'sleepy' problem

* Step 2 : Well... It was a 'sleepy' problem

* Step 2.1 : GetPanicStr is an array

* Step 2.2 : Now panic accept 8 chars

* Ok then !
2019-03-11 19:22:37 +01:00
Adrien Bourmault 4ba948669f Step 1 : In StartPanic is the real problem 2019-03-11 18:25:35 +01:00
Adrien Bourmault 348c3b7ead Step 1 : StartPanic is the real problem 2019-03-11 18:17:49 +01:00
Adrien Bourmault 021c94489b Step 1 : StartPanic is the real problem 2019-03-11 18:17:08 +01:00
Adrien Bourmault 2aeaefe7ac Step 1 : StartPanic is the real problem 2019-03-11 18:10:54 +01:00
Adrien Bourmault fe12e3bca9 Debug stuff 2019-03-11 15:23:01 +01:00
Adrien Bourmault 1beaf2b46d Step 0 : InitTerms() is the bug 2019-03-11 14:47:11 +01:00
Adrien Bourmault 57f83d0a6c merge 2019-03-11 14:15:40 +01:00
Julian Barathieu 882aaa3844 Stuff I don't remember 2019-03-11 14:07:16 +01:00
Adrien Bourmault 815b2ac479 from multiboot to kernel 2019-03-08 21:56:01 +01:00
Adrien Bourmault ce5e04acd5 clean-up 2019-03-08 09:44:09 +01:00
Adrien Bourmault cd0913ed13 sprintf family, ctype, better panic, better terminals, better kernel/base.h & other stuff (#29) 2019-03-08 09:00:55 +01:00
Adrien Bourmault bbb4931238 Loader (#28)
Loading the kernel is now successful
2019-03-08 08:43:44 +01:00
Julian Barathieu 51fdd75b88 New headers, better headers, and stuff 2019-02-16 23:36:33 +01:00
Julian Barathieu 74d4ca5749 Lots of different stuff 2019-02-06 14:07:38 +01:00
Julian Barathieu 61429bb60d (Hopefuly) definitive headers structure 2019-01-21 11:07:11 +01:00
Julian Barathieu 52648a9907 Fixing broken stuff 2019-01-21 09:53:54 +01:00
Julian Barathieu 98c2dd8502 CRT library stuff 2019-01-19 22:36:38 +01:00
Julian Barathieu 3faa92d094 Big reorganization & stuff 2019-01-14 14:31:49 +01:00