Commit Graph

  • 11b61ab345 [kernel] Change kernel log levels Justin C. Miller 2022-09-25 17:25:43 -07:00
  • 7b8fd76af0 [libj6] Move caps.h to cap_flags.h Justin C. Miller 2022-09-25 17:23:14 -07:00
  • a2b876825a [kernel] Move mispalced slab_allocated.h Justin C. Miller 2022-09-25 17:15:00 -07:00
  • 9f981ada41 [kernel] Save rsp0 to a process' TSS too Justin C. Miller 2022-09-16 19:39:32 -07:00
  • b4f13d694f [kernel] Make lld output SysV ABI ELF binaries Justin C. Miller 2022-09-16 19:35:36 -07:00
  • 5c26308b23 [kernel] Fix inverted block flag in mailbox_receive Justin C. Miller 2022-09-11 14:14:39 -07:00
  • 7fd39e91c1 [kernel] Pull block_allocator out into separate class Justin C. Miller 2022-09-11 14:12:18 -07:00
  • 1d4c66a9a0 [util] Make bitset more constexpr-friendly Justin C. Miller 2022-09-11 14:07:21 -07:00
  • e2f4dad288 [kernel] Interrupt vector priority rearrangement Justin C. Miller 2022-03-13 20:00:49 -07:00
  • 31c2053c1c [libc] Implement some math.h functions with builtins Justin C. Miller 2022-03-13 18:11:45 -07:00
  • d759aae318 [kernel] Add new threads to different CPUs Justin C. Miller 2022-03-13 18:07:08 -07:00
  • bb0d30610e [util] Add util::format replacement for snprintf Justin C. Miller 2022-03-13 17:59:56 -07:00
  • 24f324552a [kernel] Get rid of fake stack frame in isr_prelude Justin C. Miller 2022-03-13 17:54:27 -07:00
  • 5c3943bf38 [kernel] Make grabbing an IST stack atomic Justin C. Miller 2022-03-13 17:49:29 -07:00
  • 90663a674a [kernel] Unify CPUs' control register settings Justin C. Miller 2022-03-13 17:45:16 -07:00
  • cca07d97b5 [test_runner] Fix static ctor ordering bug Justin C. Miller 2022-03-13 17:41:50 -07:00
  • 1cc22e78e2 [kernel] Save all cpu_data pointers in global array Justin C. Miller 2022-03-13 17:40:19 -07:00
  • 95252e793c [kernel] Fix incorrect BSP idle rsp0 Justin C. Miller 2022-03-13 17:36:33 -07:00
  • 54aef00913 [cpu] Reimplement CPUID features as util::bitset Justin C. Miller 2022-03-13 17:33:16 -07:00
  • e2eaf43b4a [util] Add templated bitset class Justin C. Miller 2022-03-13 17:26:29 -07:00
  • e7ccccad7f [tools] Improve j6threads display Justin C. Miller 2022-03-13 17:15:42 -07:00
  • d08e5dabe4 [kernel] Fix AP idle stack overflow Justin C. Miller 2022-03-13 16:58:57 -07:00
  • df8eb43074 [project] README updates v0.6.0 Justin C. Miller 2022-02-28 21:48:18 -08:00
  • 8b5aedd463 [libc] Stub out math.h Justin C. Miller 2022-02-28 20:34:32 -08:00
  • b0c0dc53b1 [srv.logger] Create new logger service Justin C. Miller 2022-02-28 20:31:50 -08:00
  • 17dcb961ec [srv.init] Serve a service locator protocol from init Justin C. Miller 2022-02-28 20:23:18 -08:00
  • ef307e8ec6 [kernel] Fix mailbox bugs Justin C. Miller 2022-02-28 20:16:42 -08:00
  • b8684777e0 [kernel] Allow blocking on empty channels Justin C. Miller 2022-02-28 20:10:56 -08:00
  • 446025fb65 [kernel] Add clear() method to wait_queue Justin C. Miller 2022-02-28 20:06:49 -08:00
  • 19105542e5 [libc] Change memcpy back to rep movsb Justin C. Miller 2022-02-28 18:56:38 -08:00
  • 467c2408c4 [util] Specialize util::hash() for more integer types Justin C. Miller 2022-02-28 18:52:18 -08:00
  • f87a4fcd4e [kernel] Don't delete system object on no handles Justin C. Miller 2022-02-28 18:50:59 -08:00
  • 9120318594 [kernel] Change thread_sleep arg from time to duration Justin C. Miller 2022-02-28 18:43:20 -08:00
  • 982442eb00 [kernel] Add an IPI to tell a CPU to run the scheduler Justin C. Miller 2022-02-26 14:04:14 -08:00
  • 40274f5fac [kernel] Fix logger::get_entry() blocking bug Justin C. Miller 2022-02-26 13:46:11 -08:00
  • a03804b09d [kernel] Add RAII profiler object Justin C. Miller 2022-02-26 13:19:21 -08:00
  • a9f40cf608 [panic] Improve panic register display Justin C. Miller 2022-02-26 13:14:16 -08:00
  • 82025bacad [kernel] Make bsp_idle a separate symbol Justin C. Miller 2022-02-26 13:04:21 -08:00
  • 2640cea175 [util] Update constexpr hash to be FNV-1a Justin C. Miller 2022-02-22 00:20:00 -08:00
  • 63265728d4 [kernel] Fix build breakage Justin C. Miller 2022-02-22 00:12:07 -08:00
  • 69a3b6dad7 [test_runner] Add handle test suite Justin C. Miller 2022-02-22 00:06:42 -08:00
  • 30aed15090 [kernel] Replace endpoint with new mailbox API Justin C. Miller 2022-02-22 00:06:14 -08:00
  • f7ae2e2220 [kernel] Re-design thread blocking Justin C. Miller 2022-02-21 19:16:20 -08:00
  • f93d80b8d2 [project] Update Readme and remove toolchain scripts Justin C. Miller 2022-02-14 19:52:45 -08:00
  • a6632625f4 [srv.init] Fix VMA size for non-aligned segments Justin C. Miller 2022-02-14 00:18:29 -08:00
  • b353d68193 [drv.uart] Make level_names and area_names const Justin C. Miller 2022-02-13 00:12:42 -08:00
  • b46b6363ff [libc] Run the .preinit_array as well in __init_libc Justin C. Miller 2022-02-13 00:09:36 -08:00
  • 3be4b103a2 [srv.init] Improve loader for non-aligned segments Justin C. Miller 2022-02-13 00:05:35 -08:00
  • dc5efeecbb [panic.serial] Display memory around the user rip Justin C. Miller 2022-02-12 21:38:44 -08:00
  • 6dea9a4b63 [libc] Fix memset off-by-half error Justin C. Miller 2022-02-12 21:36:51 -08:00
  • 4e5a796e50 [test_runner] Add test_runner program Justin C. Miller 2022-02-12 21:30:14 -08:00
  • 9620f040cb [build] Build user programes with libc++ et al Justin C. Miller 2022-02-12 15:00:50 -08:00
  • d20c77c618 [libc] Call global ctors in user code Justin C. Miller 2022-02-12 13:55:07 -08:00
  • ba610864c7 [kernel] Add TLB invalidation when unmapping pages Justin C. Miller 2022-02-12 01:31:28 -08:00
  • d7bf156b30 [libc] Move getenv back to stdlib Justin C. Miller 2022-02-10 20:39:03 -08:00
  • 195b635f74 [libc] Implement atexit et al Justin C. Miller 2022-02-10 20:36:04 -08:00
  • c0ae77cd64 [libc] Add stubbed-out stdio and libdl functions Justin C. Miller 2022-02-09 18:51:02 -08:00
  • 57b2d6dbd8 [libc] Fix noreturn c++ compatibility Justin C. Miller 2022-02-09 18:49:16 -08:00
  • 4e3ba66b0c [libc] Consolidate ctype Justin C. Miller 2022-02-09 18:46:35 -08:00
  • 278876c19d [kernel] Fix handle_list count bug Justin C. Miller 2022-02-06 21:43:00 -08:00
  • 68a6007fd9 [kernel] Add "noreturn" syscall option Justin C. Miller 2022-02-06 21:41:05 -08:00
  • 346c172b32 [libc] Add new libc Justin C. Miller 2022-02-06 21:39:04 -08:00
  • 5ddac353a0 [libc] Remove old libc Justin C. Miller 2022-02-06 12:26:48 -08:00
  • 4545256b49 [build] Move headers out of target dirs Justin C. Miller 2022-02-06 10:18:51 -08:00
  • db23e4966e [kernel] Make panic noreturn Justin C. Miller 2022-02-03 19:51:19 -08:00
  • 5146429d19 [tools] Always have gdb load symbols for panic handler Justin C. Miller 2022-02-03 19:50:04 -08:00
  • 0e80c19d3d [kernel] Add test mode, controlled by manifest Justin C. Miller 2022-02-03 19:45:46 -08:00
  • 401e662f0b [kernel] Have threads return status from wait_on_* Justin C. Miller 2022-02-03 00:06:58 -08:00
  • ad5ebae304 [kernel] Let process::add_handle take a handle argument Justin C. Miller 2022-02-03 00:04:09 -08:00
  • 7d5feb943f [kernel] Add handle badge to ctor/assignment Justin C. Miller 2022-02-03 00:02:46 -08:00
  • b6d4fb698c [kernel] Support handle tag directly on syscalls Justin C. Miller 2022-02-01 00:39:15 -08:00
  • e3ecd73cd8 [util] Add constexpr log2/is_pow2 helpers Justin C. Miller 2022-01-30 21:02:32 -08:00
  • 5dfc6ae62e [kernel] Add event syscalls Justin C. Miller 2022-01-30 20:56:44 -08:00
  • 343622d4e5 [kernel] Fix up formatting Justin C. Miller 2022-01-30 20:52:43 -08:00
  • 9945ebab34 [kernel] Get rid of obsolete thread loading state Justin C. Miller 2022-01-30 20:50:48 -08:00
  • 42774d94c0 [kernel] Fix SMP not starting Justin C. Miller 2022-01-30 20:48:50 -08:00
  • dd535158f2 [kernel] Re-add slab_allocated mixin Justin C. Miller 2022-01-30 20:46:19 -08:00
  • a7245116b6 [util] Add util::deque container Justin C. Miller 2022-01-30 20:42:49 -08:00
  • 2aef7176ab [kernel] Add missing zero_ok changes Justin C. Miller 2022-01-30 20:38:51 -08:00
  • 5e1e056623 [tools] Fix gdb j6threads not listing blocked threads Justin C. Miller 2022-01-30 20:34:34 -08:00
  • da5c1e9833 [kernel] Add new zero_ok flag to syscall params Justin C. Miller 2022-01-30 14:21:08 -08:00
  • b6218a1121 [kernel] Allow 7+ argument syscalls Justin C. Miller 2022-01-30 12:25:11 -08:00
  • 17ca402aa0 [build] Rename module ninja files to module.<name>.ninja Justin C. Miller 2022-01-29 16:05:34 -08:00
  • cd037aca15 [kernel] Let objects inherit caps from superclasses Justin C. Miller 2022-01-29 15:22:38 -08:00
  • bdae812274 [kernel] Add handle_clone syscall Justin C. Miller 2022-01-28 23:40:21 -08:00
  • f1246f84e0 [kernel] Add capabilities to handles Justin C. Miller 2022-01-28 01:49:26 -08:00
  • 9b75acf0b5 [kernel] Re-add channel syscalls Justin C. Miller 2022-01-27 22:16:44 -08:00
  • 42d7f4245d [kernel] Remove placement-new declaration from memory.h.cog Justin C. Miller 2022-01-27 22:04:06 -08:00
  • fd25d3babc [kernel] Clean up main.cpp and others Justin C. Miller 2022-01-27 19:28:35 -08:00
  • 3f8dfbd5b2 [kernel] Add locking to endpoint Justin C. Miller 2022-01-23 19:42:37 -08:00
  • 0394f29f70 [util] Add release() and reaquire() to scoped_lock Justin C. Miller 2022-01-23 19:40:00 -08:00
  • 0a07a7af01 [tools] Add qemu.sh options Justin C. Miller 2022-01-23 19:36:53 -08:00
  • a30ef5b3dc [build] Update compile_commands.json when building Justin C. Miller 2022-01-23 17:47:06 -08:00
  • 2750ec8ef9 [util] Fix bip_buffer concurrency bug Justin C. Miller 2022-01-23 17:43:30 -08:00
  • 850999727c Add .cache (from clangd) to gitignore Justin C. Miller 2022-01-23 00:53:30 -08:00
  • 3dd029b1ac [tools] Add thread state flags to j6threads gdb command Justin C. Miller 2022-01-23 00:34:44 -08:00
  • 75e7fe941b [kernel] Fix thread-wait scoped lock scoping bug Justin C. Miller 2022-01-23 00:32:06 -08:00
  • cbd2d9d625 [kernel] Fix scheduler promotion bug Justin C. Miller 2022-01-23 00:29:51 -08:00
  • 1d30322820 [kernel] Pass objects not handles to syscall impls Justin C. Miller 2022-01-17 23:23:04 -08:00
  • e0246df26b [kernel] Add automatic verification to syscalls Justin C. Miller 2022-01-16 15:11:58 -08:00