Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index c6b9d6a..97741c7 100644
--- a/linux-user/ioctls.h
Add ioctls for all rtc features that are currently supported in linux kernell.
Filip Bozuta (6):
linux-user: Add support for enabling/disabling rtc features using
ioctls
linux-user: Add set and read for rtc time and alarm using ioctls
linux-user: Add read and set for rtc periodic
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user/syscall_defs.h | 14 ++
linux-user/syscall_types.h | 9 +
3 files changed, 25 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 5830315..eea65e1 100644
--- a/linux-user
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 97741c7..ff1cdd2 100644
--- a/linux-user
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 4
linux-user/syscall_defs.h | 4
2 files changed, 8 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index ff1cdd2..7d76a9f 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -81,6 +81,10
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user/syscall_defs.h | 2 ++
linux-user/syscall_types.h | 5 +
3 files changed, 9 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 7d76a9f..5830315 100644
--- a/linux-user/ioctls.h
+++ b/linux
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 2 ++
linux-user/syscall_defs.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index eea65e1..330e502 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -89,6 +89,8
ctl");
return -1;
}
printf("Second: %d, Minute: %d, Hour: %d, Day: %d, Month: %d, Year:
%d,",
cur_time.tm_sec, cur_time.tm_min, cur_time.tm_hour,
cur_time.tm_mday, cur_time.tm_mon, cur_time.tm_year);
return 0;
}
Filip Bozuta (6):
lin
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19
/syscall_types.h. Since all
elements of this structure are either of type 'unsigned char'
or 'struct rtc_time' (that was covered in one of previous
patches), the rest of the implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user
special
handling related to 'ulong' type: they use 'abi_ulong' type
to make sure that ioctl's code is calculated correctly for
both 32-bit and 64-bit targets. Also, 'MK_PTR(TYPE_ULONG)'
is used for the similar reason in linux-user/ioctls.h.
Signed-off-by: Filip Bozuta
---
linux-user
', except the last one that is of type 'long'. That is
the reason why a separate target structure (target_rtc_pll_info)
is defined in linux-user/syscall_defs. The rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux
, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user
for RTCs that
support voltage low. The third ioctl(2) argument is
ignored.
Implementation notes:
Since one ioctl has a pointer to 'int' as its third agrument,
and another ioctl has NULL as its third argument, their
implementation was straightforward.
Signed-off-by: Filip Bozuta
update implementations
accordingly.
v3:
* changed two instances of MK_PTR(TYPE_ULONG) to TYPE_ULONG
v2:
* added description of each ioctl in patches
* wrote a more detailed cover letter with description of testing
* changed one instance of TYPE_INT to MK_PTR(TYPE_INT)
Filip Bozut
for RTCs that
support voltage low. The third ioctl(2) argument is
ignored.
Implementation notes:
Since one ioctl has a pointer to 'int' as its third agrument,
and another ioctl has NULL as its third argument, their
implementation was straightforward.
Signed-off-by: Filip Bozuta
special
handling related to 'ulong' type: they use 'abi_ulong' type
to make sure that ioctl's code is calculated correctly for
both 32-bit and 64-bit targets. Also, 'MK_PTR(TYPE_ULONG)'
is used for the similar reason in linux-user/ioctls.h.
Signed-off-by: Filip Bozuta
---
linux-user
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19
', except the last one that is of type 'long'. That is
the reason why a separate target structure (target_rtc_pll_info)
is defined in linux-user/syscall_defs. The rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux
/syscall_types.h. Since all
elements of this structure are either of type 'unsigned char'
or 'struct rtc_time' (that was covered in one of previous
patches), the rest of the implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user
, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user
and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
Reviewed-by: Aleksandar Markovic
---
hw/net/mipsnet.c | 44
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/hw/net/mipsnet.c b/hw
sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
Reviewed-by: Aleksandar Markovic
---
hw/mips/mips_r4k.c | 55 +-
1 file changed, 34 insertions(+), 21 deletions(-)
diff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c
index
lines 103 and 107 in tests/acceptance/mips_malta.c
so that splitting lines are aligned vertically
belove the opening brackets
* changed line 121 in mips_r4k.c so that INITRD_PAGE_MASK so
that it is aligned vertically belove the opening bracket
Filip Bozuta (5):
mips: jazz
corrected and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
Reviewed-by: Aleksandar Markovic
---
hw/display/jazz_led.c | 123 +-
hw/dma/rc4030.c | 12 +++--
hw/mips/mips_jazz.c
by the checkpatch.pl
script were corrected and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
Reviewed-by: Aleksandar Markovic
---
hw/mips/mips_malta.c | 169 ---
tests/acceptance
generated by the checkpatch.pl
script were corrected and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
Reviewed-by: Aleksandar Markovic
---
hw/isa/vt82c686.c| 23 ++--
hw/pci-host/bonito.c | 60
Simplify instructions by removing unnecessary argument and creating separate
comparing functions for each instruction.
Filip Bozuta (2):
target/mips: Rearrange vector compare equal instructions
target/mips: Rearrange vector compare less than (signed) instructions
target/mips/msa_helper.c
Remove unnecessary argument and provide separate function for each
instruction.
Signed-off-by: Filip Bozuta
---
target/mips/msa_helper.c | 80 ++--
1 file changed, 50 insertions(+), 30 deletions(-)
diff --git a/target/mips/msa_helper.c b/target/mips
Remove unnecessary argument and provide separate function for each
instruction.
Signed-off-by: Filip Bozuta
---
target/mips/msa_helper.c | 80 ++--
1 file changed, 50 insertions(+), 30 deletions(-)
diff --git a/target/mips/msa_helper.c b/target/mips
generated by the checkpatch.pl
script were corrected and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
---
hw/isa/vt82c686.c| 23 ++--
hw/pci-host/bonito.c | 60 +---
2
corrected and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
---
hw/display/jazz_led.c | 123 +-
hw/dma/rc4030.c | 12 +++--
hw/mips/mips_jazz.c | 32 +++--
3 files
sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
---
hw/mips/mips_r4k.c | 55 +-
1 file changed, 34 insertions(+), 21 deletions(-)
diff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c
index 7002423..d638358 100644
--- a/hw
by the checkpatch.pl
script were corrected and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
---
hw/mips/mips_malta.c | 139 ---
tests/acceptance/linux_ssh_mips_malta.py | 6 +-
2 files
and then the script was
ran again to make sure there are no more errors and warnings.
Signed-off-by: Filip Bozuta
---
hw/net/mipsnet.c | 44
1 file changed, 24 insertions(+), 20 deletions(-)
diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c
index f7ae1ce
in future versions.
Filip Bozuta (5):
mips: jazz: Renovate coding style
mips: malta: Renovate coding style
mips: mipssim: Renovate coding style
mips: r4000: Renovate coding style
mips: fulong 2e: Renovate coding style
hw/display/jazz_led.c| 123
to TYPE_ULONG
v2:
* added description of each ioctl in patches
* wrote a more detailed cover letter with description of testing
* changed one instance of TYPE_INT to MK_PTR(TYPE_INT)
Filip Bozuta (6):
linux-user: Add support for enabling/disabling RTC features using
ioctls
linu
, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user
are of
type 'int', except the last one that is of type 'long'. That is
the reason why a separate target structure (target_rtc_pll_info)
is defined in linux-user/syscall_defs. The rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19
special
handling related to 'ulong' type: they use 'abi_ulong' type
to make sure that ioctl's code is calculated correctly for
both 32-bit and 64-bit targets. Also, 'MK_PTR(TYPE_ULONG)'
is used for the similar reason in linux-user/ioctls.h.
Signed-off-by: Filip Bozuta
---
linux
for RTCs that
support voltage low. The third ioctl(2) argument is
ignored.
Implementation notes:
Since one ioctl has a pointer to 'int' as its third agrument,
and another ioctl has NULL as its third argument, their
implementation was straightforward.
Signed-off-by: Filip Bozuta
/syscall_types.h.
Since all elements of this structure are either of type
'unsigned char' or 'struct rtc_time' (that was covered in one
of previous patches), the rest of the implementation is
straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user
tput line that shows which
test passed and at which test the program aborts. It was also modified so
that
it doesn't have styling problems detected by 'scripts/checkpatch.pl'.
Signed-off-by: Filip Bozuta
---
.../manual-test/alsa-timer-ioctl-manual-test.c | 294 ++
that were obtained remotely run multiple
ioctl
tests at once, while the manually written tests can be used to run both
individual
and multiple ioctl tests based on the command specified when running the test.
Filip Bozuta (2):
tests/tcg/multiarch: Add tests for implemented rtc ioctls
tests/tcg
It is used to further
test functionalities of some rtc ioctls by running rtc clock at different
frequencies.
Signed-off-by: Filip Bozuta
---
.../manual-test/rtc-ioctl-manual-test.c| 352 +
.../rtc-ioctl-tests/remote-test/rtc-test.c | 226 ++
tput line that shows which
test passed and at which test the program aborts. It was also modified so
that
it doesn't have styling problems detected by 'scripts/checkpatch.pl'.
Signed-off-by: Filip Bozuta
---
.../manual-test/alsa-timer-ioctl-manual-test.c | 294 ++
It is used to further
test functionalities of some rtc ioctls by running rtc clock at different
frequencies.
Signed-off-by: Filip Bozuta
---
.../manual-test/rtc-ioctl-manual-test.c| 352 +
.../rtc-ioctl-tests/remote-test/rtc-test.c | 226 ++
test files for each ioctl
v3:
* fixed alsa timer ioctl manual test so that it can run ioctl tests
individually
by specifying their name when running the test program
Filip Bozuta (2):
tests/tcg/multiarch: Add tests for implemented rtc ioctls
tests/tcg/multiarch: Add tests
/syscall_types.h.
Since all elements of this structure are either of type
'unsigned char' or 'struct rtc_time' (that was covered in one
of previous patches), the rest of the implementation is
straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user
hey are better
formatted and more cemprehensible
v3:
* changed two instances of MK_PTR(TYPE_ULONG) to TYPE_ULONG
v2:
* added description of each ioctl in patches
* wrote a more detailed cover letter with description of testing
* changed one instance of TYPE_INT to MK_PTR(TYPE_I
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19
are of
type 'int', except the last one that is of type 'long'. That is
the reason why a separate target structure (target_rtc_pll_info)
is defined in linux-user/syscall_defs. The rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2
argument is different than 0, otherwise normal
time reading is set.
Implementation notes:
Because the implemented ioctl has 'int' as its third argument, the
implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h
added in 'linux-user/syscall_types.h'. The rest
of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user/syscall_defs.h | 7 +++
linux-user/syscall_types.h | 4
3 files changed, 13 insertions(+)
diff --git a/linux-user/i
ese ioctls. This needs to be
done only once in this series of commits. Also, the content
of this file (with respect to ioctl definitions) remained
unchanged for a long time, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
special
handling related to 'ulong' type: they use 'abi_ulong' type
to make sure that ioctl's code is calculated correctly for
both 32-bit and 64-bit targets. Also, 'MK_PTR(TYPE_ULONG)'
is used for the similar reason in linux-user/ioctls.h.
Signed-off-by: Filip Bozuta
---
linux
to select the timer that is to be paused. If no
timer is selected, the error EBADFD ("File descriptor in bad shape")
is returned.
Implementation notes:
Since all of the implemented ioctls have NULL as their third argument,
their implementation was straightforward.
efinition
so that definition was used to define a target structure for
'snd_timer_status'. The rest of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 5 +
linux-user/syscall_defs.h | 25 +
linux-user
, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user
pe 'struct snd_timer_id' which is the reason
why a separate target structure 'struct target_snd_timer_id' was also
defined. The rest of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 6 ++
linux-user/syscall_defs.h |
for RTCs that
support voltage low. The third ioctl(2) argument is
ignored.
Implementation notes:
Since one ioctl has a pointer to 'int' as its third agrument,
and another ioctl has NULL as its third argument, their
implementation was straightforward.
Signed-off-by: Filip Bozuta
to select the timer that is to be paused. If no
timer is selected, the error EBADFD ("File descriptor in bad shape")
is returned.
Implementation notes:
Since all of the implemented ioctls have NULL as their third argument,
their implementation was straightforward.
efinition
so that definition was used to define a target structure for
'snd_timer_status'. The rest of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 5 +
linux-user/syscall_defs.h | 25 +
linux-user
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19
added in 'linux-user/syscall_types.h'. The rest
of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user/syscall_defs.h | 7 +++
linux-user/syscall_types.h | 4
3 files changed, 13 insertions(+)
diff --git a/linux-user/i
are of
type 'int', except the last one that is of type 'long'. That is
the reason why a separate target structure (target_rtc_pll_info)
is defined in linux-user/syscall_defs. The rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2
of
type IOW with unsigned long as third argument before this
patch, which is the reason why this case statement was added
now for the first time.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 4
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 4
hanged two instances of MK_PTR(TYPE_ULONG) to TYPE_ULONG
v2:
* added description of each ioctl in patches
* wrote a more detailed cover letter with description of testing
* changed one instance of TYPE_INT to MK_PTR(TYPE_INT)
Filip Bozuta (12):
linux-user: Add support for enabling/disabl
, their
implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 2 ++
linux-user/syscall_defs.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 0a4e3f1..1f1f3e6 100644
--- a/linux-user/ioctls.h
+++ b/linux-user
, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user
ese ioctls. This needs to be
done only once in this series of commits. Also, the content
of this file (with respect to ioctl definitions) remained
unchanged for a long time, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
/syscall_types.h.
Since all elements of this structure are either of type
'unsigned char' or 'struct rtc_time' (that was covered in one
of previous patches), the rest of the implementation is
straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user
argument is different than 0, otherwise normal
time reading is set.
Implementation notes:
Because the implemented ioctl has 'int' as its third argument, the
implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h
pe 'struct snd_timer_id' which is the reason
why a separate target structure 'struct target_snd_timer_id' was also
defined. The rest of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 6 ++
linux-user/syscall_defs.h |
special
handling related to 'ulong' type: they use 'abi_ulong' type
to make sure that ioctl's code is calculated correctly for
both 32-bit and 64-bit targets. Also, 'MK_PTR(TYPE_ULONG)'
is used for the similar reason in linux-user/ioctls.h.
Signed-off-by: Filip Bozuta
---
linux
, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions(+)
diff --git a/linux-user
argument is different than 0, otherwise normal
time reading is set.
Implementation notes:
Because the implemented ioctl has 'int' as its third argument, the
implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11 +++
3 files changed, 19
efinition
so that definition was used to define a target structure for
'snd_timer_status'. The rest of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 5 +
linux-user/syscall_defs.h | 25 +
linux-user
pe 'struct snd_timer_id' which is the reason
why a separate target structure 'struct target_snd_timer_id' was also
defined. The rest of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 6 ++
linux-user/syscall_defs.h |
ET and RTC_EPOCH_SET
are of type IOW(writing type) that have unsigned long as
their third argument, they were not recognised in QEMU
before the changes of this patch.
Signed-off-by: Filip Bozuta
---
linux-user/syscall.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/syscall.c b/
er
formatted and more comprehensible
v3:
* changed two instances of MK_PTR(TYPE_ULONG) to TYPE_ULONG
v2:
* added description of each ioctl in patches
* wrote a more detailed cover letter with description of testing
* changed one instance of TYPE_INT to MK_PTR(TYPE_INT)
Filip Boz
pe 'struct snd_timer_id' which is the reason
why a separate target structure 'struct target_snd_timer_id' was also
defined. The rest of the implementation was straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 6 ++
linux-u
, their
implementation was straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 2 ++
linux-user/syscall_defs.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 0a4e3f1..1f1f3e6 100644
--- a/linux-user
, therefore there is no need to
worry about supporting older Linux kernel version.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 9 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 10 ++
3 files changed, 20 insertions
ese ioctls. This needs to be
done only once in this series of commits. Also, the content
of this file (with respect to ioctl definitions) remained
unchanged for a long time, therefore there is no need to
worry about supporting older Linux kernel version.
Signed-off-by: Filip Bozuta
---
are of
type 'int', except the last one that is of type 'long'. That is
the reason why a separate target structure (target_rtc_pll_info)
is defined in linux-user/syscall_defs. The rest of the
implementation is straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2
/syscall_types.h.
Since all elements of this structure are either of type
'unsigned char' or 'struct rtc_time' (that was covered in one
of previous patches), the rest of the implementation is
straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user
argument is different than 0, otherwise normal
time reading is set.
Implementation notes:
Because the implemented ioctl has 'int' as its third argument, the
implementation was straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h | 1
to select the timer that is to be paused. If no
timer is selected, the error EBADFD ("File descriptor in bad shape")
is returned.
Implementation notes:
Since all of the implemented ioctls have NULL as their third argument,
their implementation was straightforward.
Reviewed-by:
/syscall_types.h. Since all
elements of this structure are of type 'int', the rest of the
implementation is straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 4
linux-user/syscall_defs.h | 4
linux-user/syscall_types.h | 11
added in 'linux-user/syscall_types.h'. The rest
of the implementation was straightforward.
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user/syscall_defs.h | 7 +++
linux-user/syscall_types.h | 4
3 files changed, 13 insertions(+)
diff --git a/linux-user/i
to select the timer that is to be paused. If no
timer is selected, the error EBADFD ("File descriptor in bad shape")
is returned.
Implementation notes:
Since all of the implemented ioctls have NULL as their third argument,
their implementation was straightforward.
On 15.1.20. 17:37, Arnd Bergmann wrote:
On Wed, Jan 15, 2020 at 5:32 PM Laurent Vivier wrote:
Le 15/01/2020 à 17:18, Arnd Bergmann a écrit :
On Wed, Jan 15, 2020 at 4:53 PM Filip Bozuta wrote:
This patch implements functionality of following ioctl:
SNDRV_TIMER_IOCTL_TREAD - Setting
added in 'linux-user/syscall_types.h'. The rest
of the implementation was straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 2 ++
linux-user/syscall_defs.h | 7 +++
linux-user/syscall_types.h | 4
3 files changed, 13 insertions(+)
efinition
so that definition was used to define a target structure for
'snd_timer_status'. The rest of the implementation was straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h| 5 +
linux-user/syscall_defs.h | 2
-by: Filip Bozuta
---
linux-user/ioctls.h | 4
linux-user/syscall_defs.h | 4
2 files changed, 8 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index f472794..accbdee 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -81,6 +81,10 @@
IOCTL
/syscall_types.h.
Since all elements of this structure are either of type
'unsigned char' or 'struct rtc_time' (that was covered in one
of previous patches), the rest of the implementation is
straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Filip Bozuta
---
linux-user/ioctls.h
ET and RTC_EPOCH_SET
are of type IOW(writing type) that have unsigned long as
their third argument, they were not recognised in QEMU
before the changes of this patch.
Signed-off-by: Filip Bozuta
---
linux-user/syscall.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/syscall.c b/
1 - 100 of 262 matches
Mail list logo