Commit Graph

379 Commits

Author SHA1 Message Date
977951fd95 support and detect pci memory and IO space; support remapping BARs. 2024-11-08 15:20:52 -05:00
4a7f582881 pci enumeration 2024-11-04 05:11:18 -05:00
b5ac633a9e new general reg changes and headers 2024-11-03 14:33:30 -05:00
ae5541ce16 add print like attribute and fix broken printf 2024-10-31 11:04:05 -04:00
1eed961317 interrupt and timer 2024-10-31 10:45:03 -04:00
6b34443bee uart and gic from dtb 2024-10-22 02:47:21 -04:00
b5d93b9b73 handle dtb size 2024-10-21 07:21:56 -04:00
b8e1f93fe5 make castor compatible with gem5 FsCastor workload | add libfdt dependency | fix missing libc functions 2024-10-21 06:56:44 -04:00
0dbad8b297 pmap cleanup 2024-10-20 05:14:55 -04:00
a7ed1c3ffd pmap stuff 2024-10-20 04:40:41 -04:00
48bb727881 large TLB entries 2024-10-18 04:53:11 -04:00
c156515ce0 lol 2024-10-04 02:02:39 -04:00
db457ba1ba fix clang18; Wextra; lots of stuff 2024-10-04 01:55:19 -04:00
oscar
f92a26f9f7 fix permission 2024-09-26 04:37:54 +08:00
oscar
e96e5b0278 metal gic 2024-09-26 04:07:50 +08:00
a7bafe607f remove ioapic from arm builds 2023-12-02 04:43:14 +08:00
0b23e00dad Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/metal-cos 2023-12-01 05:29:21 +08:00
17db81c514 bootstrap,gic,timer 2023-12-01 05:28:53 +08:00
Ali Mashtizadeh
b57247e8aa Print usage in kernel debugger for pci, debug and disk functions. 2023-11-28 23:42:11 -05:00
Ali Mashtizadeh
ddade8ac13 Add progif to pcidump. 2023-11-28 23:36:00 -05:00
Ali Mashtizadeh
82ca7dbcb3 Add nic number as arg to ethdump. 2023-11-24 17:00:23 -05:00
Ali Mashtizadeh
4b926b6ca9 Cleanup E1000 driver and read MAC from MMIO for Qemu. 2023-11-24 17:00:05 -05:00
Ali Mashtizadeh
f7c3993e2d Set default log levels to 0. 2023-11-21 22:59:07 -05:00
Ali Mashtizadeh
78963dd2a4 Merge /home/ali/working/CastorOS-FS 2023-11-21 22:57:04 -05:00
Ali Mashtizadeh
f555666ac4 Fix warnings in stat 2023-11-21 22:56:59 -05:00
Ali Mashtizadeh
0cba356b78 Merge /home/ali/working/CastorOS-FS 2023-11-21 22:53:50 -05:00
Ali Mashtizadeh
5fc993d847 Fix the logic for block allocations and check for errors in fiotest. 2023-11-21 22:52:10 -05:00
Ali Mashtizadeh
3e24705537 Remove warning from spawn tests. 2023-11-21 21:45:06 -05:00
Ali Mashtizadeh
d4fb02e2b4 Implemented write support in the file system and added fiotest, and stat 2023-11-21 21:37:17 -05:00
Ali Mashtizadeh
bd157a12f5 Use PHDR to override where the program headers physaddr is and to remove interp. 2023-11-20 23:11:30 -05:00
a32ba94b9f linker script LMA fix 2023-11-18 00:11:02 +08:00
Ali Mashtizadeh
0ecfc3f99c Linker and boot cleanup 2023-11-09 11:54:56 -05:00
Ali Mashtizadeh
944a67a596 Add Time_GetTSC code for ARM64 2023-11-07 18:48:48 -05:00
Ali Mashtizadeh
081043f8f1 Disable floating point instructions in kernel build. 2023-11-07 12:45:19 -05:00
Ali Mashtizadeh
9ae771481b Add more trap, register and instruction definitions. 2023-11-07 12:44:54 -05:00
Ali Mashtizadeh
ae669bfa83 Buildable skeleton for ARM64 architecture specific code. 2023-10-23 22:28:10 -04:00
Ali Mashtizadeh
3cf6f55b95 Disable x86 specific bits on other architectures. 2023-10-23 22:25:45 -04:00
Ali Mashtizadeh
7756f5e80c Refactor thread code for portability. 2023-10-23 22:24:43 -04:00
Ali Mashtizadeh
cf1adfc2a4 Merge branch 'master' of ssh://review.rcs.uwaterloo.ca:77/source/metal-cos 2023-10-23 22:00:07 -04:00
Ali Mashtizadeh
a13548602c Disable -no-pie link flag. 2023-10-23 21:53:47 -04:00
Ali Mashtizadeh
51b61e3316 Use PROT/MAP flags rather than PTEs to improve portability. 2023-10-23 21:53:07 -04:00
Ali Mashtizadeh
d1a7bc9020 Rename cpu definitions to cpu.h and cpuop.h 2023-10-23 16:27:55 -04:00
Ali Mashtizadeh
14cc577adf Cleanup to prepare for ARM64 + Metal 2023-10-20 16:57:02 -04:00
Ali Mashtizadeh
bd44784c5f Cleanup comments and change CV_WakeAll -> CV_Broacast 2023-10-16 15:07:17 -04:00
Ali Mashtizadeh
7f6b72c963 fix the fgets hack 2023-10-05 12:48:49 -04:00
Ali Mashtizadeh
e3711df1cb shell fix 2023-10-04 16:48:27 -04:00
Emil Tsalapatis
462a92cf1a adjust wait tests to test for pid and return value 2023-10-03 00:39:24 -04:00
Ali Mashtizadeh
32cd3ba42b Add WIFEXITED 2023-10-02 19:53:08 -04:00
Ali Mashtizadeh
032bf32d88 Remove accidently committed debugging 2023-10-02 19:46:25 -04:00
Ali Mashtizadeh
8eedef4e9a Move network commands into sbin 2023-10-02 19:46:06 -04:00