Home
last modified time | relevance | path

Searched +full:rtas +full:- +full:get +full:- +full:time +full:- +full:of +full:- +full:day (Results 1 – 4 of 4) sorted by relevance

/kvm-unit-tests/powerpc/
H A Dunittests.cfg11 # Test that the configured number of processors (smp = <num>), and
12 # that the configured amount of memory (-m <MB>) are correctly setup
15 [selftest-setup]
19 qemu_params = -m 1g
22 [selftest-migration]
23 file = selftest-migration.elf
27 [selftest-migration-skip]
28 file = selftest-migration.elf
33 [migration-memory]
34 file = memory-verify.elf
[all …]
H A Drtas.c2 * Test the RTAS interface
7 #include <asm/rtas.h>
9 #define DAYS(y,m,d) (365UL * (y) + ((y) / 4) - ((y) / 100) + ((y) / 400) + \
13 static unsigned long mktime(int year, int month, int day, in mktime() argument
18 /* Put February at end of the year to avoid leap day this year */ in mktime()
20 month -= 2; in mktime()
23 year -= 1; in mktime()
26 /* compute epoch: substract DAYS(since_March(1-1-1970)) */ in mktime()
28 epoch = DAYS(year, month, day) - DAYS(1969, 11, 1); in mktime()
47 ret = rtas_token("get-time-of-day", &token); in check_get_time_of_day()
[all …]
/kvm-unit-tests/
H A D.travis.yml11 - arch: ppc64le
13 apt_packages: clang qemu-system-ppc
15 - CONFIG="--arch=ppc64 --endian=little --cc=clang --cflags=-no-integrated-as"
16 - TESTS="emulator rtas-get-time-of-day rtas-get-time-of-day-base
17 rtas-set-time-of-day selftest-setup spapr_hcall"
19 - arch: s390x
22 apt_packages: clang-11 qemu-system-s390x
24 - CONFIG="--arch=s390x --cc=clang-11 --cflags=-no-integrated-as"
25 - TESTS=""
28 - mkdir -p build && cd build
[all …]
H A D.gitlab-ci.yml4 - dnf update -y
5 - dnf install -y make python
15 - logs
23 - build/logs
25 build-aarch64:
28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu
29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
30 - make -j2
31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
33 debug-bp
[all …]