* TriCore Support python sample * Update sample_tricore.py Correct attribution * Update sample_tricore.py Fixed byte code to execute properly. * Update sample_tricore.py Removed testing artifact * Added tricore msvc config-file.h * Added STATIC to tricore config and added helper methods to symbol file generation. * Update op_helper.c Use built in crc32 * Fix tricore samples and small code blocks are now handled properly * Add CPU types * Generate bindings * Format code Co-authored-by: lazymio <mio@lazym.io>
28 lines
880 B
C
28 lines
880 B
C
/* Unicorn Emulator Engine */
|
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2015 */
|
|
|
|
/*
|
|
Modified for Unicorn Engine by Eric Poole <eric.poole@aptiv.com>, 2022
|
|
Copyright 2022 Aptiv
|
|
*/
|
|
|
|
#ifndef UC_QEMU_TARGET_TRICORE_H
|
|
#define UC_QEMU_TARGET_TRICORE_H
|
|
|
|
// functions to read & write registers
|
|
int tricore_reg_read(struct uc_struct *uc, unsigned int *regs, void **vals,
|
|
int count);
|
|
int tricore_reg_write(struct uc_struct *uc, unsigned int *regs,
|
|
void *const *vals, int count);
|
|
|
|
int tricore_context_reg_read(struct uc_context *uc, unsigned int *regs,
|
|
void **vals, int count);
|
|
int tricore_context_reg_write(struct uc_context *uc, unsigned int *regs,
|
|
void *const *vals, int count);
|
|
|
|
void tricore_reg_reset(struct uc_struct *uc);
|
|
|
|
void tricore_uc_init(struct uc_struct *uc);
|
|
|
|
#endif
|