mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Introduce and use cache-utils.[ch]
Thanks to Segher Boessenkool and Holis Blanchard. AIX and Darwin cache inquiry: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00388.html Auxiliary vectors: http://manugarg.googlepages.com/aboutelfauxiliaryvectors git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5973 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4fbfcd6d53
commit
902b3d5c39
8 changed files with 120 additions and 46 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "qemu.h"
|
||||
#include "qemu-common.h"
|
||||
#include "cache-utils.h"
|
||||
/* For tb_lock */
|
||||
#include "exec-all.h"
|
||||
|
||||
|
@ -2214,7 +2215,7 @@ void init_task_state(TaskState *ts)
|
|||
ts->sigqueue_table[i].next = NULL;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
int main(int argc, char **argv, char **envp)
|
||||
{
|
||||
const char *filename;
|
||||
const char *cpu_model;
|
||||
|
@ -2231,6 +2232,8 @@ int main(int argc, char **argv)
|
|||
if (argc <= 1)
|
||||
usage();
|
||||
|
||||
qemu_cache_utils_init(envp);
|
||||
|
||||
/* init debug */
|
||||
cpu_set_log_filename(DEBUG_LOGFILE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue