aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/device_tree.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-10-31 18:29:37 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-10-31 18:29:37 +0000
commit5b4d72dd7362598e6f9c5483b990d0dee05fce1d (patch)
treeec3cb552f7ad6b1445d1f9619492c64a0a18e457 /sim/ppc/device_tree.h
parent5666490bee263c9357118553e40637449d186988 (diff)
downloadgdb-5b4d72dd7362598e6f9c5483b990d0dee05fce1d.zip
gdb-5b4d72dd7362598e6f9c5483b990d0dee05fce1d.tar.gz
gdb-5b4d72dd7362598e6f9c5483b990d0dee05fce1d.tar.bz2
New changes from Andrew
Diffstat (limited to 'sim/ppc/device_tree.h')
-rw-r--r--sim/ppc/device_tree.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sim/ppc/device_tree.h b/sim/ppc/device_tree.h
index d8e5481..bcd9bea 100644
--- a/sim/ppc/device_tree.h
+++ b/sim/ppc/device_tree.h
@@ -110,7 +110,11 @@ INLINE_DEVICE_TREE void device_tree_dump
void *ignore_data_argument);
-/* Parse a device name, various formats */
+/* Parse a device name, various formats:
+
+ uw: unsigned_word
+ u: unsigned
+ c: string */
INLINE_DEVICE_TREE int scand_uw
(const char *name,
@@ -135,11 +139,11 @@ INLINE_DEVICE_TREE int scand_uw_uw_u
INLINE_DEVICE_TREE int scand_c
(const char *name,
- char *c1);
+ char *c1, int c1size);
INLINE_DEVICE_TREE int scand_c_uw_u
(const char *name,
- char *c1,
+ char *c1, int c1size,
unsigned_word *uw2,
unsigned *u3);