32 lines
1.4 KiB
C
32 lines
1.4 KiB
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "state.h"
|
|
|
|
void POWERON(struct architectural_state * state);
|
|
void MANRESET(struct architectural_state * state);
|
|
void HUIDRESET(struct architectural_state * state);
|
|
void ITLBMULTIHIT(struct architectural_state * state);
|
|
void OTLBMULTIHIT(struct architectural_state * state);
|
|
void RTLBMISS(struct architectural_state * state, int32_t op1);
|
|
void WTLBMISS(struct architectural_state * state, int32_t op1);
|
|
void ITLBMISS(struct architectural_state * state);
|
|
void FIRSTWRITE(struct architectural_state * state, int32_t op1);
|
|
void READPROT(struct architectural_state * state, int32_t op1);
|
|
void WRITEPROT(struct architectural_state * state, int32_t op1);
|
|
void EXECPROT(struct architectural_state * state);
|
|
void RADDERR(struct architectural_state * state, int32_t op1);
|
|
void WADDERR(struct architectural_state * state, int32_t op1);
|
|
void IADDERR(struct architectural_state * state);
|
|
void TRAP(struct architectural_state * state, int32_t imm);
|
|
void RESINST(struct architectural_state * state);
|
|
void ILLSLOT(struct architectural_state * state);
|
|
void FPUDIS(struct architectural_state * state);
|
|
void SLOTFPUDIS(struct architectural_state * state);
|
|
void UBRKBEFORE(struct architectural_state * state);
|
|
void UBRKAFTER(struct architectural_state * state);
|
|
void FPUEXC(struct architectural_state * state, uint32_t fps);
|
|
void NMI(struct architectural_state * state);
|
|
void IRLINT(struct architectural_state * state);
|