Commit Graph

98 Commits

Author SHA1 Message Date
Ali Mashtizadeh
765bde0c82 Add basic breakpoint support to kdb 2023-08-21 16:42:29 -04:00
Ali Mashtizadeh
45928b97a8 Document initialization on AMD64 2023-08-20 19:06:38 -04:00
Ali Mashtizadeh
2718379e6d Add argument passing 2023-08-20 19:04:28 -04:00
Ali Mashtizadeh
f86e4ad966 Cleanup and commenting source code 2022-12-09 23:51:45 -05:00
Ali Mashtizadeh
04b709f3b3 Cleanup: Disable LWIP and address compiler warnings 2019-07-31 17:30:50 -04:00
Ali Mashtizadeh
506c559dad Updating copyright for files only touched by me 2018-07-05 16:55:21 -04:00
Ali Mashtizadeh
7bc8169ff2 Fixing some compiler warnings 2015-12-10 12:21:27 -08:00
Ali Mashtizadeh
16b21e1406 Allow dumping stack frames and backtraces of any processor. 2015-11-23 14:38:07 -08:00
Ali Mashtizadeh
a274a78a5b Enable interrupts in debug mode so keyboard works. Fixed crosscall off by one due to previous change. 2015-11-20 12:23:36 -08:00
Ali Mashtizadeh
069e7b44b7 Fix debugger's CPU halting 2015-11-13 14:41:35 -08:00
Ali Mashtizadeh
1fdc2fd933 Ensure we clear bits we don't want set in cr0 on APs 2015-03-03 16:12:37 -08:00
Ali Mashtizadeh
33af1ed42b Use NMIs to halt all cores when entering the debugger and resume all cores on exit. 2015-02-28 20:18:38 -08:00
Ali Mashtizadeh
a357b2f034 Enable saving/restoring XMMs so that Clang works 2015-02-24 16:57:30 -08:00
Ali Mashtizadeh
e2afc076a5 Basic CrossCall implementation 2015-02-16 15:19:38 -08:00
Ali Mashtizadeh
8825b399c4 Improve MP debugging 2015-02-16 13:59:24 -08:00
Ali Mashtizadeh
a69bfec37f Brute force try to boot each processor. 2015-02-16 13:52:03 -08:00
Ali Mashtizadeh
a053a30129 Making more functions static 2015-02-16 13:32:14 -08:00
Ali Mashtizadeh
473d00e669 Cleanup warnings from all the previous MP changes 2015-02-16 13:04:40 -08:00
Ali Mashtizadeh
220328dd91 Add MP enhancements for the kernel debugger 2015-02-15 20:17:00 -08:00
Ali Mashtizadeh
d5535ded23 Make spinlock stack per-CPU 2015-02-15 20:05:24 -08:00
Ali Mashtizadeh
4ce2388ef2 Basic multiprocessing seems to be working, but some locking issues may remain 2015-02-15 19:15:18 -08:00
Ali Mashtizadeh
b8c8b1fc7d Improvements for SMP 2015-02-15 18:50:43 -08:00
Ali Mashtizadeh
4808b746f5 Basic MP bootup works 2015-02-15 17:00:55 -08:00
Ali Mashtizadeh
b34f8ed0fd Print backtrace when application faults 2015-02-06 17:08:44 -08:00
Ali Mashtizadeh
2447babe6a Renaming functions and reorganizing functions in thread.c 2015-01-20 15:07:31 -08:00
Ali Mashtizadeh
5808a2564d Implemented CopyStrIn/Out to fix bugginess of using CopyIn/Out wrapping passed a mapped page. 2015-01-19 17:57:20 -08:00
Ali Mashtizadeh
4d3eefa3e7 Renaming Timer to KTimer to mach the file names 2015-01-17 13:52:04 -08:00
Ali Mashtizadeh
5a3d86aa7b Implemented OSThreadCreate system call 2015-01-16 17:57:21 -08:00
Ali Mashtizadeh
35b633417f Fix time keeping, TSC ticks per second, and implement generic timer infrastructure. 2015-01-16 14:32:47 -08:00
Ali Mashtizadeh
408cb2adc0 Cleanup thread and loader code 2015-01-05 17:06:35 -08:00
Ali Mashtizadeh
9a4ad50d34 Fixing some pmap issues with regards to the loader 2014-12-30 20:40:02 -08:00
Ali Mashtizadeh
d5bed8e29a Remove debugging printf 2014-12-29 20:15:15 -08:00
Ali Mashtizadeh
28fa88ef3c Implement general VA2PA 2014-12-29 20:14:46 -08:00
Ali Mashtizadeh
438b073151 Implement reference counting for the page allocator 2014-12-08 22:37:40 -08:00
Ali Mashtizadeh
344d3887c4 Add debugging stats for XMem 2014-12-08 17:44:45 -08:00
Ali Mashtizadeh
4b6006bd9a Basic log level support 2014-11-29 16:39:48 -08:00
Ali Mashtizadeh
44195fd034 Fix TSS kernel stack pointer switching 2014-11-29 15:46:17 -08:00
Ali Mashtizadeh
796a7f0cbb Segment registers and TSS bugfix that caused triple faults. Also includes part of the Spawn system call implementation. 2014-11-26 13:49:17 -08:00
Ali Mashtizadeh
f58694ca12 Implemented from and to epoch 2014-11-24 22:21:37 -08:00
Ali Mashtizadeh
bcc331a3d8 Reorganization of kernel time code 2014-11-24 16:17:17 -08:00
Ali Mashtizadeh
d9b68fc462 Basic X86 RTC code 2014-11-22 14:35:18 -08:00
Ali Mashtizadeh
b607141ce1 Fix a warning 2014-10-14 18:02:19 -07:00
Ali Mashtizadeh
5852ce5727 Fixes to CopyIn/CopyOut 2014-10-14 16:23:50 -07:00
Ali Mashtizadeh
fa86208a82 Add copy.c into build 2014-10-14 13:58:34 -07:00
Ali Mashtizadeh
4e76a9a922 Improving kernel ELF loader 2014-10-12 20:22:52 -07:00
Ali Mashtizadeh
b2c2b7c45a Implement copyin/copyout 2014-10-12 13:17:18 -07:00
Ali Mashtizadeh
9cdc13e0f5 Improve build portability. 2014-10-09 21:05:02 -07:00
Ali Mashtizadeh
3610f34c63 Enable more C warnings and fix a few instances of those warnings. 2014-09-29 13:46:38 -07:00
Ali Mashtizadeh
dac51c8166 Improve linker script compatability 2014-09-29 13:24:10 -07:00
Ali Mashtizadeh
0e8b1ecea3 Fixing bugs in the slab allocator and xmem. 2014-09-05 18:34:51 -07:00