projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove i386_elf_emit_arch_note
[deliverable/binutils-gdb.git]
/
sim
/
common
/
hw-properties.h
diff --git
a/sim/common/hw-properties.h
b/sim/common/hw-properties.h
index ba59b2599076545652cc2b95c93bce86aeb3381a..4159ef5a3565ec2300c8ae05d4f14010946bf12e 100644
(file)
--- 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.
/* The common simulator framework for GDB, the GNU Debugger.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002
-2015
Free Software Foundation, Inc.
Contributed by Andrew Cagney and Red Hat.
Contributed by Andrew Cagney and Red Hat.
@@
-8,7
+8,7
@@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version
2
of the License, or
+ the Free Software Foundation; either version
3
of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@
-17,9
+17,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef HW_PROPERTIES_H
#ifndef HW_PROPERTIES_H
@@
-28,7
+26,8
@@
/* The following are valid property types. The property `array' is
for generic untyped data. */
/* The following are valid property types. The property `array' is
for generic untyped data. */
-typedef enum {
+typedef enum
+{
array_property,
boolean_property,
#if 0
array_property,
boolean_property,
#if 0
@@
-41,7
+40,8
@@
typedef enum {
string_array_property,
} hw_property_type;
string_array_property,
} hw_property_type;
-struct hw_property {
+struct hw_property
+{
struct hw *owner;
const char *name;
hw_property_type type;
struct hw *owner;
const char *name;
hw_property_type type;
@@
-122,7
+122,7
@@
const struct hw_property *hw_find_array_property
void hw_add_boolean_property
(struct hw *me,
const char *property,
void hw_add_boolean_property
(struct hw *me,
const char *property,
- int bool);
+ int bool
ean
);
int hw_find_boolean_property
(struct hw *me,
int hw_find_boolean_property
(struct hw *me,
@@
-131,7
+131,8
@@
int hw_find_boolean_property
#if 0
#if 0
-typedef struct _ihandle_runtime_property_spec {
+typedef struct _ihandle_runtime_property_spec
+{
const char *full_path;
} ihandle_runtime_property_spec;
const char *full_path;
} ihandle_runtime_property_spec;
@@
-173,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;
hw_unit child_address;
hw_unit parent_address;
hw_unit size;
@@
-193,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;
hw_unit address;
hw_unit size;
} reg_property_spec;
This page took
0.024293 seconds
and
4
git commands to generate.