blauwir...@gmail.com writes:
> +pstrcpy(bs->backing_format, sizeof(bs->backing_format),
> +backing_fmt ? backing_file : "");
s/backing_file/backing_fmt/
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01
Some applications like to test /proc/$$/exe (where $$ is the own pid) to
find out who they are. Handle it like /proc/self/exe.
Also, do the same handling in readlinkat.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 22 ++
1 file changed, 18 insertions(+), 4
Don't assume target_id is a short.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d3c26de..3f13d0b 100644
--- a/linux-user/syscall.c
+++ b/linux-user/sysc
Public bug reported:
Current kernels don't have a fixed argv/environ limit any more, but the
user-space emulation of qemu is still using a fixed limit. This can
cause execve to fail when it wouldn't on a real system. For example,
the follwing command should not fail in the emulated environment:
Public bug reported:
$ aarch64-linux-user/qemu-aarch64 -version
qemu-aarch64 version 2.0.92, Copyright (c) 2003-2008 Fabrice Bellard
$ aarch64-linux-user/qemu-aarch64 -d in_asm
/daten/build/build-root/home/abuild/rpmbuild/BUILD/glibc-2.19.90/cc-base/elf/ld-linux-aarch64.so.1
host mmap_min_addr=
yscall always returns the break value,
either the new one (on success) or the current one (on failure).
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Some applications use /proc/$$/... (where $$ is the own pid) instead of
/proc/self/... to refer to their own proc files. Extend the interception
for open and readlink to handle this case. Also, do the same interception
in readlinkat.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 63
ebc0 is a bitfield insn which the coldfire doesn't implement.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
F_[GS]ETOWN is replaced by F_[GS]ETOWN_EX inside the glibc fcntl wrapper.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 10 ++
linux-user/syscall_defs.h | 3 +++
2 files changed, 13 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 2f573b8
Please ignore this patch, it was prematurely sent.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
F_GETOWN is replaced by F_GETOWN_EX inside the glibc fcntl wrapper
Signed-off-by: Andreas Schwab
---
Only tested so far with the gnulib test-fcntl module, which mainly tests
proper error handling only.
---
linux-user/syscall.c | 36
linux-user
The second and fourth argument are in/out parameters, store them back
after the syscall. Also, the fourth argument was mishandled, and EFAULT
handling was missing.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions
Peter Maydell writes:
> Coding style demands braces for all these if statements.
That must be a recent change.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
The second and fourth argument are in/out parameters, store them back
after the syscall. Also, the fourth argument was mishandled, and EFAULT
handling was missing.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 22 ++
1 file changed, 18 insertions(+), 4 deletions
F_ISA_A);
My copy of the CFPRM doesn't list cmp2 as a valid coldfire insn.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
The second and fourth argument are in/out parameters, store them back
after the syscall. Also, the fourth argument was mishandled, and EFAULT
handling was missing.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 22 ++
1 file changed, 18 insertions(+), 4 deletions
Peter Maydell writes:
> What's changed?
Only the title.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
If TARGET_ABI_BITS is bigger than 32 we shift by more than the size of int.
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index fa3039f..5abc16f 100644
--- a/linux-user
When translating between host and target signal numbers keep negative
numbers unchanged, avoiding access beyond array bounds.
Signed-off-by: Andreas Schwab
---
linux-user/signal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
git repo.
You don't need a fencepost account for that, just commit access to the
qemu repo at savannah.
(In any case the private ssh key needs to be accessible to the cron
job.)
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3
Signed-off-by: Andreas Schwab
---
ppc.ld |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ppc.ld b/ppc.ld
index 5248ef1..18511ce 100644
--- a/ppc.ld
+++ b/ppc.ld
@@ -49,6 +49,12 @@ SECTIONS
.rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2
Laurent Vivier writes:
> Read a 8, 16 or 32bit immediat constant.
>
> An Immediat constant is stored in the instruction opcode and
s/Immediat/immediate/
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
&qu
--, mask >>= 1) {
>
> This has got to be wrong. Just because it's pre-decrement doesn't mean
> you should skip all of the loads.
Pre-dec only supports reg-to-mem, and is special because mask is bit
reversed.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fi
it as an
> incrementer/decrementer. I agree, it's a strange idea.
Those uses are really opsize_bytes(OS_BYTE), technically.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
oldfire always clears the overflow bit. */
I think this refers to the muls/mulu insn, where the CF always clears V.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Richard Henderson writes:
> Ah. Except placed here it also applies to and/or/move too.
Well, none of those ever overflow in the first place.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for s
Markus Armbruster writes:
> I vaguely remember we settled for GLib 2.22 due to some version of SLES.
> If that's correct: what version of Python does it provide?
SLES-11 has always provided python 2.6.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58C
Laurent Vivier writes:
> +#if defined(TARGET_M68K)
> +#define floatx80_default_nan_high 0x7FFF
> +#define floatx80_default_nan_low LIT64(0x4000)
The default NaN generated by the m68k FPU is all-bits-one (this is true
for all formats).
Andreas.
--
Andreas Schwab, sch
) only used in the stage1 compiler (which is built
unoptimized) isn't handled correctly yet.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Laurent Vivier writes:
> BTW, Adrian is using this branch (680x0-master-dev) for months to build
> Debian packages.
I don't trust it yet until it can bootstrap gcc.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 827
John Paul Adrian Glaubitz writes:
> On 05/06/2016 12:15 PM, Andreas Schwab wrote:
>> Laurent Vivier writes:
>>
>>> BTW, Adrian is using this branch (680x0-master-dev) for months to build
>>> Debian packages.
>>
>> I don't trust it yet until i
John Paul Adrian Glaubitz writes:
> On 05/06/2016 02:44 PM, Andreas Schwab wrote:
>> You are cheating, you override BOOT_CFLAGS.
>
> I'm not doing anything.
Yes, you do. See the build log.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7
John Paul Adrian Glaubitz writes:
> On 05/06/2016 03:24 PM, Andreas Schwab wrote:
>> John Paul Adrian Glaubitz writes:
>>
>>> On 05/06/2016 02:44 PM, Andreas Schwab wrote:
>>>> You are cheating, you override BOOT_CFLAGS.
>>>
>>> I'm
Laurent Vivier writes:
> What is the version of gcc?
It doesn't matter, any version.
> what are your configure parameters?
Nothing special.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And n
_Z15collect_executePKcPPcS0_S0_ib
+ move.l %d4,%a1
+ jsr (%a1)
move.l %a0,-(%sp)
pea .LC23
- move.l %d4,%a0
- jsr (%a0)
+ jsr _Z12collect_waitPKcP7pex_obj
move.l %d0,%d3
lea (32,%sp),%sp
jeq .L368
Andreas.
--
Andreas Schwab, sch
Andreas Schwab writes:
> Here is a testcase:
>
> when compiling tlink.c from the gcc sources with gcc-6 r234449 (which
> was bootstrapped in aranym):
>
> $ g++ -fno-PIE -c -fomit-frame-pointer -O2 -DIN_GCC -fno-exceptions
> -fno-rtti -fasynchronous-unwind-tables -W
Laurent Vivier writes:
> From: Andreas Schwab
>
> Signed-off-by: Andreas Schwab
> Signed-off-by: Laurent Vivier
> ---
> target-m68k/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target-m68k/translate.c b/target-m68k/translate
p_tb(s, 1, base + offset);
>> +gen_set_label(l1);
>> +update_cc_op(s);
>> +gen_jmp_tb(s, 0, s->pc);
>
> Pull the update_cc_op up to the top, so as to only generate one copy.
This misses a followup patch which moves it into gen_jmpcc. In the
current form this
On arm the original timerfd syscall was reused for the new timerfd_create
syscall.
Signed-off-by: Andreas Schwab
---
linux-user/arm/syscall_nr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h
index 7d7be7c..53552be
ll you need is "make all-gcc".
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
fpic and
> -fpie; for an RTAS blob relocated by OpenBIOS).
Does it understand ELF PIC relocations?
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
In
C99 you cannot have an empty __VA_ARGS__.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
;cluster_size) {
> +ret = -errno;
> +goto exit;
> +}
If you have a short write you'll get an undefined errno.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
hist_add(const char *cm
/* Need to get one free slot */
free(term_history[0]);
memcpy(term_history, &term_history[1],
- &term_history[TERM_MAX_CMDS] - &term_history[1]);
+ (TERM_MAX_CMDS - 1) * sizeof(char *));
term_history[TERM_MAX_CMD
nt8_t type
>>
>> Do we have a host where this actually makes a difference?
>
> I believe Perl makes sizeof(char) checks, so there likely is some platform
> where sizeof(char) > 1.
Not in C. sizeof(char) == 1 by definition. Also CHAR_BIT >= 8, so
uint8_t can never be wider tha
partition (atari partition table and mac partition table are not
> compatible).
You'll also need a different kernel, since Aranym emulates an atari, and
the atari kernel probably won't run on a mac (and vice versa).
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linu
mu ?
No.
> What is missing in qemu to be able to use debian m68k binaries in
> user-mode ? to boot linux ?
Even with the patch there are still quite some things missing. For a
full system emulation you need more supervisor level instructions, and a
proper fpu emulation is missing as well
Samuel Thibault <[EMAIL PROTECTED]> writes:
> Mmm, actually, shouldn't qemu use a more "private" network like a
> RFC1918 172.16.0.0/12 network?
In which way is 172.16.0.0/12 more "private" than 10.0.0.0/8?
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAI
Nigel Horne <[EMAIL PROTECTED]> writes:
> I can't remember now what sizeof(int) and sizeof(char *) were on m68k
> machines.
It depends. Try -mshort.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg
Nigel Horne <[EMAIL PROTECTED]> writes:
> Andreas Schwab wrote:
>> Nigel Horne <[EMAIL PROTECTED]> writes:
>>
>>> I can't remember now what sizeof(int) and sizeof(char *) were on m68k
>>> machines.
>>
>> It depends. Try -mshort.
&
Samuel Bronson <[EMAIL PROTECTED]> writes:
> So, if the guest system has a triple-fault, and I had had my mouse grabbed, it
> stays grabbed, so that X has to be restarted (as far as I know).
Not if you have XF86_Ungrab bound to a key.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMA
;> about a command or a csh command alias.
>>
>> IMO, for a /bin/sh (or bash) script, using the "type" command would
>> be a better idea.
>
> "which" returns the first path, "type" returns all paths.
You want "type -p".
Andreas.
-
"Jeff Chua" <[EMAIL PROTECTED]> writes:
> # type awk
> awk is /bin/awk
> awk is /usr/bin/awk
> # type -p awk
> /bin/awk
> /usr/bin/awk
You are not using type, but type -a.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products Gmb
((uint32_t)lduw_code(s->pc)) << 16;
- s->pc += 2;
-im |= lduw_code(s->pc);
-s->pc += 2;
-return im;
-}
-
-
/* Update the CPU env CC_OP state. */
static inline void gen_flush_cc_op(DisasContext *s)
{
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Paul Brook <[EMAIL PROTECTED]> writes:
> On Saturday 26 May 2007, Andreas Schwab wrote:
>> This patch implements the full extension word format addressing mode in
>> the m68k emulation. I have manually verified that it gets all cases
>> right.
>
name)) = &&label ## n;\
goto *(void *)(((TranslationBlock *)tbparam)->tb_next[n]);\
label ## n: ;\
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
);
}
-dst = NULL; /* NULL terminate target_environ */
+*dst = NULL; /* NULL terminate target_environ */
if (loader_exec(filename, argv+optind, target_environ, regs, info) != 0) {
printf("Error loading %s\n", filename);
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
;
uint32_t f_spare[5];
@@ -1359,7 +1363,7 @@ struct target_statfs64 {
uint64_t f_bavail;
uint64_t f_files;
uint64_t f_ffree;
- int f_fsid;
+ target_fsid_t f_fsid;
uint32_t f_namelen;
uint32_t f_frsize;
uint32_t f_spare[5];
--
Andreas
alue, but
host_to_target_errno returns the errno value for the target, doesn't it?
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Stuart Anderson <[EMAIL PROTECTED]> writes:
> On Fri, 20 Jul 2007, Andreas Schwab wrote:
>
>> Stuart Anderson <[EMAIL PROTECTED]> writes:
>>
>>> Index: qemu/linux-user/syscall.c
>>> ===
limit for unsigned long
long. If your compiler does not support the long long type then
ULONG_LONG_MAX should not be defined either. Instead, vl.c should use
UINT64_MAX.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
case); so does a.high >> 41, which copies it from the
> original NaN. I think this routine should not force a quiet or
> signalling NaN, but just preserve the input NaN's signalling-ness.
You may need to make sure that at least one mantissa bit is set.
Andreas.
--
Andreas Sc
1:11 2007
> +++ qemu/hw/sh7750.c Sun Nov 11 16:13:13 2007
> @@ -29,6 +29,9 @@
> #include "sh7750_regnames.h"
> #include "sh_intc.h"
>
> +#undef NULL
> +#define NULL ((void *)0)
This does not make it better, since sizeof(void) is still not allowed in
C.
A
; + + (val[6] << 16) + (val[7] << 24);
> +x86_cpu_def->vendor3 = val[8] + (val[9] << 8)
> + + (val[10] << 16) + (val[11] << 24);
That will do the wrong thing with the si
gned char float64_compare( float64, float64 STATUS_PARAM );
+signed char float64_compare_quiet( float64, float64 STATUS_PARAM );
char float64_is_signaling_nan( float64 );
INLINE float64 float64_abs(float64 a)
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfel
Johannes Schindelin <[EMAIL PROTECTED]> writes:
> It has been a really long time I have been working on a broken system that
> did not default to "signed".
The only thing that is broken is your knowlege of C.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
Su
ilers and SPARC compilers over the years.
>
> I'm fairly sure I've seen targets that use other bitfield orderings, though I
> can't remember offhand what they were.
Bi-endian targets are examples of this. The bitfield ordering is normally
independent of the selected byte order. F
dering and *bit*
ordering. The former always follows the byte ordering, whereas the latter
is only a property of the ISA and has no influence on the ABI or API.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fin
"M. Warner Losh" <[EMAIL PROTECTED]> writes:
> True, but that's not what the original poster in this thread was
> asking.
Right.
> Answering the different question is just confusing to the
> original poster.
It was actually me who was confused.
Andreas.
--
"M. Warner Losh" <[EMAIL PROTECTED]> writes:
> Const does *NOT* imply that you don't own the memory. Its narrow
> meaning is just that the object won't be changed through this
> pointer/reference.
But free _does_ change the object.
Andreas.
--
Andreas
Johannes Schindelin <[EMAIL PROTECTED]> writes:
> CVSROOT is :pserver:[EMAIL PROTECTED]:/cvsroot/qemu
^^^
That should be "sources".
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products Gm
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
>
> Using only the first 16 bytes avoids the need to have separate entries
> for i386 and i486, given that they are emulated by the same program
> (qemu-i386).
How would you distinguish it from an arm or mipsel binary?
Andreas
I cannot see the 'tag' v1.3.1 being populated in the opensbi
> git repo. Am I missing anything?
You need to run git fetch --tags, because the tag is not part of any
branch, thus not fetched automatically.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB
ext.
This breaks the testsuite of libunwind. The test Gtest-resume-sig and
all dependent tests hang. Reverting this commit fixes them.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
= 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a1dc8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2e1050,0x2b2a21a8,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a21a8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a2268,NULL,8) = 0
30962 read(3,0xab2a2747,1) = 1
30962
Also tested with master, same result.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
= 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a1dc8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2e1050,0x2b2a21a8,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a21a8,NULL,8) = 0
30962 rt_sigprocmask(SIG_SETMASK,0x2b2a2268,NULL,8) = 0
30962 read(3,0xab2a2747,1) = 1
30962
On Mär 06 2024, Alistair Francis wrote:
> On Sun, Mar 3, 2024 at 8:34 PM Andreas Schwab wrote:
>>
>> On Jan 28 2024, Michael Tokarev wrote:
>>
>> > From: Richard Henderson
>> >
>> > A typo in sizeof_reg put the registers at the wrong offset.
&g
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f5ff6f5dc8..80399f4eb0 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -313,6 +313,9 @@ _syscall3(int, getrandom
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 36 ++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d113a65831..ba5775a94e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
Copy the correct firmware file
Signed-off-by: Andreas Schwab
---
roms/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/roms/Makefile b/roms/Makefile
index dc70fb5aea..775c963f9d 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -183,7 +183,7 @@ opensbi64-sifive_u
Do not reverse the order of envionment variables in the target environ
array relative to the incoming environ order. Some testsuites depend on a
specific order, even though it is not defined by any standard.
Signed-off-by: Andreas Schwab
---
linux-user/main.c | 7 ++-
1 file changed, 6
Do not reverse the order of environment variables in the target environ
array relative to the incoming environ order. Some testsuites depend on a
specific order, even though it is not defined by any standard.
Signed-off-by: Andreas Schwab
---
linux-user/main.c | 6 ++
1 file changed, 6
On Mär 29 2023, Daniel P. Berrangé wrote:
> On Wed, Mar 29, 2023 at 03:55:13PM +0200, Andreas Schwab wrote:
>> Do not reverse the order of environment variables in the target environ
>> array relative to the incoming environ order. Some testsuites depend on a
>> specific ord
On Mär 29 2023, Philippe Mathieu-Daudé wrote:
> On 29/3/23 16:00, Daniel P. Berrangé wrote:
>> On Wed, Mar 29, 2023 at 03:55:13PM +0200, Andreas Schwab wrote:
>>> Do not reverse the order of environment variables in the target environ
>>> array relative to the in
Do not reverse the order of environment variables in the target environ
array relative to the incoming environ order. Some testsuites depend on a
specific order, even though it is not defined by any standard.
Signed-off-by: Andreas Schwab
---
bsd-user/main.c | 10 +-
linux-user
LOOP_CONFIGURE is now used by losetup, and it cannot cope with ENOSYS.
Signed-off-by: Andreas Schwab
---
linux-user/ioctls.h| 4
linux-user/linux_loop.h| 2 ++
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 6 ++
4 files changed, 16 insertions(+)
diff
LOOP_CONFIGURE is now used by losetup, and it cannot cope with ENOSYS.
Signed-off-by: Andreas Schwab
---
v2: fix s/loop_configure/loop_config/ typo
linux-user/ioctls.h| 4
linux-user/linux_loop.h| 2 ++
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 6
On Mai 05 2023, Laurent Vivier wrote:
> [PATCH qemu v2] linux-user: Emulate /proc/cpuinfo output for riscv
> https://patchew.org/QEMU/167873059442.9885.1515208531657524845...@git.sr.ht/
This looks better. You can drop my patch.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key finge
Signed-off-by: Andreas Schwab
---
linux-user/syscall.c | 30 --
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 69f740ff98..c72456a34b 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
On Mai 02 2023, Palmer Dabbelt wrote:
> On Tue, 02 May 2023 06:44:00 PDT (-0700), sch...@suse.de wrote:
>> Signed-off-by: Andreas Schwab
>> ---
>> linux-user/syscall.c | 30 --
>> 1 file changed, 28 insertions(+), 2 deletions(-)
&g
On Mai 02 2023, Andreas Schwab wrote:
> None of the currently defined cpus are non-GC cpus (except sifive_e, but
> that is not suitable for user-space anyway), and there doesn't appear to
> be any properties defined for changing the supported extensions.
Actually, modifying the
Signed-off-by: Andreas Schwab
---
v2: dynmically compute the isa string
linux-user/syscall.c | 55 ++--
1 file changed, 53 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 69f740ff98..6df138c8b6 100644
--- a
>From 912af433fa5d93ce81d2054135ed475ab7462d2d Mon Sep 17 00:00:00 2001
From: Andreas Schwab
Date: Tue, 18 Apr 2023 11:54:01 +0200
Signed-off-by: Andreas Schwab
---
v3: fix isa order
linux-user/syscall.c | 55 ++--
1 file changed, 53 insertions(+)
Ping?
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
GETBSZ _IO(0x00,2)
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
dumped)
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Jun 24 2024, Peter Maydell wrote:
> Just to check, does the python you're running this on
> have the change from
> https://github.com/python/cpython/pull/110659
Yes, this is python 3.11.9.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F
base in setup_arg_pages into a host mmap call with
non-zero base. On other hosts like x86_64 or aarch64, guest_base
remains zero and the issue does not occur.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for some
-B option or choose a different value)
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
1 - 100 of 175 matches
Mail list logo