-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Mips Tracewrap Support (WIP) #26
base: tracewrap-6.2.0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,7 @@ typedef enum { | |
|
||
#include "fpu/softfloat-types.h" | ||
#include "fpu/softfloat-helpers.h" | ||
#include <stdbool.h> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this necessary? |
||
|
||
/*---------------------------------------------------------------------------- | ||
| Routine to raise any or all of the software IEC/IEEE floating-point | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#ifndef BSWAP_H | ||
#define BSWAP_H | ||
|
||
#include "osdep.h" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this necessary change? It's preferable to keep unrelated changes to the minimum, so that updating the QEMU base would be easier. |
||
#ifdef CONFIG_MACHINE_BSWAP_H | ||
# include <sys/endian.h> | ||
# include <machine/bswap.h> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#pragma once | ||
|
||
#include "frame_arch.h" | ||
#include <stdint.h> | ||
|
||
const uint64_t frame_arch = frame_arch_mips; | ||
const uint64_t frame_mach = frame_mach_mipsisa32 ; | ||
const uint64_t frame_mach = frame_mach_mipsisa32; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
|
||
#include "frame_arch.h" | ||
#include <stdint.h> | ||
|
||
const uint64_t frame_arch = frame_arch_mips; | ||
const uint64_t frame_mach = frame_mach_mipsisa64; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,8 +226,8 @@ void qdict_array_split(QDict *src, QList **dst) | |
bool is_subqdict; | ||
QDict *subqdict = NULL; | ||
char indexstr[32], prefix[32]; | ||
size_t snprintf_ret; | ||
|
||
size_t snprintf_ret; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unnecessary change |
||
snprintf_ret = snprintf(indexstr, 32, "%u", i); | ||
assert(snprintf_ret < 32); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ bool replay_events_enabled(void) | |
return false; | ||
} | ||
|
||
int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount) | ||
int64_t replay_save_clock(ReplayClockKind kind, int64_t clock, int64_t raw_icount) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see you imported the change from QEMU mainstream. Please cherry-pick the whole commit of theirs, it will make rebase easier. |
||
{ | ||
abort(); | ||
return 0; | ||
} | ||
|
||
int64_t replay_read_clock(unsigned int kind, int64_t raw_icount) | ||
int64_t replay_read_clock(ReplayClockKind kind, int64_t raw_icount) | ||
{ | ||
abort(); | ||
return 0; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same - I believe it's unnecessary and should work without