Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

ACSSecurity.h 635 Bytes
Newer Older
1
2
#ifndef LRUSECURITY_ACSSECURITY_H_H_
#define LRUSECURITY_ACSSECURITY_H_H_
3
4
5

#include <otawa/icache/features.h>
#include <otawa/icat3/features.h>
6
#include <otawa/util/Bag.h>
7
namespace lrusecurity
8
{
9
class ACSSecurity
10
11
{
 public:
12
13
14
15
16
17
  ACSSecurity(){
    _acs = *new otawa::icat3::ACS();
  };
  inline ACSSecurity(otawa::icat3::ACS acs) {
    this->_acs = acs;
    this->_prev = otawa::Bag<otawa::icache::Access>();
18
  }
19
20
21
22
23
24
25
  void copy(ACSSecurity b){
    _acs.copy(b._acs);
    _prev = otawa::Bag<otawa::icache::Access>(b._prev);
  };
  otawa::icat3::ACS _acs;
  otawa::Bag<otawa::icache::Access> _prev;
};
26
}
27
28
#endif //LRUSECURITY_ACSSECURITY_H_H