Commit Graph

51 Commits

Author SHA1 Message Date
db457ba1ba fix clang18; Wextra; lots of stuff 2024-10-04 01:55:19 -04:00
oscar
e96e5b0278 metal gic 2024-09-26 04:07:50 +08:00
17db81c514 bootstrap,gic,timer 2023-12-01 05:28:53 +08:00
Ali Mashtizadeh
0ecfc3f99c Linker and boot cleanup 2023-11-09 11:54:56 -05:00
Ali Mashtizadeh
081043f8f1 Disable floating point instructions in kernel build. 2023-11-07 12:45:19 -05:00
Ali Mashtizadeh
ae669bfa83 Buildable skeleton for ARM64 architecture specific code. 2023-10-23 22:28:10 -04:00
Ali Mashtizadeh
14cc577adf Cleanup to prepare for ARM64 + Metal 2023-10-20 16:57:02 -04:00
Ali Mashtizadeh
d3349d9eaa Adding kernel side Mutex, CV, and testing it with Exit/Wait. 2023-09-02 17:51:10 -04:00
Ali Mashtizadeh
52377a980c Add waitchannels into the kernel. 2023-08-30 12:49:23 -04:00
Ali Mashtizadeh
1676ae4056 Add sched and process to kernel build. 2023-08-21 18:39:26 -04:00
Ali Mashtizadeh
f86e4ad966 Cleanup and commenting source code 2022-12-09 23:51:45 -05:00
Ali Mashtizadeh
6a7fd630ce Remove the -N flag that was used when linking the kernel 2015-02-24 16:58:08 -08:00
Ali Mashtizadeh
4808b746f5 Basic MP bootup works 2015-02-15 17:00:55 -08:00
Ali Mashtizadeh
29dd4d3af8 Implement kernel semaphores 2015-01-18 13:48:16 -08:00
Ali Mashtizadeh
4d3eefa3e7 Renaming Timer to KTimer to mach the file names 2015-01-17 13:52:04 -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
9b4e8af58c Basic NIC enumeration and wrapping 2014-12-31 19:31:25 -08:00
Ali Mashtizadeh
3773f38565 Basic E1000 configuration seems working 2014-12-29 21:32:00 -08:00
Ali Mashtizadeh
39562233bf Support opening, reading and stating files from userlevel 2014-12-05 00:25:20 -08:00
Ali Mashtizadeh
8d9580b273 Basic sysctl infrastructure 2014-11-25 12:07:14 -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
fa86208a82 Add copy.c into build 2014-10-14 13:58:34 -07:00
Ali Mashtizadeh
7c0d1cae67 Posix compat work 2014-10-14 12:39:26 -07:00
Ali Mashtizadeh
b2c2b7c45a Implement copyin/copyout 2014-10-12 13:17:18 -07:00
Ali Mashtizadeh
03343a774c Simple slab allocator allocator 2014-09-04 23:26:02 -07:00
Ali Mashtizadeh
4e0a73c1cd Basic PS2 keyboard driver 2014-08-19 19:05:57 -07:00
Ali Mashtizadeh
41b659b558 Generic handle infrastructure 2014-08-08 13:55:12 -07:00
Ali Mashtizadeh
2611795d6f Implementing and testing a few system calls 2014-08-07 17:58:41 -07:00
Ali Mashtizadeh
2a79939b79 Beginning O2FS and VFS code along with superblock and root directory reading. 2014-08-01 14:15:06 -07:00
Ali Mashtizadeh
e901bdc7ce Implement disk cache and improve other related parts of the kernel. 2014-07-30 17:19:24 -07:00
Ali Mashtizadeh
0d1847269a Placeholder for system calls 2014-07-28 14:35:00 -07:00
Ali Mashtizadeh
0dd593fff2 User space working 2014-07-27 17:09:31 -07:00
Ali Mashtizadeh
ff2be2e406 rdtsc and improved spinlock statistics 2014-07-24 20:25:17 -07:00
Ali Mashtizadeh
82af1f6801 Disk infrastructure and working read support 2014-07-24 16:38:35 -07:00
Ali Mashtizadeh
c184e7fa0a Implement kernel threads and a round-robin scheduler 2014-07-23 18:07:07 -07:00
Ali Mashtizadeh
76108674d1 Build improvements 2014-07-21 23:43:01 -07:00
Ali Mashtizadeh
ddba3f671a Create linker script 2014-07-18 13:37:46 -07:00
Ali Mashtizadeh
d5b94390f8 Support up to 6GBs of RAM and improve debugging 2014-07-16 17:21:18 -07:00
Ali Mashtizadeh
27c65e8992 Refactoring and improvements 2014-07-13 23:16:54 -07:00
Ali Mashtizadeh
24cb178868 Import FreeBSD AMD64 disassembler 2014-07-13 16:52:18 -07:00
Ali Mashtizadeh
c9750e4834 Basic debugger support over serial 2014-07-13 13:36:43 -07:00
Ali Mashtizadeh
34aad175e9 Serial support 2014-07-13 13:04:14 -07:00
Ali Mashtizadeh
3c09132308 Implement spinlocks 2014-07-10 15:55:32 -07:00
Ali Mashtizadeh
a1c44dca93 IRQ registration helper functions 2014-07-10 14:01:15 -07:00
Ali Mashtizadeh
fdb5c1b2c8 Improvements to AHCI driver and part of a IDE PIO driver. 2014-07-05 18:46:59 -07:00
Ali Mashtizadeh
696101f277 AHCI fixes and debugging improvements 2014-07-03 17:36:31 -07:00
Ali Mashtizadeh
00cf512522 Build cleanup and implemented support for qemu debug logging 2014-07-02 14:06:00 -07:00
Ali Mashtizadeh
c6e56a25f6 Splitting up PCI code into platform dependent parts 2014-07-02 10:03:07 -07:00
Ali Mashtizadeh
255f560351 Basic page mapping, allocator, and PCI code 2014-06-30 15:52:35 -07:00