Print this page
11630 remove checks for 64-bit capable hardware
@@ -20,17 +20,16 @@
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright 2019 Peter Tribble.
*/
#ifndef _SYS_PROMIF_H
#define _SYS_PROMIF_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/obpdefs.h>
#if defined(_KERNEL) || defined(_KMDB)
#include <sys/va_list.h>
@@ -183,11 +182,10 @@
extern int prom_getversion(void);
extern int prom_is_openprom(void);
extern int prom_is_p1275(void);
extern int prom_version_name(char *buf, int buflen);
-extern int prom_version_check(char *buf, size_t len, pnode_t *n);
extern void *prom_mon_id(void); /* SMCC/OBP platform centric */
extern uint_t prom_gettime(void);
@@ -197,24 +195,10 @@
extern void prom_interpret(char *str, uintptr_t arg1,
uintptr_t arg2, uintptr_t arg3, uintptr_t arg4,
uintptr_t arg5);
/*
- * Return code values from prom_version_check:
- *
- * This routine uses past-prediction mode to determine if the firmware
- * on the current system is 64-bit ready.
- *
- * return code 2 could happen on a board-based server with a slave CPU board
- * running down-rev firmware and the current master running adequate fw.
- */
-#define PROM_VER64_OK 0 /* Prom is 64-bit ready (or n/a) */
-#define PROM_VER64_UPGRADE 1 /* Down-rev firmware is running */
-#define PROM_VER64_SUGGEST 2 /* Down-rev firmware detected .. */
- /* .. but not currently active */
-
-/*
* Administrative group: OBP only.
*/
extern int prom_sethandler(void (*v0_func)(), void (*v2_func)());
extern struct bootparam *prom_bootparam(void);