Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/include Encapsulate retrieval of properties f...
details: https://anonhg.NetBSD.org/src/rev/d540629ea610
branches: trunk
changeset: 559391:d540629ea610
user: pk <pk%NetBSD.org@localhost>
date: Tue Mar 16 22:55:47 2004 +0000
description:
Encapsulate retrieval of properties from the global `options' prom node.
diffstat:
sys/arch/sparc/include/promlib.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 1ed5320ff323 -r d540629ea610 sys/arch/sparc/include/promlib.h
--- a/sys/arch/sparc/include/promlib.h Tue Mar 16 22:48:29 2004 +0000
+++ b/sys/arch/sparc/include/promlib.h Tue Mar 16 22:55:47 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: promlib.h,v 1.12 2004/03/15 23:48:21 pk Exp $ */
+/* $NetBSD: promlib.h,v 1.13 2004/03/16 22:55:47 pk Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -152,6 +152,8 @@
int prom_search __P((int, const char *));
int prom_opennode __P((char *));
int prom_node_has_property __P((int, const char *));
+int prom_getoptionsnode __P((void));
+int prom_getoption __P((const char *name, char *buf, int buflen));
#define findroot() prom_findroot()
#define findnode(node,name) prom_findnode(node,name)
Home |
Main Index |
Thread Index |
Old Index