sparc: implement omit-fp mode
[libfirm] / ir / be / bemachine.h
index b94a281..f106276 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
  * PURPOSE.
  */
 
-#ifndef _BE_MACHINE_H_
-#define _BE_MACHINE_H_
-
 /**
- * Abstract machine interface.
- * @author Christian Wuerdig
- * @date   23.10.2006
- * @cvs-id $Id$
+ * @file
+ * @brief       Abstract machine interface.
+ * @author      Christian Wuerdig
+ * @date        23.10.2006
+ * @version     $Id$
  */
+#ifndef FIRM_BE_BEMACHINE_H
+#define FIRM_BE_BEMACHINE_H
 
-typedef struct _be_execution_unit_type_t be_execution_unit_type_t;
-typedef struct _be_execution_unit_t      be_execution_unit_t;
-typedef struct _be_machine_t             be_machine_t;
+#include "be_types.h"
 
-struct _be_execution_unit_t {
+struct be_execution_unit_t {
        be_execution_unit_type_t *tp;
        const char               *name;
 };
 
-struct _be_execution_unit_type_t {
+struct be_execution_unit_type_t {
        unsigned            n_units;
        unsigned            ports_per_unit;
        const char          *name;
        be_execution_unit_t *units;
 };
 
-struct _be_machine_t {
+struct be_machine_t {
        unsigned                 bundle_size;
        unsigned                 bundels_per_cycle;
        unsigned                 n_unit_types;
@@ -107,4 +105,4 @@ int be_machine_is_dummy_unit_type(const be_execution_unit_type_t *tp);
  */
 #define be_machine_get_execunit_type(unit) ((unit)->tp)
 
-#endif /* _BE_MACHINE_H_ */
+#endif /* FIRM_BE_BEMACHINE_H */