mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-20 21:17:58 -04:00
Replaced all references to simulation with emulation Updated copyright year Updated .gitignore to reduce chances of random files being uploaded to the repo Added .gitattributes to normalize all text files, and to ignore binary files (which includes the logo and the NEC PDF)
30 lines
613 B
C
30 lines
613 B
C
//
|
|
// vr4300/segment.h: VR4300 MMU segment manager.
|
|
//
|
|
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
|
|
// Copyright (C) 2015, Tyler J. Stachecki.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// 'LICENSE', which is part of this source code package.
|
|
//
|
|
|
|
#ifndef __vr4300_segment_h__
|
|
#define __vr4300_segment_h__
|
|
#include "common.h"
|
|
|
|
struct segment {
|
|
uint64_t start;
|
|
uint64_t length;
|
|
uint64_t offset;
|
|
|
|
uint8_t xmode_mask;
|
|
bool mapped;
|
|
bool cached;
|
|
};
|
|
|
|
const struct segment* get_default_segment(void);
|
|
const struct segment* get_segment(uint64_t address, uint32_t cp0_status);
|
|
|
|
#endif
|
|
|