6 changed files with 2 additions and 82 deletions
-
2src/core/CMakeLists.txt
-
5src/core/arm/dyncom/arm_dyncom.cpp
-
6src/core/arm/dyncom/arm_dyncom_thumb.cpp
-
4src/core/arm/skyeye_common/armdefs.h
-
54src/core/arm/skyeye_common/armos.h
-
13src/core/arm/skyeye_common/skyeye_defs.h
@ -1,54 +0,0 @@ |
|||||
/* armos.h -- ARMulator OS definitions: ARM6 Instruction Emulator. |
|
||||
Copyright (C) 1994 Advanced RISC Machines Ltd. |
|
||||
|
|
||||
This program is free software; you can redistribute it and/or modify |
|
||||
it under the terms of the GNU General Public License as published by |
|
||||
the Free Software Foundation; either version 2 of the License, or |
|
||||
(at your option) any later version. |
|
||||
|
|
||||
This program is distributed in the hope that it will be useful, |
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
GNU General Public License for more details. |
|
||||
|
|
||||
You should have received a copy of the GNU General Public License |
|
||||
along with this program; if not, write to the Free Software |
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
||||
*/ |
|
||||
|
|
||||
// |
|
||||
// SWI Numbers |
|
||||
// |
|
||||
|
|
||||
#define SWI_Syscall 0x0 |
|
||||
#define SWI_Exit 0x1 |
|
||||
#define SWI_Read 0x3 |
|
||||
#define SWI_Write 0x4 |
|
||||
#define SWI_Open 0x5 |
|
||||
#define SWI_Close 0x6 |
|
||||
#define SWI_Seek 0x13 |
|
||||
#define SWI_Rename 0x26 |
|
||||
#define SWI_Break 0x11 |
|
||||
|
|
||||
#define SWI_Times 0x2b |
|
||||
#define SWI_Brk 0x2d |
|
||||
|
|
||||
#define SWI_Mmap 0x5a |
|
||||
#define SWI_Munmap 0x5b |
|
||||
#define SWI_Mmap2 0xc0 |
|
||||
|
|
||||
#define SWI_GetUID32 0xc7 |
|
||||
#define SWI_GetGID32 0xc8 |
|
||||
#define SWI_GetEUID32 0xc9 |
|
||||
#define SWI_GetEGID32 0xca |
|
||||
|
|
||||
#define SWI_ExitGroup 0xf8 |
|
||||
|
|
||||
#define SWI_Uname 0x7a |
|
||||
#define SWI_Fcntl 0xdd |
|
||||
#define SWI_Fstat64 0xc5 |
|
||||
#define SWI_Gettimeofday 0x4e |
|
||||
#define SWI_Set_tls 0xf0005 |
|
||||
|
|
||||
#define SWI_Breakpoint 0x180000 /* see gdb's tm-arm.h */ |
|
||||
|
|
||||
@ -1,13 +0,0 @@ |
|||||
#pragma once |
|
||||
|
|
||||
#include "common/common_types.h" |
|
||||
|
|
||||
struct cpu_config_t |
|
||||
{ |
|
||||
const char* cpu_arch_name; // CPU architecture version name.e.g. ARMv4T |
|
||||
const char* cpu_name; // CPU name. e.g. ARM7TDMI or ARM720T |
|
||||
u32 cpu_val; // CPU value; also call MMU ID or processor id;see |
|
||||
// ARM Architecture Reference Manual B2-6 |
|
||||
u32 cpu_mask; // cpu_val's mask. |
|
||||
u32 cachetype; // CPU cache type |
|
||||
}; |
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue