source: rtems-tools/tester/covoar/Target_i386.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_i386.h
2 *  @brief Target_i386 Specification
3 *
4 *  This file contains the specification of the Target_i386 class.
5 */
6
7#ifndef __TARGET_I386_H__
8#define __TARGET_I386_H__
9
10#include <list>
11#include <string>
12#include "TargetBase.h"
13
14
15namespace Target {
16
17  /*! @class Target_i386
18   *
19   *  This class is the class for i386 Target.
20   *
21   */
22  class Target_i386: public TargetBase {
23
24  public:
25
26    /*!
27     *  This method constructs an Target_i386 instance.
28     */
29    Target_i386( std::string targetName );
30
31    /*!
32     *  This method destructs an Target_i386 instance.
33     */
34    virtual ~Target_i386();
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    /* Documentation inherited from base class */
51    virtual uint8_t qemuTakenBit(void);
52
53    /* Documentation inherited from base class */
54    virtual uint8_t qemuNotTakenBit(void);
55
56  private:
57
58  };
59
60  //!
61  //! @brief Constructor Helper
62  //!
63  //! This is a constructor helper for this class which can be used in support
64  //! of factories.
65  //!
66  //! @param [in] Targetname is the name of the Target being constructed.
67  //!
68  //! @return This method constructs a new instance of the Target and returns
69  //!         that to the caller.
70  //!
71  TargetBase *Target_i386_Constructor(
72    std::string          targetName
73  );
74
75}
76#endif
Note: See TracBrowser for help on using the repository browser.