Skip to content

Commit e1dc6c9

Browse files
committedJan 23, 2025··
Overhaul kernel driver/devices module. Many other changes
1 parent 1fb3936 commit e1dc6c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+4690
-2025
lines changed
 

‎kernel/include/acpi/bus.h

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* kernel/include/acpi/bus.h
3+
* © suhas pai
4+
*/
5+
6+
#pragma once
7+
8+
struct bus *acpi_bus();

‎kernel/include/acpi/device.h

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* kernel/include/acpi/device.h
3+
* © suhas pai
4+
*/
5+
6+
#pragma once
7+
8+
#include <uacpi/types.h>
9+
#include "lib/adt/string_view.h"
10+
11+
#include "dev/device.h"
12+
#include "resources.h"
13+
14+
struct acpi_device {
15+
struct device device;
16+
struct string_view name;
17+
18+
struct os_acpi_device_resources resources;
19+
uacpi_namespace_node *node;
20+
};

0 commit comments

Comments
 (0)
Please sign in to comment.