Commit Graph

  • 069bc63d1f [kernel] Return j6_err_timed_out when event_wait times out Justin C. Miller 2023-03-16 19:48:39 -07:00
  • 373121c455 [libj6] Take out explicit type IDs from object_types.inc Justin C. Miller 2023-03-16 19:47:29 -07:00
  • 936b12a977 [kernel] Deal with getting multiple log entries in debugcon Justin C. Miller 2023-03-16 19:45:40 -07:00
  • 2a4c286f2b [kernel] Fix error when log data wraps ring buffer Justin C. Miller 2023-03-16 19:43:51 -07:00
  • bfab4f085e [cpu] Rename cpu_id::validate() to cpu_id::features() Justin C. Miller 2023-03-16 19:41:07 -07:00
  • 201e7191ef [kernel] Make scheduler run queue's prev be an id, not a pointer Justin C. Miller 2023-03-16 19:37:49 -07:00
  • 9fa588566f [kernel] First steps at removing channel objects Justin C. Miller 2023-03-16 19:32:52 -07:00
  • ed95574c24 [kernel] Add (wip) futex syscalls Justin C. Miller 2023-02-26 11:32:30 -08:00
  • 0c777bc62f [util] Add move-assignment operators to node_map, deque Justin C. Miller 2023-02-26 11:27:30 -08:00
  • 1d7d5e8015 [tools] Allow for pointer-to-integer types in .def files Justin C. Miller 2023-02-26 11:22:44 -08:00
  • 95627ba43c [kernel] Set mxcsr and xcr0 in cpu_early_init Justin C. Miller 2023-02-23 18:22:22 -08:00
  • 841ac41e36 [tools] Rearrange qemu tmux windows on smaller displays Justin C. Miller 2023-02-22 21:14:10 -08:00
  • a46d8bce37 [libc] Mark cast_to as always_inline Justin C. Miller 2023-02-20 11:36:36 -08:00
  • 4052911ac4 [kernel] Clean up log areas Justin C. Miller 2023-02-20 11:35:44 -08:00
  • 3a7a18011c [init] Move PCIe probing to srv.init Justin C. Miller 2023-02-20 11:23:49 -08:00
  • 15e2f8abf3 [boot] Stop picking largest video mode Justin C. Miller 2023-02-20 11:21:35 -08:00
  • 6b43ddc8d7 [build] Update user build flags Justin C. Miller 2023-02-20 11:20:46 -08:00
  • 508058c3d7 [uefi_fb] Fix log messages not showing in drv.uefi_fb Justin C. Miller 2023-02-20 11:18:59 -08:00
  • 4c9ff44b1c [init] Switch init to driver_main instead of custom _start Justin C. Miller 2023-02-20 11:15:08 -08:00
  • c092e07832 [libj6] Allow driver_main instead of main for accepting extra arguments Justin C. Miller 2023-02-20 11:05:53 -08:00
  • abe7fe37d0 [libj6] Add formatting j6::syslog wrapper for j6_log Justin C. Miller 2023-02-20 11:01:45 -08:00
  • cca8e8b3ad [init] Let init pass module data to drivers Justin C. Miller 2023-02-19 14:44:16 -08:00
  • 7c194950bb [uart] Make UART driver single-threaded Justin C. Miller 2023-02-19 14:41:55 -08:00
  • 723f7d0330 [kernel] Delete processes & threads only via refcounts Justin C. Miller 2023-02-19 14:37:31 -08:00
  • 274891854f [kernel] Simplify event and wait_queue Justin C. Miller 2023-02-19 14:34:03 -08:00
  • 94b2a79f79 [kernel] Remove process & thread self-handles Justin C. Miller 2023-02-19 11:23:23 -08:00
  • d2a6113fb7 [kernel] Fix frame allocation for multiple pages Justin C. Miller 2023-02-19 01:07:13 -08:00
  • 55c88dd943 [many] Fix many cases of 1 << n exceeding the size of int Justin C. Miller 2023-02-18 19:53:04 -08:00
  • 42db1e8899 [kernel] Add lock-releasing version of thread::block() Justin C. Miller 2023-02-18 17:21:39 -08:00
  • 38ca7004a6 [util] Add thread id to kernel spinlocks Justin C. Miller 2023-02-18 15:19:49 -08:00
  • 8817766469 [kernel] Keep other threads out of idle priority Justin C. Miller 2023-02-18 14:17:57 -08:00
  • e250aaef30 [kernel] Exit the current thread last on process exit Justin C. Miller 2023-02-18 13:58:23 -08:00
  • 7b29ba7d23 [uart] Pass com1 address directly to thread proc Justin C. Miller 2023-02-14 20:35:03 -08:00
  • dc30437ce7 [kernel] Remove page_table's cache counter Justin C. Miller 2023-02-14 20:29:40 -08:00
  • 2c2398b549 [kernel] Protect process::m_threads with a lock Justin C. Miller 2023-02-14 20:25:19 -08:00
  • bce01591f3 [kernel] Improve debugcon & panic display Justin C. Miller 2023-02-14 20:18:56 -08:00
  • 847ef1ccfe [tools] Make qemu.sh --debug also show the debugcon Justin C. Miller 2023-02-14 20:14:33 -08:00
  • 6fa9b33ac0 [debugging] Add j6log gdb command Justin C. Miller 2023-02-14 20:10:30 -08:00
  • df6d5b3b16 [debugging] Fix gdb script koid refs & panic CPU display Justin C. Miller 2023-02-10 17:46:21 -08:00
  • 4884a624d9 [kernel] Make panic::panic not inline Justin C. Miller 2023-02-10 17:44:17 -08:00
  • ea587076ed [init] Go back to boot modules having inline data Justin C. Miller 2023-02-10 01:01:01 -08:00
  • 0eddb002f0 [libj6] Create a standard definition of the log entry type Justin C. Miller 2023-02-09 21:19:30 -08:00
  • 8f968f4954 [uart] Fix uart driver & testapp j6::thread usage Justin C. Miller 2023-02-08 23:20:44 -08:00
  • 094b54d728 [tests] Get mailbox test running again Justin C. Miller 2023-02-08 23:16:22 -08:00
  • 4125175870 [kernel] Give threads initial arguments Justin C. Miller 2023-02-08 23:10:17 -08:00
  • 1cb8f1258d [testapp] Re-add testapp to default manifest Justin C. Miller 2023-02-08 22:44:05 -08:00
  • f05a1d3310 [kernel] Revive the debugcon logger as a kernel thread Justin C. Miller 2023-02-08 22:32:01 -08:00
  • 71069cb38b [kernel] Empty wait_queue after calling clear() Justin C. Miller 2023-02-08 22:29:49 -08:00
  • 393db1e792 [kernel] Switch logger from bip to ring buffer Justin C. Miller 2023-02-07 20:19:02 -08:00
  • 0a097ec7d3 [kernel] Add add_existing() to page_tree Justin C. Miller 2023-02-07 19:40:12 -08:00
  • ada660deeb [kernel] Move log buffer to its own memory section Justin C. Miller 2023-02-07 19:12:40 -08:00
  • 118ee73ff1 [srv.init] Iterate and load drivers and services from initrd v0.7.0 Justin C. Miller 2023-02-07 01:05:38 -08:00
  • 6a6b75b418 [kernel] Conditionally add an isa-debugcon output to logger Justin C. Miller 2023-02-06 20:53:47 -08:00
  • 9297017688 [util] Improve util::counted usage as a bool Justin C. Miller 2023-02-06 01:16:26 -08:00
  • 359ee035d8 [kernel] Only accept invalid handles for optional syscall args Justin C. Miller 2023-02-06 01:13:55 -08:00
  • 8966380ef9 [build] Warn on zero-length symbols when building symbol table Justin C. Miller 2023-02-06 00:37:26 -08:00
  • ab31825ab3 [boot] Restructure boot paging and program loading Justin C. Miller 2023-02-05 22:02:41 -08:00
  • aba45b9b67 [boot] Go back to loading symbol table in boot Justin C. Miller 2023-02-04 00:00:59 -08:00
  • 86d458fc6c [util] Move remaining *printf impementations to util::format Justin C. Miller 2023-02-01 22:25:17 -08:00
  • eba0127645 [bonnibel] Allow modules to list ld scripts in definition Justin C. Miller 2023-01-31 23:57:39 -08:00
  • 61199d2f80 [boot] Don't print 'ok' in status line until success Justin C. Miller 2023-01-31 22:40:05 -08:00
  • 72db77fb58 [build] Move configs/ to assets/build/ Justin C. Miller 2023-01-30 00:42:35 -08:00
  • 7771584a18 [util] Switch CDB to use util::const_buffer Justin C. Miller 2023-01-29 22:43:16 -08:00
  • 8b29680850 [init] Load uart and logger from initrd Justin C. Miller 2023-01-29 21:35:12 -08:00
  • 933e4e8040 [assets] Update to latest OVMF build Justin C. Miller 2023-01-29 20:33:38 -08:00
  • 5ea5978ee8 [kernel] Hide kernel symbols by default Justin C. Miller 2023-01-29 19:36:20 -08:00
  • e2e1696b7e [zstd] Move zstd.module to external/ Justin C. Miller 2023-01-29 19:18:19 -08:00
  • 6f7dd7fc05 [boot] More initrd format changes Justin C. Miller 2023-01-29 19:10:12 -08:00
  • 1f15d2ef49 [util] Break out util::const_buffer type Justin C. Miller 2023-01-29 19:07:21 -08:00
  • 66abcc57a2 [boot] Build, load, and pass initrd from boot to init Justin C. Miller 2023-01-17 19:12:40 -07:00
  • 6ef15a2721 [init] Add new initrd format Justin C. Miller 2023-01-17 18:48:28 -07:00
  • 5a3e0ba541 [definitions] Fix comment to clarify map_phys size units Justin C. Miller 2023-01-17 18:44:16 -07:00
  • 3af2d41a7f [zstd] Add libzstd Justin C. Miller 2023-01-17 15:34:05 -08:00
  • 1b0c0b6dbe [util] Add missing <new> header Justin C. Miller 2023-01-14 18:33:34 -08:00
  • e93f48e2f7 [kernel] Track capability reference counts Justin C. Miller 2023-01-14 15:40:18 -08:00
  • 7150e11ed0 [tools] Add remote option to qemu.sh Justin C. Miller 2023-01-08 00:17:13 -08:00
  • 28cd3bb625 [kernel] Rename kernel main.cpp Justin C. Miller 2022-12-22 19:23:12 -08:00
  • 6ac4ec601d [kernel] standardize static constexpr order in kobject headers Justin C. Miller 2022-10-22 16:49:25 -07:00
  • 99b59393fe [init] Use a real std::unordered_map for the services map Justin C. Miller 2023-01-14 15:32:42 -08:00
  • 8c1bb593ce [libc] Add ciel, frexpr implementations Justin C. Miller 2023-01-12 21:51:36 -08:00
  • 372bc1d2e6 [kernel] Store object ids instead of full koids Justin C. Miller 2022-10-20 22:41:16 -07:00
  • 6583744532 [libj6] Add thread wrapper class Justin C. Miller 2022-10-20 22:12:02 -07:00
  • 2703080df2 [kernel] Add thread_join syscall Justin C. Miller 2022-10-20 21:58:10 -07:00
  • 194776d226 [kernel] Remove status code from thread exit Justin C. Miller 2022-10-20 21:49:40 -07:00
  • c02aa084d1 [kernel] Allow for not passing handles in new mailbox calls Justin C. Miller 2022-10-14 21:55:46 -07:00
  • 516f4f1920 [boot] Support non-page-aligned program sections in init Justin C. Miller 2022-10-14 21:53:30 -07:00
  • b8323f7e0e [util] Move util::vector to allocator api Justin C. Miller 2022-10-14 01:09:28 -07:00
  • f5f2076db5 [kernel] Lock the heap allocator for part of reallocate Justin C. Miller 2022-10-14 01:07:37 -07:00
  • 1a04310f80 [kernel] Simplify mailbox code, and messages Justin C. Miller 2022-10-14 01:02:56 -07:00
  • e830a3d37b [kernel] Move slab_allocated items to the heap Justin C. Miller 2022-10-11 18:52:19 -07:00
  • c9bcc87511 [kernel] Simplify mailbox interface to call/respond Justin C. Miller 2022-10-11 17:36:23 -07:00
  • 9ac4e51224 [kernel] Make capabilities/handles global Justin C. Miller 2022-10-10 21:19:25 -07:00
  • 41bb97b179 [util] Add node_set container Justin C. Miller 2022-10-10 21:04:51 -07:00
  • 531e160136 [util] Fix node_map growth Justin C. Miller 2022-10-10 20:58:31 -07:00
  • ba0ce13fe3 [util] Add util allocator.h interface Justin C. Miller 2022-10-10 20:54:30 -07:00
  • 48e3f9f9d2 [kernel] Fix freelist-clobber bug in heap allocator Justin C. Miller 2022-10-10 20:50:08 -07:00
  • 19791d1d7f [debug] Add gdb pretty-printers: vectors, handle sets, cap table Justin C. Miller 2022-10-09 16:46:12 -07:00
  • d04b2ae315 [tools] Allow struct types in definitions Justin C. Miller 2022-10-06 23:15:20 -07:00
  • 6b20f1fb19 [kernel] Make sure high bits are 0 writing SFMASK MSR Justin C. Miller 2022-10-04 20:10:41 -07:00
  • e90647d498 [kernel] Change heap alloc for better alignment Justin C. Miller 2022-10-02 17:27:21 -07:00