Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm Use correct value for PSCI 0.2+ PSCI_CPU_ON.
details: https://anonhg.NetBSD.org/src/rev/9dc972ee9b42
branches: trunk
changeset: 323443:9dc972ee9b42
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Fri Jun 15 15:59:20 2018 +0000
description:
Use correct value for PSCI 0.2+ PSCI_CPU_ON.
diffstat:
sys/arch/arm/arm/psci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r a8a2cce89924 -r 9dc972ee9b42 sys/arch/arm/arm/psci.c
--- a/sys/arch/arm/arm/psci.c Fri Jun 15 15:22:01 2018 +0000
+++ b/sys/arch/arm/arm/psci.c Fri Jun 15 15:59:20 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psci.c,v 1.1 2017/06/28 23:48:23 jmcneill Exp $ */
+/* $NetBSD: psci.c,v 1.2 2018/06/15 15:59:20 jakllsch Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "opt_diagnostic.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: psci.c,v 1.1 2017/06/28 23:48:23 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psci.c,v 1.2 2018/06/15 15:59:20 jakllsch Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -43,9 +43,9 @@
#define PSCI_SYSTEM_OFF 0x84000008
#define PSCI_SYSTEM_RESET 0x84000009
#if defined(__aarch64__)
-#define PSCI_CPU_ON 0xc4000002
+#define PSCI_CPU_ON 0xc4000003
#else
-#define PSCI_CPU_ON 0x84000002
+#define PSCI_CPU_ON 0x84000003
#endif
static psci_fn psci_call_fn;
Home |
Main Index |
Thread Index |
Old Index