diff options
Diffstat (limited to 'sim/common/hw-main.h')
-rw-r--r-- | sim/common/hw-main.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/hw-main.h b/sim/common/hw-main.h index 0f10bc8..24ab4b8 100644 --- a/sim/common/hw-main.h +++ b/sim/common/hw-main.h @@ -39,7 +39,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ typedef void (hw_finish_method) (struct hw *me); -struct hw_descriptor { +struct hw_descriptor +{ const char *family; hw_finish_method *to_finish; }; @@ -55,7 +56,8 @@ void do_hw_attach_regs (struct hw *me); or a hw_io status code that indicates the reason for the read failure */ -enum { +enum +{ HW_IO_EOF = -1, HW_IO_NOT_READY = -2, /* See: IEEE 1275 */ }; |