summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/os/mp_machdep.c
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2020-09-22 10:39:49 -0400
committerDan McDonald <danmcd@joyent.com>2020-09-22 10:39:49 -0400
commit267e12a7d9bf6e5fcefb9cc00f46bfff0dc5226e (patch)
tree19a3941920d0039c35d53a5cbee189b5ca51995a /usr/src/uts/i86pc/os/mp_machdep.c
parent517abc5c668925e6092495bf332233c3599980d2 (diff)
parente9faba760cdf80d7dfa110fe0830917ab94668c2 (diff)
downloadillumos-joyent-vpc.tar.gz
Merge branch 'master' into vpcvpc
Diffstat (limited to 'usr/src/uts/i86pc/os/mp_machdep.c')
-rw-r--r--usr/src/uts/i86pc/os/mp_machdep.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/os/mp_machdep.c b/usr/src/uts/i86pc/os/mp_machdep.c
index f36f5f052d..f017995ac8 100644
--- a/usr/src/uts/i86pc/os/mp_machdep.c
+++ b/usr/src/uts/i86pc/os/mp_machdep.c
@@ -26,6 +26,7 @@
* Copyright (c) 2009-2010, Intel Corporation.
* All rights reserved.
* Copyright 2018 Joyent, Inc.
+ * Copyright 2020 Oxide Computer Company
*/
#define PSMI_1_7
@@ -63,6 +64,8 @@
#include <sys/sunddi.h>
#include <sys/sunndi.h>
#include <sys/cpc_pcbe.h>
+#include <sys/prom_debug.h>
+
#define OFFSETOF(s, m) (size_t)(&(((s *)0)->m))
@@ -978,6 +981,7 @@ mach_init()
{
struct psm_ops *pops;
+ PRM_POINT("mach_construct_info()");
mach_construct_info();
pops = mach_set[0];
@@ -1017,6 +1021,7 @@ mach_init()
notify_error = pops->psm_notify_error;
}
+ PRM_POINT("psm_softinit()");
(*pops->psm_softinit)();
/*
@@ -1034,6 +1039,7 @@ mach_init()
#ifndef __xpv
non_deep_idle_disp_enq_thread = disp_enq_thread;
#endif
+ PRM_DEBUG(idle_cpu_use_hlt);
if (idle_cpu_use_hlt) {
idle_cpu = cpu_idle_adaptive;
CPU->cpu_m.mcpu_idle_cpu = cpu_idle;
@@ -1068,6 +1074,7 @@ mach_init()
#endif
}
+ PRM_POINT("mach_smpinit()");
mach_smpinit();
}