Commit graph

  • c975a86805 Remove code comment master Imbus 2025-10-30 22:44:50 +01:00
  • 7ac571809a Formatting Imbus 2025-10-30 22:43:59 +01:00
  • 543e5f7001 Unused dependency Imbus 2025-10-30 22:43:52 +01:00
  • 31ecdffa7e RTC tests Imbus 2025-10-30 22:36:55 +01:00
  • 3e94e11212 RTC work Imbus 2025-10-30 22:36:50 +01:00
  • 623f3e8335 Seed badrand later Imbus 2025-10-30 22:36:31 +01:00
  • 6e266e0905 Skip memcpy in badrand Imbus 2025-10-30 22:35:52 +01:00
  • cb0ad6a2a5 Add linux-inspired rtc_class_ops struct Imbus 2025-10-01 03:40:11 +02:00
  • 5c243e3f81 Makefile: separate machine specific options, add link to gcc docs Imbus 2025-10-01 03:39:50 +02:00
  • c36a22c5c8 Clang-format, align function pointers Imbus 2025-10-01 03:39:15 +02:00
  • 70f78dfa26 Better testing for random Imbus 2025-10-01 03:39:02 +02:00
  • e8b2c1ae56 Rename rtc functions Imbus 2025-10-01 03:38:46 +02:00
  • 76037c1c18 badrand: a looks_random functions for a simple sanity check Imbus 2025-10-01 03:38:00 +02:00
  • 2a63fd9d1c Formatting Imbus 2025-10-01 03:37:44 +02:00
  • cea6d7505f Include endian.h Imbus 2025-10-01 02:54:15 +02:00
  • 65d7cfe584 Test badrand in start.c Imbus 2025-10-01 02:53:40 +02:00
  • 2223a42488 Test rtc in main Imbus 2025-10-01 02:53:33 +02:00
  • 8d8ad077ce Include rtc... Imbus 2025-10-01 02:53:13 +02:00
  • f6e543b64d Free the freelist allocation in start.c test, better logging messages Imbus 2025-10-01 02:53:03 +02:00
  • cc24fb66eb Test hexdump in start.c Imbus 2025-10-01 02:52:20 +02:00
  • 795cf84a07 Fix format specifier that doesnt exist in neptune Imbus 2025-10-01 02:51:37 +02:00
  • 1ed4b57882 hexdump.[ch]: utility function for dumping memory regions as hex Imbus 2025-10-01 02:48:32 +02:00
  • f4342ab221 ctype.h: include isprint Imbus 2025-10-01 02:48:03 +02:00
  • 802ac9c012 Seed badrand with an rtc read xored with itself (its called BADrand for a reason) Imbus 2025-10-01 02:42:45 +02:00
  • 0dbb13fea0 Extend badrand with badrand_buf Imbus 2025-10-01 02:41:09 +02:00
  • 6c3d50b6a5 Allow unused for now Imbus 2025-10-01 02:40:50 +02:00
  • 6a2c1f4ea9 Include rtc in build Imbus 2025-10-01 02:40:43 +02:00
  • 2fd62c52b4 Replace __sync compiler intrinsics with 'modern' __atomic Imbus 2025-10-01 02:40:30 +02:00
  • 9d6c9a8bc5 Initial RTC driver for google goldfish Imbus 2025-10-01 02:40:06 +02:00
  • 111d41d610 Buddy bugfix Imbus 2025-10-01 02:39:49 +02:00
  • 435b712f25 Freelist testing in start Imbus 2025-09-09 12:10:05 +02:00
  • 9df66792f2 Limits Imbus 2025-09-09 12:09:57 +02:00
  • 323522b03c Memcmp Imbus 2025-09-09 12:09:53 +02:00
  • c72bce50ac max_align_t Imbus 2025-09-09 11:20:27 +02:00
  • 700828676b Some more stdint types and defines Imbus 2025-09-09 11:20:13 +02:00
  • 6b12606d82 Freelist that seems to behave Imbus 2025-09-09 11:11:28 +02:00
  • 6cb84f5081 stdalign Imbus 2025-09-08 09:24:50 +02:00
  • ca0b25d110 Update freelist Imbus 2025-09-08 09:16:40 +02:00
  • d583dbaced Initial implementation of a freelist. blocks contain a header Imbus 2025-09-08 05:03:40 +02:00
  • f01b71f4a6 next_power_of_two bit hack function Imbus 2025-09-08 05:02:38 +02:00
  • 45ad16efb0 xv6-riscv license Imbus 2025-09-08 00:48:13 +02:00
  • e9f2eef252 String: strncmp, strncpy Imbus 2025-09-08 00:45:41 +02:00
  • 8316c9f6ae Remove original kalloc free-list memory allocator entirely for now Imbus 2025-09-06 02:40:05 +02:00
  • 90c63ab41e Buddy allocator Imbus 2025-09-06 02:37:09 +02:00
  • 21d55031d9 memory.h: sweep algorithm for checking regions Imbus 2025-09-06 02:36:29 +02:00
  • e762502c33 Include stdio in assert.h Imbus 2025-09-06 02:36:04 +02:00
  • 7301205e1f Add newline to panic macro Imbus 2025-09-06 02:09:48 +02:00
  • 57be90da84 kernel.ld: slight rewrite, use memory regions for ram instead of static offset Imbus 2025-09-06 00:54:38 +02:00
  • 6f5746a805 Checklist mark kassert done Imbus 2025-09-06 00:15:27 +02:00
  • 89197a0b07 assert.h: assert & assert_msg panic macros Imbus 2025-09-06 00:13:24 +02:00
  • dac4f9de43 Repairing PANIC macro, now handles VA_ARGS properly Imbus 2025-09-06 00:12:58 +02:00
  • bb38272597 Add monocypher to clang-format-ignore Imbus 2025-09-06 00:00:26 +02:00
  • aff745ab63 clang-format-ignore: mini-printf Imbus 2025-09-06 00:00:15 +02:00
  • f9b72df529 Some licenses to projects likely to be referenced in the future Imbus 2025-09-05 23:59:54 +02:00
  • 2eba11bb3f stdlib: abs, labs, llabs Imbus 2025-09-05 23:43:08 +02:00
  • 9bd5fdfa45 Include stdlib in string.h Imbus 2025-09-05 23:32:15 +02:00
  • 291d0797e3 stdlib.h: define EXIT_SUCCESS and EXIT_FAILURE Imbus 2025-09-05 23:32:03 +02:00
  • 851424f3cb stdint.h: typedefs for signed integers (int8_t, i8, e.t.c.) Imbus 2025-09-05 23:31:39 +02:00
  • b9b1de5ff1 License: mini-printf Imbus 2025-09-05 07:58:49 +02:00
  • 78e4ad9885 Slab outline Imbus 2025-09-04 17:57:59 +02:00
  • 129b29eaf3 Likely/unlikely Imbus 2025-09-04 05:00:09 +02:00
  • 4ee23cd145 stddef.h: size_t Imbus 2025-09-04 05:00:02 +02:00
  • c82f60c685 Make help note in readme Imbus 2025-09-02 05:01:00 +02:00
  • e5d5ad5c2e Make help target Imbus 2025-09-02 05:00:14 +02:00
  • 17e8021a43 Readme, note about dependencies Imbus 2025-09-02 04:49:54 +02:00
  • a02c1fcebd Use compiler builtins for spin_unlock, correct initialization for spinlock_init Imbus 2025-09-02 04:43:55 +02:00
  • e15b705eda Enable pop_off and push_off in spinlocks Imbus 2025-09-02 04:30:00 +02:00
  • 595ae0a8e2 Clean up string.c, remove unused duplicates Imbus 2025-09-02 04:29:24 +02:00
  • f98500001c Fix include in endian.h Imbus 2025-09-02 04:29:05 +02:00
  • c38a0cbf41 Config header guard Imbus 2025-09-02 03:27:43 +02:00
  • 4ed3650089 Correcting header guards across the kernel Imbus 2025-09-02 03:27:36 +02:00
  • 8d126a6dfd Add boot message about how to exit qemu Imbus 2025-09-02 03:16:38 +02:00
  • e27517f523 Quickstart target Imbus 2025-09-02 03:16:29 +02:00
  • 9fd79ba46e Readme: klog Imbus 2025-09-02 03:09:42 +02:00
  • f52f670eca Add slick banner on boot Imbus 2025-09-02 03:07:52 +02:00
  • 6bbaec0294 Readme: More toro, structure links to libc's in a list Imbus 2025-09-02 02:59:01 +02:00
  • 0e598b7ee0 Readme: add section about todo Imbus 2025-09-02 02:51:50 +02:00
  • 9790807355 Todo Imbus 2025-09-02 02:51:34 +02:00
  • 8839f06fd2 Formatting Imbus 2025-09-02 02:47:51 +02:00
  • 7ba7b9cc63 Format will now only check kern Imbus 2025-09-02 02:47:47 +02:00
  • 68f3353fbd Bug: fix incorrect reference level Imbus 2025-09-02 02:44:21 +02:00
  • 5596841482 Handle panic through kvprintf instead Imbus 2025-09-02 02:37:00 +02:00
  • e30cc4c3d0 Better documentation for kprintf/stdio Imbus 2025-09-02 02:30:25 +02:00
  • ee6c75d905 Documentation in kprintf Imbus 2025-09-02 02:24:45 +02:00
  • f5a32db7a3 Removed alias variables in makefile Imbus 2025-09-02 02:08:09 +02:00
  • d15ab5cc04 Readme: include a note about bear, example included Imbus 2025-09-02 02:04:44 +02:00
  • 59fda90b89 Notes on dependencies Imbus 2025-09-02 01:59:38 +02:00
  • 4c96aac02c Badrand pseudo random number generator, emphasis on pseudo Imbus 2025-09-02 01:59:24 +02:00
  • edc082adcb Prettier output when fetching toolchain Imbus 2025-09-02 01:59:00 +02:00
  • f654aeb038 Readme: include a quick start section, describe directory outline Imbus 2025-09-02 01:25:47 +02:00
  • 73795f8944 Better clean Imbus 2025-09-02 01:11:40 +02:00
  • 6a6068c8b6 Put noisy info into dedicated 'make info' target, with version and flag info as well. Imbus 2025-09-02 01:07:09 +02:00
  • f2c4a3ed28 Better makefile, working toolchain fetching Imbus 2025-09-02 01:02:17 +02:00
  • 0d8a1af1ff Use panic macro where suitable Imbus 2025-09-02 00:17:58 +02:00
  • 6c21ac7669 Better panic, with PANIC macro Imbus 2025-09-02 00:17:44 +02:00
  • a6ae43f583 Convert from uart_puts to kprintf Imbus 2025-09-02 00:17:34 +02:00
  • 7018424278 stdio kprintf working Imbus 2025-09-02 00:17:12 +02:00
  • a1f592c880 Stddef NULL Imbus 2025-09-02 00:15:58 +02:00
  • 0df09d5086 Spinlock cleaning Imbus 2025-09-01 23:41:11 +02:00
  • eec052bafa Typedef some common structs Imbus 2025-09-01 23:41:00 +02:00