reorg: move device-manager-protocol to library/protocol + direct import
device-manager-protocol -> library/protocol/device-manager/. Its consumers (pci-bus, usb-xhci-bus, the acpi discovery service, device-manager, device-list, crash-test, and the not-yet-built intel-integrated display sub-driver) import the module directly instead of through runtime.device_manager_protocol, which is deleted. runtime.device_manager (the hello client) already imported the module by name and is unchanged. zig build + test green; device-manager, driver-restart, device-list, pci-scan pass.
This commit is contained in:
@@ -19,10 +19,10 @@ pub const heap = @import("heap.zig");
|
||||
pub const ipc = @import("ipc.zig");
|
||||
pub const start = @import("start.zig");
|
||||
|
||||
/// The device-manager protocol: hello + tree reports (docs/device-manager.md).
|
||||
pub const device_manager_protocol = @import("device-manager-protocol");
|
||||
/// Client for talking to the device manager (the hello handshake a supervised
|
||||
/// driver owes at startup). See library/runtime/device-manager.zig.
|
||||
/// driver owes at startup). See library/runtime/device-manager.zig. The wire
|
||||
/// protocol itself is the library/protocol/device-manager module, imported
|
||||
/// directly by drivers and services that speak it.
|
||||
pub const device_manager = @import("device-manager.zig");
|
||||
|
||||
/// The power protocol: events (button, lid, battery) + shutdown (docs/power.md).
|
||||
|
||||
Reference in New Issue
Block a user