Commit Graph

  • 9b809312c2 Ignore MSI-X PBA in all drivers bjorn3 2024-01-23 15:56:29 +01:00
  • ecdcefba69 Clarify message_address argument names bjorn3 2024-01-23 15:45:44 +01:00
  • f43aa8574c Simplify MSI-X table pointer computation bjorn3 2024-01-23 14:24:26 +01:00
  • 7dbf22331b Share msix config validation code bjorn3 2024-01-23 13:38:31 +01:00
  • 5f845538ea Merge branch 'pci_interrupts_rework' into 'master' Jeremy Soller 2024-01-24 13:21:24 +00:00
  • 21add3ed09 Merge branch 'pci_use_pci_types2' into 'master' Jeremy Soller 2024-01-24 13:19:46 +00:00
  • fa58f5887e The kernel now works fine without optimizations bjorn3 2024-01-24 14:15:09 +01:00
  • 3085b31336 Ensure __altrelocs_start is correctly aligned bjorn3 2024-01-24 14:13:27 +01:00
  • 732fad0593 Fix disabling the self_modifying feature bjorn3 2024-01-24 14:07:57 +01:00
  • e5c93ae334 Fix some UB and debug assertions bjorn3 2024-01-24 13:51:20 +01:00
  • 354c351b19 Unify device info printing between drivers bjorn3 2024-01-23 13:01:40 +01:00
  • 77b97bb2ed Introduce PciBar::physmap_mem helper bjorn3 2024-01-23 12:02:40 +01:00
  • 4302a35a7e Remove a couple of unused functions from MsixCapability bjorn3 2024-01-22 20:44:17 +01:00
  • c13161c4a5 Fix nvmed bjorn3 2024-01-22 19:57:24 +01:00
  • ad23ad5d93 Introduce irq_handle helper for legacy interrupts bjorn3 2024-01-22 19:34:26 +01:00
  • bd6716efe4 Make legacy_interrupt_line an Option bjorn3 2024-01-22 19:07:57 +01:00
  • e972047567 Use EndpointHeader methods for the command and status registers bjorn3 2024-01-22 18:12:37 +01:00
  • 623d12f276 Only try to load drivers for endpoint functions bjorn3 2024-01-22 18:03:46 +01:00
  • 545596f296 Don't try to fetch BARs unless there is a matching driver bjorn3 2024-01-22 17:54:38 +01:00
  • f624ed92f7 Merge branch 'pci_use_pci_types' into 'master' Jeremy Soller 2024-01-22 16:12:54 +00:00
  • 18529f6cee Remove PciClass in favor of pci_types::DeviceType bjorn3 2024-01-22 16:57:53 +01:00
  • fb0dcb384b Use pci_types in a couple more places in PciHeader::from_reader bjorn3 2024-01-22 16:48:52 +01:00
  • d2431d4140 Make all parsing in PciHeader::from_reader use pci_types bjorn3 2024-01-22 16:32:18 +01:00
  • fda74cb359 Merge branch 'pci_cleanup2' into 'master' Jeremy Soller 2024-01-22 15:06:46 +00:00
  • a5d0c7c354 Use pci_types for reading BARs bjorn3 2024-01-22 15:54:18 +01:00
  • d1b6009e3d Start converting PciHeader::from_reader to pci_types bjorn3 2024-01-22 15:25:08 +01:00
  • 0b611dca04 Start using the pci_types crate bjorn3 2024-01-22 11:25:43 +01:00
  • d56881de88 Use CfgAccess instead of ConfigReader in PciHeader::from_reader bjorn3 2024-01-22 11:00:17 +01:00
  • cc015eab13 Move PciHeader out of the pcid_interface crate bjorn3 2024-01-21 21:25:50 +01:00
  • 5192816de7 Introduce expect_port and expect_mem helpers bjorn3 2024-01-21 21:12:24 +01:00
  • be0e6b9dd7 Pass self instead of &self to PciFeature methods bjorn3 2024-01-21 20:46:00 +01:00
  • d0e90f5ded Remove fetch_header from pcid_interface bjorn3 2024-01-21 19:35:39 +01:00
  • e5772c132b Remove a lot of fields from PciHeader which are unlikely to be used bjorn3 2024-01-21 16:20:40 +01:00
  • 1890293e86 Introduce a FullDeviceId type and pass it in pcid_interface bjorn3 2024-01-21 15:18:56 +01:00
  • 92914e808c Reduce code indentation one level bjorn3 2024-01-21 14:03:33 +01:00
  • b9c4c61dcc Move driver matching to config.rs bjorn3 2024-01-21 13:02:47 +01:00
  • 92428c535b Only enable redox scheme logger when compiling for redox bjorn3 2024-01-21 11:35:06 +01:00
  • e2976d0f52 Merge branch 'pci_force_pcid_interface' into 'master' Jeremy Soller 2024-01-20 23:08:12 +00:00
  • a4acf55ad8 Merge branch 'pci_cleanup' into 'master' Jeremy Soller 2024-01-20 23:07:34 +00:00
  • dc13752d74 Force usage of pcid_interface bjorn3 2024-01-20 19:42:06 +01:00
  • 3b4d0e858f Migrate vboxd to pcid_interface (untested) bjorn3 2024-01-20 19:26:46 +01:00
  • 878a02f29f Migrate ixgbed to pcid_interface (untested) bjorn3 2024-01-20 19:13:27 +01:00
  • 075e28339f Migrate e1000d to pcid_interface bjorn3 2024-01-20 19:04:15 +01:00
  • d950e33184 Migrate ac97d to pcid_interface bjorn3 2024-01-20 18:58:09 +01:00
  • f9f3407f36 Migrate ahacid to pcid_interface bjorn3 2024-01-20 18:51:29 +01:00
  • 558f11b3eb Migrate bgad to pcid_interface bjorn3 2024-01-20 18:34:40 +01:00
  • de7677604e Use hex instead of decimal in all config.toml bjorn3 2024-01-20 17:59:38 +01:00
  • 382047b14e Rename the pcie module to cfg_access bjorn3 2024-01-20 16:04:18 +01:00
  • d832717bf9 Remove a bit of dead code bjorn3 2024-01-20 14:42:29 +01:00
  • 20eb92ae02 Assert PCI config space accesses are aligned bjorn3 2024-01-20 14:36:37 +01:00
  • cb7dc2abd2 Only set iopl for helper threads when actually necessary bjorn3 2024-01-20 14:17:51 +01:00
  • 3cbfbf6442 Move the IO port based fallback for PCI out of the pci module bjorn3 2024-01-20 14:00:51 +01:00
  • 4f20b90fc3 Remove PciBus and PciDev types bjorn3 2024-01-20 13:38:45 +01:00
  • 46b83bac04 Merge branch 'pci_perf' into 'master' Jeremy Soller 2024-01-19 22:25:15 +00:00
  • cf7fbacdaf Stop leaking Mcfg again bjorn3 2024-01-19 19:53:39 +01:00
  • 529b4935ee Physmap all buses upfront bjorn3 2024-01-19 19:50:11 +01:00
  • 23d963361a Fix a couple of warnings bjorn3 2024-01-19 19:14:22 +01:00
  • cb9edcb7d6 Reduce log verbosity of Capability::parse_vendor by combining some logs bjorn3 2024-01-19 19:11:05 +01:00
  • 8d87b701ba Remove Mcfgs type bjorn3 2024-01-19 19:10:35 +01:00
  • ae7e2dac9f Only parse a single MCFG ACPI table bjorn3 2024-01-19 18:41:28 +01:00
  • 07c029ec21 Add a fixme for using ACPI bjorn3 2024-01-19 18:10:57 +01:00
  • b014145232 Merge branch 'pci_types' into 'master' Jeremy Soller 2024-01-19 16:18:00 +00:00
  • 101f062b56 Remove a couple of error conditions in Mcfgs::fetch() bjorn3 2024-01-19 14:58:09 +01:00
  • 240e59e2bf Handle pci buses without a device at the first slot bjorn3 2024-01-19 14:45:48 +01:00
  • c611988768 Fix MCFG parsing for PCIe bjorn3 2024-01-19 13:19:53 +01:00
  • b317484d67 Simplify Mcfgs::fetch bjorn3 2024-01-19 13:00:23 +01:00
  • 15249127a5 Fix a couple of warnings bjorn3 2024-01-19 12:47:42 +01:00
  • d010d03eef Fix pcid tests bjorn3 2024-01-19 11:41:59 +01:00
  • 2b5ed69a06 Use PciAddress in a couple more places bjorn3 2024-01-19 11:34:54 +01:00
  • 42b2f52d41 Directly store a PciAddress inside PciFunc instead of a PciDev + num bjorn3 2024-01-18 22:12:29 +01:00
  • e5491a9e9a Inline several layers of read and write methods bjorn3 2024-01-18 21:07:38 +01:00
  • 336903b90a Introduce SharedPciHeader to deduplicate fields between the General and PciToPci variants bjorn3 2024-01-18 20:14:34 +01:00
  • a7c5391c6c Introduce PciAddress type copied from the pci_types crate bjorn3 2024-01-19 12:14:00 +01:00
  • ec04d52c7e Add unset builtin and update config path Jeremy Soller 2024-01-18 15:09:15 -07:00
  • f33e8b54af Update path for initfs Jeremy Soller 2024-01-18 15:05:38 -07:00
  • de5e7eb903 Use absolute path without scheme for default home and shell Jeremy Soller 2024-01-18 14:53:02 -07:00
  • b5a371be31 Do not set COLUMNS or LINES in getty Jeremy Soller 2024-01-18 14:52:13 -07:00
  • 07d5d730d2 Remove nolock CfgAccess methods bjorn3 2024-01-18 19:32:14 +01:00
  • dbfdd417f1 Remove file: prefix from /etc/passwd Jeremy Soller 2024-01-18 13:43:20 -07:00
  • af7441e834 Implement grantpt as no-op Jeremy Soller 2024-01-18 13:26:14 -07:00
  • bf441b01f1 Merge branch 'virtio_cleanup' into 'master' Jeremy Soller 2024-01-18 20:04:44 +00:00
  • ab3ececc9a Merge branch 'scheme-fmt' into 'master' Jeremy Soller 2024-01-18 19:58:28 +00:00
  • 87ee68998c Handle new path format Jeremy Soller 2024-01-18 12:35:32 -07:00
  • 0e58953259 Update redox-path Jeremy Soller 2024-01-18 11:22:23 -07:00
  • 0fde840f83 Add redox-path submodule Jeremy Soller 2024-01-18 11:15:04 -07:00
  • 7eefdaf45b Use redox-path external crate Jeremy Soller 2024-01-18 11:07:51 -07:00
  • fbcf01b413 Add a couple of FIXME bjorn3 2024-01-18 19:03:10 +01:00
  • 3f2f32de59 Add back VIRTIO_NET_F_MAC to virtio-netd bjorn3 2024-01-18 18:48:25 +01:00
  • b06f0534aa Remove interrupt status register probing bjorn3 2024-01-18 18:45:32 +01:00
  • fcc55507ea Move the notify_multiplier field into a separate PciCapabilityNotify type bjorn3 2024-01-18 18:07:05 +01:00
  • 380a416258 Reorganize virtio headers and add a couple of new fields bjorn3 2024-01-18 17:17:39 +01:00
  • bd8b218174 Don't return Result from spawn_irq_thread bjorn3 2024-01-18 15:29:06 +01:00
  • 02ac8a6363 Move redox path handling to redox-path crate Jeremy Soller 2024-01-17 15:51:11 -07:00
  • ffe152cc51 Fall back to the file scheme if no scheme provided Jeremy Soller 2024-01-17 15:09:20 -07:00
  • 45f1c4e29e Add rustfmt from relibc and apply it with cargo fmt Jeremy Soller 2024-01-17 13:52:01 -07:00
  • 83e4095e42 Merge branch 'ptys' into 'master' Jeremy Soller 2024-01-17 03:05:50 +00:00
  • 9d8094baee Add forkpty, ptsname and posix_openpt Darley Barreto 2024-01-17 03:05:50 +00:00
  • a2321e4b2b Add initgroups Jeremy Soller 2024-01-16 20:00:57 -07:00
  • d4b0e172f0 Add recvmsg (stub on redox) Jeremy Soller 2024-01-16 19:47:39 -07:00
  • 5b9bb750f5 Merge branch 'use_fbcond' into 'master' Jeremy Soller 2024-01-15 02:00:57 +00:00