simX refactoring
This commit is contained in:
10
simX/types.h
10
simX/types.h
@@ -1,20 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <bitset>
|
||||
#include <VX_config.h>
|
||||
|
||||
namespace vortex {
|
||||
|
||||
typedef uint8_t Byte;
|
||||
typedef uint32_t Word;
|
||||
typedef uint32_t Word_u;
|
||||
typedef int32_t Word_s;
|
||||
|
||||
typedef Word_u Addr;
|
||||
typedef Word_u Size;
|
||||
typedef uint32_t Addr;
|
||||
typedef uint32_t Size;
|
||||
|
||||
typedef unsigned RegNum;
|
||||
typedef unsigned ThdNum;
|
||||
typedef std::bitset<32> ThreadMask;
|
||||
|
||||
enum MemFlags {
|
||||
RD_USR = 1,
|
||||
|
||||
Reference in New Issue
Block a user