source: rtems-tools/tester/covoar/Target_sparc.h @ f9a4b2c

5
Last change on this file since f9a4b2c was 100f517, checked in by Chris Johns <chrisj@…>, on 05/09/14 at 11:50:37

covoar: Merger the covoar source from rtems-testing.git.

Use waf to build covoar.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*! @file Target_sparc.h
2 *  @brief Target_sparc Specification
3 *
4 *  This file contains the specification of the Target_sparc class.
5 */
6
7#ifndef __TARGET_SPARC_H__
8#define __TARGET_SPARC_H__
9
10#include <list>
11#include <string>
12#include "TargetBase.h"
13
14
15namespace Target {
16
17  /*! @class Target_sparc
18   *
19   *  This is the class for the sparc target.
20   *
21   */
22  class Target_sparc: public TargetBase {
23
24  public:
25
26    /*!
27     *  This method constructs an Target_sparc instance.
28     */
29    Target_sparc( std::string targetName );
30
31    /*!
32     *  This method destructs an Target_sparc instance.
33     */
34    virtual ~Target_sparc();
35
36    /*!
37     *  This method determines whether the specified line from a
38     *  objdump file is a nop instruction.
39     *
40     *  @param[in] line contains the object dump line to check
41     *  @param[out] size is set to the size in bytes of the nop
42     *
43     *  @return Returns TRUE if the instruction is a nop, FALSE otherwise.
44     */
45    bool isNopLine(
46      const char* const line,
47      int&              size
48    );
49
50    /*!
51     *  This method determines if the specified line from an
52     *  objdump file is a branch instruction.
53     */
54    bool isBranch(
55      const char* const instruction
56    );
57
58  private:
59
60  };
61
62  //!
63  //! @brief Constructor Helper
64  //!
65  //! This is a constructor helper for this class which can be used in support
66  //! of factories.
67  //!
68  //! @param [in] Targetname is the name of the Target being constructed.
69  //!
70  //! @return This method constructs a new instance of the Target and returns
71  //!         that to the caller.
72  //!
73  TargetBase *Target_sparc_Constructor(
74    std::string          targetName
75  );
76
77
78}
79#endif
Note: See TracBrowser for help on using the repository browser.