1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

51 Commits

Author SHA1 Message Date
Alex Forencich
dc48d86b99 Improve BAR initialization 2020-07-24 22:54:55 -07:00
Alex Forencich
060320010d Don't configure MSI if already configured 2020-03-02 21:16:09 -08:00
Alex Forencich
d561195dc8 Add get_data_credits to TLP 2019-12-07 00:54:16 -08:00
Alex Forencich
34c97150e8 Fix get_free_tag 2019-11-04 14:11:24 -08:00
Alex Forencich
2c43a6e189 Use mmap objects instead of bytearrays 2019-10-13 15:41:12 -07:00
Alex Forencich
6e5a3934b2 Add get_free_tag methods 2019-07-15 20:38:09 -07:00
Alex Forencich
4bf1205514 Fix completion handling in function 2019-07-15 20:25:23 -07:00
Alex Forencich
209cb7d41d Fix completion handling 2019-06-12 21:29:19 -07:00
Alex Forencich
6810c75723 Fix parameter 2019-05-09 23:20:36 -07:00
Alex Forencich
2f09c69e34 Add wrappers for word access 2019-04-22 16:43:21 -07:00
Alex Forencich
33dceb493b More asserts 2019-03-01 01:09:27 -08:00
Alex Forencich
67d31ecef0 Set more parameters during enumeration 2019-03-01 01:07:57 -08:00
Alex Forencich
1480be2173 Rewrite capability management 2019-02-28 23:45:23 -08:00
Alex Forencich
6baede4717 Broadcast message support 2019-02-15 18:04:46 -08:00
Alex Forencich
1630200cd8 Implement proper downstream TLP routing 2019-02-15 17:55:24 -08:00
Alex Forencich
178133498b Fix indentation 2019-02-15 17:23:33 -08:00
Alex Forencich
13d35569fa Match IO bars for routing IO operations 2019-02-15 17:23:14 -08:00
Alex Forencich
35a4d62fb8 Split SwitchBridge into separate upstream and downstream ports 2019-02-15 16:56:21 -08:00
Alex Forencich
247bca01f3 Add default_switch_port parameter 2019-02-15 15:26:09 -08:00
Alex Forencich
8cb607be04 Fix calls to read and write root complex regions 2019-02-15 14:40:24 -08:00
Alex Forencich
9f36acebc2 Print TLP payloads in hex 2019-01-28 18:17:21 -08:00
Alex Forencich
667b5c42c5 Add support for registering MSI callbacks 2019-01-28 16:30:19 -08:00
Alex Forencich
5a02ba2cb1 Use yield from more consistently 2018-10-23 21:24:39 -07:00
Alex Forencich
4adaa480ca Mask out old field value 2018-10-15 13:52:05 -07:00
Alex Forencich
22850707a6 Address is relative to beginning of region 2018-10-15 13:51:43 -07:00
Alex Forencich
be8ef351ce Fix off-by-one error 2018-10-15 13:51:19 -07:00
Alex Forencich
325df5152f Don't reimplement mem_write for MSI and MSI-X 2018-10-15 11:39:33 -07:00
Alex Forencich
15fdbfeba7 Add attr and tc parameters to mem_read and mem_write 2018-10-15 11:35:37 -07:00
Alex Forencich
e19c84c092 Add msi_register_signal 2018-10-15 10:37:35 -07:00
Alex Forencich
997db1e141 Implment MSI support in RootComplex 2018-10-15 00:08:22 -07:00
Alex Forencich
80c8e01bfd Add issue_msi_interrupt and issue_msix_interrupt 2018-10-15 00:07:40 -07:00
Alex Forencich
45f3614afb Add MSI_CAP_LEN and MSIX_CAP_LEN 2018-10-15 00:06:57 -07:00
Alex Forencich
76dccafe0e Consolidate MSI capability objects 2018-10-15 00:05:37 -07:00
Alex Forencich
2b9e4ccb78 Add get_capability_offset to TreeItem 2018-10-15 00:00:13 -07:00
Alex Forencich
cbd1577129 yield config_read and config_write 2018-10-14 23:59:03 -07:00
Alex Forencich
9f4e62333a Rename parameter to dev 2018-10-14 23:57:53 -07:00
Alex Forencich
6a02c753e9 Incrementally build tree 2018-10-14 23:43:04 -07:00
Alex Forencich
a4e2a65902 Memory writes don't get assigned tags 2018-10-14 20:30:44 -07:00
Alex Forencich
0e601554cb Set address in set_be and set_be_data 2018-10-14 20:29:34 -07:00
Alex Forencich
0928bf80bb Fix sign error 2018-10-02 00:26:37 -07:00
Alex Forencich
c4da967da9 Correct lower address 2018-10-01 18:08:56 -07:00
Alex Forencich
51019f0d62 Fix read TLP handling 2018-10-01 17:47:05 -07:00
Alex Forencich
00515d4342 TLP validation asserts 2018-10-01 16:16:26 -07:00
Alex Forencich
2fef5c51df Add PcieId object 2018-10-01 15:41:00 -07:00
Alex Forencich
4eb0ab240d Add fmt_type property to TLP 2018-09-30 19:14:19 -07:00
Alex Forencich
32893353d3 Improve TLP packer and unpacker error handling 2018-09-28 16:49:49 -07:00
Alex Forencich
5acd5f06fb Handle maximum length and byte count values 2018-09-28 16:48:40 -07:00
Alex Forencich
1f968f1aea Add get_id to Function, use set_completion_data 2018-09-28 16:42:17 -07:00
Alex Forencich
7c184bee59 Generate last byte enable offset correctly for single DWORD operations 2018-09-28 16:39:53 -07:00
Alex Forencich
2f279b55b3 Add has_data and status parameters to set_completion, add set_completion_data 2018-09-28 16:36:46 -07:00