summaryrefslogtreecommitdiffstats
path: root/procedures/p9
diff options
context:
space:
mode:
Diffstat (limited to 'procedures/p9')
-rw-r--r--procedures/p9/start_host.cpp2
-rw-r--r--procedures/p9/vcs_workaround.cpp3
2 files changed, 5 insertions, 0 deletions
diff --git a/procedures/p9/start_host.cpp b/procedures/p9/start_host.cpp
index f781e68..a31503b 100644
--- a/procedures/p9/start_host.cpp
+++ b/procedures/p9/start_host.cpp
@@ -16,6 +16,7 @@
#include <phosphor-logging/log.hpp>
#include "cfam_access.hpp"
#include "p9_cfam.hpp"
+#include "registration.hpp"
#include "targeting.hpp"
namespace openpower
@@ -71,6 +72,7 @@ void startHost()
writeRegWithMask(master, P9_CBS_CS, 0x80000000, 0x80000000);
}
+REGISTER_PROCEDURE("startHost", startHost);
}
}
diff --git a/procedures/p9/vcs_workaround.cpp b/procedures/p9/vcs_workaround.cpp
index 64b41c1..07e7fd0 100644
--- a/procedures/p9/vcs_workaround.cpp
+++ b/procedures/p9/vcs_workaround.cpp
@@ -16,6 +16,7 @@
#include <phosphor-logging/log.hpp>
#include "cfam_access.hpp"
#include "p9_cfam.hpp"
+#include "registration.hpp"
#include "targeting.hpp"
namespace openpower
@@ -60,5 +61,7 @@ void vcsWorkaround()
}
}
+REGISTER_PROCEDURE("vcsWorkaround", vcsWorkaround);
+
}
}
OpenPOWER on IntegriCloud