diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 11:41:06 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 11:41:06 +0000 |
commit | bac20eb3ccae134da8a6159d1827e12708fb5084 (patch) | |
tree | 0a452be2a67077e3618b7cadc6a1db74b104039d /emulators/qemu/files | |
parent | 1efe42ca45e3e7f3022e4b8833fee0c83f686d10 (diff) |
Notes
Diffstat (limited to 'emulators/qemu/files')
-rw-r--r-- | emulators/qemu/files/patch-aa | 34 | ||||
-rw-r--r-- | emulators/qemu/files/patch-bh | 24 | ||||
-rw-r--r-- | emulators/qemu/files/patch-bt | 6 |
3 files changed, 3 insertions, 61 deletions
diff --git a/emulators/qemu/files/patch-aa b/emulators/qemu/files/patch-aa index ad6a1ebaca49..dbec12e4ab30 100644 --- a/emulators/qemu/files/patch-aa +++ b/emulators/qemu/files/patch-aa @@ -110,21 +110,6 @@ diff -urd --exclude=CVS ../cvs/qemu/block.c qemu-0.5.5/block.c size = lseek64(fd, 0, SEEK_END); bs->total_sectors = size / 512; Only in qemu-0.5.5: block.c.bck -diff -urd --exclude=CVS ../cvs/qemu/configure qemu-0.5.5/configure ---- ../cvs/qemu/configure Thu May 20 14:23:39 2004 -+++ qemu-0.5.5/configure Sun May 30 05:42:05 2004 -@@ -419,9 +419,11 @@ - if [ "$bsd" = "yes" ] ; then - echo "#define O_LARGEFILE 0" >> $config_h - echo "#define lseek64 lseek" >> $config_h -+ echo "#define mkstemp64 mkstemp" >> $config_h - echo "#define ftruncate64 ftruncate" >> $config_h - echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h - echo "#define _BSD 1" >> $config_h -+ echo "#define off64_t off_t" >> $config_h - fi - - for target in $target_list; do Only in qemu-0.5.5: qemu.1 diff -urd --exclude=CVS ../cvs/qemu/target-i386/cpu.h qemu-0.5.5/target-i386/cpu.h --- ../cvs/qemu/target-i386/cpu.h Thu May 20 15:01:56 2004 @@ -344,22 +329,3 @@ diff -urd --exclude=CVS ../cvs/qemu/vl.c qemu-0.5.5/vl.c #else { struct tms tp; -@@ -828,6 +836,7 @@ - the emulated kernel requested a too high timer frequency */ - getitimer(ITIMER_REAL, &itv); - -+#if defined(__linux__) - if (itv.it_interval.tv_usec > 1000) { - /* try to use /dev/rtc to have a faster timer */ - if (start_rtc_timer() < 0) -@@ -843,7 +852,9 @@ - sigaction(SIGIO, &act, NULL); - fcntl(rtc_fd, F_SETFL, O_ASYNC); - fcntl(rtc_fd, F_SETOWN, getpid()); -- } else { -+ } else -+#endif -+ { - use_itimer: - pit_min_timer_count = ((uint64_t)itv.it_interval.tv_usec * - PIT_FREQ) / 1000000; diff --git a/emulators/qemu/files/patch-bh b/emulators/qemu/files/patch-bh index ebb476a2ce9e..52dff1c7160e 100644 --- a/emulators/qemu/files/patch-bh +++ b/emulators/qemu/files/patch-bh @@ -1,19 +1,3 @@ -Index: qemu/configure -=================================================================== -RCS file: /cvsroot/qemu/qemu/configure,v -retrieving revision 1.39 -diff -w -u -d -r1.39 configure ---- configure 20 May 2004 13:23:39 -0000 1.39 -+++ configure 21 May 2004 15:00:41 -0000 -@@ -93,7 +93,7 @@ - - if [ "$bsd" = "yes" ] ; then - make="gmake" -- target_list="i386-softmmu" -+ target_list="i386-softmmu ppc-softmmu" - fi - - # find source path Index: qemu/dyngen-exec.h =================================================================== RCS file: /cvsroot/qemu/qemu/dyngen-exec.h,v @@ -105,11 +89,3 @@ diff -w -u -d -r1.6 op_helper.c } void do_fnmadds (void) -@@ -379,7 +404,6 @@ - - /*****************************************************************************/ - /* Special helpers for debug */ --extern FILE *stdout; - - void dump_state (void) - { diff --git a/emulators/qemu/files/patch-bt b/emulators/qemu/files/patch-bt index bba4776a22d5..62e8924722b3 100644 --- a/emulators/qemu/files/patch-bt +++ b/emulators/qemu/files/patch-bt @@ -1,8 +1,8 @@ Index: qemu/vl.c -@@ -41,6 +41,9 @@ - #ifdef _BSD - #include <sys/stat.h> +@@ -43,6 +43,9 @@ + #ifndef __APPLE__ #include <libutil.h> + #endif +#ifdef __FreeBSD__ +#include <sys/module.h> +#endif |