aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-05-16 22:01:43 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-05-16 22:01:43 +0000
commit4a26780b9af58249d999a9e43fbc7519bdabb26f (patch)
tree47e3717519df1d7ce47286e22f711907ca9d62fc /sys/dev/ofw
parent83e711ec1441b2a96bbf97ec32f181b88ae40f26 (diff)
Notes
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofw_if.m7
-rw-r--r--sys/dev/ofw/ofw_standard.c19
-rw-r--r--sys/dev/ofw/openfirm.c9
-rw-r--r--sys/dev/ofw/openfirm.h1
4 files changed, 0 insertions, 36 deletions
diff --git a/sys/dev/ofw/ofw_if.m b/sys/dev/ofw/ofw_if.m
index d2d323bf4cb0..902f071aa40e 100644
--- a/sys/dev/ofw/ofw_if.m
+++ b/sys/dev/ofw/ofw_if.m
@@ -340,13 +340,6 @@ METHOD void release {
# Commands for returning control to the firmware
/**
- * @brief Turn off firmware background activities
- */
-METHOD void quiesce {
- ofw_t _ofw;
-};
-
-/**
* @brief Temporarily return control to firmware.
*/
METHOD void enter {
diff --git a/sys/dev/ofw/ofw_standard.c b/sys/dev/ofw/ofw_standard.c
index 5eecf773b2b3..e521fa059d34 100644
--- a/sys/dev/ofw/ofw_standard.c
+++ b/sys/dev/ofw/ofw_standard.c
@@ -105,7 +105,6 @@ static ssize_t ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr,
static int ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos);
static caddr_t ofw_std_claim(ofw_t ofw, void *virt, size_t size, u_int align);
static void ofw_std_release(ofw_t ofw, void *virt, size_t size);
-static void ofw_std_quiesce(ofw_t ofw);
static void ofw_std_enter(ofw_t ofw);
static void ofw_std_exit(ofw_t ofw);
@@ -134,7 +133,6 @@ static ofw_method_t ofw_std_methods[] = {
OFWMETHOD(ofw_seek, ofw_std_seek),
OFWMETHOD(ofw_claim, ofw_std_claim),
OFWMETHOD(ofw_release, ofw_std_release),
- OFWMETHOD(ofw_quiesce, ofw_std_quiesce),
OFWMETHOD(ofw_enter, ofw_std_enter),
OFWMETHOD(ofw_exit, ofw_std_exit),
@@ -732,23 +730,6 @@ ofw_std_release(ofw_t ofw, void *virt, size_t size)
* Control transfer functions
*/
-/* Turn off OF background tasks */
-static void
-ofw_std_quiesce(ofw_t ofw)
-{
- struct {
- cell_t name;
- cell_t nargs;
- cell_t nreturns;
- } args = {
- (cell_t)"quiesce",
- 0,
- 0,
- };
-
- openfirmware(&args);
-}
-
/* Suspend and drop back to the Open Firmware interface. */
static void
ofw_std_enter(ofw_t ofw)
diff --git a/sys/dev/ofw/openfirm.c b/sys/dev/ofw/openfirm.c
index a560e93770af..17cda68678aa 100644
--- a/sys/dev/ofw/openfirm.c
+++ b/sys/dev/ofw/openfirm.c
@@ -409,15 +409,6 @@ OF_release(void *virt, size_t size)
* Control transfer functions
*/
-/* Turn off OF background tasks */
-void
-OF_quiesce()
-{
-
- OFW_QUIESCE(ofw_obj);
-}
-
-
/* Suspend and drop back to the Open Firmware interface. */
void
OF_enter()
diff --git a/sys/dev/ofw/openfirm.h b/sys/dev/ofw/openfirm.h
index 08cbaf3a5857..10e8aad80acd 100644
--- a/sys/dev/ofw/openfirm.h
+++ b/sys/dev/ofw/openfirm.h
@@ -133,7 +133,6 @@ void *OF_claim(void *virtrequest, size_t size, u_int align);
void OF_release(void *virt, size_t size);
/* Control transfer functions */
-void OF_quiesce(void);
void OF_enter(void);
void OF_exit(void) __attribute__((noreturn));