/* The common simulator framework for GDB, the GNU Debugger.
- Copyright 2002, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright 2002-2016 Free Software Foundation, Inc.
Contributed by Andrew Cagney and Red Hat.
/* The following are valid property types. The property `array' is
for generic untyped data. */
-typedef enum {
+typedef enum
+{
array_property,
boolean_property,
#if 0
string_array_property,
} hw_property_type;
-struct hw_property {
+struct hw_property
+{
struct hw *owner;
const char *name;
hw_property_type type;
void hw_add_boolean_property
(struct hw *me,
const char *property,
- int bool);
+ int boolean);
int hw_find_boolean_property
(struct hw *me,
#if 0
-typedef struct _ihandle_runtime_property_spec {
+typedef struct _ihandle_runtime_property_spec
+{
const char *full_path;
} ihandle_runtime_property_spec;
-typedef struct _range_property_spec {
+typedef struct _range_property_spec
+{
hw_unit child_address;
hw_unit parent_address;
hw_unit size;
-typedef struct _reg_property_spec {
+typedef struct _reg_property_spec
+{
hw_unit address;
hw_unit size;
} reg_property_spec;