Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115613326
D34553.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
739 B
Referenced Files
None
Subscribers
None
D34553.diff
View Options
diff --git a/sys/dev/psci/psci.h b/sys/dev/psci/psci.h
--- a/sys/dev/psci/psci.h
+++ b/sys/dev/psci/psci.h
@@ -37,7 +37,7 @@
register_t, register_t, register_t, register_t,
struct arm_smccc_res *res);
-extern int psci_present;
+extern bool psci_present;
int psci_cpu_on(unsigned long, unsigned long, unsigned long);
void psci_reset(void);
diff --git a/sys/dev/psci/psci.c b/sys/dev/psci/psci.c
--- a/sys/dev/psci/psci.c
+++ b/sys/dev/psci/psci.c
@@ -84,6 +84,7 @@
static int psci_v0_2_init(device_t dev, int default_version);
struct psci_softc *psci_softc = NULL;
+bool psci_present;
#ifdef __arm__
#define USE_ACPI 0
@@ -347,6 +348,7 @@
return (ENXIO);
psci_softc = sc;
+ psci_present = true;
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 12:24 AM (16 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17811045
Default Alt Text
D34553.diff (739 B)
Attached To
Mode
D34553: psci: finish psci_present implementation
Attached
Detach File
Event Timeline
Log In to Comment