Commit Graph

571 Commits

Author SHA1 Message Date
Drew Galbraith dd2687a59a [Voyageurs] Additional logging about command completion events. 2024-02-22 13:33:02 -08:00
Drew Galbraith 4cb0b0b2ae [Voyageurs] XHCI Event Segment working with polling. 2024-02-22 13:25:49 -08:00
Drew Galbraith b41784b938 [Voyageurs] Create an abstraction for managing TRBs. 2024-02-13 19:51:21 -08:00
Drew Galbraith 2228b5b52e [Voyageurs] First Pass XHCI Controller, resets the controller. 2024-02-06 20:51:16 -08:00
Drew Galbraith 3bacfea183 [Yellowstone] Add method to get XHCI configuration space. 2024-02-06 20:49:43 -08:00
Drew Galbraith 27c39d05e8 [Yunq] Add basic test for repeated fields. 2024-01-17 15:15:55 -08:00
Drew Galbraith 65e9fa1767 Update asm compiler for test-mem as well. 2024-01-17 14:56:32 -08:00
Drew Galbraith 9222f59da3 [Yunq] Add tests for capability serialization. 2024-01-17 14:31:52 -08:00
Drew Galbraith 01e10fb47e Set asm att compiler to gcc in the test environment. 2024-01-17 14:25:54 -08:00
Drew Galbraith a98e66ac47 [Yunq] Add serialization tests for Types message. 2024-01-17 14:15:53 -08:00
Drew Galbraith 3114ac110a [Glacier] Fix string memory deletion (thanks valgrind)../scripts/qemu.sh 2024-01-17 14:14:33 -08:00
Drew Galbraith cd1304beae [Denali] Add back accidentally deleted files. 2024-01-17 14:12:46 -08:00
Drew Galbraith a1f0197e83 [Yunq] Add parse/serialize for i64 field along with tests. 2024-01-17 13:57:02 -08:00
Drew Galbraith e83720e67c [Yunq] Only generate client and server files if an interface exists. 2024-01-17 13:56:22 -08:00
Drew Galbraith fecaa387b0 [Yunq] Add a basic yunq test into libyunq. 2024-01-16 18:58:03 -08:00
Drew Galbraith 9c860dd6a4 [Yunq] Add support for repeated nested fields 2024-01-11 22:09:42 -08:00
Drew Galbraith 05f2403dc2 [Mammoth] Allow allocating slightly more memory. 2024-01-11 22:09:24 -08:00
Drew Galbraith a48d63a664 [Yunq] Add support for nested fields in messages. 2024-01-11 21:32:08 -08:00
Drew Galbraith 9e12531651 [Yunq] Move method numbers to a scheme set by the parser. 2024-01-11 21:00:51 -08:00
Drew Galbraith 3b91819a4b [Yunq] Move message fields to a numbering scheme set by the parser. 2024-01-11 20:59:20 -08:00
Drew Galbraith ee341fa739 Draft 0.1.1 release notes added with work so far. 2024-01-11 20:53:31 -08:00
Drew Galbraith 984d8b143e [Yunq] Move message parser to shared internal function. 2024-01-11 20:47:39 -08:00
Drew Galbraith a71d5e9d24 [Yunq] Explicitly specialize serialization template functions.
While this may end up with some duplicated code, it helps avoid
accidentally generating code for a type that we didn't intend to.
This will help in the future because we will get a linker error rather
than wonky runtime behavior.
2024-01-11 20:41:51 -08:00
Drew Galbraith 7ec4f696a8 [Yunq] Move serialization to yunq library. 2024-01-11 20:36:41 -08:00
Drew Galbraith 0135d8d844 [Yunq] Accept a message view on message parsing. 2024-01-11 20:03:34 -08:00
Drew Galbraith 75d84a0fa5 [Yunq] Read capabilities using the parsing library. 2024-01-11 19:59:36 -08:00
Drew Galbraith 0e6aa532a1 [Yunq] Move MessageView higher in call stack. 2024-01-11 19:51:18 -08:00
Drew Galbraith 30b220b2fb [Yunq] Move repeated field parsing to the yunq library. 2024-01-11 19:36:24 -08:00
Drew Galbraith 9e9ef21a3d [Yunq] POC for moving yunq parsing to a library. 2024-01-11 19:27:57 -08:00
Drew Galbraith 8a711266ef [Zion] Fix init program loader debugging. 2024-01-11 19:02:15 -08:00
Drew Galbraith 7b8528ea99 [VictoriaFallS] Cache the results of reading inodes.
This reduces the number of reads when starting up the OS by ~30% (32-23
for a basic use case).

In the future we should cache things using a BTree in the VFS but this
is sufficient for now.
2024-01-11 18:29:51 -08:00
Drew Galbraith e7cc98a20c [Mammoth] Add the ability to duplicate an owned memory region. 2024-01-11 18:29:45 -08:00
Drew Galbraith be392252a4 [Glacier] Add HashMap move semantics. 2024-01-11 18:29:29 -08:00
Drew Galbraith d74918409c [VictoriaFallS] Refactor Ext2Driver to share inode reading code. 2024-01-11 18:29:05 -08:00
Drew Galbraith 5eb72da9c8 Move glcr::Array & glcr::ArrayView loops to range-based. 2024-01-11 17:39:55 -08:00
Drew Galbraith 0a57d149b6 [Glacier] Add iterator to Array and ArrayView. 2024-01-11 17:39:31 -08:00
Drew Galbraith 66e7e95855 [Glacier] Factor Vector iterator logic into standalone class. 2024-01-11 17:32:06 -08:00
Drew Galbraith b2354ae341 Move many loops over glcr::Vector to range-based loops. 2024-01-11 17:13:35 -08:00
Drew Galbraith c06d1741f3 [Glacier] Add a vector iterator. 2024-01-11 16:59:10 -08:00
Drew Galbraith 36a09f98c9 [Glacier] Add a vector move contructor test. 2024-01-11 16:50:27 -08:00
Drew Galbraith 1b18739403 Separate memory testing script and only generate Cmake dir if necessary. 2024-01-11 16:45:26 -08:00
Drew Galbraith 5f1053cf17 [Glacier] Add Vector tests with memory check. 2024-01-11 16:42:43 -08:00
Drew Galbraith 09d902dfb5 [Glacier] Add a basic unit testing framework. 2024-01-11 16:09:37 -08:00
Drew Galbraith 83b0d9ab61 [Denali] Minor AHCI fixes 2024-01-11 15:09:41 -08:00
Drew Galbraith 21265e76ed [Denali] Reduce logging. 2023-12-08 15:27:32 -08:00
Drew Galbraith 0375306f5e [Denali] Record SATA device sector size and count. 2023-12-08 15:25:44 -08:00
Drew Galbraith e308d8e120 [Denali] Rename devices to ports. 2023-12-08 15:14:52 -08:00
Drew Galbraith 69ce3028fa [Denali] Move AHCI read to internal method as well. 2023-12-08 15:11:56 -08:00
Drew Galbraith 3e1da2bc90 [Denali] Add a simpler command method and use it to send identify. 2023-12-08 15:05:43 -08:00
Drew Galbraith e71017070f [Denali] No longer store Commands on the port. 2023-12-08 14:48:41 -08:00