source: rtems-tools/tester/covoar/Target_m68k.h @ 0c4884a

Last change on this file since 0c4884a was fcef37b, checked in by Joel Sherrill <joel@…>, on 04/06/21 at 20:24:08

covoar: Remove training white spaces

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*! @file Target_m68k.h
2 *  @brief Target_m68k Specification
3 *
4 *  This file contains the specification of the Target_m68k class.
5 */
6
7#ifndef __TARGET_M68K_H__
8#define __TARGET_M68K_H__
9
10#include <list>
11#include <string>
12#include "TargetBase.h"
13
14
15namespace Target {
16
17  /*!
18   *
19   *  This class is the class for the m68k Target.
20   *
21   */
22  class Target_m68k: public TargetBase {
23
24  public:
25
26    /*!
27     *  This method constructs a Target_m68k instance.
28     */
29    Target_m68k( std::string targetName );
30
31    /*!
32     *  This method destructs a Target_m68 instance.
33     */
34    virtual ~Target_m68k();
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    /* Documentation inherited from base class */
59    virtual uint8_t qemuTakenBit(void);
60
61    /* Documentation inherited from base class */
62    virtual uint8_t qemuNotTakenBit(void);
63
64  private:
65
66  };
67
68  //!
69  //! @brief Constructor Helper
70  //!
71  //! This is a constructor helper for this class which can be used in support
72  //! of factories.
73  //!
74  //! @param [in] Targetname is the name of the Target being constructed.
75  //!
76  //! @return This method constructs a new instance of the Target and returns
77  //!         that to the caller.
78  //!
79  TargetBase *Target_m68k_Constructor(
80    std::string          targetName
81  );
82
83}
84#endif
Note: See TracBrowser for help on using the repository browser.