X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sim%2Fcommon%2Fhw-properties.h;h=dfc8003fe63e2a321c9e21e226ba4a15a2c9991b;hb=8bc526963edde8cf8789ce82072d05fd2bcc90c4;hp=67489726f246bafbba909ae01d16bc3c69e698d9;hpb=4744ac1bb0d2f2294c7762577262fdcafb67883b;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/hw-properties.h b/sim/common/hw-properties.h index 67489726f2..dfc8003fe6 100644 --- a/sim/common/hw-properties.h +++ b/sim/common/hw-properties.h @@ -1,6 +1,6 @@ /* The common simulator framework for GDB, the GNU Debugger. - Copyright 2002, 2007 Free Software Foundation, Inc. + Copyright 2002-2016 Free Software Foundation, Inc. Contributed by Andrew Cagney and Red Hat. @@ -26,7 +26,8 @@ /* The following are valid property types. The property `array' is for generic untyped data. */ -typedef enum { +typedef enum +{ array_property, boolean_property, #if 0 @@ -39,7 +40,8 @@ typedef enum { string_array_property, } hw_property_type; -struct hw_property { +struct hw_property +{ struct hw *owner; const char *name; hw_property_type type; @@ -120,7 +122,7 @@ const struct hw_property *hw_find_array_property void hw_add_boolean_property (struct hw *me, const char *property, - int bool); + int boolean); int hw_find_boolean_property (struct hw *me, @@ -129,7 +131,8 @@ int hw_find_boolean_property #if 0 -typedef struct _ihandle_runtime_property_spec { +typedef struct _ihandle_runtime_property_spec +{ const char *full_path; } ihandle_runtime_property_spec; @@ -171,7 +174,8 @@ int hw_find_integer_array_property -typedef struct _range_property_spec { +typedef struct _range_property_spec +{ hw_unit child_address; hw_unit parent_address; hw_unit size; @@ -191,7 +195,8 @@ int hw_find_range_array_property -typedef struct _reg_property_spec { +typedef struct _reg_property_spec +{ hw_unit address; hw_unit size; } reg_property_spec;