Liav A
72b144e9e9
Kernel/Graphics: Introduce a new mechanism to initialize a PCI device
...
Instead of using a clunky switch-case paradigm, we now have all drivers
being declaring two methods for their adapter class - create and probe.
These methods are linked in each PCIGraphicsDriverInitializer structure,
in a new s_initializers static list of them.
Then, when we probe for a PCI device, we use each probe method and if
there's a match, then the corresponding create method is called.
As a result of this change, it's much more easy to add more drivers and
the initialization code is more readable.
2023-01-07 11:51:13 -07:00
..
2022-12-28 11:53:41 +01:00
2023-01-06 11:09:56 +01:00
2023-01-05 01:44:19 +01:00
2023-01-07 11:45:08 -07:00
2023-01-07 03:44:59 +03:30
2022-12-28 11:53:41 +01:00
2023-01-07 11:51:13 -07:00
2023-01-02 20:27:20 -05:00
2022-12-28 11:53:41 +01:00
2022-12-29 19:32:20 -07:00
2023-01-02 18:15:27 -05:00
2023-01-02 20:27:20 -05:00
2023-01-07 11:37:57 -07:00
2022-12-28 11:53:41 +01:00
2023-01-07 11:45:08 -07:00
2023-01-07 03:44:59 +03:30
2022-12-28 11:53:41 +01:00
2023-01-07 11:45:08 -07:00
2022-10-16 17:35:37 +02:00
2023-01-07 11:37:57 -07:00
2023-01-06 11:09:56 +01:00
2023-01-06 11:09:56 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2023-01-03 18:13:11 +01:00
2023-01-03 18:13:11 +01:00
2023-01-07 11:37:57 -07:00
2022-10-17 20:11:31 +02:00
2023-01-02 18:15:27 -05:00
2022-10-14 13:45:33 +02:00
2022-10-17 20:11:31 +02:00
2022-12-28 11:53:41 +01:00
2022-12-28 11:53:41 +01:00
2022-11-05 18:00:58 -06:00
2023-01-02 18:15:27 -05:00
2023-01-07 03:44:59 +03:30
2023-01-02 18:15:27 -05:00
2023-01-02 20:27:20 -05:00
2023-01-02 18:15:27 -05:00
2022-09-20 18:43:05 +01:00
2022-10-01 14:09:01 +02:00
2022-10-01 14:09:01 +02:00
2022-12-28 11:53:41 +01:00
2022-09-12 00:56:44 +01:00
2022-12-28 11:53:41 +01:00
2023-01-04 20:04:57 +01:00
2023-01-07 03:44:59 +03:30
2023-01-07 03:44:59 +03:30
2023-01-02 20:27:20 -05:00
2022-11-24 16:56:27 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2022-11-08 02:54:48 -07:00
2022-11-08 02:54:48 -07:00
2022-12-28 11:53:41 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2022-12-29 19:32:20 -07:00
2022-12-29 19:32:20 -07:00
2022-12-03 23:52:23 +00:00
2022-12-03 23:52:23 +00:00
2022-12-28 11:53:41 +01:00
2023-01-02 18:15:27 -05:00
2023-01-04 20:04:57 +01:00
2022-12-28 11:53:41 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00