diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-02-13 13:17:22 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2024-02-13 13:17:22 +0000 |
commit | 62cf2bda2ce969a16b45f8d3357d2fb87537c44d (patch) | |
tree | 30770d53a716ee805e47d1d960f2b01d5858d968 | |
parent | f088b469be153a3d1dc7c70995c1ffe619976350 (diff) | |
parent | 8e9257bf374d3db739a2484e79b9c5cf56d0ee10 (diff) | |
download | runtime-62cf2bda2ce969a16b45f8d3357d2fb87537c44d.tar.gz |
Merge changes from topic "riscv64-prebuilts-crt" into main am: 8e9257bf37
Original change: https://android-review.googlesource.com/c/platform/prebuilts/runtime/+/2955537
Change-Id: I690a6c2c2cc34545505bd7245ef74f22c4ddaaee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
1155 files changed, 11422 insertions, 20194 deletions
diff --git a/mainline/runtime/apex/com.android.runtime-riscv64.apex b/mainline/runtime/apex/com.android.runtime-riscv64.apex Binary files differindex cddd8e58..b5da5950 100644 --- a/mainline/runtime/apex/com.android.runtime-riscv64.apex +++ b/mainline/runtime/apex/com.android.runtime-riscv64.apex diff --git a/mainline/runtime/sdk/Android.bp b/mainline/runtime/sdk/Android.bp index 5c75f06a..e3a20fb2 100755 --- a/mainline/runtime/sdk/Android.bp +++ b/mainline/runtime/sdk/Android.bp @@ -132,6 +132,15 @@ cc_prebuilt_library_headers { "android/arm64/include/bionic/libc/kernel/android/uapi", ], }, + android_riscv64: { + export_system_include_dirs: [ + "android/riscv64/include/bionic/libc/include", + "android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv", + "android/riscv64/include/bionic/libc/kernel/uapi", + "android/riscv64/include/bionic/libc/kernel/android/scsi", + "android/riscv64/include/bionic/libc/kernel/android/uapi", + ], + }, android_x86_64: { export_system_include_dirs: [ "android/x86_64/include/bionic/libc/include", @@ -199,6 +208,9 @@ cc_prebuilt_object { android_arm64: { srcs: ["android/arm64/lib/crtbegin_dynamic.o"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/crtbegin_dynamic.o"], + }, android_x86_64: { srcs: ["android/x86_64/lib/crtbegin_dynamic.o"], }, @@ -241,6 +253,9 @@ cc_prebuilt_object { android_arm64: { srcs: ["android/arm64/lib/crtbegin_so.o"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/crtbegin_so.o"], + }, android_x86_64: { srcs: ["android/x86_64/lib/crtbegin_so.o"], }, @@ -283,6 +298,9 @@ cc_prebuilt_object { android_arm64: { srcs: ["android/arm64/lib/crtend_android.o"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/crtend_android.o"], + }, android_x86_64: { srcs: ["android/x86_64/lib/crtend_android.o"], }, @@ -325,6 +343,9 @@ cc_prebuilt_object { android_arm64: { srcs: ["android/arm64/lib/crtend_so.o"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/crtend_so.o"], + }, android_x86_64: { srcs: ["android/x86_64/lib/crtend_so.o"], }, @@ -367,6 +388,9 @@ cc_prebuilt_object { android_arm64: { srcs: ["android/arm64/lib/crt_pad_segment.o"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/crt_pad_segment.o"], + }, android_x86_64: { srcs: ["android/x86_64/lib/crt_pad_segment.o"], }, @@ -432,6 +456,16 @@ cc_prebuilt_library_shared { "android/arm64/include/bionic/libc/kernel/android/uapi", ], }, + android_riscv64: { + srcs: ["android/riscv64/lib/libc.so"], + export_system_include_dirs: [ + "android/riscv64/include/bionic/libc/include", + "android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv", + "android/riscv64/include/bionic/libc/kernel/uapi", + "android/riscv64/include/bionic/libc/kernel/android/scsi", + "android/riscv64/include/bionic/libc/kernel/android/uapi", + ], + }, android_x86_64: { srcs: ["android/x86_64/lib/libc.so"], export_system_include_dirs: [ @@ -517,6 +551,16 @@ cc_prebuilt_library_shared { "android/arm64/include/bionic/libc/kernel/android/uapi", ], }, + android_riscv64: { + srcs: ["android/riscv64/lib/libdl.so"], + export_system_include_dirs: [ + "android/riscv64/include/bionic/libc/include", + "android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv", + "android/riscv64/include/bionic/libc/kernel/uapi", + "android/riscv64/include/bionic/libc/kernel/android/scsi", + "android/riscv64/include/bionic/libc/kernel/android/uapi", + ], + }, android_x86_64: { srcs: ["android/x86_64/lib/libdl.so"], export_system_include_dirs: [ @@ -592,6 +636,9 @@ cc_prebuilt_library_shared { android_arm64: { srcs: ["android/arm64/lib/libdl_android.so"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/libdl_android.so"], + }, android_x86_64: { srcs: ["android/x86_64/lib/libdl_android.so"], }, @@ -644,6 +691,9 @@ cc_prebuilt_library_shared { android_arm64: { srcs: ["android/arm64/lib/libm.so"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/libm.so"], + }, android_x86_64: { srcs: ["android/x86_64/lib/libm.so"], }, @@ -704,6 +754,16 @@ cc_prebuilt_library_static { "android/arm64/include/bionic/libc/kernel/android/uapi", ], }, + android_riscv64: { + srcs: ["android/riscv64/lib/libasync_safe.a"], + export_system_include_dirs: [ + "android/riscv64/include/bionic/libc/include", + "android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv", + "android/riscv64/include/bionic/libc/kernel/uapi", + "android/riscv64/include/bionic/libc/kernel/android/scsi", + "android/riscv64/include/bionic/libc/kernel/android/uapi", + ], + }, android_x86_64: { srcs: ["android/x86_64/lib/libasync_safe.a"], export_system_include_dirs: [ @@ -778,6 +838,9 @@ cc_prebuilt_library_static { android_arm64: { srcs: ["android/arm64/lib/note_memtag_heap_async.a"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/note_memtag_heap_async.a"], + }, android_x86_64: { srcs: ["android/x86_64/lib/note_memtag_heap_async.a"], }, @@ -824,6 +887,9 @@ cc_prebuilt_library_static { android_arm64: { srcs: ["android/arm64/lib/note_memtag_heap_sync.a"], }, + android_riscv64: { + srcs: ["android/riscv64/lib/note_memtag_heap_sync.a"], + }, android_x86_64: { srcs: ["android/x86_64/lib/note_memtag_heap_sync.a"], }, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/api-level.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/api-level.h index 6602e5de..77ec6530 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/api-level.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/api-level.h @@ -40,7 +40,7 @@ * @brief Functions and constants for dealing with multiple API levels. * * See - * https://android.googlesource.com/platform/bionic/+/master/docs/defines.md. + * https://android.googlesource.com/platform/bionic/+/main/docs/defines.md. */ #include <sys/cdefs.h> @@ -50,7 +50,7 @@ __BEGIN_DECLS /** * Magic version number for an Android OS build which has not yet turned * into an official release, for comparison against `__ANDROID_API__`. See - * https://android.googlesource.com/platform/bionic/+/master/docs/defines.md. + * https://android.googlesource.com/platform/bionic/+/main/docs/defines.md. */ #define __ANDROID_API_FUTURE__ 10000 @@ -91,7 +91,7 @@ __BEGIN_DECLS * * See android_get_device_api_level(), * android_get_application_target_sdk_version() and - * https://android.googlesource.com/platform/bionic/+/master/docs/defines.md. + * https://android.googlesource.com/platform/bionic/+/main/docs/defines.md. */ #define __ANDROID_API__ __ANDROID_API_FUTURE__ #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/legacy_termios_inlines.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/legacy_termios_inlines.h index 6222786e..a816b404 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/legacy_termios_inlines.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/android/legacy_termios_inlines.h @@ -43,3 +43,10 @@ #include <bits/termios_inlines.h> #endif + +#if __ANDROID_API__ < 35 + +#define __BIONIC_TERMIOS_WINSIZE_INLINE static __inline +#include <bits/termios_winsize_inlines.h> + +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/bionic_multibyte_result.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/bionic_multibyte_result.h new file mode 100644 index 00000000..0d5cf21d --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/bionic_multibyte_result.h @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +/** + * @file bits/bionic_multibyte_result.h + * @brief Named values for the magic number return values of multibyte + * conversion APIs defined by C. + */ + +#include <stddef.h> +#include <sys/cdefs.h> + +__BEGIN_DECLS + +/** + * @brief The error values defined by C for multibyte conversion APIs. + * + * Refer to C23 7.30.1 Restartable multibyte/wide character conversion functions + * for more details. + */ +enum : size_t { + /// @brief An encoding error occurred. The bytes read are not a valid unicode + /// character, nor are they a partially valid character. + BIONIC_MULTIBYTE_RESULT_ILLEGAL_SEQUENCE = -1UL, +#define BIONIC_MULTIBYTE_RESULT_ILLEGAL_SEQUENCE BIONIC_MULTIBYTE_RESULT_ILLEGAL_SEQUENCE + + /// @brief The bytes read may produce a valid unicode character, but the + /// sequence is incomplete. Future calls may complete the character. + BIONIC_MULTIBYTE_RESULT_INCOMPLETE_SEQUENCE = -2UL, +#define BIONIC_MULTIBYTE_RESULT_INCOMPLETE_SEQUENCE BIONIC_MULTIBYTE_RESULT_INCOMPLETE_SEQUENCE + + /// @brief The output of the call was the result of a previous successful + /// decoding. No new bytes were consumed. + /// + /// The common case for this return value is when mbrtoc16 returns the low + /// surrogate of a pair. + BIONIC_MULTIBYTE_RESULT_NO_BYTES_CONSUMED = -3UL, +#define BIONIC_MULTIBYTE_RESULT_NO_BYTES_CONSUMED BIONIC_MULTIBYTE_RESULT_NO_BYTES_CONSUMED +}; + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/elf_common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/elf_common.h index b3c57a28..0856f452 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/elf_common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/elf_common.h @@ -1248,6 +1248,7 @@ /* * RISC-V relocation types. + * https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#relocations */ /* Relocation types used by the dynamic linker. */ @@ -1263,6 +1264,7 @@ #define R_RISCV_TLS_DTPREL64 9 #define R_RISCV_TLS_TPREL32 10 #define R_RISCV_TLS_TPREL64 11 +#define R_RISCV_TLSDESC 12 /* Relocation types not used by the dynamic linker. */ #define R_RISCV_BRANCH 16 @@ -1304,6 +1306,13 @@ #define R_RISCV_SET32 56 #define R_RISCV_32_PCREL 57 #define R_RISCV_IRELATIVE 58 +#define R_RISCV_PLT32 59 +#define R_RISCV_SET_ULEB128 60 +#define R_RISCV_SUB_ULEB128 61 +#define R_RISCV_TLSDESC_HI20 62 +#define R_RISCV_TLSDESC_LOAD_LO12 63 +#define R_RISCV_TLSDESC_ADD_LO12 64 +#define R_RISCV_TLSDESC_CALL 65 #define R_SPARC_NONE 0 #define R_SPARC_8 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/getentropy.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/getentropy.h new file mode 100644 index 00000000..a5a14f71 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/getentropy.h @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +/** + * @file bits/getentropy.h + * @brief The getentropy() function. + */ + +#include <sys/cdefs.h> +#include <sys/types.h> + +__BEGIN_DECLS + +/** + * [getentropy(3)](http://man7.org/linux/man-pages/man3/getentropy.3.html) fills the given buffer + * with random bytes. + * + * Returns 0 on success, and returns -1 and sets `errno` on failure. + * + * Available since API level 28. + * + * See also arc4random_buf() which is available in all API levels. + */ +int getentropy(void* _Nonnull __buffer, size_t __buffer_size) __wur __INTRODUCED_IN(28); + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/glibc-syscalls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/glibc-syscalls.h index 79f7da06..83fb2571 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/glibc-syscalls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/glibc-syscalls.h @@ -60,6 +60,9 @@ #if defined(__NR_brk) #define SYS_brk __NR_brk #endif +#if defined(__NR_cachestat) + #define SYS_cachestat __NR_cachestat +#endif #if defined(__NR_capget) #define SYS_capget __NR_capget #endif @@ -219,6 +222,9 @@ #if defined(__NR_fchmodat) #define SYS_fchmodat __NR_fchmodat #endif +#if defined(__NR_fchmodat2) + #define SYS_fchmodat2 __NR_fchmodat2 +#endif #if defined(__NR_fchown) #define SYS_fchown __NR_fchown #endif @@ -300,12 +306,21 @@ #if defined(__NR_futex) #define SYS_futex __NR_futex #endif +#if defined(__NR_futex_requeue) + #define SYS_futex_requeue __NR_futex_requeue +#endif #if defined(__NR_futex_time64) #define SYS_futex_time64 __NR_futex_time64 #endif +#if defined(__NR_futex_wait) + #define SYS_futex_wait __NR_futex_wait +#endif #if defined(__NR_futex_waitv) #define SYS_futex_waitv __NR_futex_waitv #endif +#if defined(__NR_futex_wake) + #define SYS_futex_wake __NR_futex_wake +#endif #if defined(__NR_futimesat) #define SYS_futimesat __NR_futimesat #endif @@ -570,6 +585,9 @@ #if defined(__NR_madvise) #define SYS_madvise __NR_madvise #endif +#if defined(__NR_map_shadow_stack) + #define SYS_map_shadow_stack __NR_map_shadow_stack +#endif #if defined(__NR_mbind) #define SYS_mbind __NR_mbind #endif @@ -909,6 +927,9 @@ #if defined(__NR_riscv_flush_icache) #define SYS_riscv_flush_icache __NR_riscv_flush_icache #endif +#if defined(__NR_riscv_hwprobe) + #define SYS_riscv_hwprobe __NR_riscv_hwprobe +#endif #if defined(__NR_rmdir) #define SYS_rmdir __NR_rmdir #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/page_size.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/page_size.h new file mode 100644 index 00000000..ca434e56 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/page_size.h @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +#include <sys/cdefs.h> + +__BEGIN_DECLS + +#if !defined(__BIONIC_NO_PAGE_SIZE_MACRO) +#define PAGE_SIZE 4096 +#define PAGE_MASK (~(PAGE_SIZE - 1)) +#endif + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/signal_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/signal_types.h index 699e2572..d98901c9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/signal_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/signal_types.h @@ -28,18 +28,11 @@ #pragma once -#include <limits.h> #include <sys/cdefs.h> -#include <sys/types.h> -/* For 64-bit, the kernel's struct sigaction doesn't match the POSIX one, - * so we need to expose our own and translate behind the scenes. - * For 32-bit, we're stuck with the definitions we already shipped, - * even though they contain a sigset_t that's too small. See sigaction64. - */ -#define sigaction __kernel_sigaction +#include <limits.h> #include <linux/signal.h> -#undef sigaction +#include <sys/types.h> /* The arm and x86 kernel header files don't define _NSIG. */ #ifndef _KERNEL__NSIG @@ -64,8 +57,13 @@ typedef sigset_t sigset64_t; typedef struct { unsigned long __bits[_KERNEL__NSIG/(8*sizeof(long))]; } sigset64_t; #endif +/* The kernel's struct sigaction doesn't match the POSIX one. */ + #if defined(__LP64__) +/* For 64-bit, that's the only problem, and we only need two structs + * for source compatibility with 32-bit. */ + #define __SIGACTION_BODY \ int sa_flags; \ union { \ @@ -82,6 +80,12 @@ struct sigaction64 { __SIGACTION_BODY }; #else +/* For 32-bit, Android's ABIs used a too-small sigset_t that doesn't + * support RT signals, so we need two different structs. + */ + +/* The arm32 kernel headers also pollute the namespace with these, + * but our header scrubber doesn't know how to remove #defines. */ #undef sa_handler #undef sa_sigaction @@ -95,7 +99,6 @@ struct sigaction { void (*sa_restorer)(void); }; -/* This matches the kernel's internal structure. */ struct sigaction64 { union { sighandler_t sa_handler; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/sockaddr_storage.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/sockaddr_storage.h new file mode 100644 index 00000000..effafab0 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/sockaddr_storage.h @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +/** + * @file bits/sockaddr_storage.h + * @brief The `sockaddr_storage` struct. + */ + +#include <sys/cdefs.h> + +#include <bits/sa_family_t.h> + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +/** + * [sockaddr_storage](https://man7.org/linux/man-pages/man3/sockaddr.3type.html) + * is a structure large enough to contain any other `sockaddr_*` type, used to + * pass socket addresses without needing to know what kind of socket address + * you're passing. + */ +struct sockaddr_storage { + union { + struct { + sa_family_t ss_family; + char __data[128 - sizeof(sa_family_t)]; + }; + void* __align; + }; +}; +#pragma clang diagnostic pop diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/tcphdr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/tcphdr.h new file mode 100644 index 00000000..a9b6fe07 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/tcphdr.h @@ -0,0 +1,71 @@ +/* + * Copyright (C) 2008 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +#include <sys/cdefs.h> +#include <stdint.h> + +__BEGIN_DECLS + +struct tcphdr { + __extension__ union { + struct { + uint16_t th_sport; + uint16_t th_dport; + uint32_t th_seq; + uint32_t th_ack; + uint8_t th_x2:4; + uint8_t th_off:4; + uint8_t th_flags; + uint16_t th_win; + uint16_t th_sum; + uint16_t th_urp; + }; + struct { + uint16_t source; + uint16_t dest; + uint32_t seq; + uint32_t ack_seq; + uint16_t res1:4; + uint16_t doff:4; + uint16_t fin:1; + uint16_t syn:1; + uint16_t rst:1; + uint16_t psh:1; + uint16_t ack:1; + uint16_t urg:1; + uint16_t res2:2; + uint16_t window; + uint16_t check; + uint16_t urg_ptr; + }; + }; +}; + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/termios_winsize_inlines.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/termios_winsize_inlines.h new file mode 100644 index 00000000..ae246e40 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/bits/termios_winsize_inlines.h @@ -0,0 +1,52 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +#include <errno.h> +#include <sys/cdefs.h> +#include <sys/ioctl.h> +#include <sys/types.h> + +#include <linux/termios.h> + +#if !defined(__BIONIC_TERMIOS_WINSIZE_INLINE) +#define __BIONIC_TERMIOS_WINSIZE_INLINE static __inline +#endif + +__BEGIN_DECLS + +__BIONIC_TERMIOS_WINSIZE_INLINE int tcgetwinsize(int __fd, struct winsize* _Nonnull __size) { + return ioctl(__fd, TIOCGWINSZ, __size); +} + +__BIONIC_TERMIOS_WINSIZE_INLINE int tcsetwinsize(int __fd, const struct winsize* _Nonnull __size) { + return ioctl(__fd, TIOCSWINSZ, __size); +} + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/ctype.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/ctype.h index 3b82a766..c15ee561 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/ctype.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/ctype.h @@ -34,6 +34,215 @@ */ #include <sys/cdefs.h> +#include <xlocale.h> +/* All the functions in this file are trivial, being but a single + * instruction on most architectures. For that reason, we inline them by + * default. This macro is meant for internal use only, so that we can + * also provide actual symbols for any caller that needs them. + */ +#if !defined(__BIONIC_CTYPE_INLINE) #define __BIONIC_CTYPE_INLINE static __inline -#include <bits/ctype_inlines.h> +#endif + +/** Internal implementation detail. Do not use. */ +#define _CTYPE_U 0x01 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_L 0x02 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_D 0x04 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_S 0x08 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_P 0x10 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_C 0x20 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_X 0x40 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_B 0x80 +/** Internal implementation detail. Do not use. */ +#define _CTYPE_R (_CTYPE_P|_CTYPE_U|_CTYPE_L|_CTYPE_D|_CTYPE_B) +/** Internal implementation detail. Do not use. */ +#define _CTYPE_A (_CTYPE_L|_CTYPE_U) +/** Internal implementation detail. Do not use. */ +#define _CTYPE_N _CTYPE_D + +__BEGIN_DECLS + +/** Internal implementation detail. Do not use. */ +extern const char* _ctype_; + +/** Returns true if `ch` is in `[A-Za-z]`. */ +__BIONIC_CTYPE_INLINE int isalpha(int __ch) { + return (__ch >= 'A' && __ch <= 'Z') || (__ch >= 'a' && __ch <= 'z'); +} + +/** Returns true if `ch` is a space or tab. */ +__BIONIC_CTYPE_INLINE int isblank(int __ch) { + return __ch == ' ' || __ch == '\t'; +} + +/** Returns true if `ch` is a control character (any character before space, plus DEL). */ +__BIONIC_CTYPE_INLINE int iscntrl(int __ch) { + return (__BIONIC_CAST(static_cast, unsigned, __ch) < ' ') || __ch == 0x7f; +} + +/** Returns true if `ch` is in `[0-9]`. */ +__BIONIC_CTYPE_INLINE int isdigit(int __ch) { + return (__ch >= '0' && __ch <= '9'); +} + +/** Returns true if `ch` is `[A-Za-z0-9]` or punctuation. */ +__BIONIC_CTYPE_INLINE int isgraph(int __ch) { + return (__ch >= '!' && __ch <= '~'); +} + +/** Returns true if `ch` is in `[a-z]`. */ +__BIONIC_CTYPE_INLINE int islower(int __ch) { + return (__ch >= 'a' && __ch <= 'z'); +} + +/** Returns true if `ch` is `[A-Za-z0-9]` or punctuation or space. */ +__BIONIC_CTYPE_INLINE int isprint(int __ch) { + return (__ch >= ' ' && __ch <= '~'); +} + +/** Returns true if `ch` is in `[ \f\n\r\t\v]`. */ +__BIONIC_CTYPE_INLINE int isspace(int __ch) { + return __ch == ' ' || (__ch >= '\t' && __ch <= '\r'); +} + +/** Returns true if `ch` is in `[A-Z]`. */ +__BIONIC_CTYPE_INLINE int isupper(int __ch) { + return (__ch >= 'A' && __ch <= 'Z'); +} + +/** Returns true if `ch` is in `[0-9A-Fa-f]`. */ +__BIONIC_CTYPE_INLINE int isxdigit(int __ch) { + return (__ch >= '0' && __ch <= '9') || (__ch >= 'a' && __ch <= 'f') || (__ch >= 'A' && __ch <= 'F'); +} + +/** Returns true if `ch` is in `[A-Za-z0-9]`. */ +__BIONIC_CTYPE_INLINE int isalnum(int __ch) { + return isalpha(__ch) || isdigit(__ch); +} + +/** Returns true if `ch` is punctuation. */ +__BIONIC_CTYPE_INLINE int ispunct(int __ch) { + return isgraph(__ch) && !isalnum(__ch); +} + +/** + * Returns the corresponding lower-case character if `ch` is upper-case, or undefined otherwise. + * + * Prefer tolower() instead. + */ +__BIONIC_CTYPE_INLINE int _tolower(int __ch) { + return __ch | 0x20; +} + +/** Returns the corresponding lower-case character if `ch` is upper-case, or `ch` otherwise. */ +__BIONIC_CTYPE_INLINE int tolower(int __ch) { + if (__ch >= 'A' && __ch <= 'Z') return _tolower(__ch); + return __ch; +} + +/** + * Returns the corresponding upper-case character if `ch` is lower-case, or undefined otherwise. + * + * Prefer toupper() instead. + */ +__BIONIC_CTYPE_INLINE int _toupper(int __ch) { + // Using EOR rather than AND makes no difference on arm, but saves an + // instruction on arm64. + return __ch ^ 0x20; +} + +/** Returns the corresponding upper-case character if `ch` is lower-case, or `ch` otherwise. */ +__BIONIC_CTYPE_INLINE int toupper(int __ch) { + if (__ch >= 'a' && __ch <= 'z') return _toupper(__ch); + return __ch; +} + +/** Returns true if `ch` is less than 0x80. */ +__BIONIC_CTYPE_INLINE int isascii(int __ch) { + return __BIONIC_CAST(static_cast, unsigned, __ch) < 0x80; +} + +/** Returns `ch & 0x7f`. */ +__BIONIC_CTYPE_INLINE int toascii(int __ch) { + return __ch & 0x7f; +} + +/** Like isalnum() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isalnum_l(int __ch, locale_t __l) { + return isalnum(__ch); +} + +/** Like isalpha() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isalpha_l(int __ch, locale_t __l) { + return isalpha(__ch); +} + +/** Like isblank() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isblank_l(int __ch, locale_t __l) { + return isblank(__ch); +} + +/** Like iscntrl() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int iscntrl_l(int __ch, locale_t __l) { + return iscntrl(__ch); +} + +/** Like isdigit() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isdigit_l(int __ch, locale_t __l) { + return isdigit(__ch); +} + +/** Like isgraph() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isgraph_l(int __ch, locale_t __l) { + return isgraph(__ch); +} + +/** Like islower() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int islower_l(int __ch, locale_t __l) { + return islower(__ch); +} + +/** Like isprint() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isprint_l(int __ch, locale_t __l) { + return isprint(__ch); +} + +/** Like ispunct() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int ispunct_l(int __ch, locale_t __l) { + return ispunct(__ch); +} + +/** Like isspace() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isspace_l(int __ch, locale_t __l) { + return isspace(__ch); +} + +/** Like isupper() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isupper_l(int __ch, locale_t __l) { + return isupper(__ch); +} + +/** Like isxdigit() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int isxdigit_l(int __ch, locale_t __l) { + return isxdigit(__ch); +} + +/** Like tolower() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int tolower_l(int __ch, locale_t __l) { + return tolower(__ch); +} + +/** Like toupper() but with an ignored `locale_t`. */ +__BIONIC_CTYPE_INLINE int toupper_l(int __ch, locale_t __l) { + return toupper(__ch); +} + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/dlfcn.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/dlfcn.h index a8066a9f..0425031c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/dlfcn.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/dlfcn.h @@ -46,8 +46,31 @@ typedef struct { } Dl_info; void* _Nullable dlopen(const char* _Nullable __filename, int __flag); + +/** + * [dlclose(3)](http://man7.org/linux/man-pages/man3/dlclose.3.html) + * decrements the reference count for the given shared library (and + * any libraries brought in by that library's DT_NEEDED entries). + * + * If a library's reference count hits zero, it may be unloaded. + * Code that relies on this is not portable, and may not work on + * future versions of Android. + * + * dlclose() is dangerous because function pointers may or may not + * be rendered invalid, global data may or may not be rendered invalid, + * and memory may or may not leak. Code with global constructors is + * especially problematic. Instead of dlclose, prefer to leave the + * library open or, if cleanup is necessary, dlopen() the library in + * a child process which can later be killed by the parent or call + * exit() itself. + * + * Returns 0 on success, and returns -1 on failure, in which case + * dlerror() can be used to retrieve the specific error. + */ int dlclose(void* _Nonnull __handle); + char* _Nullable dlerror(void); + /* (RTLD_DEFAULT is null for LP64, but -1 for LP32) */ void* _Nullable dlsym(void* __BIONIC_COMPLICATED_NULLNESS __handle, const char* _Nullable __symbol); /* (RTLD_DEFAULT is null for LP64, but -1 for LP32) */ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/elf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/elf.h index 1dfc0085..81a50db9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/elf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/elf.h @@ -229,6 +229,8 @@ typedef Elf64_Xword Elf64_Relr; #undef SHT_NUM #define SHT_NUM 20 +#define SHT_RISCV_ATTRIBUTES 0x70000003 + /* * Experimental support for SHT_RELR sections. For details, see proposal * at https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg. @@ -266,4 +268,6 @@ typedef Elf64_Xword Elf64_Relr; /* TODO: upstream these to FreeBSD? */ #define R_ARM_TLS_DESC 13 #define R_ARM_IRELATIVE 160 -#define R_X86_64_JUMP_SLOT 7 + +/* BSD spells this slightly differently to Linux. */ +#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/malloc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/malloc.h index 6f992d98..d22b85ce 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/malloc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/malloc.h @@ -361,7 +361,7 @@ int mallopt(int __option, int __value) __INTRODUCED_IN(26); * * Available since API level 28. * - * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/master/libc/malloc_hooks/README.md) + * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/main/libc/malloc_hooks/README.md) */ extern void* _Nonnull (*volatile _Nonnull __malloc_hook)(size_t __byte_count, const void* _Nonnull __caller) __INTRODUCED_IN(28); @@ -372,7 +372,7 @@ extern void* _Nonnull (*volatile _Nonnull __malloc_hook)(size_t __byte_count, co * * Available since API level 28. * - * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/master/libc/malloc_hooks/README.md) + * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/main/libc/malloc_hooks/README.md) */ extern void* _Nonnull (*volatile _Nonnull __realloc_hook)(void* _Nullable __ptr, size_t __byte_count, const void* _Nonnull __caller) __INTRODUCED_IN(28); @@ -383,7 +383,7 @@ extern void* _Nonnull (*volatile _Nonnull __realloc_hook)(void* _Nullable __ptr, * * Available since API level 28. * - * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/master/libc/malloc_hooks/README.md) + * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/main/libc/malloc_hooks/README.md) */ extern void (*volatile _Nonnull __free_hook)(void* _Nullable __ptr, const void* _Nonnull __caller) __INTRODUCED_IN(28); @@ -394,7 +394,7 @@ extern void (*volatile _Nonnull __free_hook)(void* _Nullable __ptr, const void* * * Available since API level 28. * - * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/master/libc/malloc_hooks/README.md) + * See also: [extra documentation](https://android.googlesource.com/platform/bionic/+/main/libc/malloc_hooks/README.md) */ extern void* _Nonnull (*volatile _Nonnull __memalign_hook)(size_t __alignment, size_t __byte_count, const void* _Nonnull __caller) __INTRODUCED_IN(28); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/in.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/in.h index b235e6e3..163e614d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/in.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/in.h @@ -33,20 +33,10 @@ #include <sys/cdefs.h> #include <sys/socket.h> -// Include linux/socket.h first to trigger the header guard without -// the__kernel_sockaddr_storage define, so its definition uses the -// kernel name. -#include <linux/socket.h> - -// Redefine __kernel_sockaddr_storage to sockaddr_storage so that -// the structs defined in linux/in.h use the sockaddr_storage defined -// in sys/sockets.h. -#define __kernel_sockaddr_storage sockaddr_storage #include <linux/in.h> -#undef __kernel_sockaddr_storage - #include <linux/in6.h> #include <linux/ipv6.h> +#include <linux/socket.h> __BEGIN_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/tcp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/tcp.h index 147f6f76..d1c657ba 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/tcp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/netinet/tcp.h @@ -32,47 +32,10 @@ #include <sys/cdefs.h> #include <stdint.h> -#define tcphdr __kernel_tcphdr #include <linux/tcp.h> -#undef tcphdr __BEGIN_DECLS -struct tcphdr { - __extension__ union { - struct { - uint16_t th_sport; - uint16_t th_dport; - uint32_t th_seq; - uint32_t th_ack; - uint8_t th_x2:4; - uint8_t th_off:4; - uint8_t th_flags; - uint16_t th_win; - uint16_t th_sum; - uint16_t th_urp; - }; - struct { - uint16_t source; - uint16_t dest; - uint32_t seq; - uint32_t ack_seq; - uint16_t res1:4; - uint16_t doff:4; - uint16_t fin:1; - uint16_t syn:1; - uint16_t rst:1; - uint16_t psh:1; - uint16_t ack:1; - uint16_t urg:1; - uint16_t res2:2; - uint16_t window; - uint16_t check; - uint16_t urg_ptr; - }; - }; -}; - #define TH_FIN 0x01 #define TH_SYN 0x02 #define TH_RST 0x04 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/pthread.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/pthread.h index 1f086284..871c62ce 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/pthread.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/pthread.h @@ -34,6 +34,7 @@ */ #include <limits.h> +#include <bits/page_size.h> #include <bits/pthread_types.h> #include <sched.h> #include <sys/cdefs.h> @@ -74,9 +75,9 @@ enum { #endif #if defined(__LP64__) -#define PTHREAD_STACK_MIN (4 * PAGE_SIZE) +#define PTHREAD_STACK_MIN 16384 #else -#define PTHREAD_STACK_MIN (2 * PAGE_SIZE) +#define PTHREAD_STACK_MIN 8192 #endif #define PTHREAD_CREATE_DETACHED 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/setjmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/setjmp.h index 6d047ae4..0aaaac58 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/setjmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/setjmp.h @@ -66,12 +66,14 @@ /** * The size in words of a riscv64 jmp_buf. Room for callee-saved registers, * including floating point, stack pointer and program counter, various - * internal implementation details, and leaving some free space. + * internal implementation details, and leaving lots of free space. * - * Coincidentally matches OpenBSD, though they also save/restore the - * floating point status register too. + * Deliberately very large given the uncertainty around the final form of + * hardware shadow stack, and the fact that x86-64 glibc needed to steal + * space from their enormous sigset_t (which we don't have) to be able to + * implement the CET shadow stack. */ -#define _JBLEN 32 +#define _JBLEN 64 #elif defined(__x86_64__) /** The size in words of an x86-64 jmp_buf. Inherited from OpenBSD. */ #define _JBLEN 11 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdio.h index 2fc5b21b..312b356a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdio.h @@ -203,7 +203,7 @@ int renameat2(int __old_dir_fd, const char* _Nonnull __old_path, int __new_dir_f int fseek(FILE* _Nonnull __fp, long __offset, int __whence); long ftell(FILE* _Nonnull __fp); -/* See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md */ +/* See https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md */ #if defined(__USE_FILE_OFFSET64) int fgetpos(FILE* _Nonnull __fp, fpos_t* _Nonnull __pos) __RENAME(fgetpos64) __INTRODUCED_IN(24); int fsetpos(FILE* _Nonnull __fp, const fpos_t* _Nonnull __pos) __RENAME(fsetpos64) __INTRODUCED_IN(24); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdlib.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdlib.h index ef81c833..2830a493 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdlib.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/stdlib.h @@ -87,6 +87,22 @@ long atol(const char* _Nonnull __s) __attribute_pure__; long long atoll(const char* _Nonnull __s) __attribute_pure__; __wur char* _Nullable realpath(const char* _Nonnull __path, char* _Nullable __resolved); + +/** + * [system(3)](http://man7.org/linux/man-pages/man3/system.3.html) executes + * the given command in a new shell process. + * + * On Android, the special case of `system(NULL)` always returns 1, + * as specified by POSIX. Passing `NULL` to determine whether or + * not a shell is available is not portable. Callers should just try + * the command they actually want to run, since there are many reasons + * why it might fail, both temporarily (for lack of resources, say) + * or permanently (for lack of permission, say). + * + * Returns -1 and sets errno if process creation fails; returns a + * [waitpid(2)](http://man7.org/linux/man-pages/man2/waitpid.2.html) + * status otherwise. + */ int system(const char* _Nonnull __command); void* _Nullable bsearch(const void* _Nonnull __key, const void* _Nullable __base, size_t __nmemb, size_t __size, int (* _Nonnull __comparator)(const void* _Nonnull __lhs, const void* _Nonnull __rhs)); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/string.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/string.h index e7fd9a5c..47bdd727 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/string.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/string.h @@ -37,7 +37,7 @@ __BEGIN_DECLS -#if defined(__USE_BSD) +#if defined(__USE_BSD) || defined(__USE_GNU) #include <strings.h> #endif @@ -116,6 +116,33 @@ char* _Nonnull strerror_r(int __errno_value, char* _Nullable __buf, size_t __n) int strerror_r(int __errno_value, char* _Nonnull __buf, size_t __n); #endif +/** + * [strerrorname_np(3)](http://man7.org/linux/man-pages/man3/strerrordesc_np.3.html) + * returns the name of the errno constant corresponding to its argument. + * `strerrorname_np(38)` would return "ENOSYS", because `ENOSYS` is errno 38. This + * is mostly useful for error reporting in cases where a string like "ENOSYS" is + * more readable than a string like "Function not implemented", which would be + * returned by strerror(). + * + * Returns a pointer to a string, or null for unknown errno values. + * + * Available since API level 35. + */ +#if defined(__USE_GNU) +const char* _Nullable strerrorname_np(int __errno_value) __INTRODUCED_IN(35); +#endif + +/** + * [strerrordesc_np(3)](http://man7.org/linux/man-pages/man3/strerrordesc_np.3.html) + * is like strerror() but without localization. Since Android's strerror() + * does not localize, this is the same as strerror() on Android. + * + * Returns a pointer to a string. + */ +#if defined(__USE_GNU) +const char* _Nonnull strerrordesc_np(int __errno_value) __RENAME(strerror); +#endif + size_t strnlen(const char* _Nonnull __s, size_t __n) __attribute_pure__; char* _Nonnull strncat(char* _Nonnull __dst, const char* _Nonnull __src, size_t __n); char* _Nullable strndup(const char* _Nonnull __s, size_t __n); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/_system_properties.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/_system_properties.h index 943d4c69..079c8257 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/_system_properties.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/_system_properties.h @@ -41,7 +41,7 @@ __BEGIN_DECLS #define PROP_SERVICE_NAME "property_service" -#define PROP_FILENAME "/dev/__properties__" +#define PROP_DIRNAME "/dev/__properties__" #define PROP_MSG_SETPROP 1 #define PROP_MSG_SETPROP2 0x00020001 @@ -129,6 +129,18 @@ uint32_t __system_property_serial(const prop_info* _Nonnull __pi); */ int __system_properties_init(void); +/* + * Reloads the system properties from disk. + * Not intended for use by any apps except the Zygote. Should only be called from the main thread. + * + * NOTE: Any pointers received from methods such as __system_property_find should be assumed to be + * invalid after this method is called. + * + * Returns 0 on success, -1 if the system properties failed to re-initialize (same conditions as + * __system properties_init) + */ +int __system_properties_zygote_reload(void) __INTRODUCED_IN(__ANDROID_API_V__); + /* Deprecated: use __system_property_wait instead. */ uint32_t __system_property_wait_any(uint32_t __old_serial); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cachectl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cachectl.h index 5ec295dc..b5fabe39 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cachectl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cachectl.h @@ -28,6 +28,32 @@ #pragma once +/* + * @file sys/cachectl.h + * @brief Architecture-specific cache control. + */ + #include <sys/cdefs.h> -/* This header file is obsolete. */ +__BEGIN_DECLS + +#if defined(__riscv) + +/** + * Flag for __riscv_flush_icache() to indicate that only the current + * thread's instruction cache needs to be flushed (rather than the + * default of all threads). + */ +#define SYS_RISCV_FLUSH_ICACHE_LOCAL 1UL + +/** + * __riscv_flush_icache(2) flushes the instruction cache for the given range of addresses. + * The address range is currently (Linux 6.4) ignored, so both pointers may be null. + * + * Returns 0 on success, and returns -1 and sets `errno` on failure. + */ +int __riscv_flush_icache(void* _Nullable __start, void* _Nullable __end, unsigned long __flags); + +#endif + +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cdefs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cdefs.h index 4154e62a..a8fb6240 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cdefs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/cdefs.h @@ -38,7 +38,7 @@ /** * `__BIONIC__` is always defined if you're building with bionic. See - * https://android.googlesource.com/platform/bionic/+/master/docs/defines.md. + * https://android.googlesource.com/platform/bionic/+/main/docs/defines.md. */ #define __BIONIC__ 1 @@ -187,7 +187,7 @@ /* * _FILE_OFFSET_BITS 64 support. - * See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md + * See https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md */ #if !defined(__LP64__) && defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 # define __USE_FILE_OFFSET64 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/epoll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/epoll.h index 2091b909..2bad6552 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/epoll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/epoll.h @@ -26,8 +26,12 @@ * SUCH DAMAGE. */ -#ifndef _SYS_EPOLL_H_ -#define _SYS_EPOLL_H_ +#pragma once + +/** + * @file sys/epoll.h + * @brief I/O event file descriptors. + */ #include <sys/cdefs.h> #include <sys/types.h> @@ -37,14 +41,67 @@ __BEGIN_DECLS +/** + * [epoll_create(2)](http://man7.org/linux/man-pages/man2/epoll_create.2.html) + * creates a new [epoll](http://man7.org/linux/man-pages/man7/epoll.7.html) + * file descriptor. + * + * Returns a new file descriptor on success and returns -1 and sets `errno` on + * failure. + */ int epoll_create(int __size); + +/** + * [epoll_create1(2)](http://man7.org/linux/man-pages/man2/epoll_create1.2.html) + * creates a new [epoll](http://man7.org/linux/man-pages/man7/epoll.7.html) + * file descriptor with the given flags. + * + * Returns a new file descriptor on success and returns -1 and sets `errno` on + * failure. + */ int epoll_create1(int __flags); +/** + * [epoll_ctl(2)](http://man7.org/linux/man-pages/man2/epoll_ctl.2.html) + * adds/modifies/removes file descriptors from the given epoll file descriptor. + * + * Returns 0 on success and returns -1 and sets `errno` on failure. + */ int epoll_ctl(int __epoll_fd, int __op, int __fd, struct epoll_event* __BIONIC_COMPLICATED_NULLNESS __event); + +/** + * [epoll_wait(2)](http://man7.org/linux/man-pages/man2/epoll_wait.2.html) + * waits for an event on the given epoll file descriptor. + * + * Returns the number of ready file descriptors on success, 0 on timeout, + * or -1 and sets `errno` on failure. + */ int epoll_wait(int __epoll_fd, struct epoll_event* _Nonnull __events, int __event_count, int __timeout_ms); + +/** + * Like epoll_wait() but atomically applying the given signal mask. + */ int epoll_pwait(int __epoll_fd, struct epoll_event* _Nonnull __events, int __event_count, int __timeout_ms, const sigset_t* _Nullable __mask); + +/** + * Like epoll_pwait() but using a 64-bit signal mask even on 32-bit systems. + * + * Available since API level 28. + */ int epoll_pwait64(int __epoll_fd, struct epoll_event* _Nonnull __events, int __event_count, int __timeout_ms, const sigset64_t* _Nullable __mask) __INTRODUCED_IN(28); -__END_DECLS +/** + * Like epoll_pwait() but with a `struct timespec` timeout, for nanosecond resolution. + * + * Available since API level 35. + */ +int epoll_pwait2(int __epoll_fd, struct epoll_event* _Nonnull __events, int __event_count, const struct timespec* _Nullable __timeout, const sigset_t* _Nullable __mask) __INTRODUCED_IN(35); + +/** + * Like epoll_pwait2() but using a 64-bit signal mask even on 32-bit systems. + * + * Available since API level 35. + */ +int epoll_pwait2_64(int __epoll_fd, struct epoll_event* _Nonnull __events, int __event_count, const struct timespec* _Nullable __timeout, const sigset64_t* _Nullable __mask) __INTRODUCED_IN(35); -#endif +__END_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/hwprobe.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/hwprobe.h new file mode 100644 index 00000000..8e69e8a2 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/hwprobe.h @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2023 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#pragma once + +#if __riscv + +/** + * @file sys/hwprobe.h + * @brief RISC-V hardware probing. + */ + +#include <sys/cdefs.h> +#include <sys/types.h> + +/* Pull in struct riscv_hwprobe and corresponding constants. */ +#include <asm/hwprobe.h> + +__BEGIN_DECLS + +/** + * [__riscv_hwprobe(2)](https://docs.kernel.org/riscv/hwprobe.html) + * queries hardware characteristics. + * + * A `__cpu_count` of 0 and null `__cpus` means "all online cpus". + * + * Returns 0 on success and returns an error number on failure. + */ +int __riscv_hwprobe(struct riscv_hwprobe* _Nonnull __pairs, size_t __pair_count, size_t __cpu_count, unsigned long* _Nullable __cpus, unsigned __flags); + +/** + * The type of the second argument passed to riscv64 ifunc resolvers. + * This argument allows riscv64 ifunc resolvers to call __riscv_hwprobe() + * without worrying about whether that relocation is resolved before + * the ifunc resolver is called. + */ +typedef int (*__riscv_hwprobe_t)(struct riscv_hwprobe* _Nonnull __pairs, size_t __pair_count, size_t __cpu_count, unsigned long* _Nullable __cpus, unsigned __flags); + +__END_DECLS + +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/ifunc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/ifunc.h index 7fbca4a4..d35600e1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/ifunc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/ifunc.h @@ -40,13 +40,15 @@ __BEGIN_DECLS #if defined(__aarch64__) /** - * Provides information about hardware capabilities to ifunc resolvers. + * Provides information about hardware capabilities to arm64 ifunc resolvers. * - * Starting with API level 30, ifunc resolvers on arm64 are passed two arguments. The first is a - * uint64_t whose value is equal to getauxval(AT_HWCAP) | _IFUNC_ARG_HWCAP. The second is a pointer - * to a data structure of this type. Prior to API level 30, no arguments are passed to ifunc - * resolvers. Code that wishes to be compatible with prior API levels should not accept any - * arguments in the resolver. + * Prior to API level 30, arm64 ifunc resolvers are passed no arguments. + * + * Starting with API level 30, arm64 ifunc resolvers are passed two arguments. + * The first is a uint64_t whose value is equal to getauxval(AT_HWCAP) | _IFUNC_ARG_HWCAP. + * The second is a pointer to a data structure of this type. + * + * Code that wishes to be compatible with API levels before 30 must call getauxval() itself. */ typedef struct __ifunc_arg_t { /** Set to sizeof(__ifunc_arg_t). */ @@ -60,9 +62,14 @@ typedef struct __ifunc_arg_t { } __ifunc_arg_t; /** - * If this bit is set in the first argument to an ifunc resolver, indicates that the second argument - * is a pointer to a data structure of type __ifunc_arg_t. This bit is always set on Android - * starting with API level 30. + * If this bit is set in the first argument to an ifunc resolver, the second argument + * is a pointer to a data structure of type __ifunc_arg_t. + * + * This bit is always set on Android starting with API level 30. + * This bit is meaningless before API level 30 because ifunc resolvers are not passed any arguments. + * This bit has no real use on Android, but is included for glibc source compatibility; + * glibc used this bit to distinguish the case where the ifunc resolver received a single argument, + * which was an evolutionary stage Android never went through. */ #define _IFUNC_ARG_HWCAP (1ULL << 62) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/mman.h index f32ae61a..823c9ba6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/mman.h @@ -58,7 +58,7 @@ void* _Nonnull mmap(void* _Nullable __addr, size_t __size, int __prot, int __fla /** * mmap64() is a variant of mmap() that takes a 64-bit offset even on LP32. * - * See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md + * See https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md */ void* _Nonnull mmap64(void* _Nullable __addr, size_t __size, int __prot, int __flags, int __fd, off64_t __offset); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/random.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/random.h index 02511765..2ff5349f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/random.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/random.h @@ -38,19 +38,9 @@ #include <linux/random.h> -__BEGIN_DECLS +#include <bits/getentropy.h> -/** - * [getentropy(3)](http://man7.org/linux/man-pages/man3/getentropy.3.html) fills the given buffer - * with random bytes. - * - * Returns 0 on success, and returns -1 and sets `errno` on failure. - * - * Available since API level 28. - * - * See also arc4random_buf() which is available in all API levels. - */ -int getentropy(void* _Nonnull __buffer, size_t __buffer_size) __wur __INTRODUCED_IN(28); +__BEGIN_DECLS /** * [getrandom(2)](http://man7.org/linux/man-pages/man2/getrandom.2.html) fills the given buffer diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/sendfile.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/sendfile.h index a72091df..26522a6e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/sendfile.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/sendfile.h @@ -38,7 +38,7 @@ __BEGIN_DECLS -/* See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md */ +/* See https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md */ #if defined(__USE_FILE_OFFSET64) ssize_t sendfile(int __out_fd, int __in_fd, off_t* _Nullable __offset, size_t __count) __RENAME(sendfile64); #else diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/socket.h index 22b88cba..9402e700 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/socket.h @@ -39,6 +39,7 @@ #include <linux/types.h> #include <linux/compiler.h> +#include <bits/sockaddr_storage.h> #include <bits/sa_family_t.h> __BEGIN_DECLS @@ -72,15 +73,6 @@ struct sockaddr { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wnullability-completeness" -struct sockaddr_storage { - union { - struct { - sa_family_t ss_family; - char __data[128 - sizeof(sa_family_t)]; - }; - void* __align; - }; -}; struct linger { int l_onoff; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/statvfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/statvfs.h index 46fbea56..7bc5e634 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/statvfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/statvfs.h @@ -88,6 +88,9 @@ struct statvfs64 { __STATVFS64_BODY __STATVFS64_CODA }; /** Flag for `f_flag` in `struct statvfs`: see `MS_RELATIME`. */ #define ST_RELATIME 0x1000 +/** Flag for `f_flag` in `struct statvfs`: don't follow symlinks. */ +#define ST_NOSYMFOLLOW 0x2000 + /** * [statvfs(3)](http://man7.org/linux/man-pages/man3/statvfs.3.html) * queries filesystem statistics for the given path. diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/types.h index f07c8fde..4622a4ee 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/types.h @@ -96,7 +96,7 @@ typedef __kernel_time_t __time_t; typedef __time_t time_t; /* This historical accident means that we had a 32-bit off_t on 32-bit architectures. */ -/* See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md */ +/* See https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md */ #if defined(__USE_FILE_OFFSET64) || defined(__LP64__) typedef int64_t off_t; typedef off_t loff_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/user.h index 432c7cbb..1d200343 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/sys/user.h @@ -32,10 +32,9 @@ #include <stddef.h> /* For size_t. */ #include <stdint.h> -__BEGIN_DECLS +#include <bits/page_size.h> -#define PAGE_SIZE 4096 -#define PAGE_MASK (~(PAGE_SIZE - 1)) +__BEGIN_DECLS #if defined(__i386__) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/syslog.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/syslog.h index 90ea76ef..1e2fcc4b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/syslog.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/syslog.h @@ -25,6 +25,34 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +/* + * Copyright (c) 1982, 1986, 1988, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ #pragma once @@ -129,6 +157,60 @@ __BEGIN_DECLS */ #define LOG_PERROR 0x20 +#if defined(SYSLOG_NAMES) +/** A mapping from name to value, used by `facilitynames` and `prioritynames`. */ +typedef struct _code { + char* c_name; + int c_val; +} CODE; +/* A bogus facility value for "mark". */ +#define INTERNAL_MARK LOG_MAKEPRI((LOG_NFACILITIES<<3), 0) +/** A table mapping facility names to values. */ +static const CODE facilitynames[] = { + { "auth", LOG_AUTH, }, + { "authpriv", LOG_AUTHPRIV, }, + { "cron", LOG_CRON, }, + { "daemon", LOG_DAEMON, }, + { "ftp", LOG_FTP, }, + { "kern", LOG_KERN, }, + { "lpr", LOG_LPR, }, + { "mail", LOG_MAIL, }, + { "mark", INTERNAL_MARK, }, + { "news", LOG_NEWS, }, + { "security", LOG_AUTH, }, + { "syslog", LOG_SYSLOG, }, + { "user", LOG_USER, }, + { "uucp", LOG_UUCP, }, + { "local0", LOG_LOCAL0, }, + { "local1", LOG_LOCAL1, }, + { "local2", LOG_LOCAL2, }, + { "local3", LOG_LOCAL3, }, + { "local4", LOG_LOCAL4, }, + { "local5", LOG_LOCAL5, }, + { "local6", LOG_LOCAL6, }, + { "local7", LOG_LOCAL7, }, + { NULL, -1, }, +}; +/* A bogus priority value for "none". */ +#define INTERNAL_NOPRI 8 +/** A table mapping priority names to values. */ +static const CODE prioritynames[] = { + { "alert", LOG_ALERT, }, + { "crit", LOG_CRIT, }, + { "debug", LOG_DEBUG, }, + { "emerg", LOG_EMERG, }, + { "err", LOG_ERR, }, + { "error", LOG_ERR, }, + { "info", LOG_INFO, }, + { "none", INTERNAL_NOPRI, }, + { "notice", LOG_NOTICE, }, + { "panic", LOG_EMERG, }, + { "warn", LOG_WARNING, }, + { "warning", LOG_WARNING, }, + { NULL, -1, }, +}; +#endif + /** * [closelog(3)](http://man7.org/linux/man-pages/man3/closelog.3.html) does * nothing on Android. diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/termios.h index 853b4eba..7abff5da 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/termios.h @@ -149,6 +149,25 @@ int tcsetattr(int __fd, int __optional_actions, const struct termios* _Nonnull _ #endif +#if __ANDROID_API__ >= 35 +// These two functions were POSIX Issue 8 additions that we can also trivially +// implement as inlines for older OS version. + +/** + * tcgetwinsize(3) gets the window size of the given terminal. + * + * Returns 0 on success and returns -1 and sets `errno` on failure. + */ +int tcgetwinsize(int __fd, struct winsize* _Nonnull __size); + +/** + * tcsetwinsize(3) sets the window size of the given terminal. + * + * Returns 0 on success and returns -1 and sets `errno` on failure. + */ +int tcsetwinsize(int __fd, const struct winsize* _Nonnull __size); +#endif + __END_DECLS #include <android/legacy_termios_inlines.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time.h index 31c20505..45c5c342 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time.h @@ -115,7 +115,7 @@ time_t time(time_t* _Nullable __t); * was interrupted by a signal, `errno` will be `EINTR` and `remainder` will be * the amount of time remaining. */ -int nanosleep(const struct timespec* _Nonnull __request, struct timespec* _Nullable __remainder); +int nanosleep(const struct timespec* _Nonnull __duration, struct timespec* _Nullable __remainder); /** * [asctime(3)](http://man7.org/linux/man-pages/man3/asctime.3p.html) formats @@ -371,7 +371,7 @@ int clock_gettime(clockid_t __clock, struct timespec* _Nonnull __ts); * If the sleep was interrupted by a signal, the return value will be `EINTR` * and `remainder` will be the amount of time remaining. */ -int clock_nanosleep(clockid_t __clock, int __flags, const struct timespec* _Nonnull __request, struct timespec* _Nullable __remainder); +int clock_nanosleep(clockid_t __clock, int __flags, const struct timespec* _Nonnull __duration, struct timespec* _Nullable __remainder); /** * [clock_settime(2)](http://man7.org/linux/man-pages/man2/clock_settime.2.html) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time64.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time64.h index 7d700309..8d31c6f7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time64.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/time64.h @@ -24,9 +24,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -Origin: http://code.google.com/p/y2038 -Modified for Bionic by the Android Open Source Project - */ #ifndef TIME64_H #define TIME64_H diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/uchar.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/uchar.h index 0c7424d2..626372ad 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/uchar.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/uchar.h @@ -35,6 +35,8 @@ #include <stddef.h> #include <sys/cdefs.h> + +#include <bits/bionic_multibyte_result.h> #include <bits/mbstate_t.h> __BEGIN_DECLS diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/unistd.h index 93852649..c8cceb21 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/unistd.h @@ -34,6 +34,7 @@ #include <sys/select.h> #include <bits/fcntl.h> +#include <bits/getentropy.h> #include <bits/getopt.h> #include <bits/ioctl.h> #include <bits/lockf.h> @@ -264,7 +265,7 @@ int dup3(int __old_fd, int __new_fd, int __flags); int fsync(int __fd); int fdatasync(int __fd); -/* See https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md */ +/* See https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md */ #if defined(__USE_FILE_OFFSET64) int truncate(const char* _Nonnull __path, off_t __length) __RENAME(truncate64); off_t lseek(int __fd, off_t __offset, int __whence) __RENAME(lseek64); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/wchar.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/wchar.h index 26715805..c4e9679f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/wchar.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/include/wchar.h @@ -37,6 +37,7 @@ #include <time.h> #include <xlocale.h> +#include <bits/bionic_multibyte_result.h> #include <bits/mbstate_t.h> #include <bits/wchar_limits.h> #include <bits/wctype.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi.h index 6d89fa93..35590286 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _SCSI_SCSI_H #define _SCSI_SCSI_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_ioctl.h index c8713627..fe5665e4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _SCSI_IOCTL_H #define _SCSI_IOCTL_H #define SCSI_IOCTL_SEND_COMMAND 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_proto.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_proto.h index 24df4585..d873fad6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_proto.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_proto.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _SCSI_PROTO_H_ #define _SCSI_PROTO_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_status.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_status.h index 6a7fc10c..e3fc7c09 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_status.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/scsi_status.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _SCSI_SCSI_STATUS_H #define _SCSI_SCSI_STATUS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/sg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/sg.h index 9ba6cd64..ebb1e4dc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/sg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/android/scsi/scsi/sg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _SCSI_GENERIC_H #define _SCSI_GENERIC_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/auxvec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/auxvec.h index ae03ed3b..f3474ec3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/auxvec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/auxvec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_AUXVEC_H #define __ASM_AUXVEC_H #define AT_SYSINFO_EHDR 33 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bitsperlong.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bitsperlong.h index 5dc50600..ba16d12c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bitsperlong.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bitsperlong.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bpf_perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bpf_perf_event.h index fa7bc485..892ba7d1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bpf_perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/bpf_perf_event.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/bpf_perf_event.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/byteorder.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/byteorder.h index a2536547..fd4b598d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/byteorder.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/byteorder.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_ARM_BYTEORDER_H #define __ASM_ARM_BYTEORDER_H #include <linux/byteorder/little_endian.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/errno.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/errno.h index 392cd94b..68b3218f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/errno.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/errno.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/fcntl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/fcntl.h index f2f14c3c..c6ecdeaa 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/fcntl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/fcntl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ARM_FCNTL_H #define _ARM_FCNTL_H #define O_DIRECTORY 040000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/hwcap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/hwcap.h index 2a3c8098..f1033c0e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/hwcap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/hwcap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASMARM_HWCAP_H #define _UAPI__ASMARM_HWCAP_H #define HWCAP_SWP (1 << 0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctl.h index 7b7bd377..513f68cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctl.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctls.h index e83b2cc3..ab76d2de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ioctls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_ARM_IOCTLS_H #define __ASM_ARM_IOCTLS_H #define FIOQSIZE 0x545E diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ipcbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ipcbuf.h index 0021f143..0c908bcb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ipcbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ipcbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ipcbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/kvm_para.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/kvm_para.h index e19f7a0f..f05ee03a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/kvm_para.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/kvm_para.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/kvm_para.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/mman.h index ec9453d0..26071769 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/mman.h @@ -1,20 +1,8 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/mman.h> #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/msgbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/msgbuf.h index 7809e3ce..7b6d8d92 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/msgbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/msgbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/msgbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/param.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/param.h index 5ccf935c..f20aa341 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/param.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/param.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/param.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/perf_regs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/perf_regs.h index ea2ff811..807ba9d1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/perf_regs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/perf_regs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_ARM_PERF_REGS_H #define _ASM_ARM_PERF_REGS_H enum perf_event_arm_regs { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/poll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/poll.h index d7e8adca..bf92c2ab 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/poll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/poll.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/poll.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/posix_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/posix_types.h index ff5138b8..2e4a659a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/posix_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/posix_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ARCH_ARM_POSIX_TYPES_H #define __ARCH_ARM_POSIX_TYPES_H typedef unsigned short __kernel_mode_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ptrace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ptrace.h index b0291dca..06ac989f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ptrace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/ptrace.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_ARM_PTRACE_H #define _UAPI__ASM_ARM_PTRACE_H #include <asm/hwcap.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/resource.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/resource.h index 371adb52..3ad9e62b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/resource.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/resource.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/resource.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sembuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sembuf.h index 6ce6549b..d4a90721 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sembuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sembuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sembuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/setup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/setup.h index 672a72a2..07c01776 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/setup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/setup.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASMARM_SETUP_H #define _UAPI__ASMARM_SETUP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/shmbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/shmbuf.h index fe8b1bea..9b434f63 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/shmbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/shmbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/shmbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sigcontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sigcontext.h index b7504d61..b206a20b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sigcontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sigcontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASMARM_SIGCONTEXT_H #define _ASMARM_SIGCONTEXT_H struct sigcontext { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/siginfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/siginfo.h index a31ebb2d..8f5921e0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/siginfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/siginfo.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/siginfo.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/signal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/signal.h index 90cb8d6a..fde3b9e7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/signal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/signal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASMARM_SIGNAL_H #define _UAPI_ASMARM_SIGNAL_H #include <linux/types.h> @@ -64,7 +52,7 @@ typedef unsigned long sigset_t; #define MINSIGSTKSZ 2048 #define SIGSTKSZ 8192 #include <asm-generic/signal-defs.h> -struct sigaction { +struct __kernel_sigaction { union { __sighandler_t _sa_handler; void(* _sa_sigaction) (int, struct siginfo *, void *); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/socket.h index 50a9874c..2ca3e45a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/socket.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sockios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sockios.h index 710db92b..5aba663f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sockios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/sockios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/stat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/stat.h index 27ec243f..45fbaf92 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/stat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/stat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASMARM_STAT_H #define _ASMARM_STAT_H struct __old_kernel_stat { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/statfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/statfs.h index 7e44ad13..08e151d0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/statfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/statfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASMARM_STATFS_H #define _ASMARM_STATFS_H #define ARCH_PACK_STATFS64 __attribute__((packed, aligned(4))) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/swab.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/swab.h index 081a76ed..7684c22c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/swab.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/swab.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_ARM_SWAB_H #define _UAPI__ASM_ARM_SWAB_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termbits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termbits.h index 42af6fe2..e943da3e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termbits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termbits.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termbits.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termios.h index feca4c60..3ae8ca22 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/termios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/types.h index 461e4856..081fdfb0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_TYPES_H #define _UAPI_ASM_TYPES_H #include <asm-generic/int-ll64.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-eabi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-eabi.h index 71b25e75..482b9cb8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-eabi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-eabi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_UNISTD_EABI_H #define _UAPI_ASM_UNISTD_EABI_H #define __NR_restart_syscall (__NR_SYSCALL_BASE + 0) @@ -421,4 +409,10 @@ #define __NR_process_mrelease (__NR_SYSCALL_BASE + 448) #define __NR_futex_waitv (__NR_SYSCALL_BASE + 449) #define __NR_set_mempolicy_home_node (__NR_SYSCALL_BASE + 450) +#define __NR_cachestat (__NR_SYSCALL_BASE + 451) +#define __NR_fchmodat2 (__NR_SYSCALL_BASE + 452) +#define __NR_map_shadow_stack (__NR_SYSCALL_BASE + 453) +#define __NR_futex_wake (__NR_SYSCALL_BASE + 454) +#define __NR_futex_wait (__NR_SYSCALL_BASE + 455) +#define __NR_futex_requeue (__NR_SYSCALL_BASE + 456) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-oabi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-oabi.h index 08b3b9a4..5126831c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-oabi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd-oabi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_UNISTD_OABI_H #define _UAPI_ASM_UNISTD_OABI_H #define __NR_restart_syscall (__NR_SYSCALL_BASE + 0) @@ -433,4 +421,10 @@ #define __NR_process_mrelease (__NR_SYSCALL_BASE + 448) #define __NR_futex_waitv (__NR_SYSCALL_BASE + 449) #define __NR_set_mempolicy_home_node (__NR_SYSCALL_BASE + 450) +#define __NR_cachestat (__NR_SYSCALL_BASE + 451) +#define __NR_fchmodat2 (__NR_SYSCALL_BASE + 452) +#define __NR_map_shadow_stack (__NR_SYSCALL_BASE + 453) +#define __NR_futex_wake (__NR_SYSCALL_BASE + 454) +#define __NR_futex_wait (__NR_SYSCALL_BASE + 455) +#define __NR_futex_requeue (__NR_SYSCALL_BASE + 456) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd.h index 8bb0f586..a7e4e6d9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm/asm/unistd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_ARM_UNISTD_H #define _UAPI__ASM_ARM_UNISTD_H #define __NR_OABI_SYSCALL_BASE 0x900000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/auxvec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/auxvec.h index 4735fd5e..c9ce353f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/auxvec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/auxvec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_AUXVEC_H #define __ASM_AUXVEC_H #define AT_SYSINFO_EHDR 33 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bitsperlong.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bitsperlong.h index c409c194..312224c2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bitsperlong.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bitsperlong.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_BITSPERLONG_H #define __ASM_BITSPERLONG_H #define __BITS_PER_LONG 64 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bpf_perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bpf_perf_event.h index cad04bf3..887d7ffb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bpf_perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/bpf_perf_event.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ #define _UAPI__ASM_BPF_PERF_EVENT_H__ #include <asm/ptrace.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/byteorder.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/byteorder.h index c3174b18..aa37026b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/byteorder.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/byteorder.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_BYTEORDER_H #define __ASM_BYTEORDER_H #ifdef __AARCH64EB__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/errno.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/errno.h index 392cd94b..68b3218f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/errno.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/errno.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/fcntl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/fcntl.h index e9e0e01a..2f40230c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/fcntl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/fcntl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_FCNTL_H #define __ASM_FCNTL_H #define O_DIRECTORY 040000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/hwcap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/hwcap.h index 3ec13540..5abff63f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/hwcap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/hwcap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_HWCAP_H #define _UAPI__ASM_HWCAP_H #define HWCAP_FP (1 << 0) @@ -93,4 +81,9 @@ #define HWCAP2_SME_BI32I32 (1UL << 40) #define HWCAP2_SME_B16B16 (1UL << 41) #define HWCAP2_SME_F16F16 (1UL << 42) +#define HWCAP2_MOPS (1UL << 43) +#define HWCAP2_HBC (1UL << 44) +#define HWCAP2_SVE_B16B16 (1UL << 45) +#define HWCAP2_LRCPC3 (1UL << 46) +#define HWCAP2_LSE128 (1UL << 47) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctl.h index 7b7bd377..513f68cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctl.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctls.h index 0c66935a..0ed82e0e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ioctls.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ipcbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ipcbuf.h index 0021f143..0c908bcb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ipcbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ipcbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ipcbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm.h index a413b364..5ad90215 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ARM_KVM_H__ #define __ARM_KVM_H__ #define KVM_SPSR_EL1 0 @@ -126,6 +114,10 @@ struct kvm_arm_copy_mte_tags { __u64 flags; __u64 reserved[2]; }; +struct kvm_arm_counter_offset { + __u64 counter_offset; + __u64 reserved; +}; #define KVM_ARM_TAGS_TO_GUEST 0 #define KVM_ARM_TAGS_FROM_GUEST 1 #define KVM_REG_ARM_COPROC_MASK 0x000000000FFF0000 @@ -204,6 +196,8 @@ enum { KVM_REG_ARM_VENDOR_HYP_BIT_FUNC_FEAT = 0, KVM_REG_ARM_VENDOR_HYP_BIT_PTP = 1, }; +#define KVM_ARM_VM_SMCCC_CTRL 0 +#define KVM_ARM_VM_SMCCC_FILTER 0 #define KVM_DEV_ARM_VGIC_GRP_ADDR 0 #define KVM_DEV_ARM_VGIC_GRP_DIST_REGS 1 #define KVM_DEV_ARM_VGIC_GRP_CPU_REGS 2 @@ -237,6 +231,8 @@ enum { #define KVM_ARM_VCPU_TIMER_CTRL 1 #define KVM_ARM_VCPU_TIMER_IRQ_VTIMER 0 #define KVM_ARM_VCPU_TIMER_IRQ_PTIMER 1 +#define KVM_ARM_VCPU_TIMER_IRQ_HVTIMER 2 +#define KVM_ARM_VCPU_TIMER_IRQ_HPTIMER 3 #define KVM_ARM_VCPU_PVTIME_CTRL 2 #define KVM_ARM_VCPU_PVTIME_IPA 0 #define KVM_ARM_IRQ_VCPU2_SHIFT 28 @@ -266,5 +262,26 @@ enum { #define KVM_PSCI_RET_DENIED PSCI_RET_DENIED #define KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 (1ULL << 0) #define KVM_EXIT_FAIL_ENTRY_CPU_UNSUPPORTED (1ULL << 0) +enum kvm_smccc_filter_action { + KVM_SMCCC_FILTER_HANDLE = 0, + KVM_SMCCC_FILTER_DENY, + KVM_SMCCC_FILTER_FWD_TO_USER, +}; +struct kvm_smccc_filter { + __u32 base; + __u32 nr_functions; + __u8 action; + __u8 pad[15]; +}; +#define KVM_HYPERCALL_EXIT_SMC (1U << 0) +#define KVM_HYPERCALL_EXIT_16BIT (1U << 1) +#define KVM_ARM_FEATURE_ID_RANGE_IDX(op0,op1,crn,crm,op2) ({ __u64 __op1 = (op1) & 3; __op1 -= (__op1 == 3); (__op1 << 6 | ((crm) & 7) << 3 | (op2)); }) +#define KVM_ARM_FEATURE_ID_RANGE 0 +#define KVM_ARM_FEATURE_ID_RANGE_SIZE (3 * 8 * 8) +struct reg_mask_range { + __u64 addr; + __u32 range; + __u32 reserved[13]; +}; #endif #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm_para.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm_para.h index e19f7a0f..f05ee03a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm_para.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/kvm_para.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/kvm_para.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/mman.h index 98f72cf8..15610533 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/mman.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_MMAN_H #define _UAPI__ASM_MMAN_H #include <asm-generic/mman.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/msgbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/msgbuf.h index 7809e3ce..7b6d8d92 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/msgbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/msgbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/msgbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/param.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/param.h index 3bd70ed7..88641b1b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/param.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/param.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_PARAM_H #define __ASM_PARAM_H #define EXEC_PAGESIZE 65536 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/perf_regs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/perf_regs.h index e18fd052..ded4dfcd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/perf_regs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/perf_regs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_ARM64_PERF_REGS_H #define _ASM_ARM64_PERF_REGS_H enum perf_event_arm_regs { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/poll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/poll.h index d7e8adca..bf92c2ab 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/poll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/poll.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/poll.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/posix_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/posix_types.h index 9ae7bfcc..00df90d4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/posix_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/posix_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_POSIX_TYPES_H #define __ASM_POSIX_TYPES_H typedef unsigned short __kernel_old_uid_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ptrace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ptrace.h index 9540c3ec..4541a66f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ptrace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ptrace.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_PTRACE_H #define _UAPI__ASM_PTRACE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/resource.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/resource.h index 371adb52..3ad9e62b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/resource.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/resource.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/resource.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sembuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sembuf.h index 6ce6549b..d4a90721 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sembuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sembuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sembuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/setup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/setup.h index eac94e09..e84c94b6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/setup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/setup.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_SETUP_H #define __ASM_SETUP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/shmbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/shmbuf.h index fe8b1bea..9b434f63 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/shmbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/shmbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/shmbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sigcontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sigcontext.h index 84cd16db..6098fc78 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sigcontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sigcontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_SIGCONTEXT_H #define _UAPI__ASM_SIGCONTEXT_H #ifndef __ASSEMBLY__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/siginfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/siginfo.h index a31ebb2d..8f5921e0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/siginfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/siginfo.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/siginfo.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/signal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/signal.h index 7630b75d..1b8911e8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/signal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/signal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_SIGNAL_H #define __ASM_SIGNAL_H #define SA_RESTORER 0x04000000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/socket.h index 50a9874c..2ca3e45a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/socket.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sockios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sockios.h index 710db92b..5aba663f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sockios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sockios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/stat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/stat.h index af7ebfcb..6a514d35 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/stat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/stat.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/stat.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/statfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/statfs.h index 4a96c7e0..4a2534fd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/statfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/statfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_STATFS_H #define __ASM_STATFS_H #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed, aligned(4))) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sve_context.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sve_context.h index ff0063e1..583cb036 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sve_context.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/sve_context.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_SVE_CONTEXT_H #define _UAPI__ASM_SVE_CONTEXT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/swab.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/swab.h index 0049f534..f7781b70 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/swab.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/swab.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/swab.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termbits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termbits.h index 42af6fe2..e943da3e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termbits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termbits.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termbits.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termios.h index feca4c60..3ae8ca22 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/termios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/types.h index 8250f434..a030be86 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/types.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ucontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ucontext.h index 24dc60a6..97536c57 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ucontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/ucontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_UCONTEXT_H #define _UAPI__ASM_UCONTEXT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/unistd.h index 06b85ed3..7457ebca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-arm64/asm/unistd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #define __ARCH_WANT_RENAMEAT #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_SET_GET_RLIMIT diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/auxvec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/auxvec.h index fad637b4..87fe67e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/auxvec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/auxvec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_AUXVEC_H #define __ASM_GENERIC_AUXVEC_H #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bitsperlong.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bitsperlong.h index 8fb379f4..969913b1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bitsperlong.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bitsperlong.h @@ -1,24 +1,16 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG #define _UAPI__ASM_GENERIC_BITS_PER_LONG #ifndef __BITS_PER_LONG +#if defined(__CHAR_BIT__) && defined(__SIZEOF_LONG__) +#define __BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__) +#else #define __BITS_PER_LONG 32 #endif #endif +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bpf_perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bpf_perf_event.h index 794927be..23d34ec8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bpf_perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/bpf_perf_event.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ #define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ #include <linux/ptrace.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno-base.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno-base.h index bdfb8111..592edb0d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno-base.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno-base.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_GENERIC_ERRNO_BASE_H #define _ASM_GENERIC_ERRNO_BASE_H #define EPERM 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno.h index 6a2c2853..f1e18ad6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/errno.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_GENERIC_ERRNO_H #define _ASM_GENERIC_ERRNO_H #include <asm-generic/errno-base.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/fcntl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/fcntl.h index ea8c1081..a6812c66 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/fcntl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/fcntl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_GENERIC_FCNTL_H #define _ASM_GENERIC_FCNTL_H #include <bits/flock64.h> @@ -78,7 +66,6 @@ #define __O_TMPFILE 020000000 #endif #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) -#define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT) #ifndef O_NDELAY #define O_NDELAY O_NONBLOCK #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/hugetlb_encode.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/hugetlb_encode.h index 059991cb..f515990b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/hugetlb_encode.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/hugetlb_encode.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_GENERIC_HUGETLB_ENCODE_H_ #define _ASM_GENERIC_HUGETLB_ENCODE_H_ #define HUGETLB_FLAG_ENCODE_SHIFT 26 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-l64.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-l64.h index 6ddf7404..c64aa8d7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-l64.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-l64.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_INT_L64_H #define _UAPI_ASM_GENERIC_INT_L64_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-ll64.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-ll64.h index dcad2eb5..505efc64 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-ll64.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/int-ll64.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_INT_LL64_H #define _UAPI_ASM_GENERIC_INT_LL64_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctl.h index 84c2ec83..d614feff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_IOCTL_H #define _UAPI_ASM_GENERIC_IOCTL_H #define _IOC_NRBITS 8 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctls.h index f8a43577..b10a38b3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ioctls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_IOCTLS_H #define __ASM_GENERIC_IOCTLS_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ipcbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ipcbuf.h index 40c45ab1..5448bfbd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ipcbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ipcbuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_IPCBUF_H #define __ASM_GENERIC_IPCBUF_H #include <linux/posix_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/kvm_para.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/kvm_para.h index 878419c2..02e56b8e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/kvm_para.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/kvm_para.h @@ -1,18 +1,6 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman-common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman-common.h index 966d05b7..55e0ca17 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman-common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman-common.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_MMAN_COMMON_H #define __ASM_GENERIC_MMAN_COMMON_H #define PROT_READ 0x1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman.h index 33d43f7e..a2a5de95 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/mman.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_MMAN_H #define __ASM_GENERIC_MMAN_H #include <asm-generic/mman-common.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/msgbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/msgbuf.h index 827d0509..6b512639 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/msgbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/msgbuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_MSGBUF_H #define __ASM_GENERIC_MSGBUF_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/param.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/param.h index 7897799b..ee071495 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/param.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/param.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_GENERIC_PARAM_H #define _UAPI__ASM_GENERIC_PARAM_H #ifndef HZ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/poll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/poll.h index ba6f2e9e..73c6cc16 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/poll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/poll.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_POLL_H #define __ASM_GENERIC_POLL_H #define POLLIN 0x0001 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/posix_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/posix_types.h index 40451271..889cfafe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/posix_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/posix_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_POSIX_TYPES_H #define __ASM_GENERIC_POSIX_TYPES_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/resource.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/resource.h index 843910b2..53580e0e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/resource.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/resource.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_RESOURCE_H #define _UAPI_ASM_GENERIC_RESOURCE_H #define RLIMIT_CPU 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sembuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sembuf.h index 46306f77..958fa912 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sembuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sembuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_SEMBUF_H #define __ASM_GENERIC_SEMBUF_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/setup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/setup.h index f44a6ddb..a11d4efc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/setup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/setup.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_SETUP_H #define __ASM_GENERIC_SETUP_H #define COMMAND_LINE_SIZE 512 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/shmbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/shmbuf.h index 11487f46..838c5927 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/shmbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/shmbuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_SHMBUF_H #define __ASM_GENERIC_SHMBUF_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/siginfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/siginfo.h index 90393bab..2124bfb8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/siginfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/siginfo.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_SIGINFO_H #define _UAPI_ASM_GENERIC_SIGINFO_H #include <linux/compiler.h> @@ -59,11 +47,6 @@ union __sifields { } _sigchld; struct { void * _addr; -#ifdef __ia64__ - int _imm; - unsigned int _flags; - unsigned long _isr; -#endif #define __ADDR_BND_PKEY_PAD (__alignof__(void *) < sizeof(short) ? sizeof(short) : __alignof__(void *)) union { int _trapno; @@ -185,7 +168,8 @@ typedef struct siginfo { #define SEGV_ADIPERR 7 #define SEGV_MTEAERR 8 #define SEGV_MTESERR 9 -#define NSIGSEGV 9 +#define SEGV_CPERR 10 +#define NSIGSEGV 10 #define BUS_ADRALN 1 #define BUS_ADRERR 2 #define BUS_OBJERR 3 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal-defs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal-defs.h index dea8fbca..a1bfa2fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal-defs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal-defs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_SIGNAL_DEFS_H #define __ASM_GENERIC_SIGNAL_DEFS_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal.h index 9cf393ff..21c7100d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/signal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_GENERIC_SIGNAL_H #define _UAPI__ASM_GENERIC_SIGNAL_H #include <linux/types.h> @@ -73,7 +61,7 @@ typedef unsigned long old_sigset_t; #ifdef SA_RESTORER #define __ARCH_HAS_SA_RESTORER #endif -struct sigaction { +struct __kernel_sigaction { __sighandler_t sa_handler; unsigned long sa_flags; #ifdef SA_RESTORER diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/socket.h index 1a321bfd..2d90586c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/socket.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_SOCKET_H #define __ASM_GENERIC_SOCKET_H #include <linux/posix_types.h> @@ -102,6 +90,8 @@ #define SO_RESERVE_MEM 73 #define SO_TXREHASH 74 #define SO_RCVMARK 75 +#define SO_PASSPIDFD 76 +#define SO_PEERPIDFD 77 #if __BITS_PER_LONG == 64 || defined(__x86_64__) && defined(__ILP32__) #define SO_TIMESTAMP SO_TIMESTAMP_OLD #define SO_TIMESTAMPNS SO_TIMESTAMPNS_OLD diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sockios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sockios.h index afbc6ad3..360d034d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sockios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/sockios.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_SOCKIOS_H #define __ASM_GENERIC_SOCKIOS_H #define FIOSETOWN 0x8901 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/stat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/stat.h index 9cc00f2b..20ed501e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/stat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/stat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_STAT_H #define __ASM_GENERIC_STAT_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/statfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/statfs.h index 7184ce9c..1fe2c09f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/statfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/statfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_GENERIC_STATFS_H #define _UAPI_GENERIC_STATFS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/swab.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/swab.h index b6119db9..52f6c914 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/swab.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/swab.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_GENERIC_SWAB_H #define _ASM_GENERIC_SWAB_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits-common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits-common.h index 281eee87..21c284b5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits-common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits-common.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_TERMBITS_COMMON_H #define __ASM_GENERIC_TERMBITS_COMMON_H typedef unsigned char cc_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits.h index 87d6c823..26b00975 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termbits.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_TERMBITS_H #define __ASM_GENERIC_TERMBITS_H #include <asm-generic/termbits-common.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termios.h index 77b260b6..23cf922e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/termios.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_TERMIOS_H #define _UAPI_ASM_GENERIC_TERMIOS_H #include <asm/termbits.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/types.h index bac728e6..d3e69446 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_GENERIC_TYPES_H #define _UAPI_ASM_GENERIC_TYPES_H #include <asm-generic/int-ll64.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ucontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ucontext.h index 17d8f70b..340c9c9e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ucontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/ucontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_GENERIC_UCONTEXT_H #define __ASM_GENERIC_UCONTEXT_H struct ucontext { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/unistd.h index d23958be..717a098a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-generic/unistd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm/bitsperlong.h> #ifndef __SYSCALL #define __SYSCALL(x,y) @@ -413,8 +401,14 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 +#define __NR_fchmodat2 452 +#define __NR_map_shadow_stack 453 +#define __NR_futex_wake 454 +#define __NR_futex_wait 455 +#define __NR_futex_requeue 456 #undef __NR_syscalls -#define __NR_syscalls 451 +#define __NR_syscalls 457 #if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT) #define __NR_fcntl __NR3264_fcntl #define __NR_statfs __NR3264_statfs diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/auxvec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/auxvec.h index c70be178..446fc54f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/auxvec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/auxvec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_AUXVEC_H #define _UAPI_ASM_RISCV_AUXVEC_H #define AT_SYSINFO_EHDR 33 @@ -28,4 +16,5 @@ #define AT_L3_CACHESIZE 46 #define AT_L3_CACHEGEOMETRY 47 #define AT_VECTOR_SIZE_ARCH 9 +#define AT_MINSIGSTKSZ 51 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bitsperlong.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bitsperlong.h index 098b610a..508b0bca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bitsperlong.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bitsperlong.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_BITSPERLONG_H #define _UAPI_ASM_RISCV_BITSPERLONG_H #define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bpf_perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bpf_perf_event.h index 47c09fde..640a8fa4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bpf_perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/bpf_perf_event.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ #define _UAPI__ASM_BPF_PERF_EVENT_H__ #include <asm/ptrace.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/byteorder.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/byteorder.h index 42afc14f..6320f8db 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/byteorder.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/byteorder.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_BYTEORDER_H #define _UAPI_ASM_RISCV_BYTEORDER_H #include <linux/byteorder/little_endian.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/elf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/elf.h index 07593d91..df15148d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/elf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/elf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_ELF_H #define _UAPI_ASM_RISCV_ELF_H #include <asm/ptrace.h> @@ -44,6 +32,7 @@ typedef union __riscv_fp_state elf_fpregset_t; #define R_RISCV_TLS_DTPREL64 9 #define R_RISCV_TLS_TPREL32 10 #define R_RISCV_TLS_TPREL64 11 +#define R_RISCV_IRELATIVE 58 #define R_RISCV_BRANCH 16 #define R_RISCV_JAL 17 #define R_RISCV_CALL 18 @@ -74,7 +63,6 @@ typedef union __riscv_fp_state elf_fpregset_t; #define R_RISCV_ALIGN 43 #define R_RISCV_RVC_BRANCH 44 #define R_RISCV_RVC_JUMP 45 -#define R_RISCV_LUI 46 #define R_RISCV_GPREL_I 47 #define R_RISCV_GPREL_S 48 #define R_RISCV_TPREL_I 49 @@ -86,4 +74,7 @@ typedef union __riscv_fp_state elf_fpregset_t; #define R_RISCV_SET16 55 #define R_RISCV_SET32 56 #define R_RISCV_32_PCREL 57 +#define R_RISCV_PLT32 59 +#define R_RISCV_SET_ULEB128 60 +#define R_RISCV_SUB_ULEB128 61 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/errno.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/errno.h index 392cd94b..68b3218f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/errno.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/errno.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/fcntl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/fcntl.h index 518d3a77..b82e1084 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/fcntl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/fcntl.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/fcntl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwcap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwcap.h index d130cf77..20b19637 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwcap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwcap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_HWCAP_H #define _UAPI_ASM_RISCV_HWCAP_H #define COMPAT_HWCAP_ISA_I (1 << ('I' - 'A')) @@ -24,4 +12,5 @@ #define COMPAT_HWCAP_ISA_F (1 << ('F' - 'A')) #define COMPAT_HWCAP_ISA_D (1 << ('D' - 'A')) #define COMPAT_HWCAP_ISA_C (1 << ('C' - 'A')) +#define COMPAT_HWCAP_ISA_V (1 << ('V' - 'A')) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwprobe.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwprobe.h new file mode 100644 index 00000000..a18b020d --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/hwprobe.h @@ -0,0 +1,35 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_ASM_HWPROBE_H +#define _UAPI_ASM_HWPROBE_H +#include <linux/types.h> +struct riscv_hwprobe { + __s64 key; + __u64 value; +}; +#define RISCV_HWPROBE_KEY_MVENDORID 0 +#define RISCV_HWPROBE_KEY_MARCHID 1 +#define RISCV_HWPROBE_KEY_MIMPID 2 +#define RISCV_HWPROBE_KEY_BASE_BEHAVIOR 3 +#define RISCV_HWPROBE_BASE_BEHAVIOR_IMA (1 << 0) +#define RISCV_HWPROBE_KEY_IMA_EXT_0 4 +#define RISCV_HWPROBE_IMA_FD (1 << 0) +#define RISCV_HWPROBE_IMA_C (1 << 1) +#define RISCV_HWPROBE_IMA_V (1 << 2) +#define RISCV_HWPROBE_EXT_ZBA (1 << 3) +#define RISCV_HWPROBE_EXT_ZBB (1 << 4) +#define RISCV_HWPROBE_EXT_ZBS (1 << 5) +#define RISCV_HWPROBE_EXT_ZICBOZ (1 << 6) +#define RISCV_HWPROBE_KEY_CPUPERF_0 5 +#define RISCV_HWPROBE_MISALIGNED_UNKNOWN (0 << 0) +#define RISCV_HWPROBE_MISALIGNED_EMULATED (1 << 0) +#define RISCV_HWPROBE_MISALIGNED_SLOW (2 << 0) +#define RISCV_HWPROBE_MISALIGNED_FAST (3 << 0) +#define RISCV_HWPROBE_MISALIGNED_UNSUPPORTED (4 << 0) +#define RISCV_HWPROBE_MISALIGNED_MASK (7 << 0) +#define RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE 6 +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctl.h index 7b7bd377..513f68cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctl.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctls.h index 0c66935a..0ed82e0e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ioctls.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ipcbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ipcbuf.h index 0021f143..0c908bcb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ipcbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ipcbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ipcbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/kvm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/kvm.h index b49e3a0a..470d5814 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/kvm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/kvm.h @@ -1,26 +1,16 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_KVM_RISCV_H #define __LINUX_KVM_RISCV_H #ifndef __ASSEMBLY__ #include <linux/types.h> +#include <asm/bitsperlong.h> #include <asm/ptrace.h> +#define __KVM_HAVE_IRQ_LINE #define __KVM_HAVE_READONLY_MEM #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 #define KVM_INTERRUPT_SET - 1U @@ -43,6 +33,8 @@ struct kvm_riscv_config { unsigned long mvendorid; unsigned long marchid; unsigned long mimpid; + unsigned long zicboz_block_size; + unsigned long satp_mode; }; struct kvm_riscv_core { struct user_regs_struct regs; @@ -61,6 +53,19 @@ struct kvm_riscv_csr { unsigned long sip; unsigned long satp; unsigned long scounteren; + unsigned long senvcfg; +}; +struct kvm_riscv_aia_csr { + unsigned long siselect; + unsigned long iprio1; + unsigned long iprio2; + unsigned long sieh; + unsigned long siph; + unsigned long iprio1h; + unsigned long iprio2h; +}; +struct kvm_riscv_smstateen_csr { + unsigned long sstateen0; }; struct kvm_riscv_timer { __u64 frequency; @@ -81,19 +86,52 @@ enum KVM_RISCV_ISA_EXT_ID { KVM_RISCV_ISA_EXT_SVINVAL, KVM_RISCV_ISA_EXT_ZIHINTPAUSE, KVM_RISCV_ISA_EXT_ZICBOM, + KVM_RISCV_ISA_EXT_ZICBOZ, + KVM_RISCV_ISA_EXT_ZBB, + KVM_RISCV_ISA_EXT_SSAIA, + KVM_RISCV_ISA_EXT_V, + KVM_RISCV_ISA_EXT_SVNAPOT, + KVM_RISCV_ISA_EXT_ZBA, + KVM_RISCV_ISA_EXT_ZBS, + KVM_RISCV_ISA_EXT_ZICNTR, + KVM_RISCV_ISA_EXT_ZICSR, + KVM_RISCV_ISA_EXT_ZIFENCEI, + KVM_RISCV_ISA_EXT_ZIHPM, + KVM_RISCV_ISA_EXT_SMSTATEEN, + KVM_RISCV_ISA_EXT_ZICOND, KVM_RISCV_ISA_EXT_MAX, }; +enum KVM_RISCV_SBI_EXT_ID { + KVM_RISCV_SBI_EXT_V01 = 0, + KVM_RISCV_SBI_EXT_TIME, + KVM_RISCV_SBI_EXT_IPI, + KVM_RISCV_SBI_EXT_RFENCE, + KVM_RISCV_SBI_EXT_SRST, + KVM_RISCV_SBI_EXT_HSM, + KVM_RISCV_SBI_EXT_PMU, + KVM_RISCV_SBI_EXT_EXPERIMENTAL, + KVM_RISCV_SBI_EXT_VENDOR, + KVM_RISCV_SBI_EXT_DBCN, + KVM_RISCV_SBI_EXT_MAX, +}; #define KVM_RISCV_TIMER_STATE_OFF 0 #define KVM_RISCV_TIMER_STATE_ON 1 #define KVM_REG_SIZE(id) (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) #define KVM_REG_RISCV_TYPE_MASK 0x00000000FF000000 #define KVM_REG_RISCV_TYPE_SHIFT 24 +#define KVM_REG_RISCV_SUBTYPE_MASK 0x0000000000FF0000 +#define KVM_REG_RISCV_SUBTYPE_SHIFT 16 #define KVM_REG_RISCV_CONFIG (0x01 << KVM_REG_RISCV_TYPE_SHIFT) #define KVM_REG_RISCV_CONFIG_REG(name) (offsetof(struct kvm_riscv_config, name) / sizeof(unsigned long)) #define KVM_REG_RISCV_CORE (0x02 << KVM_REG_RISCV_TYPE_SHIFT) #define KVM_REG_RISCV_CORE_REG(name) (offsetof(struct kvm_riscv_core, name) / sizeof(unsigned long)) #define KVM_REG_RISCV_CSR (0x03 << KVM_REG_RISCV_TYPE_SHIFT) +#define KVM_REG_RISCV_CSR_GENERAL (0x0 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_CSR_AIA (0x1 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_CSR_SMSTATEEN (0x2 << KVM_REG_RISCV_SUBTYPE_SHIFT) #define KVM_REG_RISCV_CSR_REG(name) (offsetof(struct kvm_riscv_csr, name) / sizeof(unsigned long)) +#define KVM_REG_RISCV_CSR_AIA_REG(name) (offsetof(struct kvm_riscv_aia_csr, name) / sizeof(unsigned long)) +#define KVM_REG_RISCV_CSR_SMSTATEEN_REG(name) (offsetof(struct kvm_riscv_smstateen_csr, name) / sizeof(unsigned long)) #define KVM_REG_RISCV_TIMER (0x04 << KVM_REG_RISCV_TYPE_SHIFT) #define KVM_REG_RISCV_TIMER_REG(name) (offsetof(struct kvm_riscv_timer, name) / sizeof(__u64)) #define KVM_REG_RISCV_FP_F (0x05 << KVM_REG_RISCV_TYPE_SHIFT) @@ -101,5 +139,59 @@ enum KVM_RISCV_ISA_EXT_ID { #define KVM_REG_RISCV_FP_D (0x06 << KVM_REG_RISCV_TYPE_SHIFT) #define KVM_REG_RISCV_FP_D_REG(name) (offsetof(struct __riscv_d_ext_state, name) / sizeof(__u64)) #define KVM_REG_RISCV_ISA_EXT (0x07 << KVM_REG_RISCV_TYPE_SHIFT) +#define KVM_REG_RISCV_ISA_SINGLE (0x0 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_ISA_MULTI_EN (0x1 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_ISA_MULTI_DIS (0x2 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_ISA_MULTI_REG(__ext_id) ((__ext_id) / __BITS_PER_LONG) +#define KVM_REG_RISCV_ISA_MULTI_MASK(__ext_id) (1UL << ((__ext_id) % __BITS_PER_LONG)) +#define KVM_REG_RISCV_ISA_MULTI_REG_LAST KVM_REG_RISCV_ISA_MULTI_REG(KVM_RISCV_ISA_EXT_MAX - 1) +#define KVM_REG_RISCV_SBI_EXT (0x08 << KVM_REG_RISCV_TYPE_SHIFT) +#define KVM_REG_RISCV_SBI_SINGLE (0x0 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_SBI_MULTI_EN (0x1 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_SBI_MULTI_DIS (0x2 << KVM_REG_RISCV_SUBTYPE_SHIFT) +#define KVM_REG_RISCV_SBI_MULTI_REG(__ext_id) ((__ext_id) / __BITS_PER_LONG) +#define KVM_REG_RISCV_SBI_MULTI_MASK(__ext_id) (1UL << ((__ext_id) % __BITS_PER_LONG)) +#define KVM_REG_RISCV_SBI_MULTI_REG_LAST KVM_REG_RISCV_SBI_MULTI_REG(KVM_RISCV_SBI_EXT_MAX - 1) +#define KVM_REG_RISCV_VECTOR (0x09 << KVM_REG_RISCV_TYPE_SHIFT) +#define KVM_REG_RISCV_VECTOR_CSR_REG(name) (offsetof(struct __riscv_v_ext_state, name) / sizeof(unsigned long)) +#define KVM_REG_RISCV_VECTOR_REG(n) ((n) + sizeof(struct __riscv_v_ext_state) / sizeof(unsigned long)) +#define KVM_DEV_RISCV_APLIC_ALIGN 0x1000 +#define KVM_DEV_RISCV_APLIC_SIZE 0x4000 +#define KVM_DEV_RISCV_APLIC_MAX_HARTS 0x4000 +#define KVM_DEV_RISCV_IMSIC_ALIGN 0x1000 +#define KVM_DEV_RISCV_IMSIC_SIZE 0x1000 +#define KVM_DEV_RISCV_AIA_GRP_CONFIG 0 +#define KVM_DEV_RISCV_AIA_CONFIG_MODE 0 +#define KVM_DEV_RISCV_AIA_CONFIG_IDS 1 +#define KVM_DEV_RISCV_AIA_CONFIG_SRCS 2 +#define KVM_DEV_RISCV_AIA_CONFIG_GROUP_BITS 3 +#define KVM_DEV_RISCV_AIA_CONFIG_GROUP_SHIFT 4 +#define KVM_DEV_RISCV_AIA_CONFIG_HART_BITS 5 +#define KVM_DEV_RISCV_AIA_CONFIG_GUEST_BITS 6 +#define KVM_DEV_RISCV_AIA_MODE_EMUL 0 +#define KVM_DEV_RISCV_AIA_MODE_HWACCEL 1 +#define KVM_DEV_RISCV_AIA_MODE_AUTO 2 +#define KVM_DEV_RISCV_AIA_IDS_MIN 63 +#define KVM_DEV_RISCV_AIA_IDS_MAX 2048 +#define KVM_DEV_RISCV_AIA_SRCS_MAX 1024 +#define KVM_DEV_RISCV_AIA_GROUP_BITS_MAX 8 +#define KVM_DEV_RISCV_AIA_GROUP_SHIFT_MIN 24 +#define KVM_DEV_RISCV_AIA_GROUP_SHIFT_MAX 56 +#define KVM_DEV_RISCV_AIA_HART_BITS_MAX 16 +#define KVM_DEV_RISCV_AIA_GUEST_BITS_MAX 8 +#define KVM_DEV_RISCV_AIA_GRP_ADDR 1 +#define KVM_DEV_RISCV_AIA_ADDR_APLIC 0 +#define KVM_DEV_RISCV_AIA_ADDR_IMSIC(__vcpu) (1 + (__vcpu)) +#define KVM_DEV_RISCV_AIA_ADDR_MAX (1 + KVM_DEV_RISCV_APLIC_MAX_HARTS) +#define KVM_DEV_RISCV_AIA_GRP_CTRL 2 +#define KVM_DEV_RISCV_AIA_CTRL_INIT 0 +#define KVM_DEV_RISCV_AIA_GRP_APLIC 3 +#define KVM_DEV_RISCV_AIA_GRP_IMSIC 4 +#define KVM_DEV_RISCV_AIA_IMSIC_ISEL_BITS 12 +#define KVM_DEV_RISCV_AIA_IMSIC_ISEL_MASK ((1U << KVM_DEV_RISCV_AIA_IMSIC_ISEL_BITS) - 1) +#define KVM_DEV_RISCV_AIA_IMSIC_MKATTR(__vcpu,__isel) (((__vcpu) << KVM_DEV_RISCV_AIA_IMSIC_ISEL_BITS) | ((__isel) & KVM_DEV_RISCV_AIA_IMSIC_ISEL_MASK)) +#define KVM_DEV_RISCV_AIA_IMSIC_GET_ISEL(__attr) ((__attr) & KVM_DEV_RISCV_AIA_IMSIC_ISEL_MASK) +#define KVM_DEV_RISCV_AIA_IMSIC_GET_VCPU(__attr) ((__attr) >> KVM_DEV_RISCV_AIA_IMSIC_ISEL_BITS) +#define KVM_NR_IRQCHIPS 1 #endif #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/mman.h index 6c23fb64..d6423c87 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/mman.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/mman.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/msgbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/msgbuf.h index 7809e3ce..7b6d8d92 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/msgbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/msgbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/msgbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/param.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/param.h index 5ccf935c..f20aa341 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/param.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/param.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/param.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/perf_regs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/perf_regs.h index ceb0bbee..334e18b6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/perf_regs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/perf_regs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_RISCV_PERF_REGS_H #define _ASM_RISCV_PERF_REGS_H enum perf_event_riscv_regs { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/poll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/poll.h index d7e8adca..bf92c2ab 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/poll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/poll.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/poll.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/posix_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/posix_types.h index 1b892531..ffacc982 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/posix_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/posix_types.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/posix_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ptrace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ptrace.h index 94e4ac9b..59ad7de9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ptrace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ptrace.h @@ -1,25 +1,16 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_PTRACE_H #define _UAPI_ASM_RISCV_PTRACE_H #ifndef __ASSEMBLY__ #include <linux/types.h> +#define PTRACE_GETFDPIC 33 +#define PTRACE_GETFDPIC_EXEC 0 +#define PTRACE_GETFDPIC_INTERP 1 struct user_regs_struct { unsigned long pc; unsigned long ra; @@ -67,10 +58,36 @@ struct __riscv_q_ext_state { __u32 fcsr; __u32 reserved[3]; }; +struct __riscv_ctx_hdr { + __u32 magic; + __u32 size; +}; +struct __riscv_extra_ext_header { + __u32 __padding[129] __attribute__((aligned(16))); + __u32 reserved; + struct __riscv_ctx_hdr hdr; +}; union __riscv_fp_state { struct __riscv_f_ext_state f; struct __riscv_d_ext_state d; struct __riscv_q_ext_state q; }; +struct __riscv_v_ext_state { + unsigned long vstart; + unsigned long vl; + unsigned long vtype; + unsigned long vcsr; + unsigned long vlenb; + void * datap; +}; +struct __riscv_v_regset_state { + unsigned long vstart; + unsigned long vl; + unsigned long vtype; + unsigned long vcsr; + unsigned long vlenb; + char vreg[]; +}; +#define RISCV_MAX_VLENB (8192) #endif #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/resource.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/resource.h index 371adb52..3ad9e62b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/resource.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/resource.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/resource.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sembuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sembuf.h index 6ce6549b..d4a90721 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sembuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sembuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sembuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/setup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/setup.h index faac9a67..eafcf787 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/setup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/setup.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_SETUP_H #define _UAPI_ASM_RISCV_SETUP_H #define COMMAND_LINE_SIZE 1024 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/shmbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/shmbuf.h index fe8b1bea..9b434f63 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/shmbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/shmbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/shmbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sigcontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sigcontext.h index 0553b949..3394269f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sigcontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sigcontext.h @@ -1,26 +1,25 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_SIGCONTEXT_H #define _UAPI_ASM_RISCV_SIGCONTEXT_H #include <asm/ptrace.h> +#define RISCV_V_MAGIC 0x53465457 +#define END_MAGIC 0x0 +#define END_HDR_SIZE 0x0 +#ifndef __ASSEMBLY__ +struct __sc_riscv_v_state { + struct __riscv_v_ext_state v_state; +} __attribute__((aligned(16))); struct sigcontext { struct user_regs_struct sc_regs; - union __riscv_fp_state sc_fpregs; + union { + union __riscv_fp_state sc_fpregs; + struct __riscv_extra_ext_header sc_extdesc; + }; }; #endif +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/siginfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/siginfo.h index a31ebb2d..8f5921e0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/siginfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/siginfo.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/siginfo.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/signal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/signal.h index 64373feb..f5368221 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/signal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/signal.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/signal.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/socket.h index 50a9874c..2ca3e45a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/socket.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sockios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sockios.h index 710db92b..5aba663f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sockios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/sockios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/stat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/stat.h index af7ebfcb..6a514d35 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/stat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/stat.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/stat.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/statfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/statfs.h index 93de275d..1a16d4bb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/statfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/statfs.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/statfs.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/swab.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/swab.h index 0049f534..f7781b70 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/swab.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/swab.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/swab.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termbits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termbits.h index 42af6fe2..e943da3e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termbits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termbits.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termbits.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termios.h index feca4c60..3ae8ca22 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/termios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/types.h index 8250f434..a030be86 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/types.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ucontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ucontext.h index 8b72cc10..ffe587e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ucontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/ucontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_RISCV_UCONTEXT_H #define _UAPI_ASM_RISCV_UCONTEXT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/unistd.h index 665b8206..0c58887d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-riscv/asm/unistd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #if defined(__LP64__) && !defined(__SYSCALL_COMPAT) #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_SET_GET_RLIMIT @@ -27,3 +15,7 @@ #define __NR_riscv_flush_icache (__NR_arch_specific_syscall + 15) #endif __SYSCALL(__NR_riscv_flush_icache, sys_riscv_flush_icache) +#ifndef __NR_riscv_hwprobe +#define __NR_riscv_hwprobe (__NR_arch_specific_syscall + 14) +#endif +__SYSCALL(__NR_riscv_hwprobe, sys_riscv_hwprobe) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/a.out.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/a.out.h index 3a1b8457..7d45774e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/a.out.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/a.out.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_A_OUT_H #define _ASM_X86_A_OUT_H struct exec { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/amd_hsmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/amd_hsmp.h index c026aace..0d630bfb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/amd_hsmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/amd_hsmp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_AMD_HSMP_H_ #define _UAPI_ASM_X86_AMD_HSMP_H_ #include <linux/types.h> @@ -56,6 +44,9 @@ enum hsmp_message_ids { HSMP_SET_PCI_RATE, HSMP_SET_POWER_MODE, HSMP_SET_PSTATE_MAX_MIN, + HSMP_GET_METRIC_TABLE_VER, + HSMP_GET_METRIC_TABLE, + HSMP_GET_METRIC_TABLE_DRAM_ADDR, HSMP_MSG_ID_MAX, }; struct hsmp_message { @@ -70,6 +61,13 @@ enum hsmp_msg_type { HSMP_SET = 0, HSMP_GET = 1, }; +enum hsmp_proto_versions { + HSMP_PROTO_VER2 = 2, + HSMP_PROTO_VER3, + HSMP_PROTO_VER4, + HSMP_PROTO_VER5, + HSMP_PROTO_VER6 +}; struct hsmp_msg_desc { int num_args; int response_sz; @@ -181,8 +179,77 @@ static const struct hsmp_msg_desc hsmp_msg_desc_table[] = { , { 1, 0, HSMP_SET } + , { + 0, 1, HSMP_GET + } + , { + 0, 0, HSMP_GET + } + , { + 0, 2, HSMP_GET + } , }; +struct hsmp_metric_table { + __u32 accumulation_counter; + __u32 max_socket_temperature; + __u32 max_vr_temperature; + __u32 max_hbm_temperature; + __u64 max_socket_temperature_acc; + __u64 max_vr_temperature_acc; + __u64 max_hbm_temperature_acc; + __u32 socket_power_limit; + __u32 max_socket_power_limit; + __u32 socket_power; + __u64 timestamp; + __u64 socket_energy_acc; + __u64 ccd_energy_acc; + __u64 xcd_energy_acc; + __u64 aid_energy_acc; + __u64 hbm_energy_acc; + __u32 cclk_frequency_limit; + __u32 gfxclk_frequency_limit; + __u32 fclk_frequency; + __u32 uclk_frequency; + __u32 socclk_frequency[4]; + __u32 vclk_frequency[4]; + __u32 dclk_frequency[4]; + __u32 lclk_frequency[4]; + __u64 gfxclk_frequency_acc[8]; + __u64 cclk_frequency_acc[96]; + __u32 max_cclk_frequency; + __u32 min_cclk_frequency; + __u32 max_gfxclk_frequency; + __u32 min_gfxclk_frequency; + __u32 fclk_frequency_table[4]; + __u32 uclk_frequency_table[4]; + __u32 socclk_frequency_table[4]; + __u32 vclk_frequency_table[4]; + __u32 dclk_frequency_table[4]; + __u32 lclk_frequency_table[4]; + __u32 max_lclk_dpm_range; + __u32 min_lclk_dpm_range; + __u32 xgmi_width; + __u32 xgmi_bitrate; + __u64 xgmi_read_bandwidth_acc[8]; + __u64 xgmi_write_bandwidth_acc[8]; + __u32 socket_c0_residency; + __u32 socket_gfx_busy; + __u32 dram_bandwidth_utilization; + __u64 socket_c0_residency_acc; + __u64 socket_gfx_busy_acc; + __u64 dram_bandwidth_acc; + __u32 max_dram_bandwidth; + __u64 dram_bandwidth_utilization_acc; + __u64 pcie_bandwidth_acc[4]; + __u32 prochot_residency_acc; + __u32 ppt_residency_acc; + __u32 socket_thm_residency_acc; + __u32 vr_thm_residency_acc; + __u32 hbm_thm_residency_acc; + __u32 spare; + __u32 gfxclk_frequency[8]; +}; #pragma pack() #define HSMP_BASE_IOCTL_NR 0xF8 #define HSMP_IOCTL_CMD _IOWR(HSMP_BASE_IOCTL_NR, 0, struct hsmp_message) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/auxvec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/auxvec.h index dd867832..8496aafb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/auxvec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/auxvec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_AUXVEC_H #define _ASM_X86_AUXVEC_H #ifdef __i386__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bitsperlong.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bitsperlong.h index 7eca377b..e5df11c2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bitsperlong.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bitsperlong.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_X86_BITSPERLONG_H #define __ASM_X86_BITSPERLONG_H #if defined(__x86_64__) && !defined(__ILP32__) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/boot.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/boot.h index 7cbb6916..cc63c47d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/boot.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/boot.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_BOOT_H #define _UAPI_ASM_X86_BOOT_H #define NORMAL_VGA 0xffff diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bootparam.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bootparam.h index ab9d7f3a..c87a8afe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bootparam.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bootparam.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_BOOTPARAM_H #define _ASM_X86_BOOTPARAM_H #define SETUP_NONE 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bpf_perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bpf_perf_event.h index fa7bc485..892ba7d1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bpf_perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/bpf_perf_event.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/bpf_perf_event.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/byteorder.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/byteorder.h index db3ddff8..3efba291 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/byteorder.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/byteorder.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_BYTEORDER_H #define _ASM_X86_BYTEORDER_H #include <linux/byteorder/little_endian.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/debugreg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/debugreg.h index 360f432b..4d0a904e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/debugreg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/debugreg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_DEBUGREG_H #define _UAPI_ASM_X86_DEBUGREG_H #define DR_FIRSTADDR 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/e820.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/e820.h index 8f00c5cc..ed1d1a16 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/e820.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/e820.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_E820_H #define _UAPI_ASM_X86_E820_H #define E820MAP 0x2d0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/errno.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/errno.h index 392cd94b..68b3218f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/errno.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/errno.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/fcntl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/fcntl.h index 518d3a77..b82e1084 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/fcntl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/fcntl.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/fcntl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hw_breakpoint.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hw_breakpoint.h index 878419c2..02e56b8e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hw_breakpoint.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hw_breakpoint.h @@ -1,18 +1,6 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hwcap2.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hwcap2.h index 9f715c98..39dfd643 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hwcap2.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/hwcap2.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_HWCAP2_H #define _ASM_X86_HWCAP2_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctl.h index 7b7bd377..513f68cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctl.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctls.h index 0c66935a..0ed82e0e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ioctls.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ioctls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ipcbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ipcbuf.h index 0021f143..0c908bcb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ipcbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ipcbuf.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/ipcbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ist.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ist.h index 9648952b..6dbfedeb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ist.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ist.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_IST_H #define _UAPI_ASM_X86_IST_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm.h index 5c8f5a60..334fb25b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_KVM_H #define _ASM_X86_KVM_H #include <linux/types.h> @@ -420,4 +408,5 @@ struct kvm_pmu_event_filter { #define KVM_PMU_MASKED_ENTRY_UMASK_MASK_SHIFT (56) #define KVM_VCPU_TSC_CTRL 0 #define KVM_VCPU_TSC_OFFSET 0 +#define KVM_EXIT_HYPERCALL_LONG_MODE BIT(0) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_para.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_para.h index dd72af0a..03421ed9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_para.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_para.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_KVM_PARA_H #define _UAPI_ASM_X86_KVM_PARA_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_perf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_perf.h index c5c8f8eb..f60e2639 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_perf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/kvm_perf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_KVM_PERF_H #define _ASM_X86_KVM_PERF_H #include <asm/svm.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ldt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ldt.h index a98aedfd..9c22a0bd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ldt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ldt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_LDT_H #define _ASM_X86_LDT_H #define LDT_ENTRIES 8192 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mce.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mce.h index 359af571..08a86343 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mce.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mce.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_MCE_H #define _UAPI_ASM_X86_MCE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mman.h index 1061a6f5..90269d62 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mman.h @@ -1,23 +1,13 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_MMAN_H #define _ASM_X86_MMAN_H #define MAP_32BIT 0x40 +#define MAP_ABOVE4G 0x80 +#define SHADOW_STACK_SET_TOKEN (1ULL << 0) #include <asm-generic/mman.h> #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msgbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msgbuf.h index b100b200..730e2be3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msgbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msgbuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_X64_MSGBUF_H #define __ASM_X64_MSGBUF_H #if !defined(__x86_64__) || !defined(__ILP32__) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msr.h index c772838c..34b7bd87 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/msr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_MSR_H #define _UAPI_ASM_X86_MSR_H #ifndef __ASSEMBLY__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mtrr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mtrr.h index c709a70e..5561b521 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mtrr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/mtrr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_MTRR_H #define _UAPI_ASM_X86_MTRR_H #include <linux/types.h> @@ -57,13 +45,6 @@ struct mtrr_var_range { typedef __u8 mtrr_type; #define MTRR_NUM_FIXED_RANGES 88 #define MTRR_MAX_VAR_RANGES 256 -struct mtrr_state_type { - struct mtrr_var_range var_ranges[MTRR_MAX_VAR_RANGES]; - mtrr_type fixed_ranges[MTRR_NUM_FIXED_RANGES]; - unsigned char enabled; - unsigned char have_fixed; - mtrr_type def_type; -}; #define MTRRphysBase_MSR(reg) (0x200 + 2 * (reg)) #define MTRRphysMask_MSR(reg) (0x200 + 2 * (reg) + 1) #define MTRRIOC_ADD_ENTRY _IOW(MTRR_IOCTL_BASE, 0, struct mtrr_sentry) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/param.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/param.h index 5ccf935c..f20aa341 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/param.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/param.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/param.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/perf_regs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/perf_regs.h index 984b7ea9..99f0aaf5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/perf_regs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/perf_regs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_PERF_REGS_H #define _ASM_X86_PERF_REGS_H enum perf_event_x86_regs { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/poll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/poll.h index d7e8adca..bf92c2ab 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/poll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/poll.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/poll.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types.h index 67ed19b3..c57f1e06 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifdef __i386__ #include <asm/posix_types_32.h> #elif defined(__ILP32__) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_32.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_32.h index c339b4fd..2f0b0385 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_32.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_32.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_POSIX_TYPES_32_H #define _ASM_X86_POSIX_TYPES_32_H typedef unsigned short __kernel_mode_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_64.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_64.h index 23cdec17..26db149e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_64.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_64.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_POSIX_TYPES_64_H #define _ASM_X86_POSIX_TYPES_64_H typedef unsigned short __kernel_old_uid_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_x32.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_x32.h index 96cf8b99..5b71839c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_x32.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/posix_types_x32.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_POSIX_TYPES_X32_H #define _ASM_X86_POSIX_TYPES_X32_H typedef long long __kernel_long_t; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/prctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/prctl.h index c5ba2d60..025d0ab9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/prctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/prctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_PRCTL_H #define _ASM_X86_PRCTL_H #define ARCH_SET_GS 0x1001 @@ -29,7 +17,20 @@ #define ARCH_REQ_XCOMP_PERM 0x1023 #define ARCH_GET_XCOMP_GUEST_PERM 0x1024 #define ARCH_REQ_XCOMP_GUEST_PERM 0x1025 +#define ARCH_XCOMP_TILECFG 17 +#define ARCH_XCOMP_TILEDATA 18 #define ARCH_MAP_VDSO_X32 0x2001 #define ARCH_MAP_VDSO_32 0x2002 #define ARCH_MAP_VDSO_64 0x2003 +#define ARCH_GET_UNTAG_MASK 0x4001 +#define ARCH_ENABLE_TAGGED_ADDR 0x4002 +#define ARCH_GET_MAX_TAG_BITS 0x4003 +#define ARCH_FORCE_TAGGED_SVA 0x4004 +#define ARCH_SHSTK_ENABLE 0x5001 +#define ARCH_SHSTK_DISABLE 0x5002 +#define ARCH_SHSTK_LOCK 0x5003 +#define ARCH_SHSTK_UNLOCK 0x5004 +#define ARCH_SHSTK_STATUS 0x5005 +#define ARCH_SHSTK_SHSTK (1ULL << 0) +#define ARCH_SHSTK_WRSS (1ULL << 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/processor-flags.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/processor-flags.h index 0a95afd2..f06fdda3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/processor-flags.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/processor-flags.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_PROCESSOR_FLAGS_H #define _UAPI_ASM_X86_PROCESSOR_FLAGS_H #include <linux/const.h> @@ -83,6 +71,10 @@ #define X86_CR3_PCD _BITUL(X86_CR3_PCD_BIT) #define X86_CR3_PCID_BITS 12 #define X86_CR3_PCID_MASK (_AC((1UL << X86_CR3_PCID_BITS) - 1, UL)) +#define X86_CR3_LAM_U57_BIT 61 +#define X86_CR3_LAM_U57 _BITULL(X86_CR3_LAM_U57_BIT) +#define X86_CR3_LAM_U48_BIT 62 +#define X86_CR3_LAM_U48 _BITULL(X86_CR3_LAM_U48_BIT) #define X86_CR3_PCID_NOFLUSH_BIT 63 #define X86_CR3_PCID_NOFLUSH _BITULL(X86_CR3_PCID_NOFLUSH_BIT) #define X86_CR4_VME_BIT 0 @@ -129,6 +121,8 @@ #define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) #define X86_CR4_CET_BIT 23 #define X86_CR4_CET _BITUL(X86_CR4_CET_BIT) +#define X86_CR4_LAM_SUP_BIT 28 +#define X86_CR4_LAM_SUP _BITUL(X86_CR4_LAM_SUP_BIT) #define X86_CR8_TPR _AC(0x0000000f, UL) #define CX86_PCR0 0x20 #define CX86_GCR 0xb8 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace-abi.h index e501d9f3..aa314e0d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_PTRACE_ABI_H #define _ASM_X86_PTRACE_ABI_H #ifdef __i386__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace.h index 3f4404a5..a7915927 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ptrace.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_PTRACE_H #define _UAPI_ASM_X86_PTRACE_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/resource.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/resource.h index 371adb52..3ad9e62b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/resource.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/resource.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/resource.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sembuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sembuf.h index c6334251..705db8b1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sembuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sembuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_SEMBUF_H #define _ASM_X86_SEMBUF_H #include <asm/ipcbuf.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/setup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/setup.h index 878419c2..02e56b8e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/setup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/setup.h @@ -1,18 +1,6 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sgx.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sgx.h index fdc27006..f2498269 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sgx.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sgx.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_SGX_H #define _UAPI_ASM_X86_SGX_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/shmbuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/shmbuf.h index 2a0dcb58..62f72520 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/shmbuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/shmbuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ASM_X86_SHMBUF_H #define __ASM_X86_SHMBUF_H #if !defined(__x86_64__) || !defined(__ILP32__) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext.h index c7909505..fa18f784 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_SIGCONTEXT_H #define _UAPI_ASM_X86_SIGCONTEXT_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext32.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext32.h index 639467e7..c9e4f212 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext32.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sigcontext32.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_SIGCONTEXT32_H #define _ASM_X86_SIGCONTEXT32_H #include <asm/sigcontext.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/siginfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/siginfo.h index 0de5283d..64eca067 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/siginfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/siginfo.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_SIGINFO_H #define _ASM_X86_SIGINFO_H #ifdef __x86_64__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/signal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/signal.h index 37dce50d..96ac8fbe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/signal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/signal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_SIGNAL_H #define _UAPI_ASM_X86_SIGNAL_H #ifndef __ASSEMBLY__ @@ -68,7 +56,7 @@ typedef unsigned long sigset_t; #include <asm-generic/signal-defs.h> #ifndef __ASSEMBLY__ #ifdef __i386__ -struct sigaction { +struct __kernel_sigaction { union { __sighandler_t _sa_handler; void(* _sa_sigaction) (int, struct siginfo *, void *); @@ -80,7 +68,7 @@ struct sigaction { #define sa_handler _u._sa_handler #define sa_sigaction _u._sa_sigaction #else -struct sigaction { +struct __kernel_sigaction { __sighandler_t sa_handler; unsigned long sa_flags; __sigrestore_t sa_restorer; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/socket.h index 50a9874c..2ca3e45a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/socket.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sockios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sockios.h index 710db92b..5aba663f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sockios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/sockios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/stat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/stat.h index 9b8c37e6..c3f3e697 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/stat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/stat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_STAT_H #define _ASM_X86_STAT_H #include <asm/posix_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/statfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/statfs.h index 3ac754c0..0695c182 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/statfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/statfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_STATFS_H #define _ASM_X86_STATFS_H #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed, aligned(4))) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/svm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/svm.h index 0d951012..ffbf0b3f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/svm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/svm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SVM_H #define _UAPI__SVM_H #define SVM_EXIT_READ_CR0 0x000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/swab.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/swab.h index 24fd5e3f..31c850dc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/swab.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/swab.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_SWAB_H #define _ASM_X86_SWAB_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termbits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termbits.h index 42af6fe2..e943da3e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termbits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termbits.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termbits.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termios.h index feca4c60..3ae8ca22 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/termios.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/termios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/types.h index 8250f434..a030be86 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/types.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm-generic/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ucontext.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ucontext.h index 1bb416fe..b2ee3fb1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ucontext.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/ucontext.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ASM_X86_UCONTEXT_H #define _ASM_X86_UCONTEXT_H #define UC_FP_XSTATE 0x1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd.h index 8cab383e..fc9d18d2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_UNISTD_H #define _UAPI_ASM_X86_UNISTD_H #define __X32_SYSCALL_BIT 0x40000000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_32.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_32.h index 8e575161..e82b988b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_32.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_32.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_UNISTD_32_H #define _UAPI_ASM_UNISTD_32_H #define __NR_restart_syscall 0 @@ -458,4 +446,10 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 +#define __NR_fchmodat2 452 +#define __NR_map_shadow_stack 453 +#define __NR_futex_wake 454 +#define __NR_futex_wait 455 +#define __NR_futex_requeue 456 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_64.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_64.h index 54ff16fa..10d6e96f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_64.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_64.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_UNISTD_64_H #define _UAPI_ASM_UNISTD_64_H #define __NR_read 0 @@ -380,4 +368,10 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 +#define __NR_fchmodat2 452 +#define __NR_map_shadow_stack 453 +#define __NR_futex_wake 454 +#define __NR_futex_wait 455 +#define __NR_futex_requeue 456 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_x32.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_x32.h index 1e05d75e..7fbbe119 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_x32.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/unistd_x32.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_UNISTD_X32_H #define _UAPI_ASM_UNISTD_X32_H #define __NR_read (__X32_SYSCALL_BIT + 0) @@ -333,6 +321,11 @@ #define __NR_process_mrelease (__X32_SYSCALL_BIT + 448) #define __NR_futex_waitv (__X32_SYSCALL_BIT + 449) #define __NR_set_mempolicy_home_node (__X32_SYSCALL_BIT + 450) +#define __NR_cachestat (__X32_SYSCALL_BIT + 451) +#define __NR_fchmodat2 (__X32_SYSCALL_BIT + 452) +#define __NR_futex_wake (__X32_SYSCALL_BIT + 454) +#define __NR_futex_wait (__X32_SYSCALL_BIT + 455) +#define __NR_futex_requeue (__X32_SYSCALL_BIT + 456) #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512) #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513) #define __NR_ioctl (__X32_SYSCALL_BIT + 514) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vm86.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vm86.h index 7193484e..7643f1de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vm86.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vm86.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_VM86_H #define _UAPI_ASM_X86_VM86_H #include <asm/processor-flags.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vmx.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vmx.h index fdea5391..206a32bf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vmx.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vmx.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPIVMX_H #define _UAPIVMX_H #define VMX_EXIT_REASONS_FAILED_VMENTRY 0x80000000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vsyscall.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vsyscall.h index 56abbbcf..3edd58ee 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vsyscall.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/asm-x86/asm/vsyscall.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ASM_X86_VSYSCALL_H #define _UAPI_ASM_X86_VSYSCALL_H enum vsyscall_num { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/amdgpu_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/amdgpu_drm.h index 8d0d0b09..1e5b8e32 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/amdgpu_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/amdgpu_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __AMDGPU_DRM_H__ #define __AMDGPU_DRM_H__ #include "drm.h" @@ -60,7 +48,8 @@ extern "C" { #define AMDGPU_GEM_DOMAIN_GDS 0x8 #define AMDGPU_GEM_DOMAIN_GWS 0x10 #define AMDGPU_GEM_DOMAIN_OA 0x20 -#define AMDGPU_GEM_DOMAIN_MASK (AMDGPU_GEM_DOMAIN_CPU | AMDGPU_GEM_DOMAIN_GTT | AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GDS | AMDGPU_GEM_DOMAIN_GWS | AMDGPU_GEM_DOMAIN_OA) +#define AMDGPU_GEM_DOMAIN_DOORBELL 0x40 +#define AMDGPU_GEM_DOMAIN_MASK (AMDGPU_GEM_DOMAIN_CPU | AMDGPU_GEM_DOMAIN_GTT | AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GDS | AMDGPU_GEM_DOMAIN_GWS | AMDGPU_GEM_DOMAIN_OA | AMDGPU_GEM_DOMAIN_DOORBELL) #define AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED (1 << 0) #define AMDGPU_GEM_CREATE_NO_CPU_ACCESS (1 << 1) #define AMDGPU_GEM_CREATE_CPU_GTT_USWC (1 << 2) @@ -75,6 +64,7 @@ extern "C" { #define AMDGPU_GEM_CREATE_DISCARDABLE (1 << 12) #define AMDGPU_GEM_CREATE_COHERENT (1 << 13) #define AMDGPU_GEM_CREATE_UNCACHED (1 << 14) +#define AMDGPU_GEM_CREATE_EXT_COHERENT (1 << 15) struct drm_amdgpu_gem_create_in { __u64 bo_size; __u64 alignment; @@ -126,6 +116,7 @@ union drm_amdgpu_bo_list { #define AMDGPU_CTX_QUERY2_FLAGS_GUILTY (1 << 2) #define AMDGPU_CTX_QUERY2_FLAGS_RAS_CE (1 << 3) #define AMDGPU_CTX_QUERY2_FLAGS_RAS_UE (1 << 4) +#define AMDGPU_CTX_QUERY2_FLAGS_RESET_IN_PROGRESS (1 << 5) #define AMDGPU_CTX_PRIORITY_UNSET - 2048 #define AMDGPU_CTX_PRIORITY_VERY_LOW - 1023 #define AMDGPU_CTX_PRIORITY_LOW - 512 @@ -341,7 +332,8 @@ struct drm_amdgpu_gem_va { #define AMDGPU_HW_IP_VCN_DEC 6 #define AMDGPU_HW_IP_VCN_ENC 7 #define AMDGPU_HW_IP_VCN_JPEG 8 -#define AMDGPU_HW_IP_NUM 9 +#define AMDGPU_HW_IP_VPE 9 +#define AMDGPU_HW_IP_NUM 10 #define AMDGPU_HW_IP_INSTANCE_MAX_COUNT 1 #define AMDGPU_CHUNK_ID_IB 0x01 #define AMDGPU_CHUNK_ID_FENCE 0x02 @@ -352,6 +344,7 @@ struct drm_amdgpu_gem_va { #define AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES 0x07 #define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_WAIT 0x08 #define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_SIGNAL 0x09 +#define AMDGPU_CHUNK_ID_CP_GFX_SHADOW 0x0a struct drm_amdgpu_cs_chunk { __u32 chunk_id; __u32 length_dw; @@ -425,6 +418,13 @@ struct drm_amdgpu_cs_chunk_data { struct drm_amdgpu_cs_chunk_fence fence_data; }; }; +#define AMDGPU_CS_CHUNK_CP_GFX_SHADOW_FLAGS_INIT_SHADOW 0x1 +struct drm_amdgpu_cs_chunk_cp_gfx_shadow { + __u64 shadow_va; + __u64 csa_va; + __u64 gds_va; + __u64 flags; +}; #define AMDGPU_IDS_FLAGS_FUSION 0x1 #define AMDGPU_IDS_FLAGS_PREEMPTION 0x2 #define AMDGPU_IDS_FLAGS_TMZ 0x4 @@ -461,6 +461,7 @@ struct drm_amdgpu_cs_chunk_data { #define AMDGPU_INFO_FW_MES_KIQ 0x19 #define AMDGPU_INFO_FW_MES 0x1a #define AMDGPU_INFO_FW_IMU 0x1b +#define AMDGPU_INFO_FW_VPE 0x1c #define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f #define AMDGPU_INFO_VRAM_USAGE 0x10 #define AMDGPU_INFO_GTT_USAGE 0x11 @@ -509,6 +510,8 @@ struct drm_amdgpu_cs_chunk_data { #define AMDGPU_INFO_VIDEO_CAPS 0x21 #define AMDGPU_INFO_VIDEO_CAPS_DECODE 0 #define AMDGPU_INFO_VIDEO_CAPS_ENCODE 1 +#define AMDGPU_INFO_MAX_IBS 0x22 +#define AMDGPU_INFO_GPUVM_FAULT 0x23 #define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0 #define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff #define AMDGPU_INFO_MMR_SH_INDEX_SHIFT 8 @@ -662,6 +665,10 @@ struct drm_amdgpu_info_device { __u32 gl2c_cache_size; __u64 mall_size; __u32 enabled_rb_pipes_mask_hi; + __u32 shadow_size; + __u32 shadow_alignment; + __u32 csa_size; + __u32 csa_alignment; }; struct drm_amdgpu_info_hw_ip { __u32 hw_ip_version_major; @@ -708,6 +715,18 @@ struct drm_amdgpu_info_video_codec_info { struct drm_amdgpu_info_video_caps { struct drm_amdgpu_info_video_codec_info codec_info[AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_COUNT]; }; +#define AMDGPU_VMHUB_TYPE_MASK 0xff +#define AMDGPU_VMHUB_TYPE_SHIFT 0 +#define AMDGPU_VMHUB_TYPE_GFX 0 +#define AMDGPU_VMHUB_TYPE_MM0 1 +#define AMDGPU_VMHUB_TYPE_MM1 2 +#define AMDGPU_VMHUB_IDX_MASK 0xff00 +#define AMDGPU_VMHUB_IDX_SHIFT 8 +struct drm_amdgpu_info_gpuvm_fault { + __u64 addr; + __u32 status; + __u32 vmhub; +}; #define AMDGPU_FAMILY_UNKNOWN 0 #define AMDGPU_FAMILY_SI 110 #define AMDGPU_FAMILY_CI 120 @@ -723,6 +742,7 @@ struct drm_amdgpu_info_video_caps { #define AMDGPU_FAMILY_GC_11_0_1 148 #define AMDGPU_FAMILY_GC_10_3_6 149 #define AMDGPU_FAMILY_GC_10_3_7 151 +#define AMDGPU_FAMILY_GC_11_5_0 150 #ifdef __cplusplus } #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/armada_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/armada_drm.h index aabd23b7..91ab4684 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/armada_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/armada_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef DRM_ARMADA_IOCTL_H #define DRM_ARMADA_IOCTL_H #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm.h index 19544525..0fe5c268 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DRM_H_ #define _DRM_H_ #ifdef __linux__ @@ -430,6 +418,13 @@ struct drm_syncobj_timeline_wait { __u32 first_signaled; __u32 pad; }; +struct drm_syncobj_eventfd { + __u32 handle; + __u32 flags; + __u64 point; + __s32 fd; + __u32 pad; +}; struct drm_syncobj_array { __u64 handles; __u32 count_handles; @@ -574,6 +569,7 @@ extern "C" { #define DRM_IOCTL_SYNCOBJ_TRANSFER DRM_IOWR(0xCC, struct drm_syncobj_transfer) #define DRM_IOCTL_SYNCOBJ_TIMELINE_SIGNAL DRM_IOWR(0xCD, struct drm_syncobj_timeline_array) #define DRM_IOCTL_MODE_GETFB2 DRM_IOWR(0xCE, struct drm_mode_fb_cmd2) +#define DRM_IOCTL_SYNCOBJ_EVENTFD DRM_IOWR(0xCF, struct drm_syncobj_eventfd) #define DRM_COMMAND_BASE 0x40 #define DRM_COMMAND_END 0xA0 struct drm_event { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_fourcc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_fourcc.h index ea9525d7..6fd2eb87 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_fourcc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_fourcc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef DRM_FOURCC_H #define DRM_FOURCC_H #include "drm.h" @@ -131,6 +119,8 @@ extern "C" { #define DRM_FORMAT_NV24 fourcc_code('N', 'V', '2', '4') #define DRM_FORMAT_NV42 fourcc_code('N', 'V', '4', '2') #define DRM_FORMAT_NV15 fourcc_code('N', 'V', '1', '5') +#define DRM_FORMAT_NV20 fourcc_code('N', 'V', '2', '0') +#define DRM_FORMAT_NV30 fourcc_code('N', 'V', '3', '0') #define DRM_FORMAT_P210 fourcc_code('P', '2', '1', '0') #define DRM_FORMAT_P010 fourcc_code('P', '0', '1', '0') #define DRM_FORMAT_P012 fourcc_code('P', '0', '1', '2') @@ -179,6 +169,9 @@ extern "C" { #define I915_FORMAT_MOD_4_TILED_DG2_RC_CCS fourcc_mod_code(INTEL, 10) #define I915_FORMAT_MOD_4_TILED_DG2_MC_CCS fourcc_mod_code(INTEL, 11) #define I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC fourcc_mod_code(INTEL, 12) +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS fourcc_mod_code(INTEL, 13) +#define I915_FORMAT_MOD_4_TILED_MTL_MC_CCS fourcc_mod_code(INTEL, 14) +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC fourcc_mod_code(INTEL, 15) #define DRM_FORMAT_MOD_SAMSUNG_64_32_TILE fourcc_mod_code(SAMSUNG, 1) #define DRM_FORMAT_MOD_SAMSUNG_16_16_TILE fourcc_mod_code(SAMSUNG, 2) #define DRM_FORMAT_MOD_QCOM_COMPRESSED fourcc_mod_code(QCOM, 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_mode.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_mode.h index 9a6a6d99..f7b65b2b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_mode.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_mode.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DRM_MODE_H #define _DRM_MODE_H #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_sarea.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_sarea.h index a0c7f3a8..abe91918 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_sarea.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/drm_sarea.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DRM_SAREA_H_ #define _DRM_SAREA_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/etnaviv_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/etnaviv_drm.h index 7f8d5fa1..2fe61d65 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/etnaviv_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/etnaviv_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ETNAVIV_DRM_H__ #define __ETNAVIV_DRM_H__ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/exynos_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/exynos_drm.h index 49180354..cd4ab163 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/exynos_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/exynos_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_EXYNOS_DRM_H_ #define _UAPI_EXYNOS_DRM_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/habanalabs_accel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/habanalabs_accel.h index d7dccef1..158e937e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/habanalabs_accel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/habanalabs_accel.h @@ -1,25 +1,12 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef HABANALABS_H_ #define HABANALABS_H_ -#include <linux/types.h> -#include <linux/ioctl.h> +#include <drm/drm.h> #define GOYA_KMD_SRAM_RESERVED_SIZE_FROM_START 0x8000 #define GAUDI_DRIVER_SRAM_RESERVED_SIZE_FROM_START 0x80 #define GAUDI_FIRST_AVAILABLE_W_S_SYNC_OBJECT 144 @@ -619,7 +606,8 @@ enum hl_server_type { HL_SERVER_GAUDI_HLS1H = 2, HL_SERVER_GAUDI_TYPE1 = 3, HL_SERVER_GAUDI_TYPE2 = 4, - HL_SERVER_GAUDI2_HLS2 = 5 + HL_SERVER_GAUDI2_HLS2 = 5, + HL_SERVER_GAUDI2_TYPE1 = 7 }; #define HL_NOTIFIER_EVENT_TPC_ASSERT (1ULL << 0) #define HL_NOTIFIER_EVENT_UNDEFINED_OPCODE (1ULL << 1) @@ -630,6 +618,8 @@ enum hl_server_type { #define HL_NOTIFIER_EVENT_GENERAL_HW_ERR (1ULL << 6) #define HL_NOTIFIER_EVENT_RAZWI (1ULL << 7) #define HL_NOTIFIER_EVENT_PAGE_FAULT (1ULL << 8) +#define HL_NOTIFIER_EVENT_CRITICL_HW_ERR (1ULL << 9) +#define HL_NOTIFIER_EVENT_CRITICL_FW_ERR (1ULL << 10) #define HL_INFO_HW_IP_INFO 0 #define HL_INFO_HW_EVENTS 1 #define HL_INFO_DRAM_USAGE 2 @@ -663,6 +653,9 @@ enum hl_server_type { #define HL_INFO_PAGE_FAULT_EVENT 33 #define HL_INFO_USER_MAPPINGS 34 #define HL_INFO_FW_GENERIC_REQ 35 +#define HL_INFO_HW_ERR_EVENT 36 +#define HL_INFO_FW_ERR_EVENT 37 +#define HL_INFO_USER_ENGINE_ERR_EVENT 38 #define HL_INFO_VERSION_MAX_LEN 128 #define HL_INFO_CARD_NAME_MAX_LEN 16 #define HL_ENGINES_DATA_MAX_SIZE SZ_1M @@ -692,15 +685,20 @@ struct hl_info_hw_ip_info { __u64 dram_page_size; __u32 edma_enabled_mask; __u16 number_of_user_interrupts; - __u16 pad2; - __u64 reserved4; + __u8 reserved1; + __u8 reserved2; + __u64 reserved3; __u64 device_mem_alloc_default_page_size; + __u64 reserved4; __u64 reserved5; - __u64 reserved6; - __u32 reserved7; - __u8 reserved8; + __u32 reserved6; + __u8 reserved7; __u8 revision_id; - __u8 pad[2]; + __u16 tpc_interrupt_id; + __u32 rotator_enabled_mask; + __u32 reserved9; + __u64 engine_core_interrupt_reg_addr; + __u64 reserved_dram_size; }; struct hl_info_dram_usage { __u64 dram_free_mem; @@ -731,6 +729,7 @@ struct hl_info_reset_count { struct hl_info_time_sync { __u64 device_time; __u64 host_time; + __u64 tsc_time; }; struct hl_info_pci_counters { __u64 rx_throughput; @@ -821,6 +820,27 @@ struct hl_info_undefined_opcode_event { __u32 engine_id; __u32 stream_id; }; +struct hl_info_hw_err_event { + __s64 timestamp; + __u16 event_id; + __u16 pad[3]; +}; +enum hl_info_fw_err_type { + HL_INFO_FW_HEARTBEAT_ERR, + HL_INFO_FW_REPORTED_ERR, +}; +struct hl_info_fw_err_event { + __s64 timestamp; + __u16 err_type; + __u16 event_id; + __u32 pad; +}; +struct hl_info_engine_err_event { + __s64 timestamp; + __u16 engine_id; + __u16 error_count; + __u32 pad; +}; struct hl_info_dev_memalloc_page_sizes { __u64 page_order_bitmask; }; @@ -938,10 +958,16 @@ struct hl_cs_chunk { #define HL_CS_FLAGS_UNRESERVE_SIGNALS_ONLY 0x2000 #define HL_CS_FLAGS_ENGINE_CORE_COMMAND 0x4000 #define HL_CS_FLAGS_FLUSH_PCI_HBW_WRITES 0x8000 +#define HL_CS_FLAGS_ENGINES_COMMAND 0x10000 #define HL_CS_STATUS_SUCCESS 0 #define HL_MAX_JOBS_PER_CS 512 -#define HL_ENGINE_CORE_HALT (1 << 0) -#define HL_ENGINE_CORE_RUN (1 << 1) +enum hl_engine_command { + HL_ENGINE_CORE_HALT = 1, + HL_ENGINE_CORE_RUN = 2, + HL_ENGINE_STALL = 3, + HL_ENGINE_RESUME = 4, + HL_ENGINE_COMMAND_MAX +}; struct hl_cs_in { union { struct { @@ -953,6 +979,11 @@ struct hl_cs_in { __u32 num_engine_cores; __u32 core_command; }; + struct { + __u64 engines; + __u32 num_engines; + __u32 engine_command; + }; }; union { __u64 seq; @@ -1159,12 +1190,18 @@ struct hl_debug_args { __u32 enable; __u32 ctx_id; }; -#define HL_IOCTL_INFO _IOWR('H', 0x01, struct hl_info_args) -#define HL_IOCTL_CB _IOWR('H', 0x02, union hl_cb_args) -#define HL_IOCTL_CS _IOWR('H', 0x03, union hl_cs_args) -#define HL_IOCTL_WAIT_CS _IOWR('H', 0x04, union hl_wait_cs_args) -#define HL_IOCTL_MEMORY _IOWR('H', 0x05, union hl_mem_args) -#define HL_IOCTL_DEBUG _IOWR('H', 0x06, struct hl_debug_args) -#define HL_COMMAND_START 0x01 -#define HL_COMMAND_END 0x07 +#define HL_IOCTL_INFO 0x00 +#define HL_IOCTL_CB 0x01 +#define HL_IOCTL_CS 0x02 +#define HL_IOCTL_WAIT_CS 0x03 +#define HL_IOCTL_MEMORY 0x04 +#define HL_IOCTL_DEBUG 0x05 +#define DRM_IOCTL_HL_INFO DRM_IOWR(DRM_COMMAND_BASE + HL_IOCTL_INFO, struct hl_info_args) +#define DRM_IOCTL_HL_CB DRM_IOWR(DRM_COMMAND_BASE + HL_IOCTL_CB, union hl_cb_args) +#define DRM_IOCTL_HL_CS DRM_IOWR(DRM_COMMAND_BASE + HL_IOCTL_CS, union hl_cs_args) +#define DRM_IOCTL_HL_WAIT_CS DRM_IOWR(DRM_COMMAND_BASE + HL_IOCTL_WAIT_CS, union hl_wait_cs_args) +#define DRM_IOCTL_HL_MEMORY DRM_IOWR(DRM_COMMAND_BASE + HL_IOCTL_MEMORY, union hl_mem_args) +#define DRM_IOCTL_HL_DEBUG DRM_IOWR(DRM_COMMAND_BASE + HL_IOCTL_DEBUG, struct hl_debug_args) +#define HL_COMMAND_START (DRM_COMMAND_BASE + HL_IOCTL_INFO) +#define HL_COMMAND_END (DRM_COMMAND_BASE + HL_IOCTL_DEBUG + 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/i915_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/i915_drm.h index 794e7849..ccb8278c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/i915_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/i915_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_I915_DRM_H_ #define _UAPI_I915_DRM_H_ #include "drm.h" @@ -59,17 +47,24 @@ enum drm_i915_pmu_engine_sample { #define I915_PMU_SAMPLE_MASK (0xf) #define I915_PMU_SAMPLE_INSTANCE_BITS (8) #define I915_PMU_CLASS_SHIFT (I915_PMU_SAMPLE_BITS + I915_PMU_SAMPLE_INSTANCE_BITS) -#define __I915_PMU_ENGINE(class,instance,sample) ((class) << I915_PMU_CLASS_SHIFT | (instance) << I915_PMU_SAMPLE_BITS | (sample)) -#define I915_PMU_ENGINE_BUSY(class,instance) __I915_PMU_ENGINE(class, instance, I915_SAMPLE_BUSY) -#define I915_PMU_ENGINE_WAIT(class,instance) __I915_PMU_ENGINE(class, instance, I915_SAMPLE_WAIT) -#define I915_PMU_ENGINE_SEMA(class,instance) __I915_PMU_ENGINE(class, instance, I915_SAMPLE_SEMA) -#define __I915_PMU_OTHER(x) (__I915_PMU_ENGINE(0xff, 0xff, 0xf) + 1 + (x)) +#define __I915_PMU_ENGINE(__linux_class,instance,sample) ((__linux_class) << I915_PMU_CLASS_SHIFT | (instance) << I915_PMU_SAMPLE_BITS | (sample)) +#define I915_PMU_ENGINE_BUSY(__linux_class,instance) __I915_PMU_ENGINE(__linux_class, instance, I915_SAMPLE_BUSY) +#define I915_PMU_ENGINE_WAIT(__linux_class,instance) __I915_PMU_ENGINE(__linux_class, instance, I915_SAMPLE_WAIT) +#define I915_PMU_ENGINE_SEMA(__linux_class,instance) __I915_PMU_ENGINE(__linux_class, instance, I915_SAMPLE_SEMA) +#define __I915_PMU_GT_SHIFT (60) +#define ___I915_PMU_OTHER(gt,x) (((__u64) __I915_PMU_ENGINE(0xff, 0xff, 0xf) + 1 + (x)) | ((__u64) (gt) << __I915_PMU_GT_SHIFT)) +#define __I915_PMU_OTHER(x) ___I915_PMU_OTHER(0, x) #define I915_PMU_ACTUAL_FREQUENCY __I915_PMU_OTHER(0) #define I915_PMU_REQUESTED_FREQUENCY __I915_PMU_OTHER(1) #define I915_PMU_INTERRUPTS __I915_PMU_OTHER(2) #define I915_PMU_RC6_RESIDENCY __I915_PMU_OTHER(3) #define I915_PMU_SOFTWARE_GT_AWAKE_TIME __I915_PMU_OTHER(4) #define I915_PMU_LAST I915_PMU_RC6_RESIDENCY +#define __I915_PMU_ACTUAL_FREQUENCY(gt) ___I915_PMU_OTHER(gt, 0) +#define __I915_PMU_REQUESTED_FREQUENCY(gt) ___I915_PMU_OTHER(gt, 1) +#define __I915_PMU_INTERRUPTS(gt) ___I915_PMU_OTHER(gt, 2) +#define __I915_PMU_RC6_RESIDENCY(gt) ___I915_PMU_OTHER(gt, 3) +#define __I915_PMU_SOFTWARE_GT_AWAKE_TIME(gt) ___I915_PMU_OTHER(gt, 4) #define I915_NR_TEX_REGIONS 255 #define I915_LOG_MIN_TEX_REGION_SIZE 14 typedef struct _drm_i915_init { @@ -369,6 +364,7 @@ typedef struct drm_i915_irq_wait { #define I915_PARAM_HAS_EXEC_TIMELINE_FENCES 55 #define I915_PARAM_HAS_USERPTR_PROBE 56 #define I915_PARAM_OA_TIMESTAMP_FREQUENCY 57 +#define I915_PARAM_PXP_STATUS 58 struct drm_i915_getparam { __s32 param; int * value; @@ -797,7 +793,7 @@ struct i915_context_param_engines { #define I915_CONTEXT_ENGINES_EXT_LOAD_BALANCE 0 #define I915_CONTEXT_ENGINES_EXT_BOND 1 #define I915_CONTEXT_ENGINES_EXT_PARALLEL_SUBMIT 2 - struct i915_engine_class_instance engines[0]; + struct i915_engine_class_instance engines[]; } __attribute__((packed)); #define I915_DEFINE_CONTEXT_PARAM_ENGINES(name__,N__) struct { __u64 extensions; struct i915_engine_class_instance engines[N__]; \ } __attribute__((packed)) name__ @@ -849,6 +845,8 @@ enum drm_i915_oa_format { I915_OA_FORMAT_A32u40_A4u32_B8_C8, I915_OAR_FORMAT_A32u40_A4u32_B8_C8, I915_OA_FORMAT_A24u40_A14u32_B8_C8, + I915_OAM_FORMAT_MPEC8u64_B8_C8, + I915_OAM_FORMAT_MPEC8u32_B8_C8, I915_OA_FORMAT_MAX }; enum drm_i915_perf_property_id { @@ -860,6 +858,8 @@ enum drm_i915_perf_property_id { DRM_I915_PERF_PROP_HOLD_PREEMPTION, DRM_I915_PERF_PROP_GLOBAL_SSEU, DRM_I915_PERF_PROP_POLL_OA_PERIOD, + DRM_I915_PERF_PROP_OA_ENGINE_CLASS, + DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE, DRM_I915_PERF_PROP_MAX }; struct drm_i915_perf_open_param { @@ -983,6 +983,7 @@ struct drm_i915_gem_create_ext { __u32 flags; #define I915_GEM_CREATE_EXT_MEMORY_REGIONS 0 #define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_GEM_CREATE_EXT_SET_PAT 2 __u64 extensions; }; struct drm_i915_gem_create_ext_memory_regions { @@ -995,6 +996,11 @@ struct drm_i915_gem_create_ext_protected_content { struct i915_user_extension base; __u32 flags; }; +struct drm_i915_gem_create_ext_set_pat { + struct i915_user_extension base; + __u32 pat_index; + __u32 rsvd; +}; #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf #ifdef __cplusplus } diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/ivpu_accel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/ivpu_accel.h index e148a5b7..ca2014f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/ivpu_accel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/ivpu_accel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_IVPU_DRM_H__ #define __UAPI_IVPU_DRM_H__ #include "drm.h" @@ -49,23 +37,28 @@ extern "C" { #define DRM_IVPU_PARAM_UNIQUE_INFERENCE_ID 10 #define DRM_IVPU_PARAM_TILE_CONFIG 11 #define DRM_IVPU_PARAM_SKU 12 +#define DRM_IVPU_PARAM_CAPABILITIES 13 #define DRM_IVPU_PLATFORM_TYPE_SILICON 0 #define DRM_IVPU_CONTEXT_PRIORITY_IDLE 0 #define DRM_IVPU_CONTEXT_PRIORITY_NORMAL 1 #define DRM_IVPU_CONTEXT_PRIORITY_FOCUS 2 #define DRM_IVPU_CONTEXT_PRIORITY_REALTIME 3 +#define DRM_IVPU_CAP_METRIC_STREAMER 1 +#define DRM_IVPU_CAP_DMA_MEMORY_RANGE 2 struct drm_ivpu_param { __u32 param; __u32 index; __u64 value; }; -#define DRM_IVPU_BO_HIGH_MEM 0x00000001 +#define DRM_IVPU_BO_SHAVE_MEM 0x00000001 +#define DRM_IVPU_BO_HIGH_MEM DRM_IVPU_BO_SHAVE_MEM #define DRM_IVPU_BO_MAPPABLE 0x00000002 +#define DRM_IVPU_BO_DMA_MEM 0x00000004 #define DRM_IVPU_BO_CACHED 0x00000000 #define DRM_IVPU_BO_UNCACHED 0x00010000 #define DRM_IVPU_BO_WC 0x00020000 #define DRM_IVPU_BO_CACHE_MASK 0x00030000 -#define DRM_IVPU_BO_FLAGS (DRM_IVPU_BO_HIGH_MEM | DRM_IVPU_BO_MAPPABLE | DRM_IVPU_BO_CACHE_MASK) +#define DRM_IVPU_BO_FLAGS (DRM_IVPU_BO_HIGH_MEM | DRM_IVPU_BO_MAPPABLE | DRM_IVPU_BO_DMA_MEM | DRM_IVPU_BO_CACHE_MASK) struct drm_ivpu_bo_create { __u64 size; __u32 flags; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/lima_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/lima_drm.h index bd8ba9ce..b9c8199e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/lima_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/lima_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LIMA_DRM_H__ #define __LIMA_DRM_H__ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/msm_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/msm_drm.h index f5a46277..d180f708 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/msm_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/msm_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __MSM_DRM_H__ #define __MSM_DRM_H__ #include "drm.h" @@ -85,7 +73,8 @@ struct drm_msm_gem_info { #define MSM_PREP_READ 0x01 #define MSM_PREP_WRITE 0x02 #define MSM_PREP_NOSYNC 0x04 -#define MSM_PREP_FLAGS (MSM_PREP_READ | MSM_PREP_WRITE | MSM_PREP_NOSYNC) +#define MSM_PREP_BOOST 0x08 +#define MSM_PREP_FLAGS (MSM_PREP_READ | MSM_PREP_WRITE | MSM_PREP_NOSYNC | MSM_PREP_BOOST | 0) struct drm_msm_gem_cpu_prep { __u32 handle; __u32 op; @@ -96,7 +85,11 @@ struct drm_msm_gem_cpu_fini { }; struct drm_msm_gem_submit_reloc { __u32 submit_offset; +#ifdef __cplusplus + __u32 _or; +#else __u32 or; +#endif __s32 shift; __u32 reloc_idx; __u64 reloc_offset; @@ -154,9 +147,11 @@ struct drm_msm_gem_submit { __u32 syncobj_stride; __u32 pad; }; +#define MSM_WAIT_FENCE_BOOST 0x00000001 +#define MSM_WAIT_FENCE_FLAGS (MSM_WAIT_FENCE_BOOST | 0) struct drm_msm_wait_fence { __u32 fence; - __u32 pad; + __u32 flags; struct drm_msm_timespec timeout; __u32 queueid; }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/nouveau_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/nouveau_drm.h index 150f7298..221ff213 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/nouveau_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/nouveau_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __NOUVEAU_DRM_H__ #define __NOUVEAU_DRM_H__ #define DRM_NOUVEAU_EVENT_NVIF 0x80000000 @@ -23,11 +11,43 @@ #ifdef __cplusplus extern "C" { #endif +#define NOUVEAU_GETPARAM_PCI_VENDOR 3 +#define NOUVEAU_GETPARAM_PCI_DEVICE 4 +#define NOUVEAU_GETPARAM_BUS_TYPE 5 +#define NOUVEAU_GETPARAM_FB_SIZE 8 +#define NOUVEAU_GETPARAM_AGP_SIZE 9 +#define NOUVEAU_GETPARAM_CHIPSET_ID 11 +#define NOUVEAU_GETPARAM_VM_VRAM_BASE 12 +#define NOUVEAU_GETPARAM_GRAPH_UNITS 13 +#define NOUVEAU_GETPARAM_PTIMER_TIME 14 +#define NOUVEAU_GETPARAM_HAS_BO_USAGE 15 +#define NOUVEAU_GETPARAM_HAS_PAGEFLIP 16 +#define NOUVEAU_GETPARAM_EXEC_PUSH_MAX 17 +struct drm_nouveau_getparam { + __u64 param; + __u64 value; +}; +struct drm_nouveau_channel_alloc { + __u32 fb_ctxdma_handle; + __u32 tt_ctxdma_handle; + __s32 channel; + __u32 pushbuf_domains; + __u32 notifier_handle; + struct { + __u32 handle; + __u32 grclass; + } subchan[8]; + __u32 nr_subchan; +}; +struct drm_nouveau_channel_free { + __s32 channel; +}; #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0) #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1) #define NOUVEAU_GEM_DOMAIN_GART (1 << 2) #define NOUVEAU_GEM_DOMAIN_MAPPABLE (1 << 3) #define NOUVEAU_GEM_DOMAIN_COHERENT (1 << 4) +#define NOUVEAU_GEM_DOMAIN_NO_SHARE (1 << 5) #define NOUVEAU_GEM_TILE_COMP 0x00030000 #define NOUVEAU_GEM_TILE_LAYOUT_MASK 0x0000ff00 #define NOUVEAU_GEM_TILE_16BPP 0x00000001 @@ -81,6 +101,7 @@ struct drm_nouveau_gem_pushbuf_push { __u32 pad; __u64 offset; __u64 length; +#define NOUVEAU_GEM_PUSHBUF_NO_PREFETCH (1 << 23) }; struct drm_nouveau_gem_pushbuf { __u32 channel; @@ -105,6 +126,55 @@ struct drm_nouveau_gem_cpu_prep { struct drm_nouveau_gem_cpu_fini { __u32 handle; }; +struct drm_nouveau_sync { + __u32 flags; +#define DRM_NOUVEAU_SYNC_SYNCOBJ 0x0 +#define DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ 0x1 +#define DRM_NOUVEAU_SYNC_TYPE_MASK 0xf + __u32 handle; + __u64 timeline_value; +}; +struct drm_nouveau_vm_init { + __u64 kernel_managed_addr; + __u64 kernel_managed_size; +}; +struct drm_nouveau_vm_bind_op { + __u32 op; +#define DRM_NOUVEAU_VM_BIND_OP_MAP 0x0 +#define DRM_NOUVEAU_VM_BIND_OP_UNMAP 0x1 + __u32 flags; +#define DRM_NOUVEAU_VM_BIND_SPARSE (1 << 8) + __u32 handle; + __u32 pad; + __u64 addr; + __u64 bo_offset; + __u64 range; +}; +struct drm_nouveau_vm_bind { + __u32 op_count; + __u32 flags; +#define DRM_NOUVEAU_VM_BIND_RUN_ASYNC 0x1 + __u32 wait_count; + __u32 sig_count; + __u64 wait_ptr; + __u64 sig_ptr; + __u64 op_ptr; +}; +struct drm_nouveau_exec_push { + __u64 va; + __u32 va_len; + __u32 flags; +#define DRM_NOUVEAU_EXEC_PUSH_NO_PREFETCH 0x1 +}; +struct drm_nouveau_exec { + __u32 channel; + __u32 push_count; + __u32 wait_count; + __u32 sig_count; + __u64 wait_ptr; + __u64 sig_ptr; + __u64 push_ptr; +}; #define DRM_NOUVEAU_GETPARAM 0x00 #define DRM_NOUVEAU_SETPARAM 0x01 #define DRM_NOUVEAU_CHANNEL_ALLOC 0x02 @@ -115,6 +185,9 @@ struct drm_nouveau_gem_cpu_fini { #define DRM_NOUVEAU_NVIF 0x07 #define DRM_NOUVEAU_SVM_INIT 0x08 #define DRM_NOUVEAU_SVM_BIND 0x09 +#define DRM_NOUVEAU_VM_INIT 0x10 +#define DRM_NOUVEAU_VM_BIND 0x11 +#define DRM_NOUVEAU_EXEC 0x12 #define DRM_NOUVEAU_GEM_NEW 0x40 #define DRM_NOUVEAU_GEM_PUSHBUF 0x41 #define DRM_NOUVEAU_GEM_CPU_PREP 0x42 @@ -147,6 +220,9 @@ struct drm_nouveau_svm_bind { #define NOUVEAU_SVM_BIND_VALID_MASK ((1ULL << NOUVEAU_SVM_BIND_VALID_BITS) - 1) #define NOUVEAU_SVM_BIND_COMMAND__MIGRATE 0 #define NOUVEAU_SVM_BIND_TARGET__GPU_VRAM (1UL << 31) +#define DRM_IOCTL_NOUVEAU_GETPARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GETPARAM, struct drm_nouveau_getparam) +#define DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_CHANNEL_ALLOC, struct drm_nouveau_channel_alloc) +#define DRM_IOCTL_NOUVEAU_CHANNEL_FREE DRM_IOW(DRM_COMMAND_BASE + DRM_NOUVEAU_CHANNEL_FREE, struct drm_nouveau_channel_free) #define DRM_IOCTL_NOUVEAU_SVM_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_SVM_INIT, struct drm_nouveau_svm_init) #define DRM_IOCTL_NOUVEAU_SVM_BIND DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_SVM_BIND, struct drm_nouveau_svm_bind) #define DRM_IOCTL_NOUVEAU_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_NEW, struct drm_nouveau_gem_new) @@ -154,6 +230,9 @@ struct drm_nouveau_svm_bind { #define DRM_IOCTL_NOUVEAU_GEM_CPU_PREP DRM_IOW(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_PREP, struct drm_nouveau_gem_cpu_prep) #define DRM_IOCTL_NOUVEAU_GEM_CPU_FINI DRM_IOW(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_FINI, struct drm_nouveau_gem_cpu_fini) #define DRM_IOCTL_NOUVEAU_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_INFO, struct drm_nouveau_gem_info) +#define DRM_IOCTL_NOUVEAU_VM_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_VM_INIT, struct drm_nouveau_vm_init) +#define DRM_IOCTL_NOUVEAU_VM_BIND DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_VM_BIND, struct drm_nouveau_vm_bind) +#define DRM_IOCTL_NOUVEAU_EXEC DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_EXEC, struct drm_nouveau_exec) #ifdef __cplusplus } #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/omap_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/omap_drm.h index 72d949d7..513d541d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/omap_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/omap_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __OMAP_DRM_H__ #define __OMAP_DRM_H__ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/panfrost_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/panfrost_drm.h index 04a85df6..66a46fca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/panfrost_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/panfrost_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _PANFROST_DRM_H_ #define _PANFROST_DRM_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qaic_accel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qaic_accel.h new file mode 100644 index 00000000..9e50aec4 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qaic_accel.h @@ -0,0 +1,198 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef QAIC_ACCEL_H_ +#define QAIC_ACCEL_H_ +#include "drm.h" +#ifdef __cplusplus +extern "C" { +#endif +#define QAIC_MANAGE_MAX_MSG_LENGTH SZ_4K +#define QAIC_SEM_INSYNCFENCE 2 +#define QAIC_SEM_OUTSYNCFENCE 1 +#define QAIC_SEM_NOP 0 +#define QAIC_SEM_INIT 1 +#define QAIC_SEM_INC 2 +#define QAIC_SEM_DEC 3 +#define QAIC_SEM_WAIT_EQUAL 4 +#define QAIC_SEM_WAIT_GT_EQ 5 +#define QAIC_SEM_WAIT_GT_0 6 +#define QAIC_TRANS_UNDEFINED 0 +#define QAIC_TRANS_PASSTHROUGH_FROM_USR 1 +#define QAIC_TRANS_PASSTHROUGH_TO_USR 2 +#define QAIC_TRANS_PASSTHROUGH_FROM_DEV 3 +#define QAIC_TRANS_PASSTHROUGH_TO_DEV 4 +#define QAIC_TRANS_DMA_XFER_FROM_USR 5 +#define QAIC_TRANS_DMA_XFER_TO_DEV 6 +#define QAIC_TRANS_ACTIVATE_FROM_USR 7 +#define QAIC_TRANS_ACTIVATE_FROM_DEV 8 +#define QAIC_TRANS_ACTIVATE_TO_DEV 9 +#define QAIC_TRANS_DEACTIVATE_FROM_USR 10 +#define QAIC_TRANS_DEACTIVATE_FROM_DEV 11 +#define QAIC_TRANS_STATUS_FROM_USR 12 +#define QAIC_TRANS_STATUS_TO_USR 13 +#define QAIC_TRANS_STATUS_FROM_DEV 14 +#define QAIC_TRANS_STATUS_TO_DEV 15 +#define QAIC_TRANS_TERMINATE_FROM_DEV 16 +#define QAIC_TRANS_TERMINATE_TO_DEV 17 +#define QAIC_TRANS_DMA_XFER_CONT 18 +#define QAIC_TRANS_VALIDATE_PARTITION_FROM_DEV 19 +#define QAIC_TRANS_VALIDATE_PARTITION_TO_DEV 20 +struct qaic_manage_trans_hdr { + __u32 type; + __u32 len; +}; +struct qaic_manage_trans_passthrough { + struct qaic_manage_trans_hdr hdr; + __u8 data[]; +}; +struct qaic_manage_trans_dma_xfer { + struct qaic_manage_trans_hdr hdr; + __u32 tag; + __u32 pad; + __u64 addr; + __u64 size; +}; +struct qaic_manage_trans_activate_to_dev { + struct qaic_manage_trans_hdr hdr; + __u32 queue_size; + __u32 eventfd; + __u32 options; + __u32 pad; +}; +struct qaic_manage_trans_activate_from_dev { + struct qaic_manage_trans_hdr hdr; + __u32 status; + __u32 dbc_id; + __u64 options; +}; +struct qaic_manage_trans_deactivate { + struct qaic_manage_trans_hdr hdr; + __u32 dbc_id; + __u32 pad; +}; +struct qaic_manage_trans_status_to_dev { + struct qaic_manage_trans_hdr hdr; +}; +struct qaic_manage_trans_status_from_dev { + struct qaic_manage_trans_hdr hdr; + __u16 major; + __u16 minor; + __u32 status; + __u64 status_flags; +}; +struct qaic_manage_msg { + __u32 len; + __u32 count; + __u64 data; +}; +struct qaic_create_bo { + __u64 size; + __u32 handle; + __u32 pad; +}; +struct qaic_mmap_bo { + __u32 handle; + __u32 pad; + __u64 offset; +}; +struct qaic_sem { + __u16 val; + __u8 index; + __u8 presync; + __u8 cmd; + __u8 flags; + __u16 pad; +}; +struct qaic_attach_slice_entry { + __u64 size; + struct qaic_sem sem0; + struct qaic_sem sem1; + struct qaic_sem sem2; + struct qaic_sem sem3; + __u64 dev_addr; + __u64 db_addr; + __u32 db_data; + __u32 db_len; + __u64 offset; +}; +struct qaic_attach_slice_hdr { + __u32 count; + __u32 dbc_id; + __u32 handle; + __u32 dir; + __u64 size; +}; +struct qaic_attach_slice { + struct qaic_attach_slice_hdr hdr; + __u64 data; +}; +struct qaic_execute_entry { + __u32 handle; + __u32 dir; +}; +struct qaic_partial_execute_entry { + __u32 handle; + __u32 dir; + __u64 resize; +}; +struct qaic_execute_hdr { + __u32 count; + __u32 dbc_id; +}; +struct qaic_execute { + struct qaic_execute_hdr hdr; + __u64 data; +}; +struct qaic_wait { + __u32 handle; + __u32 timeout; + __u32 dbc_id; + __u32 pad; +}; +struct qaic_perf_stats_hdr { + __u16 count; + __u16 pad; + __u32 dbc_id; +}; +struct qaic_perf_stats { + struct qaic_perf_stats_hdr hdr; + __u64 data; +}; +struct qaic_perf_stats_entry { + __u32 handle; + __u32 queue_level_before; + __u32 num_queue_element; + __u32 submit_latency_us; + __u32 device_latency_us; + __u32 pad; +}; +struct qaic_detach_slice { + __u32 handle; + __u32 pad; +}; +#define DRM_QAIC_MANAGE 0x00 +#define DRM_QAIC_CREATE_BO 0x01 +#define DRM_QAIC_MMAP_BO 0x02 +#define DRM_QAIC_ATTACH_SLICE_BO 0x03 +#define DRM_QAIC_EXECUTE_BO 0x04 +#define DRM_QAIC_PARTIAL_EXECUTE_BO 0x05 +#define DRM_QAIC_WAIT_BO 0x06 +#define DRM_QAIC_PERF_STATS_BO 0x07 +#define DRM_QAIC_DETACH_SLICE_BO 0x08 +#define DRM_IOCTL_QAIC_MANAGE DRM_IOWR(DRM_COMMAND_BASE + DRM_QAIC_MANAGE, struct qaic_manage_msg) +#define DRM_IOCTL_QAIC_CREATE_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_QAIC_CREATE_BO, struct qaic_create_bo) +#define DRM_IOCTL_QAIC_MMAP_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_QAIC_MMAP_BO, struct qaic_mmap_bo) +#define DRM_IOCTL_QAIC_ATTACH_SLICE_BO DRM_IOW(DRM_COMMAND_BASE + DRM_QAIC_ATTACH_SLICE_BO, struct qaic_attach_slice) +#define DRM_IOCTL_QAIC_EXECUTE_BO DRM_IOW(DRM_COMMAND_BASE + DRM_QAIC_EXECUTE_BO, struct qaic_execute) +#define DRM_IOCTL_QAIC_PARTIAL_EXECUTE_BO DRM_IOW(DRM_COMMAND_BASE + DRM_QAIC_PARTIAL_EXECUTE_BO, struct qaic_execute) +#define DRM_IOCTL_QAIC_WAIT_BO DRM_IOW(DRM_COMMAND_BASE + DRM_QAIC_WAIT_BO, struct qaic_wait) +#define DRM_IOCTL_QAIC_PERF_STATS_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_QAIC_PERF_STATS_BO, struct qaic_perf_stats) +#define DRM_IOCTL_QAIC_DETACH_SLICE_BO DRM_IOW(DRM_COMMAND_BASE + DRM_QAIC_DETACH_SLICE_BO, struct qaic_detach_slice) +#ifdef __cplusplus +} +#endif +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qxl_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qxl_drm.h index e9521c43..b2412343 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qxl_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/qxl_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef QXL_DRM_H #define QXL_DRM_H #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/radeon_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/radeon_drm.h index 3ec6bb3f..8f45904c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/radeon_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/radeon_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __RADEON_DRM_H__ #define __RADEON_DRM_H__ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/tegra_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/tegra_drm.h index 5e906357..ad77bf47 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/tegra_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/tegra_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_TEGRA_DRM_H_ #define _UAPI_TEGRA_DRM_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/v3d_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/v3d_drm.h index 5887678f..594856f6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/v3d_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/v3d_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _V3D_DRM_H_ #define _V3D_DRM_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vc4_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vc4_drm.h index fde443f3..473c5f2f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vc4_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vc4_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_VC4_DRM_H_ #define _UAPI_VC4_DRM_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vgem_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vgem_drm.h index b33452be..71aee1bc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vgem_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vgem_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_VGEM_DRM_H_ #define _UAPI_VGEM_DRM_H_ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/virtgpu_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/virtgpu_drm.h index 342282da..6babe2d9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/virtgpu_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/virtgpu_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef VIRTGPU_DRM_H #define VIRTGPU_DRM_H #include "drm.h" @@ -42,6 +30,13 @@ struct drm_virtgpu_map { __u32 handle; __u32 pad; }; +#define VIRTGPU_EXECBUF_SYNCOBJ_RESET 0x01 +#define VIRTGPU_EXECBUF_SYNCOBJ_FLAGS (VIRTGPU_EXECBUF_SYNCOBJ_RESET | 0) +struct drm_virtgpu_execbuffer_syncobj { + __u32 handle; + __u32 flags; + __u64 point; +}; struct drm_virtgpu_execbuffer { __u32 flags; __u32 size; @@ -50,7 +45,11 @@ struct drm_virtgpu_execbuffer { __u32 num_bo_handles; __s32 fence_fd; __u32 ring_idx; - __u32 pad; + __u32 syncobj_stride; + __u32 num_in_syncobjs; + __u32 num_out_syncobjs; + __u64 in_syncobjs; + __u64 out_syncobjs; }; #define VIRTGPU_PARAM_3D_FEATURES 1 #define VIRTGPU_PARAM_CAPSET_QUERY_FIX 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vmwgfx_drm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vmwgfx_drm.h index 2f75589e..f07b7437 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vmwgfx_drm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/drm/vmwgfx_drm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __VMWGFX_DRM_H__ #define __VMWGFX_DRM_H__ #include "drm.h" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/a.out.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/a.out.h index 8f58c99d..2d34e1d4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/a.out.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/a.out.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__A_OUT_GNU_H__ #define _UAPI__A_OUT_GNU_H__ #define __GNU_EXEC_MACROS__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acct.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acct.h index ba9d25f9..3c17f50f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acct.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acct.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ACCT_H #define _UAPI_LINUX_ACCT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acrn.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acrn.h index aa408d80..6dc581b6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acrn.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/acrn.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ACRN_H #define _UAPI_ACRN_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adb.h index ddb3b654..d6dbc9e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ADB_H #define _UAPI__ADB_H #define ADB_BUSRESET 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adfs_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adfs_fs.h index aa1d7327..c95a42e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adfs_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/adfs_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ADFS_FS_H #define _UAPI_ADFS_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/affs_hardblocks.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/affs_hardblocks.h index f46bdf12..157d67c5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/affs_hardblocks.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/affs_hardblocks.h @@ -1,76 +1,64 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef AFFS_HARDBLOCKS_H #define AFFS_HARDBLOCKS_H #include <linux/types.h> struct RigidDiskBlock { - __u32 rdb_ID; + __be32 rdb_ID; __be32 rdb_SummedLongs; - __s32 rdb_ChkSum; - __u32 rdb_HostID; + __be32 rdb_ChkSum; + __be32 rdb_HostID; __be32 rdb_BlockBytes; - __u32 rdb_Flags; - __u32 rdb_BadBlockList; + __be32 rdb_Flags; + __be32 rdb_BadBlockList; __be32 rdb_PartitionList; - __u32 rdb_FileSysHeaderList; - __u32 rdb_DriveInit; - __u32 rdb_Reserved1[6]; - __u32 rdb_Cylinders; - __u32 rdb_Sectors; - __u32 rdb_Heads; - __u32 rdb_Interleave; - __u32 rdb_Park; - __u32 rdb_Reserved2[3]; - __u32 rdb_WritePreComp; - __u32 rdb_ReducedWrite; - __u32 rdb_StepRate; - __u32 rdb_Reserved3[5]; - __u32 rdb_RDBBlocksLo; - __u32 rdb_RDBBlocksHi; - __u32 rdb_LoCylinder; - __u32 rdb_HiCylinder; - __u32 rdb_CylBlocks; - __u32 rdb_AutoParkSeconds; - __u32 rdb_HighRDSKBlock; - __u32 rdb_Reserved4; + __be32 rdb_FileSysHeaderList; + __be32 rdb_DriveInit; + __be32 rdb_Reserved1[6]; + __be32 rdb_Cylinders; + __be32 rdb_Sectors; + __be32 rdb_Heads; + __be32 rdb_Interleave; + __be32 rdb_Park; + __be32 rdb_Reserved2[3]; + __be32 rdb_WritePreComp; + __be32 rdb_ReducedWrite; + __be32 rdb_StepRate; + __be32 rdb_Reserved3[5]; + __be32 rdb_RDBBlocksLo; + __be32 rdb_RDBBlocksHi; + __be32 rdb_LoCylinder; + __be32 rdb_HiCylinder; + __be32 rdb_CylBlocks; + __be32 rdb_AutoParkSeconds; + __be32 rdb_HighRDSKBlock; + __be32 rdb_Reserved4; char rdb_DiskVendor[8]; char rdb_DiskProduct[16]; char rdb_DiskRevision[4]; char rdb_ControllerVendor[8]; char rdb_ControllerProduct[16]; char rdb_ControllerRevision[4]; - __u32 rdb_Reserved5[10]; + __be32 rdb_Reserved5[10]; }; #define IDNAME_RIGIDDISK 0x5244534B struct PartitionBlock { __be32 pb_ID; __be32 pb_SummedLongs; - __s32 pb_ChkSum; - __u32 pb_HostID; + __be32 pb_ChkSum; + __be32 pb_HostID; __be32 pb_Next; - __u32 pb_Flags; - __u32 pb_Reserved1[2]; - __u32 pb_DevFlags; + __be32 pb_Flags; + __be32 pb_Reserved1[2]; + __be32 pb_DevFlags; __u8 pb_DriveName[32]; - __u32 pb_Reserved2[15]; + __be32 pb_Reserved2[15]; __be32 pb_Environment[17]; - __u32 pb_EReserved[15]; + __be32 pb_EReserved[15]; }; #define IDNAME_PARTITION 0x50415254 #define RDB_ALLOCATION_LIMIT 16 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/agpgart.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/agpgart.h index 9dda7bf8..403c0b39 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/agpgart.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/agpgart.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_AGP_H #define _UAPI_AGP_H #define AGPIOC_BASE 'A' diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aio_abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aio_abi.h index 17ca2f92..35f212b1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aio_abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aio_abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX__AIO_ABI_H #define __LINUX__AIO_ABI_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/am437x-vpfe.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/am437x-vpfe.h index 9ea21d2a..a0607aa4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/am437x-vpfe.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/am437x-vpfe.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef AM437X_VPFE_USER_H #define AM437X_VPFE_USER_H #include <linux/videodev2.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/amt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/amt.h index 049006d2..c9cdd092 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/amt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/amt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_AMT_H_ #define _UAPI_AMT_H_ enum ifla_amt_mode { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binder.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binder.h index 0d1f83d6..1abb3a30 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binder.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binder.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BINDER_H #define _UAPI_LINUX_BINDER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binderfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binderfs.h index d58c3336..c17f272b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binderfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/android/binderfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BINDERFS_H #define _UAPI_LINUX_BINDERFS_H #include <linux/android/binder.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/apm_bios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/apm_bios.h index b2ffe015..62c27e07 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/apm_bios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/apm_bios.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_APM_H #define _UAPI_LINUX_APM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arcfb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arcfb.h index 93fc7224..c74ba472 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arcfb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arcfb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_ARCFB_H__ #define __LINUX_ARCFB_H__ #define FBIO_WAITEVENT _IO('F', 0x88) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arm_sdei.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arm_sdei.h index 4ec92947..562b44f8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arm_sdei.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/arm_sdei.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ARM_SDEI_H #define _UAPI_LINUX_ARM_SDEI_H #define SDEI_1_0_FN_BASE 0xC4000020 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ashmem.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ashmem.h index 88f0e811..5b28f8fe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ashmem.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ashmem.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ASHMEM_H #define _UAPI_LINUX_ASHMEM_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-lpc-ctrl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-lpc-ctrl.h index fcde0815..ab1e8db9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-lpc-ctrl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-lpc-ctrl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ASPEED_LPC_CTRL_H #define _UAPI_LINUX_ASPEED_LPC_CTRL_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-p2a-ctrl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-p2a-ctrl.h index 94e51326..ee65fed5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-p2a-ctrl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-p2a-ctrl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ASPEED_P2A_CTRL_H #define _UAPI_LINUX_ASPEED_P2A_CTRL_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-video.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-video.h index d5109c1c..64d13aae 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-video.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/aspeed-video.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ASPEED_VIDEO_H #define _UAPI_LINUX_ASPEED_VIDEO_H #include <linux/v4l2-controls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atalk.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atalk.h index 0619cf58..a2f12781 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atalk.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atalk.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_ATALK_H__ #define _UAPI__LINUX_ATALK_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm.h index 72d329df..ff921916 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ATM_H #define _UAPI_LINUX_ATM_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_eni.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_eni.h index fd721f0a..726e8335 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_eni.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_eni.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_ATM_ENI_H #define LINUX_ATM_ENI_H #include <linux/atmioc.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_he.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_he.h index 65ec396d..61353ba5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_he.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_he.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_ATM_HE_H #define LINUX_ATM_HE_H #include <linux/atmioc.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_idt77105.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_idt77105.h index c3332ee8..8a80e676 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_idt77105.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_idt77105.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_ATM_IDT77105_H #define LINUX_ATM_IDT77105_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_nicstar.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_nicstar.h index 856dbd58..15585a19 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_nicstar.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_nicstar.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_ATM_NICSTAR_H #define LINUX_ATM_NICSTAR_H #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_tcp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_tcp.h index 1e08b08d..0e0e5af3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_tcp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_tcp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_ATM_TCP_H #define _UAPILINUX_ATM_TCP_H #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_zatm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_zatm.h index 1649b853..c03678c5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_zatm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atm_zatm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_ATM_ZATM_H #define LINUX_ATM_ZATM_H #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmapi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmapi.h index 65f48ba0..c811b2ca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmapi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmapi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMAPI_H #define _LINUX_ATMAPI_H #if defined(__sparc__) || defined(__ia64__) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmarp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmarp.h index 78f8caec..a40d252e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmarp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmarp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMARP_H #define _LINUX_ATMARP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmbr2684.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmbr2684.h index 8e115db2..544ad791 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmbr2684.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmbr2684.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMBR2684_H #define _LINUX_ATMBR2684_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmclip.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmclip.h index 52e491ca..f590e525 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmclip.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmclip.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_ATMCLIP_H #define LINUX_ATMCLIP_H #include <linux/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmdev.h index 74cdfc14..095dc301 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_ATMDEV_H #define _UAPILINUX_ATMDEV_H #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmioc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmioc.h index 19072883..c2315ef1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmioc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmioc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMIOC_H #define _LINUX_ATMIOC_H #include <asm/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmlec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmlec.h index d70c5173..a72bec8b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmlec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmlec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ATMLEC_H_ #define _ATMLEC_H_ #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmmpc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmmpc.h index a4205814..66e599ad 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmmpc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmmpc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ATMMPC_H_ #define _ATMMPC_H_ #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmppp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmppp.h index 1cc0d083..7e1f376f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmppp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmppp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMPPP_H #define _LINUX_ATMPPP_H #include <linux/atm.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsap.h index 1487f9a1..2d6ffdc7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMSAP_H #define _LINUX_ATMSAP_H #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsvc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsvc.h index ca038f5f..14524fff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsvc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/atmsvc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ATMSVC_H #define _LINUX_ATMSVC_H #include <linux/atmapi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/audit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/audit.h index f7c969b4..98849f16 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/audit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/audit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_AUDIT_H_ #define _UAPI_LINUX_AUDIT_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_dev-ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_dev-ioctl.h index 23c80963..89cc04ac 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_dev-ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_dev-ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_AUTO_DEV_IOCTL_H #define _UAPI_LINUX_AUTO_DEV_IOCTL_H #include <linux/auto_fs.h> @@ -85,7 +73,7 @@ struct autofs_dev_ioctl { struct args_askumount askumount; struct args_ismountpoint ismountpoint; }; - char path[0]; + char path[]; }; enum { AUTOFS_DEV_IOCTL_VERSION_CMD = 0x71, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs.h index 39d1ac83..dd11a932 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_AUTO_FS_H #define _UAPI_LINUX_AUTO_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs4.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs4.h index 41f3c8c7..109b252a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs4.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auto_fs4.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_AUTO_FS4_H #define _UAPI_LINUX_AUTO_FS4_H #include <linux/auto_fs.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auxvec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auxvec.h index 3ca56fc8..ce022870 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auxvec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/auxvec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_AUXVEC_H #define _UAPI_LINUX_AUXVEC_H #include <asm/auxvec.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ax25.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ax25.h index 0d6aa95f..8f66ca65 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ax25.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ax25.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef AX25_KERNEL_H #define AX25_KERNEL_H #include <linux/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batadv_packet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batadv_packet.h index 9daed824..eb72d639 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batadv_packet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batadv_packet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BATADV_PACKET_H_ #define _UAPI_LINUX_BATADV_PACKET_H_ #include <asm/byteorder.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batman_adv.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batman_adv.h index 9f48dace..cb9b09f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batman_adv.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/batman_adv.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BATMAN_ADV_H_ #define _UAPI_LINUX_BATMAN_ADV_H_ #define BATADV_NL_NAME "batadv" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/baycom.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/baycom.h index ce0edf5b..c0d4308f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/baycom.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/baycom.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _BAYCOM_H #define _BAYCOM_H struct baycom_debug_data { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bcm933xx_hcs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bcm933xx_hcs.h index a57828f8..f8ad281d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bcm933xx_hcs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bcm933xx_hcs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __BCM933XX_HCS_H #define __BCM933XX_HCS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bfs_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bfs_fs.h index 4a11e8aa..f46508f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bfs_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bfs_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_BFS_FS_H #define _LINUX_BFS_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/binfmts.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/binfmts.h index 053be3cf..3b47586b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/binfmts.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/binfmts.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BINFMTS_H #define _UAPI_LINUX_BINFMTS_H #include <linux/capability.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkpg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkpg.h index bfe504ff..3978e945 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkpg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkpg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BLKPG_H #define _UAPI__LINUX_BLKPG_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blktrace_api.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blktrace_api.h index 64c0b778..41965208 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blktrace_api.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blktrace_api.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPIBLKTRACE_H #define _UAPIBLKTRACE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkzoned.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkzoned.h index e41ac9f4..f7b1b78f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkzoned.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/blkzoned.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_BLKZONED_H #define _UAPI_BLKZONED_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf.h index 4131ce46..25e8ad7a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BPF_H__ #define _UAPI__LINUX_BPF_H__ #include <linux/types.h> @@ -23,6 +11,7 @@ #define BPF_JMP32 0x06 #define BPF_ALU64 0x07 #define BPF_DW 0x18 +#define BPF_MEMSX 0x80 #define BPF_ATOMIC 0xc0 #define BPF_XADD 0xc0 #define BPF_MOV 0xb0 @@ -158,7 +147,8 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED, BPF_MAP_TYPE_CGROUP_STORAGE = BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY, - BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED, BPF_MAP_TYPE_QUEUE, BPF_MAP_TYPE_STACK, BPF_MAP_TYPE_SK_STORAGE, @@ -204,6 +194,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_LSM, BPF_PROG_TYPE_SK_LOOKUP, BPF_PROG_TYPE_SYSCALL, + BPF_PROG_TYPE_NETFILTER, }; enum bpf_attach_type { BPF_CGROUP_INET_INGRESS, @@ -250,6 +241,18 @@ enum bpf_attach_type { BPF_PERF_EVENT, BPF_TRACE_KPROBE_MULTI, BPF_LSM_CGROUP, + BPF_STRUCT_OPS, + BPF_NETFILTER, + BPF_TCX_INGRESS, + BPF_TCX_EGRESS, + BPF_TRACE_UPROBE_MULTI, + BPF_CGROUP_UNIX_CONNECT, + BPF_CGROUP_UNIX_SENDMSG, + BPF_CGROUP_UNIX_RECVMSG, + BPF_CGROUP_UNIX_GETPEERNAME, + BPF_CGROUP_UNIX_GETSOCKNAME, + BPF_NETKIT_PRIMARY, + BPF_NETKIT_PEER, __MAX_BPF_ATTACH_TYPE }; #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE @@ -264,11 +267,28 @@ enum bpf_link_type { BPF_LINK_TYPE_PERF_EVENT = 7, BPF_LINK_TYPE_KPROBE_MULTI = 8, BPF_LINK_TYPE_STRUCT_OPS = 9, + BPF_LINK_TYPE_NETFILTER = 10, + BPF_LINK_TYPE_TCX = 11, + BPF_LINK_TYPE_UPROBE_MULTI = 12, + BPF_LINK_TYPE_NETKIT = 13, MAX_BPF_LINK_TYPE, }; +enum bpf_perf_event_type { + BPF_PERF_EVENT_UNSPEC = 0, + BPF_PERF_EVENT_UPROBE = 1, + BPF_PERF_EVENT_URETPROBE = 2, + BPF_PERF_EVENT_KPROBE = 3, + BPF_PERF_EVENT_KRETPROBE = 4, + BPF_PERF_EVENT_TRACEPOINT = 5, + BPF_PERF_EVENT_EVENT = 6, +}; #define BPF_F_ALLOW_OVERRIDE (1U << 0) #define BPF_F_ALLOW_MULTI (1U << 1) #define BPF_F_REPLACE (1U << 2) +#define BPF_F_BEFORE (1U << 3) +#define BPF_F_AFTER (1U << 4) +#define BPF_F_ID (1U << 5) +#define BPF_F_LINK BPF_F_LINK #define BPF_F_STRICT_ALIGNMENT (1U << 0) #define BPF_F_ANY_ALIGNMENT (1U << 1) #define BPF_F_TEST_RND_HI32 (1U << 2) @@ -276,7 +296,13 @@ enum bpf_link_type { #define BPF_F_SLEEPABLE (1U << 4) #define BPF_F_XDP_HAS_FRAGS (1U << 5) #define BPF_F_XDP_DEV_BOUND_ONLY (1U << 6) -#define BPF_F_KPROBE_MULTI_RETURN (1U << 0) +enum { + BPF_F_KPROBE_MULTI_RETURN = (1U << 0) +}; +enum { + BPF_F_UPROBE_MULTI_RETURN = (1U << 0) +}; +#define BPF_F_NETFILTER_IP_DEFRAG (1U << 0) #define BPF_PSEUDO_MAP_FD 1 #define BPF_PSEUDO_MAP_IDX 5 #define BPF_PSEUDO_MAP_VALUE 2 @@ -305,6 +331,8 @@ enum { BPF_F_MMAPABLE = (1U << 10), BPF_F_PRESERVE_ELEMS = (1U << 11), BPF_F_INNER_MAP = (1U << 12), + BPF_F_LINK = (1U << 13), + BPF_F_PATH_FD = (1U << 14), }; #define BPF_F_QUERY_EFFECTIVE (1U << 0) #define BPF_F_TEST_RUN_ON_CPU (1U << 0) @@ -392,18 +420,28 @@ union bpf_attr { __aligned_u64 fd_array; __aligned_u64 core_relos; __u32 core_relo_rec_size; + __u32 log_true_size; }; struct { __aligned_u64 pathname; __u32 bpf_fd; __u32 file_flags; + __s32 path_fd; }; struct { - __u32 target_fd; + union { + __u32 target_fd; + __u32 target_ifindex; + }; __u32 attach_bpf_fd; __u32 attach_type; __u32 attach_flags; __u32 replace_bpf_fd; + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; }; struct { __u32 prog_fd; @@ -439,13 +477,23 @@ union bpf_attr { __aligned_u64 info; } info; struct { - __u32 target_fd; + union { + __u32 target_fd; + __u32 target_ifindex; + }; __u32 attach_type; __u32 query_flags; __u32 attach_flags; __aligned_u64 prog_ids; - __u32 prog_cnt; + union { + __u32 prog_cnt; + __u32 count; + }; + __u32 : 32; __aligned_u64 prog_attach_flags; + __aligned_u64 link_ids; + __aligned_u64 link_attach_flags; + __u64 revision; } query; struct { __u64 name; @@ -457,6 +505,7 @@ union bpf_attr { __u32 btf_size; __u32 btf_log_size; __u32 btf_log_level; + __u32 btf_log_true_size; }; struct { __u32 pid; @@ -470,7 +519,10 @@ union bpf_attr { __u64 probe_addr; } task_fd_query; struct { - __u32 prog_fd; + union { + __u32 prog_fd; + __u32 map_fd; + }; union { __u32 target_fd; __u32 target_ifindex; @@ -497,13 +549,48 @@ union bpf_attr { __u32 target_btf_id; __u64 cookie; } tracing; + struct { + __u32 pf; + __u32 hooknum; + __s32 priority; + __u32 flags; + } netfilter; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } tcx; + struct { + __aligned_u64 path; + __aligned_u64 offsets; + __aligned_u64 ref_ctr_offsets; + __aligned_u64 cookies; + __u32 cnt; + __u32 flags; + __u32 pid; + } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } netkit; }; } link_create; struct { __u32 link_fd; - __u32 new_prog_fd; + union { + __u32 new_prog_fd; + __u32 new_map_fd; + }; __u32 flags; - __u32 old_prog_fd; + union { + __u32 old_prog_fd; + __u32 old_map_fd; + }; } link_update; struct { __u32 link_fd; @@ -781,6 +868,12 @@ struct bpf_sock_tuple { } ipv6; }; }; +enum tcx_action_base { + TCX_NEXT = - 1, + TCX_PASS = 0, + TCX_DROP = 2, + TCX_REDIRECT = 7, +}; struct bpf_xdp_sock { __u32 queue_id; }; @@ -954,6 +1047,55 @@ struct bpf_link_info { struct { __u32 ifindex; } xdp; + struct { + __u32 map_id; + } struct_ops; + struct { + __u32 pf; + __u32 hooknum; + __s32 priority; + __u32 flags; + } netfilter; + struct { + __aligned_u64 addrs; + __u32 count; + __u32 flags; + __u64 missed; + } kprobe_multi; + struct { + __u32 type; + __u32 : 32; + union { + struct { + __aligned_u64 file_name; + __u32 name_len; + __u32 offset; + } uprobe; + struct { + __aligned_u64 func_name; + __u32 name_len; + __u32 offset; + __u64 addr; + __u64 missed; + } kprobe; + struct { + __aligned_u64 tp_name; + __u32 name_len; + } tracepoint; + struct { + __u64 config; + __u32 type; + } event; + }; + } perf_event; + struct { + __u32 ifindex; + __u32 attach_type; + } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; }; } __attribute__((aligned(8))); struct bpf_sock_addr { @@ -1100,6 +1242,8 @@ enum { BPF_FIB_LOOKUP_DIRECT = (1U << 0), BPF_FIB_LOOKUP_OUTPUT = (1U << 1), BPF_FIB_LOOKUP_SKIP_NEIGH = (1U << 2), + BPF_FIB_LOOKUP_TBID = (1U << 3), + BPF_FIB_LOOKUP_SRC = (1U << 4), }; enum { BPF_FIB_LKUP_RET_SUCCESS, @@ -1111,6 +1255,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT, BPF_FIB_LKUP_RET_NO_NEIGH, BPF_FIB_LKUP_RET_FRAG_NEEDED, + BPF_FIB_LKUP_RET_NO_SRC_ADDR, }; struct bpf_fib_lookup { __u8 family; @@ -1135,8 +1280,13 @@ struct bpf_fib_lookup { __be32 ipv4_dst; __u32 ipv6_dst[4]; }; - __be16 h_vlan_proto; - __be16 h_vlan_TCI; + union { + struct { + __be16 h_vlan_proto; + __be16 h_vlan_TCI; + }; + __u32 tbid; + }; __u8 smac[6]; __u8 dmac[6]; }; @@ -1222,6 +1372,7 @@ struct bpf_list_head { struct bpf_list_node { __u64 : 64; __u64 : 64; + __u64 : 64; } __attribute__((aligned(8))); struct bpf_rb_root { __u64 : 64; @@ -1231,7 +1382,11 @@ struct bpf_rb_node { __u64 : 64; __u64 : 64; __u64 : 64; + __u64 : 64; } __attribute__((aligned(8))); +struct bpf_refcount { + __u32 : 32; +} __attribute__((aligned(4))); struct bpf_sysctl { __u32 write; __u32 file_pos; @@ -1297,4 +1452,11 @@ struct bpf_core_relo { __u32 access_str_off; enum bpf_core_relo_kind kind; }; +enum { + BPF_F_TIMER_ABS = (1ULL << 0), + BPF_F_TIMER_CPU_PIN = (1ULL << 1), +}; +struct bpf_iter_num { + __u64 __opaque[1]; +} __attribute__((aligned(8))); #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_common.h index a368db78..e61b8b31 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_common.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BPF_COMMON_H__ #define _UAPI__LINUX_BPF_COMMON_H__ #define BPF_CLASS(code) ((code) & 0x07) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_perf_event.h index 190b916f..18e8b80c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpf_perf_event.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__ #define _UAPI__LINUX_BPF_PERF_EVENT_H__ #include <asm/bpf_perf_event.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpfilter.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpfilter.h index a7d8d66b..a0833a3e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpfilter.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpfilter.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BPFILTER_H #define _UAPI_LINUX_BPFILTER_H #include <linux/if.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpqether.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpqether.h index 0b0b8618..a39da390 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpqether.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bpqether.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __BPQETHER_H #define __BPQETHER_H #include <linux/if_ether.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bsg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bsg.h index 0fcf8fc8..31e85786 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bsg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bsg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPIBSG_H #define _UAPIBSG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bt-bmc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bt-bmc.h index 4bd566df..dbdcb503 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bt-bmc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/bt-bmc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BT_BMC_H #define _UAPI_LINUX_BT_BMC_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btf.h index a1f68bfc..83d7e681 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BTF_H__ #define _UAPI__LINUX_BTF_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs.h index 52206472..27564f83 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BTRFS_H #define _UAPI_LINUX_BTRFS_H #ifdef __cplusplus @@ -107,6 +95,7 @@ struct btrfs_scrub_progress { __u64 unverified_errors; }; #define BTRFS_SCRUB_READONLY 1 +#define BTRFS_SCRUB_SUPPORTED_FLAGS (BTRFS_SCRUB_READONLY) struct btrfs_ioctl_scrub_args { __u64 devid; __u64 start; @@ -196,6 +185,8 @@ struct btrfs_ioctl_fs_info_args { #define BTRFS_FEATURE_INCOMPAT_RAID1C34 (1ULL << 11) #define BTRFS_FEATURE_INCOMPAT_ZONED (1ULL << 12) #define BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2 (1ULL << 13) +#define BTRFS_FEATURE_INCOMPAT_RAID_STRIPE_TREE (1ULL << 14) +#define BTRFS_FEATURE_INCOMPAT_SIMPLE_QUOTA (1ULL << 16) struct btrfs_ioctl_feature_flags { __u64 compat_flags; __u64 compat_ro_flags; @@ -393,6 +384,7 @@ struct btrfs_ioctl_get_dev_stats { #define BTRFS_QUOTA_CTL_ENABLE 1 #define BTRFS_QUOTA_CTL_DISABLE 2 #define BTRFS_QUOTA_CTL_RESCAN__NOTUSED 3 +#define BTRFS_QUOTA_CTL_ENABLE_SIMPLE_QUOTA 4 struct btrfs_ioctl_quota_ctl_args { __u64 cmd; __u64 status; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs_tree.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs_tree.h index 02422c05..ea33eee4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs_tree.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/btrfs_tree.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _BTRFS_CTREE_H_ #define _BTRFS_CTREE_H_ #include <linux/btrfs.h> @@ -36,6 +24,7 @@ #define BTRFS_UUID_TREE_OBJECTID 9ULL #define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL #define BTRFS_BLOCK_GROUP_TREE_OBJECTID 11ULL +#define BTRFS_RAID_STRIPE_TREE_OBJECTID 12ULL #define BTRFS_DEV_STATS_OBJECTID 0ULL #define BTRFS_BALANCE_OBJECTID - 4ULL #define BTRFS_ORPHAN_OBJECTID - 5ULL @@ -72,9 +61,9 @@ #define BTRFS_ROOT_REF_KEY 156 #define BTRFS_EXTENT_ITEM_KEY 168 #define BTRFS_METADATA_ITEM_KEY 169 +#define BTRFS_EXTENT_OWNER_REF_KEY 172 #define BTRFS_TREE_BLOCK_REF_KEY 176 #define BTRFS_EXTENT_DATA_REF_KEY 178 -#define BTRFS_EXTENT_REF_V0_KEY 180 #define BTRFS_SHARED_BLOCK_REF_KEY 182 #define BTRFS_SHARED_DATA_REF_KEY 184 #define BTRFS_BLOCK_GROUP_ITEM_KEY 192 @@ -84,6 +73,7 @@ #define BTRFS_DEV_EXTENT_KEY 204 #define BTRFS_DEV_ITEM_KEY 216 #define BTRFS_CHUNK_ITEM_KEY 228 +#define BTRFS_RAID_STRIPE_KEY 230 #define BTRFS_QGROUP_STATUS_KEY 240 #define BTRFS_QGROUP_INFO_KEY 242 #define BTRFS_QGROUP_LIMIT_KEY 244 @@ -285,6 +275,23 @@ struct btrfs_free_space_header { __le64 num_entries; __le64 num_bitmaps; } __attribute__((__packed__)); +struct btrfs_raid_stride { + __le64 devid; + __le64 physical; +} __attribute__((__packed__)); +#define BTRFS_STRIPE_RAID0 1 +#define BTRFS_STRIPE_RAID1 2 +#define BTRFS_STRIPE_DUP 3 +#define BTRFS_STRIPE_RAID10 4 +#define BTRFS_STRIPE_RAID5 5 +#define BTRFS_STRIPE_RAID6 6 +#define BTRFS_STRIPE_RAID1C3 7 +#define BTRFS_STRIPE_RAID1C4 8 +struct btrfs_stripe_extent { + __u8 encoding; + __u8 reserved[7]; + struct btrfs_raid_stride strides[]; +} __attribute__((__packed__)); #define BTRFS_HEADER_FLAG_WRITTEN (1ULL << 0) #define BTRFS_HEADER_FLAG_RELOC (1ULL << 1) #define BTRFS_SUPER_FLAG_ERROR (1ULL << 2) @@ -323,6 +330,9 @@ struct btrfs_extent_data_ref { struct btrfs_shared_data_ref { __le32 count; } __attribute__((__packed__)); +struct btrfs_extent_owner_ref { + __le64 root_id; +} __attribute__((__packed__)); struct btrfs_extent_inline_ref { __u8 type; __le64 offset; @@ -515,13 +525,15 @@ struct btrfs_free_space_info { #define BTRFS_QGROUP_STATUS_FLAG_ON (1ULL << 0) #define BTRFS_QGROUP_STATUS_FLAG_RESCAN (1ULL << 1) #define BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT (1ULL << 2) -#define BTRFS_QGROUP_STATUS_FLAGS_MASK (BTRFS_QGROUP_STATUS_FLAG_ON | BTRFS_QGROUP_STATUS_FLAG_RESCAN | BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT) +#define BTRFS_QGROUP_STATUS_FLAG_SIMPLE_MODE (1ULL << 3) +#define BTRFS_QGROUP_STATUS_FLAGS_MASK (BTRFS_QGROUP_STATUS_FLAG_ON | BTRFS_QGROUP_STATUS_FLAG_RESCAN | BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT | BTRFS_QGROUP_STATUS_FLAG_SIMPLE_MODE) #define BTRFS_QGROUP_STATUS_VERSION 1 struct btrfs_qgroup_status_item { __le64 version; __le64 generation; __le64 flags; __le64 rescan; + __le64 enable_gen; } __attribute__((__packed__)); struct btrfs_qgroup_info_item { __le64 generation; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/big_endian.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/big_endian.h index 82c5a4cd..0ed5569b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/big_endian.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/big_endian.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H #define _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H #ifndef __BIG_ENDIAN diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/little_endian.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/little_endian.h index 28155b5e..0c913acf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/little_endian.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/byteorder/little_endian.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H #define _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H #ifndef __LITTLE_ENDIAN diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cachefiles.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cachefiles.h index f5a58a5e..838d1f69 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cachefiles.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cachefiles.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_CACHEFILES_H #define _LINUX_CACHEFILES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/caif_socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/caif_socket.h index 999d1b7d..bef723a6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/caif_socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/caif_socket.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_CAIF_SOCKET_H #define _LINUX_CAIF_SOCKET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/if_caif.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/if_caif.h index 36dfe083..28b16883 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/if_caif.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/caif/if_caif.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IF_CAIF_H_ #define IF_CAIF_H_ #include <linux/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can.h index 1365dbac..0fc98ae0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_H #define _UAPI_CAN_H #include <linux/types.h> @@ -109,5 +97,4 @@ struct can_filter { canid_t can_mask; }; #define CAN_INV_FILTER 0x20000000U -#define CAN_RAW_FILTER_MAX 512 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/bcm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/bcm.h index f5ab2c28..a52f8e31 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/bcm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/bcm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_BCM_H #define _UAPI_CAN_BCM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/error.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/error.h index f585d2c7..5ac603e9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/error.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/error.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_ERROR_H #define _UAPI_CAN_ERROR_H #define CAN_ERR_DLC 8 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/gw.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/gw.h index f76bafb8..4b42ac80 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/gw.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/gw.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_GW_H #define _UAPI_CAN_GW_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/isotp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/isotp.h index f51aa59c..cff12d68 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/isotp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/isotp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_ISOTP_H #define _UAPI_CAN_ISOTP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/j1939.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/j1939.h index 42dbf15d..24bf3f4e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/j1939.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/j1939.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_J1939_H_ #define _UAPI_CAN_J1939_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/netlink.h index f4086c0d..c9b455b3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_NETLINK_H #define _UAPI_CAN_NETLINK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/raw.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/raw.h index f8de1797..940a8523 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/raw.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/raw.h @@ -1,25 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_RAW_H #define _UAPI_CAN_RAW_H #include <linux/can.h> #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW) +#define CAN_RAW_FILTER_MAX 512 enum { SCM_CAN_RAW_ERRQUEUE = 1, }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/vxcan.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/vxcan.h index 950b645f..9f6c1c03 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/vxcan.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/can/vxcan.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CAN_VXCAN_H #define _UAPI_CAN_VXCAN_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capability.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capability.h index 8f3281ed..a49059e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capability.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capability.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CAPABILITY_H #define _UAPI_LINUX_CAPABILITY_H #include <linux/types.h> @@ -29,11 +17,12 @@ typedef struct __user_cap_header_struct { __u32 version; int pid; } * cap_user_header_t; -typedef struct __user_cap_data_struct { +struct __user_cap_data_struct { __u32 effective; __u32 permitted; __u32 inheritable; -} * cap_user_data_t; +}; +typedef struct __user_cap_data_struct * cap_user_data_t; #define VFS_CAP_REVISION_MASK 0xFF000000 #define VFS_CAP_REVISION_SHIFT 24 #define VFS_CAP_FLAGS_MASK ~VFS_CAP_REVISION_MASK diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capi.h index a09f9bc7..d81ce05e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/capi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_CAPI_H__ #define __LINUX_CAPI_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_defs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_defs.h index 99d8e569..ab9376ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_defs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_defs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef CCISS_DEFS_H #define CCISS_DEFS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_ioctl.h index 827e6a00..0de724ac 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cciss_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPICCISS_IOCTLH #define _UAPICCISS_IOCTLH #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ccs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ccs.h index 53c88af4..2c3c0fe9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ccs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ccs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_CCS_H__ #define __UAPI_CCS_H__ #include <linux/v4l2-controls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cdrom.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cdrom.h index bd1d7df9..52078f0b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cdrom.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cdrom.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CDROM_H #define _UAPI_LINUX_CDROM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec-funcs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec-funcs.h index 650dc193..511673dc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec-funcs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec-funcs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CEC_UAPI_FUNCS_H #define _CEC_UAPI_FUNCS_H #include <linux/cec.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec.h index 3953fe34..43e84566 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CEC_UAPI_H #define _CEC_UAPI_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cfm_bridge.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cfm_bridge.h index de9d0234..f4b40423 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cfm_bridge.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cfm_bridge.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CFM_BRIDGE_H_ #define _UAPI_LINUX_CFM_BRIDGE_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cgroupstats.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cgroupstats.h index 3d6a0376..343aed45 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cgroupstats.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cgroupstats.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_CGROUPSTATS_H #define _LINUX_CGROUPSTATS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/chio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/chio.h index 74f286f9..89be987b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/chio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/chio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CHIO_H #define _UAPI_LINUX_CHIO_H #define CHET_MT 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_mount.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_mount.h index 33f6fd68..0da3b94e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_mount.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_mount.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CIFS_MOUNT_H #define _CIFS_MOUNT_H #define CIFS_MAX_DOMAINNAME_LEN 256 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_netlink.h index 7286cfa8..a6da6fb8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cifs/cifs_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_CIFS_NETLINK_H #define _UAPILINUX_CIFS_NETLINK_H #define CIFS_GENL_NAME "cifs" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/close_range.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/close_range.h index 279e4bb9..58fc7153 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/close_range.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/close_range.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CLOSE_RANGE_H #define _UAPI_LINUX_CLOSE_RANGE_H #define CLOSE_RANGE_UNSHARE (1U << 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cn_proc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cn_proc.h index 411b7253..7ac0dd1c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cn_proc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cn_proc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPICN_PROC_H #define _UAPICN_PROC_H #include <linux/types.h> @@ -23,19 +11,26 @@ enum proc_cn_mcast_op { PROC_CN_MCAST_LISTEN = 1, PROC_CN_MCAST_IGNORE = 2 }; +#define PROC_EVENT_ALL (PROC_EVENT_FORK | PROC_EVENT_EXEC | PROC_EVENT_UID | PROC_EVENT_GID | PROC_EVENT_SID | PROC_EVENT_PTRACE | PROC_EVENT_COMM | PROC_EVENT_NONZERO_EXIT | PROC_EVENT_COREDUMP | PROC_EVENT_EXIT) +enum proc_cn_event { + PROC_EVENT_NONE = 0x00000000, + PROC_EVENT_FORK = 0x00000001, + PROC_EVENT_EXEC = 0x00000002, + PROC_EVENT_UID = 0x00000004, + PROC_EVENT_GID = 0x00000040, + PROC_EVENT_SID = 0x00000080, + PROC_EVENT_PTRACE = 0x00000100, + PROC_EVENT_COMM = 0x00000200, + PROC_EVENT_NONZERO_EXIT = 0x20000000, + PROC_EVENT_COREDUMP = 0x40000000, + PROC_EVENT_EXIT = 0x80000000 +}; +struct proc_input { + enum proc_cn_mcast_op mcast_op; + enum proc_cn_event event_type; +}; struct proc_event { - enum what { - PROC_EVENT_NONE = 0x00000000, - PROC_EVENT_FORK = 0x00000001, - PROC_EVENT_EXEC = 0x00000002, - PROC_EVENT_UID = 0x00000004, - PROC_EVENT_GID = 0x00000040, - PROC_EVENT_SID = 0x00000080, - PROC_EVENT_PTRACE = 0x00000100, - PROC_EVENT_COMM = 0x00000200, - PROC_EVENT_COREDUMP = 0x40000000, - PROC_EVENT_EXIT = 0x80000000 - } what; + enum proc_cn_event what; __u32 cpu; __u64 __attribute__((aligned(8))) timestamp_ns; union { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coda.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coda.h index 5795cdf1..b1e429b4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coda.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coda.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CODA_HEADER_ #define _UAPI_CODA_HEADER_ #if defined(__NetBSD__) || (defined(DJGPP) || defined(__CYGWIN32__)) && !defined(KERNEL) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coff.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coff.h index 8f93b610..6e329b21 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coff.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coff.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_COFF_H #define _UAPI_LINUX_COFF_H #define E_SYMNMLEN 8 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/comedi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/comedi.h index 465d1bfc..dedab348 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/comedi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/comedi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _COMEDI_H #define _COMEDI_H #define COMEDI_MAJORVERSION 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/connector.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/connector.h index e3891e37..12f5c830 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/connector.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/connector.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__CONNECTOR_H #define _UAPI__CONNECTOR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/const.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/const.h index c62a7029..c091f8df 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/const.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/const.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CONST_H #define _UAPI_LINUX_CONST_H #ifdef __ASSEMBLY__ @@ -30,7 +18,7 @@ #define _ULL(x) (_AC(x, ULL)) #define _BITUL(x) (_UL(1) << (x)) #define _BITULL(x) (_ULL(1) << (x)) -#define __ALIGN_KERNEL(x,a) __ALIGN_KERNEL_MASK(x, (typeof(x)) (a) - 1) +#define __ALIGN_KERNEL(x,a) __ALIGN_KERNEL_MASK(x, (__typeof__(x)) (a) - 1) #define __ALIGN_KERNEL_MASK(x,mask) (((x) + (mask)) & ~(mask)) #define __KERNEL_DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coresight-stm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coresight-stm.h index 86d80ca7..27d88cfd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coresight-stm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/coresight-stm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_CORESIGHT_STM_H_ #define __UAPI_CORESIGHT_STM_H_ #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/counter.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/counter.h index f986365e..5d6f01f8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/counter.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/counter.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_COUNTER_H_ #define _UAPI_COUNTER_H_ #include <linux/ioctl.h> @@ -71,6 +59,12 @@ enum counter_count_mode { COUNTER_COUNT_MODE_RANGE_LIMIT, COUNTER_COUNT_MODE_NON_RECYCLE, COUNTER_COUNT_MODE_MODULO_N, + COUNTER_COUNT_MODE_INTERRUPT_ON_TERMINAL_COUNT, + COUNTER_COUNT_MODE_HARDWARE_RETRIGGERABLE_ONESHOT, + COUNTER_COUNT_MODE_RATE_GENERATOR, + COUNTER_COUNT_MODE_SQUARE_WAVE_MODE, + COUNTER_COUNT_MODE_SOFTWARE_TRIGGERED_STROBE, + COUNTER_COUNT_MODE_HARDWARE_TRIGGERED_STROBE, }; enum counter_function { COUNTER_FUNCTION_INCREASE, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cramfs_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cramfs_fs.h index 88729148..77bacceb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cramfs_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cramfs_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__CRAMFS_H #define _UAPI__CRAMFS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cryptouser.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cryptouser.h index 1d145bd2..9ffab6d3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cryptouser.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cryptouser.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CRYPTOUSER_H #define _UAPI_LINUX_CRYPTOUSER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cuda.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cuda.h index 64393db1..3a99b9ec 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cuda.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cuda.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CUDA_H #define _UAPI_LINUX_CUDA_H #define CUDA_WARM_START 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cxl_mem.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cxl_mem.h index 5a0a34ef..a0088266 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cxl_mem.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cxl_mem.h @@ -1,39 +1,35 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_CXL_MEM_H_ #define _UAPI_CXL_MEM_H_ #include <linux/types.h> #define CXL_MEM_QUERY_COMMANDS _IOR(0xCE, 1, struct cxl_mem_query_commands) #define CXL_MEM_SEND_COMMAND _IOWR(0xCE, 2, struct cxl_send_command) -#define CXL_CMDS ___C(INVALID, "Invalid Command"), ___C(IDENTIFY, "Identify Command"), ___C(RAW, "Raw device command"), ___C(GET_SUPPORTED_LOGS, "Get Supported Logs"), ___C(GET_FW_INFO, "Get FW Info"), ___C(GET_PARTITION_INFO, "Get Partition Information"), ___C(GET_LSA, "Get Label Storage Area"), ___C(GET_HEALTH_INFO, "Get Health Info"), ___C(GET_LOG, "Get Log"), ___C(SET_PARTITION_INFO, "Set Partition Information"), ___C(SET_LSA, "Set Label Storage Area"), ___C(GET_ALERT_CONFIG, "Get Alert Configuration"), ___C(SET_ALERT_CONFIG, "Set Alert Configuration"), ___C(GET_SHUTDOWN_STATE, "Get Shutdown State"), ___C(SET_SHUTDOWN_STATE, "Set Shutdown State"), ___C(GET_POISON, "Get Poison List"), ___C(INJECT_POISON, "Inject Poison"), ___C(CLEAR_POISON, "Clear Poison"), ___C(GET_SCAN_MEDIA_CAPS, "Get Scan Media Capabilities"), ___C(SCAN_MEDIA, "Scan Media"), ___C(GET_SCAN_MEDIA, "Get Scan Media Results"), ___C(MAX, "invalid / last command") +#define CXL_CMDS ___C(INVALID, "Invalid Command"), ___C(IDENTIFY, "Identify Command"), ___C(RAW, "Raw device command"), ___C(GET_SUPPORTED_LOGS, "Get Supported Logs"), ___C(GET_FW_INFO, "Get FW Info"), ___C(GET_PARTITION_INFO, "Get Partition Information"), ___C(GET_LSA, "Get Label Storage Area"), ___C(GET_HEALTH_INFO, "Get Health Info"), ___C(GET_LOG, "Get Log"), ___C(SET_PARTITION_INFO, "Set Partition Information"), ___C(SET_LSA, "Set Label Storage Area"), ___C(GET_ALERT_CONFIG, "Get Alert Configuration"), ___C(SET_ALERT_CONFIG, "Set Alert Configuration"), ___C(GET_SHUTDOWN_STATE, "Get Shutdown State"), ___C(SET_SHUTDOWN_STATE, "Set Shutdown State"), ___DEPRECATED(GET_POISON, "Get Poison List"), ___DEPRECATED(INJECT_POISON, "Inject Poison"), ___DEPRECATED(CLEAR_POISON, "Clear Poison"), ___C(GET_SCAN_MEDIA_CAPS, "Get Scan Media Capabilities"), ___DEPRECATED(SCAN_MEDIA, "Scan Media"), ___DEPRECATED(GET_SCAN_MEDIA, "Get Scan Media Results"), ___C(MAX, "invalid / last command") #define ___C(a,b) CXL_MEM_COMMAND_ID_ ##a +#define ___DEPRECATED(a,b) CXL_MEM_DEPRECATED_ID_ ##a enum { CXL_CMDS }; #undef ___C +#undef ___DEPRECATED #define ___C(a,b) { b } +#define ___DEPRECATED(a,b) { "Deprecated " b } static const struct { const char * name; } cxl_command_names[] __attribute__((__unused__)) = { CXL_CMDS }; #undef ___C +#undef ___DEPRECATED +#define ___C(a,b) (0) +#define ___DEPRECATED(a,b) (1) +#undef ___C +#undef ___DEPRECATED struct cxl_command_info { __u32 id; __u32 flags; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cyclades.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cyclades.h index c0aa7aa0..85f5a24d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cyclades.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cyclades.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_CYCLADES_H #define _UAPI_LINUX_CYCLADES_H #warning "Support for features provided by this header has been removed" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cycx_cfm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cycx_cfm.h index 230b58db..799e5ee2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cycx_cfm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/cycx_cfm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CYCX_CFM_H #define _CYCX_CFM_H #define CFM_VERSION 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dcbnl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dcbnl.h index b2fec7b9..90e05147 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dcbnl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dcbnl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_DCBNL_H__ #define __LINUX_DCBNL_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dccp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dccp.h index 9ed840d9..b4f03ccd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dccp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dccp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_DCCP_H #define _UAPI_LINUX_DCCP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/devlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/devlink.h index b7705c3c..bc44a70f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/devlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/devlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_DEVLINK_H_ #define _UAPI_LINUX_DEVLINK_H_ #include <linux/const.h> @@ -181,7 +169,7 @@ enum { __DEVLINK_ATTR_STATS_MAX, DEVLINK_ATTR_STATS_MAX = __DEVLINK_ATTR_STATS_MAX - 1 }; -enum { +enum devlink_flash_overwrite { DEVLINK_FLASH_OVERWRITE_SETTINGS_BIT, DEVLINK_FLASH_OVERWRITE_IDENTIFIERS_BIT, __DEVLINK_FLASH_OVERWRITE_MAX_BIT, @@ -462,16 +450,21 @@ enum devlink_resource_unit { enum devlink_port_fn_attr_cap { DEVLINK_PORT_FN_ATTR_CAP_ROCE_BIT, DEVLINK_PORT_FN_ATTR_CAP_MIGRATABLE_BIT, + DEVLINK_PORT_FN_ATTR_CAP_IPSEC_CRYPTO_BIT, + DEVLINK_PORT_FN_ATTR_CAP_IPSEC_PACKET_BIT, __DEVLINK_PORT_FN_ATTR_CAPS_MAX, }; #define DEVLINK_PORT_FN_CAP_ROCE _BITUL(DEVLINK_PORT_FN_ATTR_CAP_ROCE_BIT) #define DEVLINK_PORT_FN_CAP_MIGRATABLE _BITUL(DEVLINK_PORT_FN_ATTR_CAP_MIGRATABLE_BIT) +#define DEVLINK_PORT_FN_CAP_IPSEC_CRYPTO _BITUL(DEVLINK_PORT_FN_ATTR_CAP_IPSEC_CRYPTO_BIT) +#define DEVLINK_PORT_FN_CAP_IPSEC_PACKET _BITUL(DEVLINK_PORT_FN_ATTR_CAP_IPSEC_PACKET_BIT) enum devlink_port_function_attr { DEVLINK_PORT_FUNCTION_ATTR_UNSPEC, DEVLINK_PORT_FUNCTION_ATTR_HW_ADDR, DEVLINK_PORT_FN_ATTR_STATE, DEVLINK_PORT_FN_ATTR_OPSTATE, DEVLINK_PORT_FN_ATTR_CAPS, + DEVLINK_PORT_FN_ATTR_DEVLINK, __DEVLINK_PORT_FUNCTION_ATTR_MAX, DEVLINK_PORT_FUNCTION_ATTR_MAX = __DEVLINK_PORT_FUNCTION_ATTR_MAX - 1 }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm.h index 499baada..3c73908f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__DLM_DOT_H__ #define _UAPI__DLM_DOT_H__ #include <linux/dlmconstants.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_device.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_device.h index e1b0c6d7..5189f1d3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_device.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_device.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_DLM_DEVICE_H #define _LINUX_DLM_DEVICE_H #include <linux/dlm.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_plock.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_plock.h index 332397bf..23726d89 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_plock.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlm_plock.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__DLM_PLOCK_DOT_H__ #define _UAPI__DLM_PLOCK_DOT_H__ #include <linux/types.h> @@ -27,6 +15,7 @@ enum { DLM_PLOCK_OP_LOCK = 1, DLM_PLOCK_OP_UNLOCK, DLM_PLOCK_OP_GET, + DLM_PLOCK_OP_CANCEL, }; #define DLM_PLOCK_FL_CLOSE 1 struct dlm_plock_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlmconstants.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlmconstants.h index e1b1cb54..766d1f8c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlmconstants.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dlmconstants.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __DLMCONSTANTS_DOT_H__ #define __DLMCONSTANTS_DOT_H__ #define DLM_LOCKSPACE_LEN 64 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-ioctl.h index f0ff78ca..f24b4410 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_DM_IOCTL_V4_H #define _LINUX_DM_IOCTL_V4_H #include <linux/types.h> @@ -106,9 +94,9 @@ enum { #define DM_TARGET_MSG _IOWR(DM_IOCTL, DM_TARGET_MSG_CMD, struct dm_ioctl) #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl) #define DM_VERSION_MAJOR 4 -#define DM_VERSION_MINOR 47 +#define DM_VERSION_MINOR 48 #define DM_VERSION_PATCHLEVEL 0 -#define DM_VERSION_EXTRA "-ioctl(2022-07-28)" +#define DM_VERSION_EXTRA "-ioctl(2023-03-01)" #define DM_READONLY_FLAG (1 << 0) #define DM_SUSPEND_FLAG (1 << 1) #define DM_PERSISTENT_DEV_FLAG (1 << 3) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-log-userspace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-log-userspace.h index 37feee6f..22fee6fd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-log-userspace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-log-userspace.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __DM_LOG_USERSPACE_H__ #define __DM_LOG_USERSPACE_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-user.h index 39624c81..65aa6b17 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dm-user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_DM_USER_H #define _LINUX_DM_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-buf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-buf.h index 7462c158..5511a4ea 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-buf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-buf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DMA_BUF_UAPI_H_ #define _DMA_BUF_UAPI_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-heap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-heap.h index a2746e3f..467e336a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-heap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dma-heap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_DMABUF_POOL_H #define _UAPI_LINUX_DMABUF_POOL_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dns_resolver.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dns_resolver.h index e7113d0b..cd9df83e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dns_resolver.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dns_resolver.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_DNS_RESOLVER_H #define _UAPI_LINUX_DNS_RESOLVER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dpll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dpll.h new file mode 100644 index 00000000..9b5f37dd --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dpll.h @@ -0,0 +1,121 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_DPLL_H +#define _UAPI_LINUX_DPLL_H +#define DPLL_FAMILY_NAME "dpll" +#define DPLL_FAMILY_VERSION 1 +enum dpll_mode { + DPLL_MODE_MANUAL = 1, + DPLL_MODE_AUTOMATIC, + __DPLL_MODE_MAX, + DPLL_MODE_MAX = (__DPLL_MODE_MAX - 1) +}; +enum dpll_lock_status { + DPLL_LOCK_STATUS_UNLOCKED = 1, + DPLL_LOCK_STATUS_LOCKED, + DPLL_LOCK_STATUS_LOCKED_HO_ACQ, + DPLL_LOCK_STATUS_HOLDOVER, + __DPLL_LOCK_STATUS_MAX, + DPLL_LOCK_STATUS_MAX = (__DPLL_LOCK_STATUS_MAX - 1) +}; +#define DPLL_TEMP_DIVIDER 1000 +enum dpll_type { + DPLL_TYPE_PPS = 1, + DPLL_TYPE_EEC, + __DPLL_TYPE_MAX, + DPLL_TYPE_MAX = (__DPLL_TYPE_MAX - 1) +}; +enum dpll_pin_type { + DPLL_PIN_TYPE_MUX = 1, + DPLL_PIN_TYPE_EXT, + DPLL_PIN_TYPE_SYNCE_ETH_PORT, + DPLL_PIN_TYPE_INT_OSCILLATOR, + DPLL_PIN_TYPE_GNSS, + __DPLL_PIN_TYPE_MAX, + DPLL_PIN_TYPE_MAX = (__DPLL_PIN_TYPE_MAX - 1) +}; +enum dpll_pin_direction { + DPLL_PIN_DIRECTION_INPUT = 1, + DPLL_PIN_DIRECTION_OUTPUT, + __DPLL_PIN_DIRECTION_MAX, + DPLL_PIN_DIRECTION_MAX = (__DPLL_PIN_DIRECTION_MAX - 1) +}; +#define DPLL_PIN_FREQUENCY_1_HZ 1 +#define DPLL_PIN_FREQUENCY_10_KHZ 10000 +#define DPLL_PIN_FREQUENCY_77_5_KHZ 77500 +#define DPLL_PIN_FREQUENCY_10_MHZ 10000000 +enum dpll_pin_state { + DPLL_PIN_STATE_CONNECTED = 1, + DPLL_PIN_STATE_DISCONNECTED, + DPLL_PIN_STATE_SELECTABLE, + __DPLL_PIN_STATE_MAX, + DPLL_PIN_STATE_MAX = (__DPLL_PIN_STATE_MAX - 1) +}; +enum dpll_pin_capabilities { + DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE = 1, + DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHANGE = 2, + DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE = 4, +}; +#define DPLL_PHASE_OFFSET_DIVIDER 1000 +enum dpll_a { + DPLL_A_ID = 1, + DPLL_A_MODULE_NAME, + DPLL_A_PAD, + DPLL_A_CLOCK_ID, + DPLL_A_MODE, + DPLL_A_MODE_SUPPORTED, + DPLL_A_LOCK_STATUS, + DPLL_A_TEMP, + DPLL_A_TYPE, + __DPLL_A_MAX, + DPLL_A_MAX = (__DPLL_A_MAX - 1) +}; +enum dpll_a_pin { + DPLL_A_PIN_ID = 1, + DPLL_A_PIN_PARENT_ID, + DPLL_A_PIN_MODULE_NAME, + DPLL_A_PIN_PAD, + DPLL_A_PIN_CLOCK_ID, + DPLL_A_PIN_BOARD_LABEL, + DPLL_A_PIN_PANEL_LABEL, + DPLL_A_PIN_PACKAGE_LABEL, + DPLL_A_PIN_TYPE, + DPLL_A_PIN_DIRECTION, + DPLL_A_PIN_FREQUENCY, + DPLL_A_PIN_FREQUENCY_SUPPORTED, + DPLL_A_PIN_FREQUENCY_MIN, + DPLL_A_PIN_FREQUENCY_MAX, + DPLL_A_PIN_PRIO, + DPLL_A_PIN_STATE, + DPLL_A_PIN_CAPABILITIES, + DPLL_A_PIN_PARENT_DEVICE, + DPLL_A_PIN_PARENT_PIN, + DPLL_A_PIN_PHASE_ADJUST_MIN, + DPLL_A_PIN_PHASE_ADJUST_MAX, + DPLL_A_PIN_PHASE_ADJUST, + DPLL_A_PIN_PHASE_OFFSET, + __DPLL_A_PIN_MAX, + DPLL_A_PIN_MAX = (__DPLL_A_PIN_MAX - 1) +}; +enum dpll_cmd { + DPLL_CMD_DEVICE_ID_GET = 1, + DPLL_CMD_DEVICE_GET, + DPLL_CMD_DEVICE_SET, + DPLL_CMD_DEVICE_CREATE_NTF, + DPLL_CMD_DEVICE_DELETE_NTF, + DPLL_CMD_DEVICE_CHANGE_NTF, + DPLL_CMD_PIN_ID_GET, + DPLL_CMD_PIN_GET, + DPLL_CMD_PIN_SET, + DPLL_CMD_PIN_CREATE_NTF, + DPLL_CMD_PIN_DELETE_NTF, + DPLL_CMD_PIN_CHANGE_NTF, + __DPLL_CMD_MAX, + DPLL_CMD_MAX = (__DPLL_CMD_MAX - 1) +}; +#define DPLL_MCGRP_MONITOR "monitor" +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dqblk_xfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dqblk_xfs.h index 6164991e..aba6debd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dqblk_xfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dqblk_xfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_DQBLK_XFS_H #define _LINUX_DQBLK_XFS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/audio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/audio.h index 0a527c10..30e4e0fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/audio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/audio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DVBAUDIO_H_ #define _DVBAUDIO_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/ca.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/ca.h index fa977c7b..d1c2573c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/ca.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/ca.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DVBCA_H_ #define _DVBCA_H_ struct ca_slot_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/dmx.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/dmx.h index e142e575..32463218 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/dmx.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/dmx.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_DVBDMX_H_ #define _UAPI_DVBDMX_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/frontend.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/frontend.h index 2ea7d9dd..64e2cae9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/frontend.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/frontend.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DVBFRONTEND_H_ #define _DVBFRONTEND_H_ #include <linux/types.h> @@ -138,6 +126,10 @@ enum fe_code_rate { FEC_28_45, FEC_32_45, FEC_77_90, + FEC_11_45, + FEC_4_15, + FEC_14_45, + FEC_7_15, }; enum fe_modulation { QPSK, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/net.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/net.h index 4809e643..5b702588 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/net.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/net.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DVBNET_H_ #define _DVBNET_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/osd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/osd.h index 379294ed..9cf8bf54 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/osd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/osd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DVBOSD_H_ #define _DVBOSD_H_ #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/version.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/version.h index 47c8c744..2f37de03 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/version.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/version.h @@ -1,23 +1,11 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _DVBVERSION_H_ #define _DVBVERSION_H_ #define DVB_API_VERSION 5 -#define DVB_API_VERSION_MINOR 11 +#define DVB_API_VERSION_MINOR 12 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/video.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/video.h index 24587666..bf14e0a2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/video.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dvb/video.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_DVBVIDEO_H_ #define _UAPI_DVBVIDEO_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dw100.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dw100.h index 13d84872..211942fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dw100.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/dw100.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_DW100_H__ #define __UAPI_DW100_H__ #include <linux/v4l2-controls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/edd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/edd.h index cc6e9736..f538849e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/edd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/edd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_EDD_H #define _UAPI_LINUX_EDD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/efs_fs_sb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/efs_fs_sb.h index 9b861c8c..160b534d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/efs_fs_sb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/efs_fs_sb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __EFS_FS_SB_H__ #define __EFS_FS_SB_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-em.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-em.h index 92da93d1..4847c3fa 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-em.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-em.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ELF_EM_H #define _LINUX_ELF_EM_H #define EM_NONE 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-fdpic.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-fdpic.h index 4e81292b..8f8274f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-fdpic.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf-fdpic.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ELF_FDPIC_H #define _UAPI_LINUX_ELF_FDPIC_H #include <linux/elf.h> @@ -31,4 +19,15 @@ struct elf32_fdpic_loadmap { struct elf32_fdpic_loadseg segs[]; }; #define ELF32_FDPIC_LOADMAP_VERSION 0x0000 +struct elf64_fdpic_loadseg { + Elf64_Addr addr; + Elf64_Addr p_vaddr; + Elf64_Word p_memsz; +}; +struct elf64_fdpic_loadmap { + Elf64_Half version; + Elf64_Half nsegs; + struct elf64_fdpic_loadseg segs[]; +}; +#define ELF64_FDPIC_LOADMAP_VERSION 0x0000 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf.h index e4901d15..c545fdfc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/elf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ELF_H #define _UAPI_LINUX_ELF_H #include <linux/types.h> @@ -117,7 +105,7 @@ typedef __s64 Elf64_Sxword; #define ELF32_ST_TYPE(x) ELF_ST_TYPE(x) #define ELF64_ST_BIND(x) ELF_ST_BIND(x) #define ELF64_ST_TYPE(x) ELF_ST_TYPE(x) -typedef struct dynamic { +typedef struct { Elf32_Sword d_tag; union { Elf32_Sword d_val; @@ -335,9 +323,12 @@ typedef struct elf64_shdr { #define NT_PPC_TM_CPPR 0x10e #define NT_PPC_TM_CDSCR 0x10f #define NT_PPC_PKEY 0x110 +#define NT_PPC_DEXCR 0x111 +#define NT_PPC_HASHKEYR 0x112 #define NT_386_TLS 0x200 #define NT_386_IOPERM 0x201 #define NT_X86_XSTATE 0x202 +#define NT_X86_SHSTK 0x204 #define NT_S390_HIGH_GPRS 0x300 #define NT_S390_TIMER 0x301 #define NT_S390_TODCMP 0x302 @@ -372,6 +363,8 @@ typedef struct elf64_shdr { #define NT_MIPS_DSP 0x800 #define NT_MIPS_FP_MODE 0x801 #define NT_MIPS_MSA 0x802 +#define NT_RISCV_CSR 0x900 +#define NT_RISCV_VECTOR 0x901 #define NT_LOONGARCH_CPUCFG 0xa00 #define NT_LOONGARCH_CSR 0xa01 #define NT_LOONGARCH_LSX 0xa02 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errno.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errno.h index 01399c57..3083c422 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errno.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errno.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errqueue.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errqueue.h index e93bad29..790ae1e3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errqueue.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/errqueue.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ERRQUEUE_H #define _UAPI_LINUX_ERRQUEUE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/erspan.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/erspan.h index 790a85e4..c906281f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/erspan.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/erspan.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ERSPAN_H #define _UAPI_ERSPAN_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool.h index eec750d3..0d166afe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ETHTOOL_H #define _UAPI_LINUX_ETHTOOL_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool_netlink.h index f1ef8968..c5012d24 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ethtool_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ETHTOOL_NETLINK_H_ #define _UAPI_LINUX_ETHTOOL_NETLINK_H_ #include <linux/ethtool.h> @@ -277,6 +265,8 @@ enum { ETHTOOL_A_RINGS_CQE_SIZE, ETHTOOL_A_RINGS_TX_PUSH, ETHTOOL_A_RINGS_RX_PUSH, + ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN, + ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX, __ETHTOOL_A_RINGS_CNT, ETHTOOL_A_RINGS_MAX = (__ETHTOOL_A_RINGS_CNT - 1) }; @@ -576,7 +566,7 @@ enum { ETHTOOL_A_STATS_GRP_HIST_BKT_HI, ETHTOOL_A_STATS_GRP_HIST_VAL, __ETHTOOL_A_STATS_GRP_CNT, - ETHTOOL_A_STATS_GRP_MAX = (__ETHTOOL_A_STATS_CNT - 1) + ETHTOOL_A_STATS_GRP_MAX = (__ETHTOOL_A_STATS_GRP_CNT - 1) }; enum { ETHTOOL_A_STATS_ETH_PHY_5_SYM_ERR, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventfd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventfd.h new file mode 100644 index 00000000..366df87e --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventfd.h @@ -0,0 +1,13 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_EVENTFD_H +#define _UAPI_LINUX_EVENTFD_H +#include <linux/fcntl.h> +#define EFD_SEMAPHORE (1 << 0) +#define EFD_CLOEXEC O_CLOEXEC +#define EFD_NONBLOCK O_NONBLOCK +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventpoll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventpoll.h index de4c1f1c..3468658a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventpoll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/eventpoll.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_EVENTPOLL_H #define _UAPI_LINUX_EVENTPOLL_H #include <bits/epoll_event.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ext4.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ext4.h new file mode 100644 index 00000000..d9028060 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ext4.h @@ -0,0 +1,76 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_EXT4_H +#define _UAPI_LINUX_EXT4_H +#include <linux/fiemap.h> +#include <linux/fs.h> +#include <linux/ioctl.h> +#include <linux/types.h> +#define EXT4_IOC_GETVERSION _IOR('f', 3, long) +#define EXT4_IOC_SETVERSION _IOW('f', 4, long) +#define EXT4_IOC_GETVERSION_OLD FS_IOC_GETVERSION +#define EXT4_IOC_SETVERSION_OLD FS_IOC_SETVERSION +#define EXT4_IOC_GETRSVSZ _IOR('f', 5, long) +#define EXT4_IOC_SETRSVSZ _IOW('f', 6, long) +#define EXT4_IOC_GROUP_EXTEND _IOW('f', 7, unsigned long) +#define EXT4_IOC_GROUP_ADD _IOW('f', 8, struct ext4_new_group_input) +#define EXT4_IOC_MIGRATE _IO('f', 9) +#define EXT4_IOC_ALLOC_DA_BLKS _IO('f', 12) +#define EXT4_IOC_MOVE_EXT _IOWR('f', 15, struct move_extent) +#define EXT4_IOC_RESIZE_FS _IOW('f', 16, __u64) +#define EXT4_IOC_SWAP_BOOT _IO('f', 17) +#define EXT4_IOC_PRECACHE_EXTENTS _IO('f', 18) +#define EXT4_IOC_CLEAR_ES_CACHE _IO('f', 40) +#define EXT4_IOC_GETSTATE _IOW('f', 41, __u32) +#define EXT4_IOC_GET_ES_CACHE _IOWR('f', 42, struct fiemap) +#define EXT4_IOC_CHECKPOINT _IOW('f', 43, __u32) +#define EXT4_IOC_GETFSUUID _IOR('f', 44, struct fsuuid) +#define EXT4_IOC_SETFSUUID _IOW('f', 44, struct fsuuid) +#define EXT4_IOC_SHUTDOWN _IOR('X', 125, __u32) +#define EXT4_IOC32_GETVERSION _IOR('f', 3, int) +#define EXT4_IOC32_SETVERSION _IOW('f', 4, int) +#define EXT4_IOC32_GETRSVSZ _IOR('f', 5, int) +#define EXT4_IOC32_SETRSVSZ _IOW('f', 6, int) +#define EXT4_IOC32_GROUP_EXTEND _IOW('f', 7, unsigned int) +#define EXT4_IOC32_GROUP_ADD _IOW('f', 8, struct compat_ext4_new_group_input) +#define EXT4_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION +#define EXT4_IOC32_SETVERSION_OLD FS_IOC32_SETVERSION +#define EXT4_STATE_FLAG_EXT_PRECACHED 0x00000001 +#define EXT4_STATE_FLAG_NEW 0x00000002 +#define EXT4_STATE_FLAG_NEWENTRY 0x00000004 +#define EXT4_STATE_FLAG_DA_ALLOC_CLOSE 0x00000008 +#define EXT4_IOC_CHECKPOINT_FLAG_DISCARD 0x1 +#define EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT 0x2 +#define EXT4_IOC_CHECKPOINT_FLAG_DRY_RUN 0x4 +#define EXT4_IOC_CHECKPOINT_FLAG_VALID (EXT4_IOC_CHECKPOINT_FLAG_DISCARD | EXT4_IOC_CHECKPOINT_FLAG_ZEROOUT | EXT4_IOC_CHECKPOINT_FLAG_DRY_RUN) +struct fsuuid { + __u32 fsu_len; + __u32 fsu_flags; + __u8 fsu_uuid[]; +}; +struct move_extent { + __u32 reserved; + __u32 donor_fd; + __u64 orig_start; + __u64 donor_start; + __u64 len; + __u64 moved_len; +}; +#define EXT4_GOING_FLAGS_DEFAULT 0x0 +#define EXT4_GOING_FLAGS_LOGFLUSH 0x1 +#define EXT4_GOING_FLAGS_NOLOGFLUSH 0x2 +struct ext4_new_group_input { + __u32 group; + __u64 block_bitmap; + __u64 inode_bitmap; + __u64 inode_table; + __u32 blocks_count; + __u16 reserved_blocks; + __u16 unused; +}; +#define EXT4_FIEMAP_EXTENT_HOLE 0x08000000 +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/f2fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/f2fs.h index 7c9629ae..c4c8a655 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/f2fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/f2fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_F2FS_H #define _UAPI_LINUX_F2FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fadvise.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fadvise.h index 21d884cd..19d6370e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fadvise.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fadvise.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef FADVISE_H_INCLUDED #define FADVISE_H_INCLUDED #define POSIX_FADV_NORMAL 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/falloc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/falloc.h index 7015b03c..cca488ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/falloc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/falloc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_FALLOC_H_ #define _UAPI_FALLOC_H_ #define FALLOC_FL_KEEP_SIZE 0x01 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fanotify.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fanotify.h index f9551a81..8a5a4f0a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fanotify.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fanotify.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FANOTIFY_H #define _UAPI_LINUX_FANOTIFY_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fb.h index a0ef0c40..fda2b05a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FB_H #define _UAPI_LINUX_FB_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fcntl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fcntl.h index 05393d5d..0e5c84d4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fcntl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fcntl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FCNTL_H #define _UAPI_LINUX_FCNTL_H #include <asm/fcntl.h> @@ -65,4 +53,5 @@ #define AT_STATX_FORCE_SYNC 0x2000 #define AT_STATX_DONT_SYNC 0x4000 #define AT_RECURSIVE 0x8000 +#define AT_HANDLE_FID AT_REMOVEDIR #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fd.h index dc1d4446..352620d3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FD_H #define _UAPI_LINUX_FD_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fdreg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fdreg.h index 2aeaf9a8..276f6483 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fdreg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fdreg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_FDREG_H #define _LINUX_FDREG_H #define FD_SRA 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fib_rules.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fib_rules.h index 733c1b1a..ee9cabcd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fib_rules.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fib_rules.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_FIB_RULES_H #define __LINUX_FIB_RULES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fiemap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fiemap.h index a67a5fe3..314a0b17 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fiemap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fiemap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FIEMAP_H #define _UAPI_LINUX_FIEMAP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/filter.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/filter.h index 57fe2fbe..f46b716a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/filter.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/filter.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_FILTER_H__ #define _UAPI__LINUX_FILTER_H__ #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-cdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-cdev.h index a54191ca..cb576b2a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-cdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-cdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_FIREWIRE_CDEV_H #define _LINUX_FIREWIRE_CDEV_H #include <linux/ioctl.h> @@ -31,6 +19,10 @@ #define FW_CDEV_EVENT_PHY_PACKET_SENT 0x07 #define FW_CDEV_EVENT_PHY_PACKET_RECEIVED 0x08 #define FW_CDEV_EVENT_ISO_INTERRUPT_MULTICHANNEL 0x09 +#define FW_CDEV_EVENT_REQUEST3 0x0a +#define FW_CDEV_EVENT_RESPONSE2 0x0b +#define FW_CDEV_EVENT_PHY_PACKET_SENT2 0x0c +#define FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 0x0d struct fw_cdev_event_common { __u64 closure; __u32 type; @@ -52,6 +44,16 @@ struct fw_cdev_event_response { __u32 length; __u32 data[]; }; +struct fw_cdev_event_response2 { + __u64 closure; + __u32 type; + __u32 rcode; + __u32 length; + __u32 request_tstamp; + __u32 response_tstamp; + __u32 padding; + __u32 data[]; +}; struct fw_cdev_event_request { __u64 closure; __u32 type; @@ -74,6 +76,21 @@ struct fw_cdev_event_request2 { __u32 length; __u32 data[]; }; +struct fw_cdev_event_request3 { + __u64 closure; + __u32 type; + __u32 tcode; + __u64 offset; + __u32 source_node_id; + __u32 destination_node_id; + __u32 card; + __u32 generation; + __u32 handle; + __u32 length; + __u32 tstamp; + __u32 padding; + __u32 data[]; +}; struct fw_cdev_event_iso_interrupt { __u64 closure; __u32 type; @@ -100,6 +117,14 @@ struct fw_cdev_event_phy_packet { __u32 length; __u32 data[]; }; +struct fw_cdev_event_phy_packet2 { + __u64 closure; + __u32 type; + __u32 rcode; + __u32 length; + __u32 tstamp; + __u32 data[]; +}; union fw_cdev_event { struct fw_cdev_event_common common; struct fw_cdev_event_bus_reset bus_reset; @@ -110,6 +135,9 @@ union fw_cdev_event { struct fw_cdev_event_iso_interrupt_mc iso_interrupt_mc; struct fw_cdev_event_iso_resource iso_resource; struct fw_cdev_event_phy_packet phy_packet; + struct fw_cdev_event_request3 request3; + struct fw_cdev_event_response2 response2; + struct fw_cdev_event_phy_packet2 phy_packet2; }; #define FW_CDEV_IOC_GET_INFO _IOWR('#', 0x00, struct fw_cdev_get_info) #define FW_CDEV_IOC_SEND_REQUEST _IOW('#', 0x01, struct fw_cdev_send_request) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-constants.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-constants.h index b5998520..e00cdd3f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-constants.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/firewire-constants.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_FIREWIRE_CONSTANTS_H #define _LINUX_FIREWIRE_CONSTANTS_H #define TCODE_WRITE_QUADLET_REQUEST 0x0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fou.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fou.h index 7b06cff0..c473ed7d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fou.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fou.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FOU_H #define _UAPI_LINUX_FOU_H #define FOU_GENL_NAME "fou" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fpga-dfl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fpga-dfl.h index 54b93d00..b52de35e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fpga-dfl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fpga-dfl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FPGA_DFL_H #define _UAPI_LINUX_FPGA_DFL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fs.h index b8bfaacf..9288653d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FS_H #define _UAPI_LINUX_FS_H #include <linux/limits.h> @@ -196,4 +184,33 @@ typedef int __bitwise __kernel_rwf_t; #define RWF_NOWAIT (( __kernel_rwf_t) 0x00000008) #define RWF_APPEND (( __kernel_rwf_t) 0x00000010) #define RWF_SUPPORTED (RWF_HIPRI | RWF_DSYNC | RWF_SYNC | RWF_NOWAIT | RWF_APPEND) +#define PAGEMAP_SCAN _IOWR('f', 16, struct pm_scan_arg) +#define PAGE_IS_WPALLOWED (1 << 0) +#define PAGE_IS_WRITTEN (1 << 1) +#define PAGE_IS_FILE (1 << 2) +#define PAGE_IS_PRESENT (1 << 3) +#define PAGE_IS_SWAPPED (1 << 4) +#define PAGE_IS_PFNZERO (1 << 5) +#define PAGE_IS_HUGE (1 << 6) +struct page_region { + __u64 start; + __u64 end; + __u64 categories; +}; +#define PM_SCAN_WP_MATCHING (1 << 0) +#define PM_SCAN_CHECK_WPASYNC (1 << 1) +struct pm_scan_arg { + __u64 size; + __u64 flags; + __u64 start; + __u64 end; + __u64 walk_end; + __u64 vec; + __u64 vec_len; + __u64 max_pages; + __u64 category_inverted; + __u64 category_mask; + __u64 category_anyof_mask; + __u64 return_mask; +}; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fscrypt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fscrypt.h index 9efafaeb..9a53f4cb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fscrypt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fscrypt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FSCRYPT_H #define _UAPI_LINUX_FSCRYPT_H #include <linux/ioctl.h> @@ -60,7 +48,8 @@ struct fscrypt_policy_v2 { __u8 contents_encryption_mode; __u8 filenames_encryption_mode; __u8 flags; - __u8 __reserved[4]; + __u8 log2_data_unit_size; + __u8 __reserved[3]; __u8 master_key_identifier[FSCRYPT_KEY_IDENTIFIER_SIZE]; }; struct fscrypt_get_policy_ex_arg { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsi.h index b080c212..2c28cf26 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FSI_H #define _UAPI_LINUX_FSI_H #include <linux/types.h> @@ -48,5 +36,6 @@ struct scom_access { #define FSI_SCOM_READ _IOWR('s', 0x01, struct scom_access) #define FSI_SCOM_WRITE _IOWR('s', 0x02, struct scom_access) #define FSI_SCOM_RESET _IOW('s', 0x03, __u32) +#define FSI_SBEFIFO_CMD_TIMEOUT_SECONDS _IOW('s', 0x01, __u32) #define FSI_SBEFIFO_READ_TIMEOUT_SECONDS _IOW('s', 0x00, __u32) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_hypervisor.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_hypervisor.h index 7d009739..a207fc77 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_hypervisor.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_hypervisor.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPIFSL_HYPERVISOR_H #define _UAPIFSL_HYPERVISOR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_mc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_mc.h index 721da936..7baa9325 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_mc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsl_mc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_FSL_MC_H_ #define _UAPI_FSL_MC_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsmap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsmap.h index fcfea79e..e5e6a317 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsmap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsmap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_FSMAP_H #define _LINUX_FSMAP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsverity.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsverity.h index ff1603cb..395d9831 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsverity.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fsverity.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FSVERITY_H #define _UAPI_LINUX_FSVERITY_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fuse.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fuse.h index c3668e75..8a7d37fe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fuse.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/fuse.h @@ -1,26 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_FUSE_H #define _LINUX_FUSE_H #include <stdint.h> #define FUSE_KERNEL_VERSION 7 -#define FUSE_KERNEL_MINOR_VERSION 38 +#define FUSE_KERNEL_MINOR_VERSION 39 #define FUSE_ROOT_ID 1 struct fuse_attr { uint64_t ino; @@ -40,6 +28,34 @@ struct fuse_attr { uint32_t blksize; uint32_t flags; }; +struct fuse_sx_time { + int64_t tv_sec; + uint32_t tv_nsec; + int32_t __reserved; +}; +struct fuse_statx { + uint32_t mask; + uint32_t blksize; + uint64_t attributes; + uint32_t nlink; + uint32_t uid; + uint32_t gid; + uint16_t mode; + uint16_t __spare0[1]; + uint64_t ino; + uint64_t size; + uint64_t blocks; + uint64_t attributes_mask; + struct fuse_sx_time atime; + struct fuse_sx_time btime; + struct fuse_sx_time ctime; + struct fuse_sx_time mtime; + uint32_t rdev_major; + uint32_t rdev_minor; + uint32_t dev_major; + uint32_t dev_minor; + uint64_t __spare2[14]; +}; struct fuse_kstatfs { uint64_t blocks; uint64_t bfree; @@ -112,6 +128,9 @@ struct fuse_file_lock { #define FUSE_SECURITY_CTX (1ULL << 32) #define FUSE_HAS_INODE_DAX (1ULL << 33) #define FUSE_CREATE_SUPP_GROUP (1ULL << 34) +#define FUSE_HAS_EXPIRE_ONLY (1ULL << 35) +#define FUSE_DIRECT_IO_ALLOW_MMAP (1ULL << 36) +#define FUSE_DIRECT_IO_RELAX FUSE_DIRECT_IO_ALLOW_MMAP #if FUSE_KERNEL_VERSION > 7 || FUSE_KERNEL_VERSION == 7 && FUSE_KERNEL_MINOR_VERSION >= 36 #define FUSE_PASSTHROUGH (1ULL << 63) #else @@ -195,6 +214,7 @@ enum fuse_opcode { FUSE_REMOVEMAPPING = 49, FUSE_SYNCFS = 50, FUSE_TMPFILE = 51, + FUSE_STATX = 52, FUSE_CANONICAL_PATH = 2016, CUSE_INIT = 4096, CUSE_INIT_BSWAP_RESERVED = 1048576, @@ -243,6 +263,20 @@ struct fuse_attr_out { uint32_t dummy; struct fuse_attr attr; }; +struct fuse_statx_in { + uint32_t getattr_flags; + uint32_t reserved; + uint64_t fh; + uint32_t sx_flags; + uint32_t sx_mask; +}; +struct fuse_statx_out { + uint64_t attr_valid; + uint32_t attr_valid_nsec; + uint32_t flags; + uint64_t spare[2]; + struct fuse_statx stat; +}; #define FUSE_COMPAT_MKNOD_IN_SIZE 8 struct fuse_mknod_in { uint32_t mode; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/futex.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/futex.h index 8d1a2a45..32c9d284 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/futex.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/futex.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_FUTEX_H #define _UAPI_LINUX_FUTEX_H #include <linux/compiler.h> @@ -50,7 +38,14 @@ #define FUTEX_WAKE_BITSET_PRIVATE (FUTEX_WAKE_BITSET | FUTEX_PRIVATE_FLAG) #define FUTEX_WAIT_REQUEUE_PI_PRIVATE (FUTEX_WAIT_REQUEUE_PI | FUTEX_PRIVATE_FLAG) #define FUTEX_CMP_REQUEUE_PI_PRIVATE (FUTEX_CMP_REQUEUE_PI | FUTEX_PRIVATE_FLAG) -#define FUTEX_32 2 +#define FUTEX2_SIZE_U8 0x00 +#define FUTEX2_SIZE_U16 0x01 +#define FUTEX2_SIZE_U32 0x02 +#define FUTEX2_SIZE_U64 0x03 +#define FUTEX2_NUMA 0x04 +#define FUTEX2_PRIVATE FUTEX_PRIVATE_FLAG +#define FUTEX2_SIZE_MASK 0x03 +#define FUTEX_32 FUTEX2_SIZE_U32 #define FUTEX_WAITV_MAX 128 struct futex_waitv { __u64 val; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gameport.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gameport.h index c29864ed..837d7f46 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gameport.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gameport.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_GAMEPORT_H #define _UAPI_GAMEPORT_H #define GAMEPORT_MODE_DISABLED 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gen_stats.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gen_stats.h index 2df66165..c95fbbca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gen_stats.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gen_stats.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_GEN_STATS_H #define __LINUX_GEN_STATS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genetlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genetlink.h index 0f863319..87fc216a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genetlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genetlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_GENERIC_NETLINK_H #define _UAPI__LINUX_GENERIC_NETLINK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genwqe/genwqe_card.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genwqe/genwqe_card.h index d14c2518..9b65f364 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genwqe/genwqe_card.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/genwqe/genwqe_card.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __GENWQE_CARD_H__ #define __GENWQE_CARD_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gfs2_ondisk.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gfs2_ondisk.h index 1ce42785..14687ac2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gfs2_ondisk.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gfs2_ondisk.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __GFS2_ONDISK_DOT_H__ #define __GFS2_ONDISK_DOT_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gpio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gpio.h index e7603217..98d95b99 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gpio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gpio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_GPIO_H_ #define _UAPI_GPIO_H_ #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gsmmux.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gsmmux.h index 6ddf1b9d..e6fc6b53 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gsmmux.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gsmmux.h @@ -1,26 +1,16 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_GSMMUX_H #define _LINUX_GSMMUX_H +#include <linux/const.h> #include <linux/if.h> #include <linux/ioctl.h> #include <linux/types.h> +#define GSM_FL_RESTART _BITUL(0) struct gsm_config { unsigned int adaption; unsigned int encapsulation; @@ -49,8 +39,22 @@ struct gsm_netconfig { #define GSMIOC_GETFIRST _IOR('G', 4, __u32) struct gsm_config_ext { __u32 keep_alive; - __u32 reserved[7]; + __u32 wait_config; + __u32 flags; + __u32 reserved[5]; }; #define GSMIOC_GETCONF_EXT _IOR('G', 5, struct gsm_config_ext) #define GSMIOC_SETCONF_EXT _IOW('G', 6, struct gsm_config_ext) +struct gsm_dlci_config { + __u32 channel; + __u32 adaption; + __u32 mtu; + __u32 priority; + __u32 i; + __u32 k; + __u32 flags; + __u32 reserved[7]; +}; +#define GSMIOC_GETCONF_DLCI _IOWR('G', 7, struct gsm_dlci_config) +#define GSMIOC_SETCONF_DLCI _IOW('G', 8, struct gsm_dlci_config) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gtp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gtp.h index 20bc3d60..c8284704 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gtp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/gtp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_GTP_H_ #define _UAPI_LINUX_GTP_H_ #define GTP_GENL_MCGRP_NAME "gtp" @@ -45,5 +33,5 @@ enum gtp_attrs { GTPA_PAD, __GTPA_MAX, }; -#define GTPA_MAX (__GTPA_MAX + 1) +#define GTPA_MAX (__GTPA_MAX - 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/handshake.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/handshake.h new file mode 100644 index 00000000..a6f35c33 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/handshake.h @@ -0,0 +1,61 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_HANDSHAKE_H +#define _UAPI_LINUX_HANDSHAKE_H +#define HANDSHAKE_FAMILY_NAME "handshake" +#define HANDSHAKE_FAMILY_VERSION 1 +enum handshake_handler_class { + HANDSHAKE_HANDLER_CLASS_NONE, + HANDSHAKE_HANDLER_CLASS_TLSHD, + HANDSHAKE_HANDLER_CLASS_MAX, +}; +enum handshake_msg_type { + HANDSHAKE_MSG_TYPE_UNSPEC, + HANDSHAKE_MSG_TYPE_CLIENTHELLO, + HANDSHAKE_MSG_TYPE_SERVERHELLO, +}; +enum handshake_auth { + HANDSHAKE_AUTH_UNSPEC, + HANDSHAKE_AUTH_UNAUTH, + HANDSHAKE_AUTH_PSK, + HANDSHAKE_AUTH_X509, +}; +enum { + HANDSHAKE_A_X509_CERT = 1, + HANDSHAKE_A_X509_PRIVKEY, + __HANDSHAKE_A_X509_MAX, + HANDSHAKE_A_X509_MAX = (__HANDSHAKE_A_X509_MAX - 1) +}; +enum { + HANDSHAKE_A_ACCEPT_SOCKFD = 1, + HANDSHAKE_A_ACCEPT_HANDLER_CLASS, + HANDSHAKE_A_ACCEPT_MESSAGE_TYPE, + HANDSHAKE_A_ACCEPT_TIMEOUT, + HANDSHAKE_A_ACCEPT_AUTH_MODE, + HANDSHAKE_A_ACCEPT_PEER_IDENTITY, + HANDSHAKE_A_ACCEPT_CERTIFICATE, + HANDSHAKE_A_ACCEPT_PEERNAME, + __HANDSHAKE_A_ACCEPT_MAX, + HANDSHAKE_A_ACCEPT_MAX = (__HANDSHAKE_A_ACCEPT_MAX - 1) +}; +enum { + HANDSHAKE_A_DONE_STATUS = 1, + HANDSHAKE_A_DONE_SOCKFD, + HANDSHAKE_A_DONE_REMOTE_AUTH, + __HANDSHAKE_A_DONE_MAX, + HANDSHAKE_A_DONE_MAX = (__HANDSHAKE_A_DONE_MAX - 1) +}; +enum { + HANDSHAKE_CMD_READY = 1, + HANDSHAKE_CMD_ACCEPT, + HANDSHAKE_CMD_DONE, + __HANDSHAKE_CMD_MAX, + HANDSHAKE_CMD_MAX = (__HANDSHAKE_CMD_MAX - 1) +}; +#define HANDSHAKE_MCGRP_NONE "none" +#define HANDSHAKE_MCGRP_TLSHD "tlshd" +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hash_info.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hash_info.h index 824b71a1..f59010f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hash_info.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hash_info.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_HASH_INFO_H #define _UAPI_LINUX_HASH_INFO_H enum hash_algo { @@ -39,6 +27,9 @@ enum hash_algo { HASH_ALGO_SM3_256, HASH_ALGO_STREEBOG_256, HASH_ALGO_STREEBOG_512, + HASH_ALGO_SHA3_256, + HASH_ALGO_SHA3_384, + HASH_ALGO_SHA3_512, HASH_ALGO__LAST }; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc.h index 10e3983a..8710d171 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__HDLC_H #define _UAPI__HDLC_H #define HDLC_MAX_MTU 1500 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc/ioctl.h index 3c727c5e..61888f90 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlc/ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __HDLC_IOCTL_H__ #define __HDLC_IOCTL_H__ #define GENERIC_HDLC_VERSION 4 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlcdrv.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlcdrv.h index 9f6cdb7b..b94f78d7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlcdrv.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdlcdrv.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_HDLCDRV_H #define _UAPI_HDLCDRV_H struct hdlcdrv_params { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdreg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdreg.h index 29a2c246..21de0dff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdreg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hdreg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_HDREG_H #define _LINUX_HDREG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hid.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hid.h index 37ab462f..19a7a152 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hid.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hid.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__HID_H #define _UAPI__HID_H #define USB_INTERFACE_CLASS_HID 3 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hiddev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hiddev.h index a7553cac..95e812b6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hiddev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hiddev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_HIDDEV_H #define _UAPI_HIDDEV_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hidraw.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hidraw.h index 65020ac6..25a9a177 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hidraw.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hidraw.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_HIDRAW_H #define _UAPI_HIDRAW_H #include <linux/hid.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hpet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hpet.h index ab944b4b..6ae1dd7f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hpet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hpet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__HPET__ #define _UAPI__HPET__ #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/cs-protocol.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/cs-protocol.h index baac3453..f81534c4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/cs-protocol.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/cs-protocol.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CS_PROTOCOL_H #define _CS_PROTOCOL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/hsi_char.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/hsi_char.h index e127a352..b471c346 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/hsi_char.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsi/hsi_char.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __HSI_CHAR_H #define __HSI_CHAR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsr_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsr_netlink.h index e410e57b..c786b571 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsr_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hsr_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_HSR_NETLINK_H #define __UAPI_HSR_NETLINK_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hw_breakpoint.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hw_breakpoint.h index 74acd53b..bf54b238 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hw_breakpoint.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hw_breakpoint.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_HW_BREAKPOINT_H #define _UAPI_LINUX_HW_BREAKPOINT_H enum { @@ -36,9 +24,4 @@ enum { HW_BREAKPOINT_X = 4, HW_BREAKPOINT_INVALID = HW_BREAKPOINT_RW | HW_BREAKPOINT_X, }; -enum bp_type_idx { - TYPE_INST = 0, - TYPE_DATA = 1, - TYPE_MAX -}; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hyperv.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hyperv.h index 4790bbf3..50ab068b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hyperv.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/hyperv.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_HYPERV_H #define _UAPI_HYPERV_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c-dev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c-dev.h index 7a25e20e..9aefbdf0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c-dev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c-dev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_I2C_DEV_H #define _UAPI_LINUX_I2C_DEV_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c.h index fe578e86..bf7481c9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2c.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_I2C_H #define _UAPI_LINUX_I2C_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2o-dev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2o-dev.h index afaae74c..8745c16c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2o-dev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i2o-dev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _I2O_DEV_H #define _I2O_DEV_H #define MAX_I2O_CONTROLLERS 32 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i8k.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i8k.h index 47ada4b4..423682f6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i8k.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/i8k.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_I8K_H #define _LINUX_I8K_H #define I8K_PROC "/proc/i8k" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmp.h index 77cb3288..d7e37af9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ICMP_H #define _UAPI_LINUX_ICMP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmpv6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmpv6.h index 52856989..9df18ada 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmpv6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/icmpv6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ICMPV6_H #define _UAPI_LINUX_ICMPV6_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/idxd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/idxd.h index 01c62f25..d8ca23cd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/idxd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/idxd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _USR_IDXD_H_ #define _USR_IDXD_H_ #include <stdint.h> @@ -39,6 +27,8 @@ enum idxd_scmd_stat { IDXD_SCMD_WQ_NO_PRIV = 0x800f0000, IDXD_SCMD_WQ_IRQ_ERR = 0x80100000, IDXD_SCMD_WQ_USER_NO_IOMMU = 0x80110000, + IDXD_SCMD_DEV_EVL_ERR = 0x80120000, + IDXD_SCMD_WQ_NO_DRV_NAME = 0x80200000, }; #define IDXD_SCMD_SOFTERR_MASK 0x80000000 #define IDXD_SCMD_SOFTERR_SHIFT 16 @@ -74,12 +64,14 @@ enum dsa_opcode { DSA_OPCODE_CR_DELTA, DSA_OPCODE_AP_DELTA, DSA_OPCODE_DUALCAST, + DSA_OPCODE_TRANSL_FETCH, DSA_OPCODE_CRCGEN = 0x10, DSA_OPCODE_COPY_CRC, DSA_OPCODE_DIF_CHECK, DSA_OPCODE_DIF_INS, DSA_OPCODE_DIF_STRP, DSA_OPCODE_DIF_UPDT, + DSA_OPCODE_DIX_GEN = 0x17, DSA_OPCODE_CFLUSH = 0x20, }; enum iax_opcode { @@ -131,6 +123,8 @@ enum dsa_completion_status { DSA_COMP_HW_ERR1, DSA_COMP_HW_ERR_DRB, DSA_COMP_TRANSLATION_FAIL, + DSA_COMP_DRAIN_EVL = 0x26, + DSA_COMP_BATCH_EVL_ERR, }; enum iax_completion_status { IAX_COMP_NONE = 0, @@ -164,6 +158,7 @@ enum iax_completion_status { }; #define DSA_COMP_STATUS_MASK 0x7f #define DSA_COMP_STATUS_WRITE 0x80 +#define DSA_COMP_STATUS(status) ((status) & DSA_COMP_STATUS_MASK) struct dsa_hw_desc { uint32_t pasid : 20; uint32_t rsvd : 11; @@ -176,6 +171,8 @@ struct dsa_hw_desc { uint64_t rdback_addr; uint64_t pattern; uint64_t desc_list_addr; + uint64_t pattern_lower; + uint64_t transl_fetch_addr; }; union { uint64_t dst_addr; @@ -186,6 +183,7 @@ struct dsa_hw_desc { union { uint32_t xfer_size; uint32_t desc_count; + uint32_t region_size; }; uint16_t int_handle; uint16_t rsvd1; @@ -234,6 +232,20 @@ struct dsa_hw_desc { uint16_t dest_app_tag_mask; uint16_t dest_app_tag_seed; }; + uint64_t pattern_upper; + struct { + uint64_t transl_fetch_res; + uint32_t region_stride; + }; + struct { + uint8_t dix_gen_res; + uint8_t dest_dif_flags; + uint8_t dif_flags; + uint8_t dix_gen_res2[13]; + uint32_t ref_tag_seed; + uint16_t app_tag_mask; + uint16_t app_tag_seed; + }; uint8_t op_specific[24]; }; } __attribute__((packed)); @@ -267,8 +279,12 @@ struct dsa_completion_record { uint8_t result; uint8_t dif_status; }; - uint16_t rsvd; - uint32_t bytes_completed; + uint8_t fault_info; + uint8_t rsvd; + union { + uint32_t bytes_completed; + uint32_t descs_completed; + }; uint64_t fault_addr; union { struct { @@ -296,6 +312,12 @@ struct dsa_completion_record { uint16_t dif_upd_dest_app_tag_mask; uint16_t dif_upd_dest_app_tag; }; + struct { + uint64_t dix_gen_res; + uint32_t dix_ref_tag; + uint16_t dix_app_tag_mask; + uint16_t dix_app_tag; + }; uint8_t op_specific[16]; }; } __attribute__((packed)); @@ -305,7 +327,8 @@ struct dsa_raw_completion_record { struct iax_completion_record { volatile uint8_t status; uint8_t error_code; - uint16_t rsvd; + uint8_t fault_info; + uint8_t rsvd; uint32_t bytes_completed; uint64_t fault_addr; uint32_t invalid_flags; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if.h index fc6d20d7..8e551eb2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_H #define _LINUX_IF_H #include <linux/libc-compat.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addr.h index a225e69a..aa27d707 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_IF_ADDR_H #define __LINUX_IF_ADDR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addrlabel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addrlabel.h index cf737676..c622b872 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addrlabel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_addrlabel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_IF_ADDRLABEL_H #define __LINUX_IF_ADDRLABEL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_alg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_alg.h index 41ba868d..00e0123d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_alg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_alg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_ALG_H #define _LINUX_IF_ALG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arcnet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arcnet.h index 65b07e15..188ce171 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arcnet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arcnet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_ARCNET_H #define _LINUX_IF_ARCNET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arp.h index 1cd23ef2..787092c1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_arp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_ARP_H #define _UAPI_LINUX_IF_ARP_H #include <linux/netdevice.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bonding.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bonding.h index 60abfdec..304dcf3b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bonding.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bonding.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_BONDING_H #define _LINUX_IF_BONDING_H #include <linux/if.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bridge.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bridge.h index 48f63457..a7388767 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bridge.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_bridge.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_BRIDGE_H #define _UAPI_LINUX_IF_BRIDGE_H #include <linux/types.h> @@ -437,6 +425,7 @@ enum { BRIDGE_VLANDB_ENTRY_MCAST_ROUTER, BRIDGE_VLANDB_ENTRY_MCAST_N_GROUPS, BRIDGE_VLANDB_ENTRY_MCAST_MAX_GROUPS, + BRIDGE_VLANDB_ENTRY_NEIGH_SUPPRESS, __BRIDGE_VLANDB_ENTRY_MAX, }; #define BRIDGE_VLANDB_ENTRY_MAX (__BRIDGE_VLANDB_ENTRY_MAX - 1) @@ -506,6 +495,11 @@ enum { MDBA_MDB_EATTR_GROUP_MODE, MDBA_MDB_EATTR_SOURCE, MDBA_MDB_EATTR_RTPROT, + MDBA_MDB_EATTR_DST, + MDBA_MDB_EATTR_DST_PORT, + MDBA_MDB_EATTR_VNI, + MDBA_MDB_EATTR_IFINDEX, + MDBA_MDB_EATTR_SRC_VNI, __MDBA_MDB_EATTR_MAX }; #define MDBA_MDB_EATTR_MAX (__MDBA_MDB_EATTR_MAX - 1) @@ -576,11 +570,23 @@ enum { }; #define MDBA_SET_ENTRY_MAX (__MDBA_SET_ENTRY_MAX - 1) enum { + MDBA_GET_ENTRY_UNSPEC, + MDBA_GET_ENTRY, + MDBA_GET_ENTRY_ATTRS, + __MDBA_GET_ENTRY_MAX, +}; +#define MDBA_GET_ENTRY_MAX (__MDBA_GET_ENTRY_MAX - 1) +enum { MDBE_ATTR_UNSPEC, MDBE_ATTR_SOURCE, MDBE_ATTR_SRC_LIST, MDBE_ATTR_GROUP_MODE, MDBE_ATTR_RTPROT, + MDBE_ATTR_DST, + MDBE_ATTR_DST_PORT, + MDBE_ATTR_VNI, + MDBE_ATTR_IFINDEX, + MDBE_ATTR_SRC_VNI, __MDBE_ATTR_MAX, }; #define MDBE_ATTR_MAX (__MDBE_ATTR_MAX - 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_cablemodem.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_cablemodem.h index 172c287c..79b30176 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_cablemodem.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_cablemodem.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_CABLEMODEM_H_ #define _LINUX_CABLEMODEM_H_ #define SIOCGCMSTATS (SIOCDEVPRIVATE + 0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_eql.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_eql.h index 11432ce0..4c373776 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_eql.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_eql.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_EQL_H #define _UAPI_LINUX_IF_EQL_H #define EQL_DEFAULT_SLAVE_PRIORITY 28800 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ether.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ether.h index 60439218..0a0c6321 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ether.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ether.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_ETHER_H #define _UAPI_LINUX_IF_ETHER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fc.h index b6551786..52a18904 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_FC_H #define _LINUX_IF_FC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fddi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fddi.h index 4b5074bd..6f266040 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fddi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_fddi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_FDDI_H #define _UAPI_LINUX_IF_FDDI_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_hippi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_hippi.h index 29691d9b..a17d1189 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_hippi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_hippi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_HIPPI_H #define _LINUX_IF_HIPPI_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_infiniband.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_infiniband.h index 7f1a58c1..185fbd59 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_infiniband.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_infiniband.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_INFINIBAND_H #define _LINUX_IF_INFINIBAND_H #define INFINIBAND_ALEN 20 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_link.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_link.h index fbb933ba..54b751e8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_link.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_link.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_LINK_H #define _UAPI_LINUX_IF_LINK_H #include <linux/types.h> @@ -169,6 +157,7 @@ enum { IFLA_DEVLINK_PORT, IFLA_GSO_IPV4_MAX_SIZE, IFLA_GRO_IPV4_MAX_SIZE, + IFLA_DPLL_PIN, __IFLA_MAX }; #define IFLA_MAX (__IFLA_MAX - 1) @@ -256,6 +245,8 @@ enum { IFLA_BR_VLAN_STATS_PER_PORT, IFLA_BR_MULTI_BOOLOPT, IFLA_BR_MCAST_QUERIER_STATE, + IFLA_BR_FDB_N_LEARNED, + IFLA_BR_FDB_MAX_LEARNED, __IFLA_BR_MAX, }; #define IFLA_BR_MAX (__IFLA_BR_MAX - 1) @@ -311,6 +302,8 @@ enum { IFLA_BRPORT_MAB, IFLA_BRPORT_MCAST_N_GROUPS, IFLA_BRPORT_MCAST_MAX_GROUPS, + IFLA_BRPORT_NEIGH_VLAN_SUPPRESS, + IFLA_BRPORT_BACKUP_NHID, __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) @@ -364,6 +357,7 @@ enum { IFLA_MACVLAN_MACADDR_COUNT, IFLA_MACVLAN_BC_QUEUE_LEN, IFLA_MACVLAN_BC_QUEUE_LEN_USED, + IFLA_MACVLAN_BC_CUTOFF, __IFLA_MACVLAN_MAX, }; #define IFLA_MACVLAN_MAX (__IFLA_MACVLAN_MAX - 1) @@ -457,6 +451,26 @@ struct tunnel_msg { __u16 reserved2; __u32 ifindex; }; +enum netkit_action { + NETKIT_NEXT = - 1, + NETKIT_PASS = 0, + NETKIT_DROP = 2, + NETKIT_REDIRECT = 7, +}; +enum netkit_mode { + NETKIT_L2, + NETKIT_L3, +}; +enum { + IFLA_NETKIT_UNSPEC, + IFLA_NETKIT_PEER_INFO, + IFLA_NETKIT_PRIMARY, + IFLA_NETKIT_POLICY, + IFLA_NETKIT_PEER_POLICY, + IFLA_NETKIT_MODE, + __IFLA_NETKIT_MAX, +}; +#define IFLA_NETKIT_MAX (__IFLA_NETKIT_MAX - 1) #define TUNNEL_MSG_FLAG_STATS 0x01 #define TUNNEL_MSG_VALID_USER_FLAGS TUNNEL_MSG_FLAG_STATS enum { @@ -521,6 +535,7 @@ enum { IFLA_VXLAN_TTL_INHERIT, IFLA_VXLAN_DF, IFLA_VXLAN_VNIFILTER, + IFLA_VXLAN_LOCALBYPASS, __IFLA_VXLAN_MAX }; #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) @@ -947,7 +962,8 @@ enum { #define IFLA_MCTP_MAX (__IFLA_MCTP_MAX - 1) enum { IFLA_DSA_UNSPEC, - IFLA_DSA_MASTER, + IFLA_DSA_CONDUIT, + IFLA_DSA_MASTER = IFLA_DSA_CONDUIT, __IFLA_DSA_MAX, }; #define IFLA_DSA_MAX (__IFLA_DSA_MAX - 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ltalk.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ltalk.h index 9dbd6ec8..bc6c1a87 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ltalk.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ltalk.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_LTALK_H #define _UAPI__LINUX_LTALK_H #define LTALK_HLEN 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_macsec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_macsec.h index 7b51f800..dfcdfbd9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_macsec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_macsec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_MACSEC_H #define _UAPI_MACSEC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_packet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_packet.h index 719f5965..362b5b7e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_packet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_packet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_IF_PACKET_H #define __LINUX_IF_PACKET_H #include <asm/byteorder.h> @@ -65,6 +53,7 @@ struct sockaddr_ll { #define PACKET_ROLLOVER_STATS 21 #define PACKET_FANOUT_DATA 22 #define PACKET_IGNORE_OUTGOING 23 +#define PACKET_VNET_HDR_SZ 24 #define PACKET_FANOUT_HASH 0 #define PACKET_FANOUT_LB 1 #define PACKET_FANOUT_CPU 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_phonet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_phonet.h index 058d0d99..9f27e64e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_phonet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_phonet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_IF_PHONET_H #define _UAPILINUX_IF_PHONET_H #define PHONET_MIN_MTU 6 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_plip.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_plip.h index 4cd6beb9..cef0d6d3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_plip.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_plip.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_PLIP_H #define _LINUX_IF_PLIP_H #include <linux/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ppp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ppp.h index 68f3ce5e..900c5ebb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ppp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_ppp.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <linux/ppp-ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppol2tp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppol2tp.h index 1ca3238e..f2f6a973 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppol2tp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppol2tp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_IF_PPPOL2TP_H #define _UAPI__LINUX_IF_PPPOL2TP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppox.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppox.h index 2acafdf9..580ffd9d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppox.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_pppox.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_IF_PPPOX_H #define _UAPI__LINUX_IF_PPPOX_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_slip.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_slip.h index 845fec3e..c7e47515 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_slip.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_slip.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_SLIP_H #define __LINUX_SLIP_H #define SL_MODE_SLIP 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_team.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_team.h index 2f591e0d..b22be7ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_team.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_team.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_TEAM_H_ #define _UAPI_LINUX_IF_TEAM_H_ #define TEAM_STRING_MAX_LEN 32 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tun.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tun.h index 93bac9c9..284ab2ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tun.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tun.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__IF_TUN_H #define _UAPI__IF_TUN_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tunnel.h index 9b85568e..e87daf22 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_tunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IF_TUNNEL_H_ #define _UAPI_IF_TUNNEL_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_vlan.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_vlan.h index 8ca8900d..17c6700c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_vlan.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_vlan.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IF_VLAN_H_ #define _UAPI_LINUX_IF_VLAN_H_ enum vlan_ioctl_cmds { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_x25.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_x25.h index e266f5ed..9b2ad0a5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_x25.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_x25.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IF_X25_H #define _IF_X25_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_xdp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_xdp.h index d2b6bfd8..02a014ac 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_xdp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/if_xdp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IF_XDP_H #define _LINUX_IF_XDP_H #include <linux/types.h> @@ -23,6 +11,7 @@ #define XDP_COPY (1 << 1) #define XDP_ZEROCOPY (1 << 2) #define XDP_USE_NEED_WAKEUP (1 << 3) +#define XDP_USE_SG (1 << 4) #define XDP_UMEM_UNALIGNED_CHUNK_FLAG (1 << 0) struct sockaddr_xdp { __u16 sxdp_family; @@ -82,4 +71,5 @@ struct xdp_desc { __u32 len; __u32 options; }; +#define XDP_PKT_CONTD (1 << 0) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ife.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ife.h index 0cfc583d..fbf80da0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ife.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ife.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_IFE_H #define __UAPI_IFE_H #define IFE_METAHDRLEN 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/igmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/igmp.h index 71c2c8dd..c429668e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/igmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/igmp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IGMP_H #define _UAPI_LINUX_IGMP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/buffer.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/buffer.h index ba2f5e3e..45c6f65b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/buffer.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/buffer.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IIO_BUFFER_H_ #define _UAPI_IIO_BUFFER_H_ #define IIO_BUFFER_GET_FD_IOCTL _IOWR('i', 0x91, int) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/events.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/events.h index 5a23eefb..3c98a6f6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/events.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/events.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IIO_EVENTS_H_ #define _UAPI_IIO_EVENTS_H_ #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/types.h index af7bdda6..4e4324aa 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iio/types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IIO_TYPES_H_ #define _UAPI_IIO_TYPES_H_ enum iio_chan_type { @@ -54,6 +42,10 @@ enum iio_chan_type { IIO_POSITIONRELATIVE, IIO_PHASE, IIO_MASSCONCENTRATION, + IIO_DELTA_ANGL, + IIO_DELTA_VELOCITY, + IIO_COLORTEMP, + IIO_CHROMATICITY, }; enum iio_modifier { IIO_NO_MOD, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ila.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ila.h index 75de8eb6..fefc4953 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ila.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ila.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ILA_H #define _UAPI_LINUX_ILA_H #define ILA_GENL_NAME "ila" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in.h index 3947d5a1..44efdd83 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IN_H #define _UAPI_LINUX_IN_H #include <bits/ip_msfilter.h> @@ -142,6 +130,7 @@ enum { #define IP_MULTICAST_ALL 49 #define IP_UNICAST_IF 50 #define IP_LOCAL_PORT_RANGE 51 +#define IP_PROTOCOL 52 #define MCAST_EXCLUDE 0 #define MCAST_INCLUDE 1 #define IP_DEFAULT_MULTICAST_TTL 1 @@ -159,32 +148,32 @@ struct ip_mreqn { #define IP_MSFILTER_SIZE(numsrc) (sizeof(struct ip_msfilter) - sizeof(__u32) + (numsrc) * sizeof(__u32)) struct group_req { __u32 gr_interface; - struct __kernel_sockaddr_storage gr_group; + struct sockaddr_storage gr_group; }; struct group_source_req { __u32 gsr_interface; - struct __kernel_sockaddr_storage gsr_group; - struct __kernel_sockaddr_storage gsr_source; + struct sockaddr_storage gsr_group; + struct sockaddr_storage gsr_source; }; struct group_filter { union { struct { __u32 gf_interface_aux; - struct __kernel_sockaddr_storage gf_group_aux; + struct sockaddr_storage gf_group_aux; __u32 gf_fmode_aux; __u32 gf_numsrc_aux; - struct __kernel_sockaddr_storage gf_slist[1]; + struct sockaddr_storage gf_slist[1]; }; struct { __u32 gf_interface; - struct __kernel_sockaddr_storage gf_group; + struct sockaddr_storage gf_group; __u32 gf_fmode; __u32 gf_numsrc; - struct __kernel_sockaddr_storage gf_slist_flex[]; + struct sockaddr_storage gf_slist_flex[]; }; }; }; -#define GROUP_FILTER_SIZE(numsrc) (sizeof(struct group_filter) - sizeof(struct __kernel_sockaddr_storage) + (numsrc) * sizeof(struct __kernel_sockaddr_storage)) +#define GROUP_FILTER_SIZE(numsrc) (sizeof(struct group_filter) - sizeof(struct sockaddr_storage) + (numsrc) * sizeof(struct sockaddr_storage)) #endif #if __UAPI_DEF_IN_PKTINFO struct in_pktinfo { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in6.h index 49efe3ca..2cede309 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IN6_H #define _UAPI_LINUX_IN6_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in_route.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in_route.h index f7326e2a..0d7fc9af 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in_route.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/in_route.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IN_ROUTE_H #define _LINUX_IN_ROUTE_H #define RTCF_DEAD RTNH_F_DEAD diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/incrementalfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/incrementalfs.h index 0804cc24..65b554c9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/incrementalfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/incrementalfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_INCREMENTALFS_H #define _UAPI_LINUX_INCREMENTALFS_H #include <linux/limits.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inet_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inet_diag.h index 27f390b1..6d559bb8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inet_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inet_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_INET_DIAG_H_ #define _UAPI_INET_DIAG_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inotify.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inotify.h index 3b4b5773..764e7d89 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inotify.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/inotify.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_INOTIFY_H #define _UAPI_LINUX_INOTIFY_H #include <linux/fcntl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input-event-codes.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input-event-codes.h index 712a9db7..96f285b0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input-event-codes.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input-event-codes.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_INPUT_EVENT_CODES_H #define _UAPI_INPUT_EVENT_CODES_H #define INPUT_PROP_POINTER 0x00 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input.h index 1df1398f..e107211f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/input.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_INPUT_H #define _UAPI_INPUT_H #include <sys/time.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/io_uring.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/io_uring.h index a2d4f5fa..57c6405b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/io_uring.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/io_uring.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_IO_URING_H #define LINUX_IO_URING_H #include <linux/fs.h> @@ -42,6 +30,10 @@ struct io_uring_sqe { union { __u64 addr; __u64 splice_off_in; + struct { + __u32 level; + __u32 optname; + }; }; __u32 len; union { @@ -64,6 +56,8 @@ struct io_uring_sqe { __u32 xattr_flags; __u32 msg_ring_flags; __u32 uring_cmd_flags; + __u32 waitid_flags; + __u32 futex_flags; }; __u64 user_data; union { @@ -74,6 +68,7 @@ struct io_uring_sqe { union { __s32 splice_fd_in; __u32 file_index; + __u32 optlen; struct { __u16 addr_len; __u16 __pad3[1]; @@ -84,6 +79,7 @@ struct io_uring_sqe { __u64 addr3; __u64 __pad2[1]; }; + __u64 optval; __u8 cmd[0]; }; }; @@ -118,6 +114,9 @@ enum { #define IORING_SETUP_CQE32 (1U << 11) #define IORING_SETUP_SINGLE_ISSUER (1U << 12) #define IORING_SETUP_DEFER_TASKRUN (1U << 13) +#define IORING_SETUP_NO_MMAP (1U << 14) +#define IORING_SETUP_REGISTERED_FD_ONLY (1U << 15) +#define IORING_SETUP_NO_SQARRAY (1U << 16) enum io_uring_op { IORING_OP_NOP, IORING_OP_READV, @@ -168,9 +167,15 @@ enum io_uring_op { IORING_OP_URING_CMD, IORING_OP_SEND_ZC, IORING_OP_SENDMSG_ZC, + IORING_OP_READ_MULTISHOT, + IORING_OP_WAITID, + IORING_OP_FUTEX_WAIT, + IORING_OP_FUTEX_WAKE, + IORING_OP_FUTEX_WAITV, IORING_OP_LAST, }; #define IORING_URING_CMD_FIXED (1U << 0) +#define IORING_URING_CMD_MASK IORING_URING_CMD_FIXED #define IORING_FSYNC_DATASYNC (1U << 0) #define IORING_TIMEOUT_ABS (1U << 0) #define IORING_TIMEOUT_UPDATE (1U << 1) @@ -178,6 +183,7 @@ enum io_uring_op { #define IORING_TIMEOUT_REALTIME (1U << 3) #define IORING_LINK_TIMEOUT_UPDATE (1U << 4) #define IORING_TIMEOUT_ETIME_SUCCESS (1U << 5) +#define IORING_TIMEOUT_MULTISHOT (1U << 6) #define IORING_TIMEOUT_CLOCK_MASK (IORING_TIMEOUT_BOOTTIME | IORING_TIMEOUT_REALTIME) #define IORING_TIMEOUT_UPDATE_MASK (IORING_TIMEOUT_UPDATE | IORING_LINK_TIMEOUT_UPDATE) #define SPLICE_F_FD_IN_FIXED (1U << 31) @@ -189,6 +195,8 @@ enum io_uring_op { #define IORING_ASYNC_CANCEL_FD (1U << 1) #define IORING_ASYNC_CANCEL_ANY (1U << 2) #define IORING_ASYNC_CANCEL_FD_FIXED (1U << 3) +#define IORING_ASYNC_CANCEL_USERDATA (1U << 4) +#define IORING_ASYNC_CANCEL_OP (1U << 5) #define IORING_RECVSEND_POLL_FIRST (1U << 0) #define IORING_RECV_MULTISHOT (1U << 1) #define IORING_RECVSEND_FIXED_BUF (1U << 2) @@ -217,6 +225,9 @@ enum { #define IORING_OFF_SQ_RING 0ULL #define IORING_OFF_CQ_RING 0x8000000ULL #define IORING_OFF_SQES 0x10000000ULL +#define IORING_OFF_PBUF_RING 0x80000000ULL +#define IORING_OFF_PBUF_SHIFT 16 +#define IORING_OFF_MMAP_MASK 0xf8000000ULL struct io_sqring_offsets { __u32 head; __u32 tail; @@ -226,7 +237,7 @@ struct io_sqring_offsets { __u32 dropped; __u32 array; __u32 resv1; - __u64 resv2; + __u64 user_addr; }; #define IORING_SQ_NEED_WAKEUP (1U << 0) #define IORING_SQ_CQ_OVERFLOW (1U << 1) @@ -240,7 +251,7 @@ struct io_cqring_offsets { __u32 cqes; __u32 flags; __u32 resv1; - __u64 resv2; + __u64 user_addr; }; #define IORING_CQ_EVENTFD_DISABLED (1U << 0) #define IORING_ENTER_GETEVENTS (1U << 0) @@ -334,17 +345,6 @@ struct io_uring_rsrc_update2 { __u32 nr; __u32 resv2; }; -struct io_uring_notification_slot { - __u64 tag; - __u64 resv[3]; -}; -struct io_uring_notification_register { - __u32 nr_slots; - __u32 resv; - __u64 resv2; - __u64 data; - __u64 resv3; -}; #define IORING_REGISTER_FILES_SKIP (- 2) #define IO_URING_OP_SUPPORTED (1U << 0) struct io_uring_probe_op { @@ -387,11 +387,14 @@ struct io_uring_buf_ring { __DECLARE_FLEX_ARRAY(struct io_uring_buf, bufs); }; }; +enum { + IOU_PBUF_RING_MMAP = 1, +}; struct io_uring_buf_reg { __u64 ring_addr; __u32 ring_entries; __u16 bgid; - __u16 pad; + __u16 flags; __u64 resv[3]; }; enum { @@ -412,7 +415,9 @@ struct io_uring_sync_cancel_reg { __s32 fd; __u32 flags; struct __kernel_timespec timeout; - __u64 pad[4]; + __u8 opcode; + __u8 pad[7]; + __u64 pad2[3]; }; struct io_uring_file_index_range { __u32 off; @@ -425,6 +430,12 @@ struct io_uring_recvmsg_out { __u32 payloadlen; __u32 flags; }; +enum { + SOCKET_URING_OP_SIOCINQ = 0, + SOCKET_URING_OP_SIOCOUTQ, + SOCKET_URING_OP_GETSOCKOPT, + SOCKET_URING_OP_SETSOCKOPT, +}; #ifdef __cplusplus } #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6.h index 8d2a25bb..51a21227 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IOAM6_H #define _UAPI_LINUX_IOAM6_H #include <asm/byteorder.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_genl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_genl.h index 1d00c472..8201bb54 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_genl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_genl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IOAM6_GENL_H #define _UAPI_LINUX_IOAM6_GENL_H #define IOAM6_GENL_NAME "IOAM6" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_iptunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_iptunnel.h index ec1a6a86..34317fc6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_iptunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioam6_iptunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IOAM6_IPTUNNEL_H #define _UAPI_LINUX_IOAM6_IPTUNNEL_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioctl.h index 98e3c069..08da063b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IOCTL_H #define _LINUX_IOCTL_H #include <asm/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommu.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommu.h index 0304a32b..3a7bf82f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommu.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommu.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IOMMU_H #define _UAPI_IOMMU_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommufd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommufd.h index b7f58159..d19a471e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommufd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iommufd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IOMMUFD_H #define _UAPI_IOMMUFD_H #include <linux/types.h> @@ -32,6 +20,10 @@ enum { IOMMUFD_CMD_IOAS_UNMAP, IOMMUFD_CMD_OPTION, IOMMUFD_CMD_VFIO_IOAS, + IOMMUFD_CMD_HWPT_ALLOC, + IOMMUFD_CMD_GET_HW_INFO, + IOMMUFD_CMD_HWPT_SET_DIRTY_TRACKING, + IOMMUFD_CMD_HWPT_GET_DIRTY_BITMAP, }; struct iommu_destroy { __u32 size; @@ -126,4 +118,86 @@ struct iommu_vfio_ioas { __u16 __reserved; }; #define IOMMU_VFIO_IOAS _IO(IOMMUFD_TYPE, IOMMUFD_CMD_VFIO_IOAS) +enum iommufd_hwpt_alloc_flags { + IOMMU_HWPT_ALLOC_NEST_PARENT = 1 << 0, + IOMMU_HWPT_ALLOC_DIRTY_TRACKING = 1 << 1, +}; +enum iommu_hwpt_vtd_s1_flags { + IOMMU_VTD_S1_SRE = 1 << 0, + IOMMU_VTD_S1_EAFE = 1 << 1, + IOMMU_VTD_S1_WPE = 1 << 2, +}; +struct iommu_hwpt_vtd_s1 { + __aligned_u64 flags; + __aligned_u64 pgtbl_addr; + __u32 addr_width; + __u32 __reserved; +}; +enum iommu_hwpt_data_type { + IOMMU_HWPT_DATA_NONE, + IOMMU_HWPT_DATA_VTD_S1, +}; +struct iommu_hwpt_alloc { + __u32 size; + __u32 flags; + __u32 dev_id; + __u32 pt_id; + __u32 out_hwpt_id; + __u32 __reserved; + __u32 data_type; + __u32 data_len; + __aligned_u64 data_uptr; +}; +#define IOMMU_HWPT_ALLOC _IO(IOMMUFD_TYPE, IOMMUFD_CMD_HWPT_ALLOC) +enum iommu_hw_info_vtd_flags { + IOMMU_HW_INFO_VTD_ERRATA_772415_SPR17 = 1 << 0, +}; +struct iommu_hw_info_vtd { + __u32 flags; + __u32 __reserved; + __aligned_u64 cap_reg; + __aligned_u64 ecap_reg; +}; +enum iommu_hw_info_type { + IOMMU_HW_INFO_TYPE_NONE, + IOMMU_HW_INFO_TYPE_INTEL_VTD, +}; +enum iommufd_hw_capabilities { + IOMMU_HW_CAP_DIRTY_TRACKING = 1 << 0, +}; +struct iommu_hw_info { + __u32 size; + __u32 flags; + __u32 dev_id; + __u32 data_len; + __aligned_u64 data_uptr; + __u32 out_data_type; + __u32 __reserved; + __aligned_u64 out_capabilities; +}; +#define IOMMU_GET_HW_INFO _IO(IOMMUFD_TYPE, IOMMUFD_CMD_GET_HW_INFO) +enum iommufd_hwpt_set_dirty_tracking_flags { + IOMMU_HWPT_DIRTY_TRACKING_ENABLE = 1, +}; +struct iommu_hwpt_set_dirty_tracking { + __u32 size; + __u32 flags; + __u32 hwpt_id; + __u32 __reserved; +}; +#define IOMMU_HWPT_SET_DIRTY_TRACKING _IO(IOMMUFD_TYPE, IOMMUFD_CMD_HWPT_SET_DIRTY_TRACKING) +enum iommufd_hwpt_get_dirty_bitmap_flags { + IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR = 1, +}; +struct iommu_hwpt_get_dirty_bitmap { + __u32 size; + __u32 hwpt_id; + __u32 flags; + __u32 __reserved; + __aligned_u64 iova; + __aligned_u64 length; + __aligned_u64 page_size; + __aligned_u64 data; +}; +#define IOMMU_HWPT_GET_DIRTY_BITMAP _IO(IOMMUFD_TYPE, IOMMUFD_CMD_HWPT_GET_DIRTY_BITMAP) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioprio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioprio.h index 7a90d879..2b6a8424 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioprio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ioprio.h @@ -1,36 +1,30 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IOPRIO_H #define _UAPI_LINUX_IOPRIO_H +#include <linux/stddef.h> +#include <linux/types.h> #define IOPRIO_CLASS_SHIFT 13 -#define IOPRIO_CLASS_MASK 0x07 +#define IOPRIO_NR_CLASSES 8 +#define IOPRIO_CLASS_MASK (IOPRIO_NR_CLASSES - 1) #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1) #define IOPRIO_PRIO_CLASS(ioprio) (((ioprio) >> IOPRIO_CLASS_SHIFT) & IOPRIO_CLASS_MASK) #define IOPRIO_PRIO_DATA(ioprio) ((ioprio) & IOPRIO_PRIO_MASK) -#define IOPRIO_PRIO_VALUE(class,data) ((((class) & IOPRIO_CLASS_MASK) << IOPRIO_CLASS_SHIFT) | ((data) & IOPRIO_PRIO_MASK)) enum { - IOPRIO_CLASS_NONE, - IOPRIO_CLASS_RT, - IOPRIO_CLASS_BE, - IOPRIO_CLASS_IDLE, + IOPRIO_CLASS_NONE = 0, + IOPRIO_CLASS_RT = 1, + IOPRIO_CLASS_BE = 2, + IOPRIO_CLASS_IDLE = 3, + IOPRIO_CLASS_INVALID = 7, }; -#define IOPRIO_NR_LEVELS 8 +#define IOPRIO_LEVEL_NR_BITS 3 +#define IOPRIO_NR_LEVELS (1 << IOPRIO_LEVEL_NR_BITS) +#define IOPRIO_LEVEL_MASK (IOPRIO_NR_LEVELS - 1) +#define IOPRIO_PRIO_LEVEL(ioprio) ((ioprio) & IOPRIO_LEVEL_MASK) #define IOPRIO_BE_NR IOPRIO_NR_LEVELS enum { IOPRIO_WHO_PROCESS = 1, @@ -39,4 +33,26 @@ enum { }; #define IOPRIO_NORM 4 #define IOPRIO_BE_NORM IOPRIO_NORM +#define IOPRIO_HINT_SHIFT IOPRIO_LEVEL_NR_BITS +#define IOPRIO_HINT_NR_BITS 10 +#define IOPRIO_NR_HINTS (1 << IOPRIO_HINT_NR_BITS) +#define IOPRIO_HINT_MASK (IOPRIO_NR_HINTS - 1) +#define IOPRIO_PRIO_HINT(ioprio) (((ioprio) >> IOPRIO_HINT_SHIFT) & IOPRIO_HINT_MASK) +enum { + IOPRIO_HINT_NONE = 0, + IOPRIO_HINT_DEV_DURATION_LIMIT_1 = 1, + IOPRIO_HINT_DEV_DURATION_LIMIT_2 = 2, + IOPRIO_HINT_DEV_DURATION_LIMIT_3 = 3, + IOPRIO_HINT_DEV_DURATION_LIMIT_4 = 4, + IOPRIO_HINT_DEV_DURATION_LIMIT_5 = 5, + IOPRIO_HINT_DEV_DURATION_LIMIT_6 = 6, + IOPRIO_HINT_DEV_DURATION_LIMIT_7 = 7, +}; +#define IOPRIO_BAD_VALUE(val,max) ((val) < 0 || (val) >= (max)) +static __always_inline __u16 ioprio_value(int prioclass, int priolevel, int priohint) { + if(IOPRIO_BAD_VALUE(prioclass, IOPRIO_NR_CLASSES) || IOPRIO_BAD_VALUE(priolevel, IOPRIO_NR_LEVELS) || IOPRIO_BAD_VALUE(priohint, IOPRIO_NR_HINTS)) return IOPRIO_CLASS_INVALID << IOPRIO_CLASS_SHIFT; + return(prioclass << IOPRIO_CLASS_SHIFT) | (priohint << IOPRIO_HINT_SHIFT) | priolevel; +} +#define IOPRIO_PRIO_VALUE(prioclass,priolevel) ioprio_value(prioclass, priolevel, IOPRIO_HINT_NONE) +#define IOPRIO_PRIO_VALUE_HINT(prioclass,priolevel,priohint) ioprio_value(prioclass, priolevel, priohint) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip.h index 9249f5ca..332c4470 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IP_H #define _UAPI_LINUX_IP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip6_tunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip6_tunnel.h index ba592355..54a379c5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip6_tunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip6_tunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6_TUNNEL_H #define _IP6_TUNNEL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip_vs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip_vs.h index 916fcf0e..4c95a2aa 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip_vs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ip_vs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP_VS_H #define _IP_VS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipc.h index 4ca9ee15..66529c44 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IPC_H #define _UAPI_LINUX_IPC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi.h index bd73b3c3..7a949f0a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_IPMI_H #define _UAPI__LINUX_IPMI_H #include <linux/ipmi_msgdefs.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_bmc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_bmc.h index 18f8b9d0..5891a5a5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_bmc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_bmc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IPMI_BMC_H #define _UAPI_LINUX_IPMI_BMC_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_msgdefs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_msgdefs.h index cfd435fe..3989b66e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_msgdefs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_msgdefs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_IPMI_MSGDEFS_H #define __LINUX_IPMI_MSGDEFS_H #define IPMI_NETFN_SENSOR_EVENT_REQUEST 0x04 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_ssif_bmc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_ssif_bmc.h index 866ed174..0082296e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_ssif_bmc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipmi_ssif_bmc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IPMI_SSIF_BMC_H #define _UAPI_LINUX_IPMI_SSIF_BMC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipsec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipsec.h index 4fef750f..3fe7a1b5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipsec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipsec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_IPSEC_H #define _LINUX_IPSEC_H #include <linux/pfkeyv2.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6.h index d62d2695..c7e4d675 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IPV6_H #define _UAPI_IPV6_H #include <linux/libc-compat.h> @@ -62,7 +50,7 @@ struct ipv6_opt_hdr { struct rt0_hdr { struct ipv6_rt_hdr rt_hdr; __u32 reserved; - struct in6_addr addr[0]; + struct in6_addr addr[]; #define rt0_type rt_hdr.type }; struct rt2_hdr { @@ -151,6 +139,7 @@ enum { DEVCONF_IOAM6_ID_WIDE, DEVCONF_NDISC_EVICT_NOCARRIER, DEVCONF_ACCEPT_UNTRACKED_NA, + DEVCONF_ACCEPT_RA_MIN_LFT, DEVCONF_MAX }; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6_route.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6_route.h index b7271a76..3fec1864 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6_route.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ipv6_route.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_IPV6_ROUTE_H #define _UAPI_LINUX_IPV6_ROUTE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/irqnr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/irqnr.h index 878419c2..02e56b8e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/irqnr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/irqnr.h @@ -1,18 +1,6 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isdn/capicmd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isdn/capicmd.h index 419b2785..95069d97 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isdn/capicmd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isdn/capicmd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __CAPICMD_H__ #define __CAPICMD_H__ #define CAPI_MSG_BASELEN 8 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iso_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iso_fs.h index f9c4f48f..cbe547de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iso_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/iso_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ISOFS_FS_H #define _ISOFS_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isst_if.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isst_if.h index 322f70d1..8d0b64a3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isst_if.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/isst_if.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ISST_IF_H #define __ISST_IF_H #include <linux/types.h> @@ -67,10 +55,136 @@ struct isst_if_msr_cmds { __u32 cmd_count; struct isst_if_msr_cmd msr_cmd[1]; }; +struct isst_core_power { + __u8 get_set; + __u8 socket_id; + __u8 power_domain_id; + __u8 enable; + __u8 supported; + __u8 priority_type; +}; +struct isst_clos_param { + __u8 get_set; + __u8 socket_id; + __u8 power_domain_id; + __u8 clos; + __u16 min_freq_mhz; + __u16 max_freq_mhz; + __u8 prop_prio; +}; +struct isst_if_clos_assoc { + __u8 socket_id; + __u8 power_domain_id; + __u16 logical_cpu; + __u16 clos; +}; +struct isst_if_clos_assoc_cmds { + __u16 cmd_count; + __u16 get_set; + __u16 punit_cpu_map; + struct isst_if_clos_assoc assoc_info[1]; +}; +struct isst_tpmi_instance_count { + __u8 socket_id; + __u8 count; + __u16 valid_mask; +}; +struct isst_perf_level_info { + __u8 socket_id; + __u8 power_domain_id; + __u8 max_level; + __u8 feature_rev; + __u8 level_mask; + __u8 current_level; + __u8 feature_state; + __u8 locked; + __u8 enabled; + __u8 sst_tf_support; + __u8 sst_bf_support; +}; +struct isst_perf_level_control { + __u8 socket_id; + __u8 power_domain_id; + __u8 level; +}; +struct isst_perf_feature_control { + __u8 socket_id; + __u8 power_domain_id; + __u8 feature; +}; +#define TRL_MAX_BUCKETS 8 +#define TRL_MAX_LEVELS 6 +struct isst_perf_level_data_info { + __u8 socket_id; + __u8 power_domain_id; + __u16 level; + __u16 tdp_ratio; + __u16 base_freq_mhz; + __u16 base_freq_avx2_mhz; + __u16 base_freq_avx512_mhz; + __u16 base_freq_amx_mhz; + __u16 thermal_design_power_w; + __u16 tjunction_max_c; + __u16 max_memory_freq_mhz; + __u16 cooling_type; + __u16 p0_freq_mhz; + __u16 p1_freq_mhz; + __u16 pn_freq_mhz; + __u16 pm_freq_mhz; + __u16 p0_fabric_freq_mhz; + __u16 p1_fabric_freq_mhz; + __u16 pn_fabric_freq_mhz; + __u16 pm_fabric_freq_mhz; + __u16 max_buckets; + __u16 max_trl_levels; + __u16 bucket_core_counts[TRL_MAX_BUCKETS]; + __u16 trl_freq_mhz[TRL_MAX_LEVELS][TRL_MAX_BUCKETS]; +}; +struct isst_perf_level_cpu_mask { + __u8 socket_id; + __u8 power_domain_id; + __u8 level; + __u8 punit_cpu_map; + __u64 mask; + __u16 cpu_buffer_size; + __s8 cpu_buffer[1]; +}; +struct isst_base_freq_info { + __u8 socket_id; + __u8 power_domain_id; + __u16 level; + __u16 high_base_freq_mhz; + __u16 low_base_freq_mhz; + __u16 tjunction_max_c; + __u16 thermal_design_power_w; +}; +struct isst_turbo_freq_info { + __u8 socket_id; + __u8 power_domain_id; + __u16 level; + __u16 max_clip_freqs; + __u16 max_buckets; + __u16 max_trl_levels; + __u16 lp_clip_freq_mhz[TRL_MAX_LEVELS]; + __u16 bucket_core_counts[TRL_MAX_BUCKETS]; + __u16 trl_freq_mhz[TRL_MAX_LEVELS][TRL_MAX_BUCKETS]; +}; #define ISST_IF_MAGIC 0xFE #define ISST_IF_GET_PLATFORM_INFO _IOR(ISST_IF_MAGIC, 0, struct isst_if_platform_info *) #define ISST_IF_GET_PHY_ID _IOWR(ISST_IF_MAGIC, 1, struct isst_if_cpu_map *) #define ISST_IF_IO_CMD _IOW(ISST_IF_MAGIC, 2, struct isst_if_io_regs *) #define ISST_IF_MBOX_COMMAND _IOWR(ISST_IF_MAGIC, 3, struct isst_if_mbox_cmds *) #define ISST_IF_MSR_COMMAND _IOWR(ISST_IF_MAGIC, 4, struct isst_if_msr_cmds *) +#define ISST_IF_COUNT_TPMI_INSTANCES _IOR(ISST_IF_MAGIC, 5, struct isst_tpmi_instance_count *) +#define ISST_IF_CORE_POWER_STATE _IOWR(ISST_IF_MAGIC, 6, struct isst_core_power *) +#define ISST_IF_CLOS_PARAM _IOWR(ISST_IF_MAGIC, 7, struct isst_clos_param *) +#define ISST_IF_CLOS_ASSOC _IOWR(ISST_IF_MAGIC, 8, struct isst_if_clos_assoc_cmds *) +#define ISST_IF_PERF_LEVELS _IOWR(ISST_IF_MAGIC, 9, struct isst_perf_level_info *) +#define ISST_IF_PERF_SET_LEVEL _IOW(ISST_IF_MAGIC, 10, struct isst_perf_level_control *) +#define ISST_IF_PERF_SET_FEATURE _IOW(ISST_IF_MAGIC, 11, struct isst_perf_feature_control *) +#define ISST_IF_GET_PERF_LEVEL_INFO _IOR(ISST_IF_MAGIC, 12, struct isst_perf_level_data_info *) +#define ISST_IF_GET_PERF_LEVEL_CPU_MASK _IOR(ISST_IF_MAGIC, 13, struct isst_perf_level_cpu_mask *) +#define ISST_IF_GET_BASE_FREQ_INFO _IOR(ISST_IF_MAGIC, 14, struct isst_base_freq_info *) +#define ISST_IF_GET_BASE_FREQ_CPU_MASK _IOR(ISST_IF_MAGIC, 15, struct isst_perf_level_cpu_mask *) +#define ISST_IF_GET_TURBO_FREQ_INFO _IOR(ISST_IF_MAGIC, 16, struct isst_turbo_freq_info *) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtv.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtv.h index bdd526ed..e41203d4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtv.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtv.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_IVTV_H__ #define __LINUX_IVTV_H__ #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtvfb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtvfb.h index 171be74d..c00658ec 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtvfb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ivtvfb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_IVTVFB_H__ #define __LINUX_IVTVFB_H__ #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/jffs2.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/jffs2.h index 643aa2e4..f2ea901e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/jffs2.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/jffs2.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_JFFS2_H__ #define __LINUX_JFFS2_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/joystick.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/joystick.h index 3f16f116..69952efd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/joystick.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/joystick.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_JOYSTICK_H #define _UAPI_LINUX_JOYSTICK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcm.h index 04bf5f56..23a95c2b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef KCM_KERNEL_H #define KCM_KERNEL_H struct kcm_attach { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcmp.h index d185c0a6..22769ca5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcmp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_KCMP_H #define _UAPI_LINUX_KCMP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcov.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcov.h index 5b6f6b1f..f7ee9d19 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcov.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kcov.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_KCOV_IOCTLS_H #define _LINUX_KCOV_IOCTLS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kd.h index a14cab62..441e4dc2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_KD_H #define _UAPI_LINUX_KD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kdev_t.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kdev_t.h index 7dfcecaa..4affdab8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kdev_t.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kdev_t.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_KDEV_T_H #define _UAPI_LINUX_KDEV_T_H #define MAJOR(dev) ((dev) >> 8) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel-page-flags.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel-page-flags.h index d66cd7fe..05ebed35 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel-page-flags.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel-page-flags.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H #define _UAPILINUX_KERNEL_PAGE_FLAGS_H #define KPF_LOCKED 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel.h index 7506a41f..b257960e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_KERNEL_H #define _UAPI_LINUX_KERNEL_H #include <linux/sysinfo.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernelcapi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernelcapi.h index 519a0432..daab01fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernelcapi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kernelcapi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__KERNELCAPI_H__ #define _UAPI__KERNELCAPI_H__ #define CAPI_MAXAPPL 240 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kexec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kexec.h index 438c07b4..53c86f3e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kexec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kexec.h @@ -1,26 +1,15 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_KEXEC_H #define _UAPILINUX_KEXEC_H #include <linux/types.h> #define KEXEC_ON_CRASH 0x00000001 #define KEXEC_PRESERVE_CONTEXT 0x00000002 +#define KEXEC_UPDATE_ELFCOREHDR 0x00000004 #define KEXEC_ARCH_MASK 0xffff0000 #define KEXEC_FILE_UNLOAD 0x00000001 #define KEXEC_FILE_ON_CRASH 0x00000002 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyboard.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyboard.h index a05438b1..6036ae2f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyboard.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyboard.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_KEYBOARD_H #define _UAPI__LINUX_KEYBOARD_H #include <linux/wait.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyctl.h index b534f5eb..0ca32722 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/keyctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_KEYCTL_H #define _LINUX_KEYCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_ioctl.h index d21e0fc0..0dc806fb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_ioctl.h @@ -1,27 +1,15 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef KFD_IOCTL_H_INCLUDED #define KFD_IOCTL_H_INCLUDED #include <drm/drm.h> #include <linux/ioctl.h> #define KFD_IOCTL_MAJOR_VERSION 1 -#define KFD_IOCTL_MINOR_VERSION 11 +#define KFD_IOCTL_MINOR_VERSION 14 struct kfd_ioctl_get_version_args { __u32 major_version; __u32 minor_version; @@ -77,6 +65,31 @@ struct kfd_ioctl_get_available_memory_args { __u32 gpu_id; __u32 pad; }; +struct kfd_dbg_device_info_entry { + __u64 exception_status; + __u64 lds_base; + __u64 lds_limit; + __u64 scratch_base; + __u64 scratch_limit; + __u64 gpuvm_base; + __u64 gpuvm_limit; + __u32 gpu_id; + __u32 location_id; + __u32 vendor_id; + __u32 device_id; + __u32 revision_id; + __u32 subsystem_vendor_id; + __u32 subsystem_device_id; + __u32 fw_version; + __u32 gfx_target_version; + __u32 simd_count; + __u32 max_waves_per_simd; + __u32 array_count; + __u32 simd_arrays_per_engine; + __u32 num_xcc; + __u32 capability; + __u32 debug_prop; +}; #define KFD_IOC_CACHE_POLICY_COHERENT 0 #define KFD_IOC_CACHE_POLICY_NONCOHERENT 1 struct kfd_ioctl_set_memory_policy_args { @@ -198,10 +211,14 @@ struct kfd_hsa_hw_exception_data { __u32 memory_lost; __u32 gpu_id; }; +struct kfd_hsa_signal_event_data { + __u64 last_event_age; +}; struct kfd_event_data { union { struct kfd_hsa_memory_exception_data memory_exception_data; struct kfd_hsa_hw_exception_data hw_exception_data; + struct kfd_hsa_signal_event_data signal_event_data; }; __u64 kfd_event_data_ext; __u32 event_id; @@ -251,6 +268,7 @@ struct kfd_ioctl_acquire_vm_args { #define KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM (1 << 27) #define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT (1 << 26) #define KFD_IOC_ALLOC_MEM_FLAGS_UNCACHED (1 << 25) +#define KFD_IOC_ALLOC_MEM_FLAGS_EXT_COHERENT (1 << 24) struct kfd_ioctl_alloc_memory_of_gpu_args { __u64 va_addr; __u64 size; @@ -294,6 +312,11 @@ struct kfd_ioctl_import_dmabuf_args { __u32 gpu_id; __u32 dmabuf_fd; }; +struct kfd_ioctl_export_dmabuf_args { + __u64 handle; + __u32 flags; + __u32 dmabuf_fd; +}; enum kfd_smi_event { KFD_SMI_EVENT_NONE = 0, KFD_SMI_EVENT_VMFAULT = 1, @@ -379,6 +402,7 @@ enum kfd_mmio_remap { #define KFD_IOCTL_SVM_FLAG_GPU_EXEC 0x00000010 #define KFD_IOCTL_SVM_FLAG_GPU_READ_MOSTLY 0x00000020 #define KFD_IOCTL_SVM_FLAG_GPU_ALWAYS_MAPPED 0x00000040 +#define KFD_IOCTL_SVM_FLAG_EXT_COHERENT 0x00000080 enum kfd_ioctl_svm_op { KFD_IOCTL_SVM_OP_SET_ATTR, KFD_IOCTL_SVM_OP_GET_ATTR @@ -411,6 +435,230 @@ struct kfd_ioctl_svm_args { struct kfd_ioctl_set_xnack_mode_args { __s32 xnack_enabled; }; +enum kfd_dbg_trap_override_mode { + KFD_DBG_TRAP_OVERRIDE_OR = 0, + KFD_DBG_TRAP_OVERRIDE_REPLACE = 1 +}; +enum kfd_dbg_trap_mask { + KFD_DBG_TRAP_MASK_FP_INVALID = 1, + KFD_DBG_TRAP_MASK_FP_INPUT_DENORMAL = 2, + KFD_DBG_TRAP_MASK_FP_DIVIDE_BY_ZERO = 4, + KFD_DBG_TRAP_MASK_FP_OVERFLOW = 8, + KFD_DBG_TRAP_MASK_FP_UNDERFLOW = 16, + KFD_DBG_TRAP_MASK_FP_INEXACT = 32, + KFD_DBG_TRAP_MASK_INT_DIVIDE_BY_ZERO = 64, + KFD_DBG_TRAP_MASK_DBG_ADDRESS_WATCH = 128, + KFD_DBG_TRAP_MASK_DBG_MEMORY_VIOLATION = 256, + KFD_DBG_TRAP_MASK_TRAP_ON_WAVE_START = (1 << 30), + KFD_DBG_TRAP_MASK_TRAP_ON_WAVE_END = (1 << 31) +}; +enum kfd_dbg_trap_wave_launch_mode { + KFD_DBG_TRAP_WAVE_LAUNCH_MODE_NORMAL = 0, + KFD_DBG_TRAP_WAVE_LAUNCH_MODE_HALT = 1, + KFD_DBG_TRAP_WAVE_LAUNCH_MODE_DEBUG = 3 +}; +enum kfd_dbg_trap_address_watch_mode { + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_READ = 0, + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_NONREAD = 1, + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_ATOMIC = 2, + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_ALL = 3 +}; +enum kfd_dbg_trap_flags { + KFD_DBG_TRAP_FLAG_SINGLE_MEM_OP = 1, +}; +enum kfd_dbg_trap_exception_code { + EC_NONE = 0, + EC_QUEUE_WAVE_ABORT = 1, + EC_QUEUE_WAVE_TRAP = 2, + EC_QUEUE_WAVE_MATH_ERROR = 3, + EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION = 4, + EC_QUEUE_WAVE_MEMORY_VIOLATION = 5, + EC_QUEUE_WAVE_APERTURE_VIOLATION = 6, + EC_QUEUE_PACKET_DISPATCH_DIM_INVALID = 16, + EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID = 17, + EC_QUEUE_PACKET_DISPATCH_CODE_INVALID = 18, + EC_QUEUE_PACKET_RESERVED = 19, + EC_QUEUE_PACKET_UNSUPPORTED = 20, + EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID = 21, + EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID = 22, + EC_QUEUE_PACKET_VENDOR_UNSUPPORTED = 23, + EC_QUEUE_PREEMPTION_ERROR = 30, + EC_QUEUE_NEW = 31, + EC_DEVICE_QUEUE_DELETE = 32, + EC_DEVICE_MEMORY_VIOLATION = 33, + EC_DEVICE_RAS_ERROR = 34, + EC_DEVICE_FATAL_HALT = 35, + EC_DEVICE_NEW = 36, + EC_PROCESS_RUNTIME = 48, + EC_PROCESS_DEVICE_REMOVE = 49, + EC_MAX +}; +#define KFD_EC_MASK(ecode) (1ULL << (ecode - 1)) +#define KFD_EC_MASK_QUEUE (KFD_EC_MASK(EC_QUEUE_WAVE_ABORT) | KFD_EC_MASK(EC_QUEUE_WAVE_TRAP) | KFD_EC_MASK(EC_QUEUE_WAVE_MATH_ERROR) | KFD_EC_MASK(EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION) | KFD_EC_MASK(EC_QUEUE_WAVE_MEMORY_VIOLATION) | KFD_EC_MASK(EC_QUEUE_WAVE_APERTURE_VIOLATION) | KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_DIM_INVALID) | KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID) | KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_CODE_INVALID) | KFD_EC_MASK(EC_QUEUE_PACKET_RESERVED) | KFD_EC_MASK(EC_QUEUE_PACKET_UNSUPPORTED) | KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID) | KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID) | KFD_EC_MASK(EC_QUEUE_PACKET_VENDOR_UNSUPPORTED) | KFD_EC_MASK(EC_QUEUE_PREEMPTION_ERROR) | KFD_EC_MASK(EC_QUEUE_NEW)) +#define KFD_EC_MASK_DEVICE (KFD_EC_MASK(EC_DEVICE_QUEUE_DELETE) | KFD_EC_MASK(EC_DEVICE_RAS_ERROR) | KFD_EC_MASK(EC_DEVICE_FATAL_HALT) | KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION) | KFD_EC_MASK(EC_DEVICE_NEW)) +#define KFD_EC_MASK_PROCESS (KFD_EC_MASK(EC_PROCESS_RUNTIME) | KFD_EC_MASK(EC_PROCESS_DEVICE_REMOVE)) +#define KFD_DBG_EC_TYPE_IS_QUEUE(ecode) (! ! (KFD_EC_MASK(ecode) & KFD_EC_MASK_QUEUE)) +#define KFD_DBG_EC_TYPE_IS_DEVICE(ecode) (! ! (KFD_EC_MASK(ecode) & KFD_EC_MASK_DEVICE)) +#define KFD_DBG_EC_TYPE_IS_PROCESS(ecode) (! ! (KFD_EC_MASK(ecode) & KFD_EC_MASK_PROCESS)) +enum kfd_dbg_runtime_state { + DEBUG_RUNTIME_STATE_DISABLED = 0, + DEBUG_RUNTIME_STATE_ENABLED = 1, + DEBUG_RUNTIME_STATE_ENABLED_BUSY = 2, + DEBUG_RUNTIME_STATE_ENABLED_ERROR = 3 +}; +struct kfd_runtime_info { + __u64 r_debug; + __u32 runtime_state; + __u32 ttmp_setup; +}; +#define KFD_RUNTIME_ENABLE_MODE_ENABLE_MASK 1 +#define KFD_RUNTIME_ENABLE_MODE_TTMP_SAVE_MASK 2 +struct kfd_ioctl_runtime_enable_args { + __u64 r_debug; + __u32 mode_mask; + __u32 capabilities_mask; +}; +struct kfd_queue_snapshot_entry { + __u64 exception_status; + __u64 ring_base_address; + __u64 write_pointer_address; + __u64 read_pointer_address; + __u64 ctx_save_restore_address; + __u32 queue_id; + __u32 gpu_id; + __u32 ring_size; + __u32 queue_type; + __u32 ctx_save_restore_area_size; + __u32 reserved; +}; +#define KFD_DBG_QUEUE_ERROR_BIT 30 +#define KFD_DBG_QUEUE_INVALID_BIT 31 +#define KFD_DBG_QUEUE_ERROR_MASK (1 << KFD_DBG_QUEUE_ERROR_BIT) +#define KFD_DBG_QUEUE_INVALID_MASK (1 << KFD_DBG_QUEUE_INVALID_BIT) +struct kfd_context_save_area_header { + struct { + __u32 control_stack_offset; + __u32 control_stack_size; + __u32 wave_state_offset; + __u32 wave_state_size; + } wave_state; + __u32 debug_offset; + __u32 debug_size; + __u64 err_payload_addr; + __u32 err_event_id; + __u32 reserved1; +}; +enum kfd_dbg_trap_operations { + KFD_IOC_DBG_TRAP_ENABLE = 0, + KFD_IOC_DBG_TRAP_DISABLE = 1, + KFD_IOC_DBG_TRAP_SEND_RUNTIME_EVENT = 2, + KFD_IOC_DBG_TRAP_SET_EXCEPTIONS_ENABLED = 3, + KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_OVERRIDE = 4, + KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_MODE = 5, + KFD_IOC_DBG_TRAP_SUSPEND_QUEUES = 6, + KFD_IOC_DBG_TRAP_RESUME_QUEUES = 7, + KFD_IOC_DBG_TRAP_SET_NODE_ADDRESS_WATCH = 8, + KFD_IOC_DBG_TRAP_CLEAR_NODE_ADDRESS_WATCH = 9, + KFD_IOC_DBG_TRAP_SET_FLAGS = 10, + KFD_IOC_DBG_TRAP_QUERY_DEBUG_EVENT = 11, + KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO = 12, + KFD_IOC_DBG_TRAP_GET_QUEUE_SNAPSHOT = 13, + KFD_IOC_DBG_TRAP_GET_DEVICE_SNAPSHOT = 14 +}; +struct kfd_ioctl_dbg_trap_enable_args { + __u64 exception_mask; + __u64 rinfo_ptr; + __u32 rinfo_size; + __u32 dbg_fd; +}; +struct kfd_ioctl_dbg_trap_send_runtime_event_args { + __u64 exception_mask; + __u32 gpu_id; + __u32 queue_id; +}; +struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args { + __u64 exception_mask; +}; +struct kfd_ioctl_dbg_trap_set_wave_launch_override_args { + __u32 override_mode; + __u32 enable_mask; + __u32 support_request_mask; + __u32 pad; +}; +struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args { + __u32 launch_mode; + __u32 pad; +}; +struct kfd_ioctl_dbg_trap_suspend_queues_args { + __u64 exception_mask; + __u64 queue_array_ptr; + __u32 num_queues; + __u32 grace_period; +}; +struct kfd_ioctl_dbg_trap_resume_queues_args { + __u64 queue_array_ptr; + __u32 num_queues; + __u32 pad; +}; +struct kfd_ioctl_dbg_trap_set_node_address_watch_args { + __u64 address; + __u32 mode; + __u32 mask; + __u32 gpu_id; + __u32 id; +}; +struct kfd_ioctl_dbg_trap_clear_node_address_watch_args { + __u32 gpu_id; + __u32 id; +}; +struct kfd_ioctl_dbg_trap_set_flags_args { + __u32 flags; + __u32 pad; +}; +struct kfd_ioctl_dbg_trap_query_debug_event_args { + __u64 exception_mask; + __u32 gpu_id; + __u32 queue_id; +}; +struct kfd_ioctl_dbg_trap_query_exception_info_args { + __u64 info_ptr; + __u32 info_size; + __u32 source_id; + __u32 exception_code; + __u32 clear_exception; +}; +struct kfd_ioctl_dbg_trap_queue_snapshot_args { + __u64 exception_mask; + __u64 snapshot_buf_ptr; + __u32 num_queues; + __u32 entry_size; +}; +struct kfd_ioctl_dbg_trap_device_snapshot_args { + __u64 exception_mask; + __u64 snapshot_buf_ptr; + __u32 num_devices; + __u32 entry_size; +}; +struct kfd_ioctl_dbg_trap_args { + __u32 pid; + __u32 op; + union { + struct kfd_ioctl_dbg_trap_enable_args enable; + struct kfd_ioctl_dbg_trap_send_runtime_event_args send_runtime_event; + struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args set_exceptions_enabled; + struct kfd_ioctl_dbg_trap_set_wave_launch_override_args launch_override; + struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args launch_mode; + struct kfd_ioctl_dbg_trap_suspend_queues_args suspend_queues; + struct kfd_ioctl_dbg_trap_resume_queues_args resume_queues; + struct kfd_ioctl_dbg_trap_set_node_address_watch_args set_node_address_watch; + struct kfd_ioctl_dbg_trap_clear_node_address_watch_args clear_node_address_watch; + struct kfd_ioctl_dbg_trap_set_flags_args set_flags; + struct kfd_ioctl_dbg_trap_query_debug_event_args query_debug_event; + struct kfd_ioctl_dbg_trap_query_exception_info_args query_exception_info; + struct kfd_ioctl_dbg_trap_queue_snapshot_args queue_snapshot; + struct kfd_ioctl_dbg_trap_device_snapshot_args device_snapshot; + }; +}; #define AMDKFD_IOCTL_BASE 'K' #define AMDKFD_IO(nr) _IO(AMDKFD_IOCTL_BASE, nr) #define AMDKFD_IOR(nr,type) _IOR(AMDKFD_IOCTL_BASE, nr, type) @@ -451,6 +699,9 @@ struct kfd_ioctl_set_xnack_mode_args { #define AMDKFD_IOC_SET_XNACK_MODE AMDKFD_IOWR(0x21, struct kfd_ioctl_set_xnack_mode_args) #define AMDKFD_IOC_CRIU_OP AMDKFD_IOWR(0x22, struct kfd_ioctl_criu_args) #define AMDKFD_IOC_AVAILABLE_MEMORY AMDKFD_IOWR(0x23, struct kfd_ioctl_get_available_memory_args) +#define AMDKFD_IOC_EXPORT_DMABUF AMDKFD_IOWR(0x24, struct kfd_ioctl_export_dmabuf_args) +#define AMDKFD_IOC_RUNTIME_ENABLE AMDKFD_IOWR(0x25, struct kfd_ioctl_runtime_enable_args) +#define AMDKFD_IOC_DBG_TRAP AMDKFD_IOWR(0x26, struct kfd_ioctl_dbg_trap_args) #define AMDKFD_COMMAND_START 0x01 -#define AMDKFD_COMMAND_END 0x24 +#define AMDKFD_COMMAND_END 0x27 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_sysfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_sysfs.h index 9604b035..e538cf26 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_sysfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kfd_sysfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef KFD_SYSFS_H_INCLUDED #define KFD_SYSFS_H_INCLUDED #define HSA_CAP_HOT_PLUGGABLE 0x00000001 @@ -34,6 +22,10 @@ #define HSA_CAP_DOORBELL_TYPE_1_0 0x1 #define HSA_CAP_DOORBELL_TYPE_2_0 0x2 #define HSA_CAP_AQL_QUEUE_DOUBLE_MAP 0x00004000 +#define HSA_CAP_TRAP_DEBUG_SUPPORT 0x00008000 +#define HSA_CAP_TRAP_DEBUG_WAVE_LAUNCH_TRAP_OVERRIDE_SUPPORTED 0x00010000 +#define HSA_CAP_TRAP_DEBUG_WAVE_LAUNCH_MODE_SUPPORTED 0x00020000 +#define HSA_CAP_TRAP_DEBUG_PRECISE_MEMORY_OPERATIONS_SUPPORTED 0x00040000 #define HSA_CAP_RESERVED_WAS_SRAM_EDCSUPPORTED 0x00080000 #define HSA_CAP_MEM_EDCSUPPORTED 0x00100000 #define HSA_CAP_RASEVENTNOTIFY 0x00200000 @@ -42,7 +34,15 @@ #define HSA_CAP_SRAM_EDCSUPPORTED 0x04000000 #define HSA_CAP_SVMAPI_SUPPORTED 0x08000000 #define HSA_CAP_FLAGS_COHERENTHOSTACCESS 0x10000000 +#define HSA_CAP_TRAP_DEBUG_FIRMWARE_SUPPORTED 0x20000000 #define HSA_CAP_RESERVED 0xe00f8000 +#define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_MASK 0x0000000f +#define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_SHIFT 0 +#define HSA_DBG_WATCH_ADDR_MASK_HI_BIT_MASK 0x000003f0 +#define HSA_DBG_WATCH_ADDR_MASK_HI_BIT_SHIFT 4 +#define HSA_DBG_DISPATCH_INFO_ALWAYS_VALID 0x00000400 +#define HSA_DBG_WATCHPOINTS_EXCLUSIVE 0x00000800 +#define HSA_DBG_RESERVED 0xfffffffffffff000ull #define HSA_MEM_HEAP_TYPE_SYSTEM 0 #define HSA_MEM_HEAP_TYPE_FB_PUBLIC 1 #define HSA_MEM_HEAP_TYPE_FB_PRIVATE 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm.h index 342c5c9a..2a89638f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_KVM_H #define __LINUX_KVM_H #include <linux/const.h> @@ -212,6 +200,7 @@ struct kvm_xen_exit { #define KVM_EXIT_RISCV_SBI 35 #define KVM_EXIT_RISCV_CSR 36 #define KVM_EXIT_NOTIFY 37 +#define KVM_EXIT_LOONGARCH_IOCSR 38 #define KVM_INTERNAL_ERROR_EMULATION 1 #define KVM_INTERNAL_ERROR_SIMUL_EX 2 #define KVM_INTERNAL_ERROR_DELIVERY_EV 3 @@ -262,11 +251,19 @@ struct kvm_run { __u8 is_write; } mmio; struct { + __u64 phys_addr; + __u8 data[8]; + __u32 len; + __u8 is_write; + } iocsr_io; + struct { __u64 nr; __u64 args[6]; __u64 ret; - __u32 longmode; - __u32 pad; + union { + __u32 longmode; + __u64 flags; + }; } hypercall; struct { __u64 rip; @@ -932,6 +929,10 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_S390_PROTECTED_ASYNC_DISABLE 224 #define KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP 225 #define KVM_CAP_PMU_EVENT_MASKED_EVENTS 226 +#define KVM_CAP_COUNTER_OFFSET 227 +#define KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE 228 +#define KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES 229 +#define KVM_CAP_ARM_SUPPORTED_REG_MASK_RANGES 230 #ifdef KVM_CAP_IRQ_ROUTING struct kvm_irq_routing_irqchip { __u32 irqchip; @@ -1059,6 +1060,7 @@ struct kvm_dirty_tlb { #define KVM_REG_ARM64 0x6000000000000000ULL #define KVM_REG_MIPS 0x7000000000000000ULL #define KVM_REG_RISCV 0x8000000000000000ULL +#define KVM_REG_LOONGARCH 0x9000000000000000ULL #define KVM_REG_SIZE_SHIFT 52 #define KVM_REG_SIZE_MASK 0x00f0000000000000ULL #define KVM_REG_SIZE_U8 0x0000000000000000ULL @@ -1103,9 +1105,12 @@ struct kvm_device_attr { __u64 attr; __u64 addr; }; -#define KVM_DEV_VFIO_GROUP 1 -#define KVM_DEV_VFIO_GROUP_ADD 1 -#define KVM_DEV_VFIO_GROUP_DEL 2 +#define KVM_DEV_VFIO_FILE 1 +#define KVM_DEV_VFIO_FILE_ADD 1 +#define KVM_DEV_VFIO_FILE_DEL 2 +#define KVM_DEV_VFIO_GROUP KVM_DEV_VFIO_FILE +#define KVM_DEV_VFIO_GROUP_ADD KVM_DEV_VFIO_FILE_ADD +#define KVM_DEV_VFIO_GROUP_DEL KVM_DEV_VFIO_FILE_DEL #define KVM_DEV_VFIO_GROUP_SET_SPAPR_TCE 3 enum kvm_device_type { KVM_DEV_TYPE_FSL_MPIC_20 = 1, @@ -1128,6 +1133,8 @@ enum kvm_device_type { #define KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_ARM_PV_TIME, #define KVM_DEV_TYPE_ARM_PV_TIME KVM_DEV_TYPE_ARM_PV_TIME + KVM_DEV_TYPE_RISCV_AIA, +#define KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_MAX, }; struct kvm_vfio_spapr_tce { @@ -1198,6 +1205,8 @@ struct kvm_s390_ucas_mapping { #define KVM_SET_PMU_EVENT_FILTER _IOW(KVMIO, 0xb2, struct kvm_pmu_event_filter) #define KVM_PPC_SVM_OFF _IO(KVMIO, 0xb3) #define KVM_ARM_MTE_COPY_TAGS _IOR(KVMIO, 0xb4, struct kvm_arm_copy_mte_tags) +#define KVM_ARM_SET_COUNTER_OFFSET _IOW(KVMIO, 0xb5, struct kvm_arm_counter_offset) +#define KVM_ARM_GET_REG_WRITABLE_MASKS _IOR(KVMIO, 0xb6, struct reg_mask_range) #define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct kvm_create_device) #define KVM_SET_DEVICE_ATTR _IOW(KVMIO, 0xe1, struct kvm_device_attr) #define KVM_GET_DEVICE_ATTR _IOW(KVMIO, 0xe2, struct kvm_device_attr) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm_para.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm_para.h index 85084c25..762bd9cb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm_para.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/kvm_para.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_KVM_PARA_H #define _UAPI__LINUX_KVM_PARA_H #define KVM_ENOSYS 1000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/l2tp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/l2tp.h index dee634e7..d8147162 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/l2tp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/l2tp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_L2TP_H_ #define _UAPI_LINUX_L2TP_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/landlock.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/landlock.h index c284ea4c..75d30377 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/landlock.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/landlock.h @@ -1,35 +1,29 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_LANDLOCK_H #define _UAPI_LINUX_LANDLOCK_H #include <linux/types.h> struct landlock_ruleset_attr { __u64 handled_access_fs; + __u64 handled_access_net; }; #define LANDLOCK_CREATE_RULESET_VERSION (1U << 0) enum landlock_rule_type { LANDLOCK_RULE_PATH_BENEATH = 1, + LANDLOCK_RULE_NET_PORT, }; struct landlock_path_beneath_attr { __u64 allowed_access; __s32 parent_fd; } __attribute__((packed)); +struct landlock_net_port_attr { + __u64 allowed_access; + __u64 port; +}; #define LANDLOCK_ACCESS_FS_EXECUTE (1ULL << 0) #define LANDLOCK_ACCESS_FS_WRITE_FILE (1ULL << 1) #define LANDLOCK_ACCESS_FS_READ_FILE (1ULL << 2) @@ -45,4 +39,6 @@ struct landlock_path_beneath_attr { #define LANDLOCK_ACCESS_FS_MAKE_SYM (1ULL << 12) #define LANDLOCK_ACCESS_FS_REFER (1ULL << 13) #define LANDLOCK_ACCESS_FS_TRUNCATE (1ULL << 14) +#define LANDLOCK_ACCESS_NET_BIND_TCP (1ULL << 0) +#define LANDLOCK_ACCESS_NET_CONNECT_TCP (1ULL << 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/libc-compat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/libc-compat.h index 447a46a7..289b7c50 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/libc-compat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/libc-compat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LIBC_COMPAT_H #define _UAPI_LIBC_COMPAT_H #ifdef __GLIBC__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/limits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/limits.h index 101b7aa3..e2d5103c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/limits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/limits.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_LIMITS_H #define _UAPI_LINUX_LIMITS_H #define NR_OPEN 1024 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lirc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lirc.h index dff0b638..2dea7328 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lirc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lirc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_LIRC_H #define _LINUX_LIRC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/llc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/llc.h index e6f778fb..9e2d6324 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/llc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/llc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_LLC_H #define _UAPI__LINUX_LLC_H #include <linux/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loadpin.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loadpin.h index 2641939f..69b95076 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loadpin.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loadpin.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_LOOP_LOADPIN_H #define _UAPI_LINUX_LOOP_LOADPIN_H #define LOADPIN_IOC_MAGIC 'L' diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loop.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loop.h index 56eba910..eb6ba1b6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loop.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/loop.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_LOOP_H #define _UAPI_LINUX_LOOP_H #define LO_NAME_SIZE 64 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lp.h index 35d5d5a7..277b3de4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_LP_H #define _UAPI_LINUX_LP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lwtunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lwtunnel.h index 94011ddc..5cb09013 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lwtunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/lwtunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LWTUNNEL_H_ #define _UAPI_LWTUNNEL_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/magic.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/magic.h index ac2a0f3d..c4d698ea 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/magic.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/magic.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_MAGIC_H__ #define __LINUX_MAGIC_H__ #define ADFS_SUPER_MAGIC 0xadf5 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/major.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/major.h index f5e2cfb8..24667ea3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/major.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/major.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_MAJOR_H #define _LINUX_MAJOR_H #define UNNAMED_MAJOR 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_14segment.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_14segment.h index 657df6c5..9e4baa66 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_14segment.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_14segment.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MAP_TO_14SEGMENT_H #define MAP_TO_14SEGMENT_H #include <linux/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_7segment.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_7segment.h index ccb76d3d..cd2053ba 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_7segment.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/map_to_7segment.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MAP_TO_7SEGMENT_H #define MAP_TO_7SEGMENT_H #include <linux/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/matroxfb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/matroxfb.h index 37f63226..fe854cec 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/matroxfb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/matroxfb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_MATROXFB_H__ #define __LINUX_MATROXFB_H__ #include <asm/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/max2175.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/max2175.h index e6998e15..995a9baf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/max2175.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/max2175.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_MAX2175_H_ #define __UAPI_MAX2175_H_ #include <linux/v4l2-controls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mctp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mctp.h index f02c12f8..8920339a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mctp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mctp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_MCTP_H #define __UAPI_MCTP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mdio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mdio.h index 725eb1ac..7ea6a727 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mdio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mdio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_MDIO_H__ #define _UAPI__LINUX_MDIO_H__ #include <linux/types.h> @@ -81,6 +69,8 @@ #define MDIO_AN_10BT1_AN_CTRL 526 #define MDIO_AN_10BT1_AN_STAT 527 #define MDIO_PMA_PMD_BT1_CTRL 2100 +#define MDIO_PCS_1000BT1_CTRL 2304 +#define MDIO_PCS_1000BT1_STAT 2305 #define MDIO_PMA_LASI_RXCTRL 0x9000 #define MDIO_PMA_LASI_TXCTRL 0x9001 #define MDIO_PMA_LASI_CTRL 0x9002 @@ -202,6 +192,28 @@ #define MDIO_PMA_EXTABLE_10BT 0x0100 #define MDIO_PMA_EXTABLE_BT1 0x0800 #define MDIO_PMA_EXTABLE_NBT 0x4000 +#define MDIO_AN_C73_0_S_MASK GENMASK(4, 0) +#define MDIO_AN_C73_0_E_MASK GENMASK(9, 5) +#define MDIO_AN_C73_0_PAUSE BIT(10) +#define MDIO_AN_C73_0_ASM_DIR BIT(11) +#define MDIO_AN_C73_0_C2 BIT(12) +#define MDIO_AN_C73_0_RF BIT(13) +#define MDIO_AN_C73_0_ACK BIT(14) +#define MDIO_AN_C73_0_NP BIT(15) +#define MDIO_AN_C73_1_T_MASK GENMASK(4, 0) +#define MDIO_AN_C73_1_1000BASE_KX BIT(5) +#define MDIO_AN_C73_1_10GBASE_KX4 BIT(6) +#define MDIO_AN_C73_1_10GBASE_KR BIT(7) +#define MDIO_AN_C73_1_40GBASE_KR4 BIT(8) +#define MDIO_AN_C73_1_40GBASE_CR4 BIT(9) +#define MDIO_AN_C73_1_100GBASE_CR10 BIT(10) +#define MDIO_AN_C73_1_100GBASE_KP4 BIT(11) +#define MDIO_AN_C73_1_100GBASE_KR4 BIT(12) +#define MDIO_AN_C73_1_100GBASE_CR4 BIT(13) +#define MDIO_AN_C73_1_25GBASE_R_S BIT(14) +#define MDIO_AN_C73_1_25GBASE_R BIT(15) +#define MDIO_AN_C73_2_2500BASE_KX BIT(0) +#define MDIO_AN_C73_2_5GBASE_KR BIT(1) #define MDIO_PHYXS_LNSTAT_SYNC0 0x0001 #define MDIO_PHYXS_LNSTAT_SYNC1 0x0002 #define MDIO_PHYXS_LNSTAT_SYNC2 0x0004 @@ -251,6 +263,8 @@ #define MDIO_PMA_10T1L_STAT_LB_ABLE 0x2000 #define MDIO_PCS_10T1L_CTRL_LB 0x4000 #define MDIO_PCS_10T1L_CTRL_RESET 0x8000 +#define MDIO_PMA_PMD_BT1_B100_ABLE 0x0001 +#define MDIO_PMA_PMD_BT1_B1000_ABLE 0x0002 #define MDIO_PMA_PMD_BT1_B10L_ABLE 0x0004 #define MDIO_AN_T1_ADV_L_PAUSE_CAP ADVERTISE_PAUSE_CAP #define MDIO_AN_T1_ADV_L_PAUSE_ASYM ADVERTISE_PAUSE_ASYM @@ -274,7 +288,14 @@ #define MDIO_AN_T1_LP_H_10L_TX_HI 0x2000 #define MDIO_AN_10BT1_AN_CTRL_ADV_EEE_T1L 0x4000 #define MDIO_AN_10BT1_AN_STAT_LPA_EEE_T1L 0x4000 +#define MDIO_PMA_PMD_BT1_CTRL_STRAP 0x000F +#define MDIO_PMA_PMD_BT1_CTRL_STRAP_B1000 0x0001 #define MDIO_PMA_PMD_BT1_CTRL_CFG_MST 0x4000 +#define MDIO_PCS_1000BT1_CTRL_LOW_POWER 0x0800 +#define MDIO_PCS_1000BT1_CTRL_DISABLE_TX 0x4000 +#define MDIO_PCS_1000BT1_CTRL_RESET 0x8000 +#define MDIO_PCS_1000BT1_STAT_LINK 0x0004 +#define MDIO_PCS_1000BT1_STAT_FAULT 0x0080 #define MDIO_AN_EEE_ADV_100TX 0x0002 #define MDIO_AN_EEE_ADV_1000T 0x0004 #define MDIO_EEE_100TX MDIO_AN_EEE_ADV_100TX diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media-bus-format.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media-bus-format.h index 79d4cd5e..230bfbbe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media-bus-format.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media-bus-format.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_MEDIA_BUS_FORMAT_H #define __LINUX_MEDIA_BUS_FORMAT_H #define MEDIA_BUS_FMT_FIXED 0x0001 @@ -30,6 +18,7 @@ #define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007 #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008 #define MEDIA_BUS_FMT_RGB666_1X18 0x1009 +#define MEDIA_BUS_FMT_RGB666_2X9_BE 0x1025 #define MEDIA_BUS_FMT_BGR666_1X18 0x1023 #define MEDIA_BUS_FMT_RBG888_1X24 0x100e #define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media.h index fe97e90f..a8c40c4c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/media.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_MEDIA_H #define __LINUX_MEDIA_H #include <linux/ioctl.h> @@ -66,8 +54,8 @@ struct media_device_info { #define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4) #define MEDIA_ENT_F_DV_DECODER (MEDIA_ENT_F_BASE + 0x6001) #define MEDIA_ENT_F_DV_ENCODER (MEDIA_ENT_F_BASE + 0x6002) -#define MEDIA_ENT_FL_DEFAULT (1 << 0) -#define MEDIA_ENT_FL_CONNECTOR (1 << 1) +#define MEDIA_ENT_FL_DEFAULT (1U << 0) +#define MEDIA_ENT_FL_CONNECTOR (1U << 1) #define MEDIA_ENT_ID_FLAG_NEXT (1U << 31) struct media_entity_desc { __u32 id; @@ -101,22 +89,22 @@ struct media_entity_desc { __u8 raw[184]; }; }; -#define MEDIA_PAD_FL_SINK (1 << 0) -#define MEDIA_PAD_FL_SOURCE (1 << 1) -#define MEDIA_PAD_FL_MUST_CONNECT (1 << 2) +#define MEDIA_PAD_FL_SINK (1U << 0) +#define MEDIA_PAD_FL_SOURCE (1U << 1) +#define MEDIA_PAD_FL_MUST_CONNECT (1U << 2) struct media_pad_desc { __u32 entity; __u16 index; __u32 flags; __u32 reserved[2]; }; -#define MEDIA_LNK_FL_ENABLED (1 << 0) -#define MEDIA_LNK_FL_IMMUTABLE (1 << 1) -#define MEDIA_LNK_FL_DYNAMIC (1 << 2) +#define MEDIA_LNK_FL_ENABLED (1U << 0) +#define MEDIA_LNK_FL_IMMUTABLE (1U << 1) +#define MEDIA_LNK_FL_DYNAMIC (1U << 2) #define MEDIA_LNK_FL_LINK_TYPE (0xf << 28) -#define MEDIA_LNK_FL_DATA_LINK (0 << 28) -#define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28) -#define MEDIA_LNK_FL_ANCILLARY_LINK (2 << 28) +#define MEDIA_LNK_FL_DATA_LINK (0U << 28) +#define MEDIA_LNK_FL_INTERFACE_LINK (1U << 28) +#define MEDIA_LNK_FL_ANCILLARY_LINK (2U << 28) struct media_link_desc { struct media_pad_desc source; struct media_pad_desc sink; @@ -146,7 +134,7 @@ struct media_links_enum { #define MEDIA_INTF_T_ALSA_PCM_CAPTURE (MEDIA_INTF_T_ALSA_BASE) #define MEDIA_INTF_T_ALSA_PCM_PLAYBACK (MEDIA_INTF_T_ALSA_BASE + 1) #define MEDIA_INTF_T_ALSA_CONTROL (MEDIA_INTF_T_ALSA_BASE + 2) -#define MEDIA_V2_ENTITY_HAS_FLAGS(media_version) ((media_version) >= ((4 << 16) | (19 << 8) | 0)) +#define MEDIA_V2_ENTITY_HAS_FLAGS(media_version) ((media_version) >= ((4U << 16) | (19U << 8) | 0U)) struct media_v2_entity { __u32 id; char name[64]; @@ -168,7 +156,7 @@ struct media_v2_interface { __u32 raw[16]; }; } __attribute__((packed)); -#define MEDIA_V2_PAD_HAS_INDEX(media_version) ((media_version) >= ((4 << 16) | (19 << 8) | 0)) +#define MEDIA_V2_PAD_HAS_INDEX(media_version) ((media_version) >= ((4U << 16) | (19U << 8) | 0U)) struct media_v2_pad { __u32 id; __u32 entity_id; @@ -229,5 +217,5 @@ struct media_v2_topology { #define MEDIA_INTF_T_ALSA_HWDEP (MEDIA_INTF_T_ALSA_BASE + 5) #define MEDIA_INTF_T_ALSA_SEQUENCER (MEDIA_INTF_T_ALSA_BASE + 6) #define MEDIA_INTF_T_ALSA_TIMER (MEDIA_INTF_T_ALSA_BASE + 7) -#define MEDIA_API_VERSION ((0 << 16) | (1 << 8) | 0) +#define MEDIA_API_VERSION ((0U << 16) | (1U << 8) | 0U) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei.h index ed37abdc..f99def1e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei.h @@ -1,24 +1,12 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_MEI_H #define _LINUX_MEI_H -#include <linux/uuid.h> +#include <linux/mei_uuid.h> #define IOCTL_MEI_CONNECT_CLIENT _IOWR('H', 0x01, struct mei_connect_client_data) struct mei_client { __u32 max_msg_length; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei_uuid.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei_uuid.h new file mode 100644 index 00000000..a862f6fa --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mei_uuid.h @@ -0,0 +1,17 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_MEI_UUID_H_ +#define _UAPI_LINUX_MEI_UUID_H_ +#include <linux/types.h> +typedef struct { + __u8 b[16]; +} uuid_le; +#define UUID_LE(a,b,c,d0,d1,d2,d3,d4,d5,d6,d7) \ +((uuid_le) \ +{ { (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, (b) & 0xff, ((b) >> 8) & 0xff, (c) & 0xff, ((c) >> 8) & 0xff, (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) } }) +#define NULL_UUID_LE UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/membarrier.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/membarrier.h index 94dd7970..febca569 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/membarrier.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/membarrier.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MEMBARRIER_H #define _UAPI_LINUX_MEMBARRIER_H enum membarrier_cmd { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/memfd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/memfd.h index 28228df6..5403c7a6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/memfd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/memfd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MEMFD_H #define _UAPI_LINUX_MEMFD_H #include <asm-generic/hugetlb_encode.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mempolicy.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mempolicy.h index f92970f4..6cd8fd1a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mempolicy.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mempolicy.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MEMPOLICY_H #define _UAPI_LINUX_MEMPOLICY_H #include <linux/errno.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mii.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mii.h index a489015d..6db27104 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mii.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mii.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_MII_H__ #define _UAPI__LINUX_MII_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/minix_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/minix_fs.h index 0878efea..0e6c271b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/minix_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/minix_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_MINIX_FS_H #define _LINUX_MINIX_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/misc/bcm_vk.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/misc/bcm_vk.h index b1b966d6..5ee9723b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/misc/bcm_vk.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/misc/bcm_vk.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_LINUX_MISC_BCM_VK_H #define __UAPI_LINUX_MISC_BCM_VK_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h index 9fdccf63..cf1e978e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mman.h @@ -1,25 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MMAN_H #define _UAPI_LINUX_MMAN_H #include <asm/mman.h> #include <asm-generic/hugetlb_encode.h> +#include <linux/types.h> #define MREMAP_MAYMOVE 1 #define MREMAP_FIXED 2 #define MREMAP_DONTUNMAP 4 @@ -44,4 +33,15 @@ #define MAP_HUGE_1GB HUGETLB_FLAG_ENCODE_1GB #define MAP_HUGE_2GB HUGETLB_FLAG_ENCODE_2GB #define MAP_HUGE_16GB HUGETLB_FLAG_ENCODE_16GB +struct cachestat_range { + __u64 off; + __u64 len; +}; +struct cachestat { + __u64 nr_cache; + __u64 nr_dirty; + __u64 nr_writeback; + __u64 nr_evicted; + __u64 nr_recently_evicted; +}; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmc/ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmc/ioctl.h index 451134b9..1989981b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmc/ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmc/ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_MMC_IOCTL_H #define LINUX_MMC_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmtimer.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmtimer.h index babdb243..867ddd6c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmtimer.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mmtimer.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_MMTIMER_H #define _LINUX_MMTIMER_H #define MMTIMER_IOCTL_BASE 'm' diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/module.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/module.h index 34a4c564..17c103f6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/module.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/module.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MODULE_H #define _UAPI_LINUX_MODULE_H #define MODULE_INIT_IGNORE_MODVERSIONS 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mount.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mount.h index 2099b48c..faef8afc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mount.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mount.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MOUNT_H #define _UAPI_LINUX_MOUNT_H #include <linux/types.h> @@ -63,7 +51,8 @@ #define MOVE_MOUNT_T_AUTOMOUNTS 0x00000020 #define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 #define MOVE_MOUNT_SET_GROUP 0x00000100 -#define MOVE_MOUNT__MASK 0x00000177 +#define MOVE_MOUNT_BENEATH 0x00000200 +#define MOVE_MOUNT__MASK 0x00000377 #define FSOPEN_CLOEXEC 0x00000001 #define FSPICK_CLOEXEC 0x00000001 #define FSPICK_SYMLINK_NOFOLLOW 0x00000002 @@ -78,6 +67,7 @@ enum fsconfig_command { FSCONFIG_SET_FD = 5, FSCONFIG_CMD_CREATE = 6, FSCONFIG_CMD_RECONFIGURE = 7, + FSCONFIG_CMD_CREATE_EXCL = 8, }; #define FSMOUNT_CLOEXEC 0x00000001 #define MOUNT_ATTR_RDONLY 0x00000001 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls.h index 86d8e078..0e5a06f8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_MPLS_H #define _UAPI_MPLS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls_iptunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls_iptunnel.h index 473cb0d0..ea152e8b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls_iptunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mpls_iptunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H #define _UAPI_LINUX_MPLS_IPTUNNEL_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp.h index 9f7215cd..6f5d2724 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_MPTCP_H #define _UAPI_MPTCP_H #include <netinet/in.h> @@ -34,71 +22,16 @@ #define MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED _BITUL(6) #define MPTCP_SUBFLOW_FLAG_CONNECTED _BITUL(7) #define MPTCP_SUBFLOW_FLAG_MAPVALID _BITUL(8) -enum { - MPTCP_SUBFLOW_ATTR_UNSPEC, - MPTCP_SUBFLOW_ATTR_TOKEN_REM, - MPTCP_SUBFLOW_ATTR_TOKEN_LOC, - MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ, - MPTCP_SUBFLOW_ATTR_MAP_SEQ, - MPTCP_SUBFLOW_ATTR_MAP_SFSEQ, - MPTCP_SUBFLOW_ATTR_SSN_OFFSET, - MPTCP_SUBFLOW_ATTR_MAP_DATALEN, - MPTCP_SUBFLOW_ATTR_FLAGS, - MPTCP_SUBFLOW_ATTR_ID_REM, - MPTCP_SUBFLOW_ATTR_ID_LOC, - MPTCP_SUBFLOW_ATTR_PAD, - __MPTCP_SUBFLOW_ATTR_MAX -}; -#define MPTCP_SUBFLOW_ATTR_MAX (__MPTCP_SUBFLOW_ATTR_MAX - 1) -#define MPTCP_PM_NAME "mptcp_pm" #define MPTCP_PM_CMD_GRP_NAME "mptcp_pm_cmds" #define MPTCP_PM_EV_GRP_NAME "mptcp_pm_events" -#define MPTCP_PM_VER 0x1 -enum { - MPTCP_PM_ATTR_UNSPEC, - MPTCP_PM_ATTR_ADDR, - MPTCP_PM_ATTR_RCV_ADD_ADDRS, - MPTCP_PM_ATTR_SUBFLOWS, - MPTCP_PM_ATTR_TOKEN, - MPTCP_PM_ATTR_LOC_ID, - MPTCP_PM_ATTR_ADDR_REMOTE, - __MPTCP_PM_ATTR_MAX -}; -#define MPTCP_PM_ATTR_MAX (__MPTCP_PM_ATTR_MAX - 1) -enum { - MPTCP_PM_ADDR_ATTR_UNSPEC, - MPTCP_PM_ADDR_ATTR_FAMILY, - MPTCP_PM_ADDR_ATTR_ID, - MPTCP_PM_ADDR_ATTR_ADDR4, - MPTCP_PM_ADDR_ATTR_ADDR6, - MPTCP_PM_ADDR_ATTR_PORT, - MPTCP_PM_ADDR_ATTR_FLAGS, - MPTCP_PM_ADDR_ATTR_IF_IDX, - __MPTCP_PM_ADDR_ATTR_MAX -}; -#define MPTCP_PM_ADDR_ATTR_MAX (__MPTCP_PM_ADDR_ATTR_MAX - 1) +#include <linux/mptcp_pm.h> +#define MPTCP_INFO_FLAG_FALLBACK _BITUL(0) +#define MPTCP_INFO_FLAG_REMOTE_KEY_RECEIVED _BITUL(1) #define MPTCP_PM_ADDR_FLAG_SIGNAL (1 << 0) #define MPTCP_PM_ADDR_FLAG_SUBFLOW (1 << 1) #define MPTCP_PM_ADDR_FLAG_BACKUP (1 << 2) #define MPTCP_PM_ADDR_FLAG_FULLMESH (1 << 3) #define MPTCP_PM_ADDR_FLAG_IMPLICIT (1 << 4) -enum { - MPTCP_PM_CMD_UNSPEC, - MPTCP_PM_CMD_ADD_ADDR, - MPTCP_PM_CMD_DEL_ADDR, - MPTCP_PM_CMD_GET_ADDR, - MPTCP_PM_CMD_FLUSH_ADDRS, - MPTCP_PM_CMD_SET_LIMITS, - MPTCP_PM_CMD_GET_LIMITS, - MPTCP_PM_CMD_SET_FLAGS, - MPTCP_PM_CMD_ANNOUNCE, - MPTCP_PM_CMD_REMOVE, - MPTCP_PM_CMD_SUBFLOW_CREATE, - MPTCP_PM_CMD_SUBFLOW_DESTROY, - __MPTCP_PM_CMD_AFTER_LAST -}; -#define MPTCP_INFO_FLAG_FALLBACK _BITUL(0) -#define MPTCP_INFO_FLAG_REMOTE_KEY_RECEIVED _BITUL(1) struct mptcp_info { __u8 mptcpi_subflows; __u8 mptcpi_add_addr_signal; @@ -114,43 +47,12 @@ struct mptcp_info { __u8 mptcpi_local_addr_used; __u8 mptcpi_local_addr_max; __u8 mptcpi_csum_enabled; + __u32 mptcpi_retransmits; + __u64 mptcpi_bytes_retrans; + __u64 mptcpi_bytes_sent; + __u64 mptcpi_bytes_received; + __u64 mptcpi_bytes_acked; }; -enum mptcp_event_type { - MPTCP_EVENT_UNSPEC = 0, - MPTCP_EVENT_CREATED = 1, - MPTCP_EVENT_ESTABLISHED = 2, - MPTCP_EVENT_CLOSED = 3, - MPTCP_EVENT_ANNOUNCED = 6, - MPTCP_EVENT_REMOVED = 7, - MPTCP_EVENT_SUB_ESTABLISHED = 10, - MPTCP_EVENT_SUB_CLOSED = 11, - MPTCP_EVENT_SUB_PRIORITY = 13, - MPTCP_EVENT_LISTENER_CREATED = 15, - MPTCP_EVENT_LISTENER_CLOSED = 16, -}; -enum mptcp_event_attr { - MPTCP_ATTR_UNSPEC = 0, - MPTCP_ATTR_TOKEN, - MPTCP_ATTR_FAMILY, - MPTCP_ATTR_LOC_ID, - MPTCP_ATTR_REM_ID, - MPTCP_ATTR_SADDR4, - MPTCP_ATTR_SADDR6, - MPTCP_ATTR_DADDR4, - MPTCP_ATTR_DADDR6, - MPTCP_ATTR_SPORT, - MPTCP_ATTR_DPORT, - MPTCP_ATTR_BACKUP, - MPTCP_ATTR_ERROR, - MPTCP_ATTR_FLAGS, - MPTCP_ATTR_TIMEOUT, - MPTCP_ATTR_IF_IDX, - MPTCP_ATTR_RESET_REASON, - MPTCP_ATTR_RESET_FLAGS, - MPTCP_ATTR_SERVER_SIDE, - __MPTCP_ATTR_AFTER_LAST -}; -#define MPTCP_ATTR_MAX (__MPTCP_ATTR_AFTER_LAST - 1) #define MPTCP_RST_EUNSPEC 0 #define MPTCP_RST_EMPTCP 1 #define MPTCP_RST_ERESOURCE 2 @@ -170,16 +72,32 @@ struct mptcp_subflow_addrs { struct sockaddr sa_local; struct sockaddr_in sin_local; struct sockaddr_in6 sin6_local; - struct __kernel_sockaddr_storage ss_local; + struct sockaddr_storage ss_local; }; union { struct sockaddr sa_remote; struct sockaddr_in sin_remote; struct sockaddr_in6 sin6_remote; - struct __kernel_sockaddr_storage ss_remote; + struct sockaddr_storage ss_remote; }; }; +struct mptcp_subflow_info { + __u32 id; + struct mptcp_subflow_addrs addrs; +}; +struct mptcp_full_info { + __u32 size_tcpinfo_kernel; + __u32 size_tcpinfo_user; + __u32 size_sfinfo_kernel; + __u32 size_sfinfo_user; + __u32 num_subflows; + __u32 size_arrays_user; + __aligned_u64 subflow_info; + __aligned_u64 tcp_info; + struct mptcp_info mptcp_info; +}; #define MPTCP_INFO 1 #define MPTCP_TCPINFO 2 #define MPTCP_SUBFLOW_ADDRS 3 +#define MPTCP_FULL_INFO 4 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp_pm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp_pm.h new file mode 100644 index 00000000..dfabc75c --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mptcp_pm.h @@ -0,0 +1,107 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_MPTCP_PM_H +#define _UAPI_LINUX_MPTCP_PM_H +#define MPTCP_PM_NAME "mptcp_pm" +#define MPTCP_PM_VER 1 +enum mptcp_event_type { + MPTCP_EVENT_UNSPEC, + MPTCP_EVENT_CREATED, + MPTCP_EVENT_ESTABLISHED, + MPTCP_EVENT_CLOSED, + MPTCP_EVENT_ANNOUNCED = 6, + MPTCP_EVENT_REMOVED, + MPTCP_EVENT_SUB_ESTABLISHED = 10, + MPTCP_EVENT_SUB_CLOSED, + MPTCP_EVENT_SUB_PRIORITY = 13, + MPTCP_EVENT_LISTENER_CREATED = 15, + MPTCP_EVENT_LISTENER_CLOSED, +}; +enum { + MPTCP_PM_ADDR_ATTR_UNSPEC, + MPTCP_PM_ADDR_ATTR_FAMILY, + MPTCP_PM_ADDR_ATTR_ID, + MPTCP_PM_ADDR_ATTR_ADDR4, + MPTCP_PM_ADDR_ATTR_ADDR6, + MPTCP_PM_ADDR_ATTR_PORT, + MPTCP_PM_ADDR_ATTR_FLAGS, + MPTCP_PM_ADDR_ATTR_IF_IDX, + __MPTCP_PM_ADDR_ATTR_MAX +}; +#define MPTCP_PM_ADDR_ATTR_MAX (__MPTCP_PM_ADDR_ATTR_MAX - 1) +enum { + MPTCP_SUBFLOW_ATTR_UNSPEC, + MPTCP_SUBFLOW_ATTR_TOKEN_REM, + MPTCP_SUBFLOW_ATTR_TOKEN_LOC, + MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ, + MPTCP_SUBFLOW_ATTR_MAP_SEQ, + MPTCP_SUBFLOW_ATTR_MAP_SFSEQ, + MPTCP_SUBFLOW_ATTR_SSN_OFFSET, + MPTCP_SUBFLOW_ATTR_MAP_DATALEN, + MPTCP_SUBFLOW_ATTR_FLAGS, + MPTCP_SUBFLOW_ATTR_ID_REM, + MPTCP_SUBFLOW_ATTR_ID_LOC, + MPTCP_SUBFLOW_ATTR_PAD, + __MPTCP_SUBFLOW_ATTR_MAX +}; +#define MPTCP_SUBFLOW_ATTR_MAX (__MPTCP_SUBFLOW_ATTR_MAX - 1) +enum { + MPTCP_PM_ENDPOINT_ADDR = 1, + __MPTCP_PM_ENDPOINT_MAX +}; +#define MPTCP_PM_ENDPOINT_MAX (__MPTCP_PM_ENDPOINT_MAX - 1) +enum { + MPTCP_PM_ATTR_UNSPEC, + MPTCP_PM_ATTR_ADDR, + MPTCP_PM_ATTR_RCV_ADD_ADDRS, + MPTCP_PM_ATTR_SUBFLOWS, + MPTCP_PM_ATTR_TOKEN, + MPTCP_PM_ATTR_LOC_ID, + MPTCP_PM_ATTR_ADDR_REMOTE, + __MPTCP_ATTR_AFTER_LAST +}; +#define MPTCP_PM_ATTR_MAX (__MPTCP_ATTR_AFTER_LAST - 1) +enum mptcp_event_attr { + MPTCP_ATTR_UNSPEC, + MPTCP_ATTR_TOKEN, + MPTCP_ATTR_FAMILY, + MPTCP_ATTR_LOC_ID, + MPTCP_ATTR_REM_ID, + MPTCP_ATTR_SADDR4, + MPTCP_ATTR_SADDR6, + MPTCP_ATTR_DADDR4, + MPTCP_ATTR_DADDR6, + MPTCP_ATTR_SPORT, + MPTCP_ATTR_DPORT, + MPTCP_ATTR_BACKUP, + MPTCP_ATTR_ERROR, + MPTCP_ATTR_FLAGS, + MPTCP_ATTR_TIMEOUT, + MPTCP_ATTR_IF_IDX, + MPTCP_ATTR_RESET_REASON, + MPTCP_ATTR_RESET_FLAGS, + MPTCP_ATTR_SERVER_SIDE, + __MPTCP_ATTR_MAX +}; +#define MPTCP_ATTR_MAX (__MPTCP_ATTR_MAX - 1) +enum { + MPTCP_PM_CMD_UNSPEC, + MPTCP_PM_CMD_ADD_ADDR, + MPTCP_PM_CMD_DEL_ADDR, + MPTCP_PM_CMD_GET_ADDR, + MPTCP_PM_CMD_FLUSH_ADDRS, + MPTCP_PM_CMD_SET_LIMITS, + MPTCP_PM_CMD_GET_LIMITS, + MPTCP_PM_CMD_SET_FLAGS, + MPTCP_PM_CMD_ANNOUNCE, + MPTCP_PM_CMD_REMOVE, + MPTCP_PM_CMD_SUBFLOW_CREATE, + MPTCP_PM_CMD_SUBFLOW_DESTROY, + __MPTCP_PM_CMD_AFTER_LAST +}; +#define MPTCP_PM_CMD_MAX (__MPTCP_PM_CMD_AFTER_LAST - 1) +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mqueue.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mqueue.h index a5408300..fae9a27e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mqueue.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mqueue.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_MQUEUE_H #define _LINUX_MQUEUE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute.h index e934d091..0ecce420 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_MROUTE_H #define _UAPI__LINUX_MROUTE_H #include <linux/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute6.h index 68480de3..47d2031b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mroute6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_MROUTE6_H #define _UAPI__LINUX_MROUTE6_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mrp_bridge.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mrp_bridge.h index 0f935142..e55fddf2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mrp_bridge.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mrp_bridge.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MRP_BRIDGE_H_ #define _UAPI_LINUX_MRP_BRIDGE_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msdos_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msdos_fs.h index 4b777dbe..f512cfa3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msdos_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msdos_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MSDOS_FS_H #define _UAPI_LINUX_MSDOS_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msg.h index bb32b930..a973814e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/msg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_MSG_H #define _UAPI_LINUX_MSG_H #include <linux/ipc.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mtio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mtio.h index b87c1fae..07d998f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mtio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/mtio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_MTIO_H #define _LINUX_MTIO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd-netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd-netlink.h index dffb0771..242cbbef 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd-netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd-netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_NBD_NETLINK_H #define _UAPILINUX_NBD_NETLINK_H #define NBD_GENL_FAMILY_NAME "nbd" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd.h index 3b743930..d47c28fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nbd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_NBD_H #define _UAPILINUX_NBD_H #include <linux/types.h> @@ -51,13 +39,19 @@ enum { struct nbd_request { __be32 magic; __be32 type; - char handle[8]; + union { + __be64 cookie; + char handle[8]; + }; __be64 from; __be32 len; } __attribute__((packed)); struct nbd_reply { __be32 magic; __be32 error; - char handle[8]; + union { + __be64 cookie; + char handle[8]; + }; }; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ncsi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ncsi.h index 6334a8a9..7887630c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ncsi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ncsi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_NCSI_NETLINK_H__ #define __UAPI_NCSI_NETLINK_H__ enum ncsi_nl_commands { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ndctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ndctl.h index 7e0d560c..28d8b496 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ndctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ndctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __NDCTL_H__ #define __NDCTL_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/neighbour.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/neighbour.h index 4b479a1b..7a676010 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/neighbour.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/neighbour.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_NEIGHBOUR_H #define __LINUX_NEIGHBOUR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net.h index a53b3293..fda0f81a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NET_H #define _UAPI_LINUX_NET_H #include <linux/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_dropmon.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_dropmon.h index 4d2c336f..2d75388f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_dropmon.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_dropmon.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __NET_DROPMON_H #define __NET_DROPMON_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_namespace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_namespace.h index a54c9e1a..e3641b57 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_namespace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_namespace.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NET_NAMESPACE_H_ #define _UAPI_LINUX_NET_NAMESPACE_H_ enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_tstamp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_tstamp.h index d79d98ab..9bbd3090 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_tstamp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/net_tstamp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NET_TIMESTAMPING_H #define _NET_TIMESTAMPING_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netconf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netconf.h index 27d3854e..66299508 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netconf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netconf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NETCONF_H_ #define _UAPI_LINUX_NETCONF_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdev.h index 53a237b7..3c5cb944 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NETDEV_H #define _UAPI_LINUX_NETDEV_H #define NETDEV_FAMILY_NAME "netdev" @@ -30,10 +18,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_NDO_XMIT_SG = 64, NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_MASK = 3, +}; enum { NETDEV_A_DEV_IFINDEX = 1, NETDEV_A_DEV_PAD, NETDEV_A_DEV_XDP_FEATURES, + NETDEV_A_DEV_XDP_ZC_MAX_SEGS, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES, __NETDEV_A_DEV_MAX, NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1) }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdevice.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdevice.h index ff2d9599..695c1cd8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdevice.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netdevice.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NETDEVICE_H #define _UAPI_LINUX_NETDEVICE_H #include <linux/if.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter.h index 77b8a916..65b31967 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_NETFILTER_H #define _UAPI__LINUX_NETFILTER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set.h index a5aa6bc6..0b0fac86 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IP_SET_H #define _UAPI_IP_SET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_bitmap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_bitmap.h index e323396b..3188b932 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_bitmap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_bitmap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__IP_SET_BITMAP_H #define _UAPI__IP_SET_BITMAP_H #include <linux/netfilter/ipset/ip_set.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_hash.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_hash.h index d4aadcbd..2e084cdd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_hash.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_hash.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__IP_SET_HASH_H #define _UAPI__IP_SET_HASH_H #include <linux/netfilter/ipset/ip_set.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_list.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_list.h index d3b51650..d70a2778 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_list.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/ipset/ip_set_list.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__IP_SET_LIST_H #define _UAPI__IP_SET_LIST_H #include <linux/netfilter/ipset/ip_set.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_common.h index 3ff60300..9f93d347 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_common.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NF_CONNTRACK_COMMON_H #define _UAPI_NF_CONNTRACK_COMMON_H enum ip_conntrack_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_ftp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_ftp.h index 0c797743..8961b9eb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_ftp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_ftp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NF_CONNTRACK_FTP_H #define _UAPI_NF_CONNTRACK_FTP_H enum nf_ct_ftp_type { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_sctp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_sctp.h index 060059c0..5f248ac2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_sctp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_sctp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NF_CONNTRACK_SCTP_H #define _UAPI_NF_CONNTRACK_SCTP_H #include <linux/netfilter/nf_conntrack_tuple_common.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tcp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tcp.h index 8894aa1b..0995d5f9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tcp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tcp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NF_CONNTRACK_TCP_H #define _UAPI_NF_CONNTRACK_TCP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tuple_common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tuple_common.h index b2f795c3..bcc698ff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tuple_common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_conntrack_tuple_common.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NF_CONNTRACK_TUPLE_COMMON_H #define _NF_CONNTRACK_TUPLE_COMMON_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_log.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_log.h index f7a729d9..2e5d90e2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_log.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_log.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NETFILTER_NF_LOG_H #define _NETFILTER_NF_LOG_H #define NF_LOG_TCPSEQ 0x01 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_nat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_nat.h index 84373ed7..2dd14a07 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_nat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_nat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NETFILTER_NF_NAT_H #define _NETFILTER_NF_NAT_H #include <linux/netfilter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_synproxy.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_synproxy.h index 474838e3..9311c564 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_synproxy.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_synproxy.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NF_SYNPROXY_H #define _NF_SYNPROXY_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables.h index 33bfb7f2..1d0af179 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NF_TABLES_H #define _LINUX_NF_TABLES_H #define NFT_NAME_MAXLEN 256 @@ -94,6 +82,7 @@ enum nf_tables_msg_types { NFT_MSG_DESTROYSETELEM, NFT_MSG_DESTROYOBJ, NFT_MSG_DESTROYFLOWTABLE, + NFT_MSG_GETSETELEM_RESET, NFT_MSG_MAX, }; enum nft_list_attributes { @@ -448,6 +437,7 @@ enum nft_exthdr_op { NFT_EXTHDR_OP_TCPOPT, NFT_EXTHDR_OP_IPV4, NFT_EXTHDR_OP_SCTP, + NFT_EXTHDR_OP_DCCP, __NFT_EXTHDR_OP_MAX }; #define NFT_EXTHDR_OP_MAX (__NFT_EXTHDR_OP_MAX - 1) @@ -500,6 +490,7 @@ enum nft_meta_keys { NFT_META_TIME_HOUR, NFT_META_SDIF, NFT_META_SDIFNAME, + NFT_META_BRI_BROUTE, __NFT_META_IIFTYPE, }; enum nft_rt_keys { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables_compat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables_compat.h index 32c129dc..0359196e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables_compat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nf_tables_compat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFT_COMPAT_NFNETLINK_H_ #define _NFT_COMPAT_NFNETLINK_H_ enum nft_target_attributes { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink.h index 705de745..38696db9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NFNETLINK_H #define _UAPI_NFNETLINK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_acct.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_acct.h index 497337b0..4089e6f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_acct.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_acct.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NFNL_ACCT_H_ #define _UAPI_NFNL_ACCT_H_ #ifndef NFACCT_NAME_MAX diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_compat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_compat.h index 07110bf2..93cb511b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_compat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_compat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFNETLINK_COMPAT_H #define _NFNETLINK_COMPAT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h index 200f1a0a..b0a1d419 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_conntrack.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPCONNTRACK_NETLINK_H #define _IPCONNTRACK_NETLINK_H #include <linux/netfilter/nfnetlink.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cthelper.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cthelper.h index e8c2825d..31457930 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cthelper.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cthelper.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFNL_CTHELPER_H_ #define _NFNL_CTHELPER_H_ #define NFCT_HELPER_STATUS_DISABLED 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cttimeout.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cttimeout.h index da9fe717..b8bfd31f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cttimeout.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_cttimeout.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CTTIMEOUT_NETLINK_H #define _CTTIMEOUT_NETLINK_H #include <linux/netfilter/nfnetlink.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_hook.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_hook.h index ce1692c4..d6ffb3dc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_hook.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_hook.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFNL_HOOK_H_ #define _NFNL_HOOK_H_ enum nfnl_hook_msg_types { @@ -50,5 +38,12 @@ enum nfnl_hook_chain_desc_attributes { #define NFNLA_CHAIN_MAX (__NFNLA_CHAIN_MAX - 1) enum nfnl_hook_chaintype { NFNL_HOOK_TYPE_NFTABLES = 0x1, + NFNL_HOOK_TYPE_BPF, }; +enum nfnl_hook_bpf_attributes { + NFNLA_HOOK_BPF_UNSPEC, + NFNLA_HOOK_BPF_ID, + __NFNLA_HOOK_BPF_MAX, +}; +#define NFNLA_HOOK_BPF_MAX (__NFNLA_HOOK_BPF_MAX - 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_log.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_log.h index f6a27085..08babdca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_log.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_log.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFNETLINK_LOG_H #define _NFNETLINK_LOG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_osf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_osf.h index 3f930da7..ad6867e8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_osf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_osf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NF_OSF_H #define _NF_OSF_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_queue.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_queue.h index d100dece..314788d3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_queue.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/nfnetlink_queue.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFNETLINK_QUEUE_H #define _NFNETLINK_QUEUE_H #include <linux/types.h> @@ -71,6 +59,7 @@ enum nfqnl_attr_type { NFQA_VLAN, NFQA_L2HDR, NFQA_PRIORITY, + NFQA_CGROUP_CLASSID, __NFQA_MAX }; #define NFQA_MAX (__NFQA_MAX - 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/x_tables.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/x_tables.h index 09932650..b22440af 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/x_tables.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/x_tables.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_X_TABLES_H #define _UAPI_X_TABLES_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_AUDIT.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_AUDIT.h index a2383756..5b64a327 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_AUDIT.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_AUDIT.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_AUDIT_TARGET_H #define _XT_AUDIT_TARGET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CHECKSUM.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CHECKSUM.h index ecbce0ec..06f96286 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CHECKSUM.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CHECKSUM.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CHECKSUM_TARGET_H #define _XT_CHECKSUM_TARGET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CLASSIFY.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CLASSIFY.h index df0fcd23..e53bd4b0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CLASSIFY.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CLASSIFY.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CLASSIFY_H #define _XT_CLASSIFY_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNMARK.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNMARK.h index 449511e1..9816e4b7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNMARK.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNMARK.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CONNMARK_H_target #define _XT_CONNMARK_H_target #include <linux/netfilter/xt_connmark.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNSECMARK.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNSECMARK.h index d58385af..9384bf90 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNSECMARK.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CONNSECMARK.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CONNSECMARK_H_target #define _XT_CONNSECMARK_H_target #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CT.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CT.h index 9c4b2553..94251563 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CT.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_CT.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CT_H #define _XT_CT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_DSCP.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_DSCP.h index adc3785f..ab786a86 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_DSCP.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_DSCP.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_DSCP_TARGET_H #define _XT_DSCP_TARGET_H #include <linux/netfilter/xt_dscp.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_HMARK.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_HMARK.h index b72c23ca..7c411d6e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_HMARK.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_HMARK.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef XT_HMARK_H_ #define XT_HMARK_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_IDLETIMER.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_IDLETIMER.h index f4defb6c..7fd1ec12 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_IDLETIMER.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_IDLETIMER.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_IDLETIMER_H #define _XT_IDLETIMER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LED.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LED.h index cbd15226..c43debee 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LED.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LED.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_LED_H #define _XT_LED_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LOG.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LOG.h index c80c9360..b19a190b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LOG.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_LOG.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_LOG_H #define _XT_LOG_H #define XT_LOG_TCPSEQ 0x01 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_MARK.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_MARK.h index e091cc6a..c309c283 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_MARK.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_MARK.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_MARK_H_target #define _XT_MARK_H_target #include <linux/netfilter/xt_mark.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFLOG.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFLOG.h index 135109cc..c05b8bf2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFLOG.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFLOG.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_NFLOG_TARGET #define _XT_NFLOG_TARGET #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFQUEUE.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFQUEUE.h index 977ba5f8..51ecd9cd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFQUEUE.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_NFQUEUE.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_NFQ_TARGET_H #define _XT_NFQ_TARGET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_RATEEST.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_RATEEST.h index 0517d79d..2f4ade34 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_RATEEST.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_RATEEST.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_RATEEST_TARGET_H #define _XT_RATEEST_TARGET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SECMARK.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SECMARK.h index 6dd8dbc3..a26c4863 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SECMARK.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SECMARK.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_SECMARK_H_target #define _XT_SECMARK_H_target #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SYNPROXY.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SYNPROXY.h index 4d7f4367..1178dcb4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SYNPROXY.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_SYNPROXY.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_SYNPROXY_H #define _XT_SYNPROXY_H #include <linux/netfilter/nf_synproxy.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPMSS.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPMSS.h index ec6adc6c..3c3093a0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPMSS.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPMSS.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TCPMSS_H #define _XT_TCPMSS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPOPTSTRIP.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPOPTSTRIP.h index 7b7a25b9..0c1d7156 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPOPTSTRIP.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TCPOPTSTRIP.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TCPOPTSTRIP_H #define _XT_TCPOPTSTRIP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TEE.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TEE.h index 4dca1d7a..94a95720 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TEE.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TEE.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TEE_TARGET_H #define _XT_TEE_TARGET_H #include <linux/netfilter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TPROXY.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TPROXY.h index 3cfbc905..5a8c92c2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TPROXY.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_TPROXY.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TPROXY_H #define _XT_TPROXY_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_addrtype.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_addrtype.h index a4acc5d9..f5eefd6f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_addrtype.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_addrtype.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_ADDRTYPE_H #define _XT_ADDRTYPE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_bpf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_bpf.h index 043af453..b91c2af3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_bpf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_bpf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_BPF_H #define _XT_BPF_H #include <linux/filter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cgroup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cgroup.h index 6d939ea3..1386d1e4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cgroup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cgroup.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_XT_CGROUP_H #define _UAPI_XT_CGROUP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cluster.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cluster.h index e532f7df..3a2a3ed5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cluster.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cluster.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CLUSTER_MATCH_H #define _XT_CLUSTER_MATCH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_comment.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_comment.h index 2b44718a..39c268f2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_comment.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_comment.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_COMMENT_H #define _XT_COMMENT_H #define XT_MAX_COMMENT_LEN 256 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connbytes.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connbytes.h index a3efa028..df51bb66 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connbytes.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connbytes.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CONNBYTES_H #define _XT_CONNBYTES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlabel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlabel.h index 7548fa17..9c27f989 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlabel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlabel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_XT_CONNLABEL_H #define _UAPI_XT_CONNLABEL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlimit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlimit.h index 9ff2de96..43603a7a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlimit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connlimit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CONNLIMIT_H #define _XT_CONNLIMIT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connmark.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connmark.h index f14474f2..95bedf56 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connmark.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_connmark.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CONNMARK_H #define _XT_CONNMARK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_conntrack.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_conntrack.h index 5472cc54..dafa6653 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_conntrack.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_conntrack.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CONNTRACK_H #define _XT_CONNTRACK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cpu.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cpu.h index 76e8134f..800134c0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cpu.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_cpu.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_CPU_H #define _XT_CPU_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dccp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dccp.h index b4e5748e..dff62d81 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dccp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dccp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_DCCP_H_ #define _XT_DCCP_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_devgroup.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_devgroup.h index 639484a8..7566c72a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_devgroup.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_devgroup.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_DEVGROUP_H #define _XT_DEVGROUP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dscp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dscp.h index f34afc04..8050e12e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dscp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_dscp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_DSCP_H #define _XT_DSCP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ecn.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ecn.h index aee7d84b..9a5cc0e2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ecn.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ecn.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_ECN_H #define _XT_ECN_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_esp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_esp.h index 22e7632a..b565858f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_esp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_esp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_ESP_H #define _XT_ESP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_hashlimit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_hashlimit.h index 572c85dc..4f2ab6a3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_hashlimit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_hashlimit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_XT_HASHLIMIT_H #define _UAPI_XT_HASHLIMIT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_helper.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_helper.h index d7922741..80513829 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_helper.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_helper.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_HELPER_H #define _XT_HELPER_H struct xt_helper_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipcomp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipcomp.h index 4e99d70a..a654f1c2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipcomp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipcomp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_IPCOMP_H #define _XT_IPCOMP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_iprange.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_iprange.h index 57ab1084..8e734588 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_iprange.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_iprange.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NETFILTER_XT_IPRANGE_H #define _LINUX_NETFILTER_XT_IPRANGE_H 1 #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipvs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipvs.h index 6f649b1d..414f4270 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipvs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_ipvs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_IPVS_H #define _XT_IPVS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_l2tp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_l2tp.h index cad9921a..93d07212 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_l2tp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_l2tp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NETFILTER_XT_L2TP_H #define _LINUX_NETFILTER_XT_L2TP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_length.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_length.h index 4a0792a7..4394d065 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_length.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_length.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_LENGTH_H #define _XT_LENGTH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_limit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_limit.h index 785679f4..05f3329a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_limit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_limit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_RATE_H #define _XT_RATE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mac.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mac.h index bc7b7c8c..bbc99801 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mac.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mac.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_MAC_H #define _XT_MAC_H #include <linux/if_ether.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mark.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mark.h index 0ec01e9b..f828919c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mark.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_mark.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_MARK_H #define _XT_MARK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_multiport.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_multiport.h index fff70451..b70b0f53 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_multiport.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_multiport.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_MULTIPORT_H #define _XT_MULTIPORT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_nfacct.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_nfacct.h index a2b042e5..8686c438 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_nfacct.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_nfacct.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_NFACCT_MATCH_H #define _XT_NFACCT_MATCH_H #include <linux/netfilter/nfnetlink_acct.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_osf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_osf.h index 892ad404..8149ed32 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_osf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_osf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_OSF_H #define _XT_OSF_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_owner.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_owner.h index e077aad7..259f2880 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_owner.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_owner.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_OWNER_MATCH_H #define _XT_OWNER_MATCH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_physdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_physdev.h index be3734c4..2c0746c3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_physdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_physdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_XT_PHYSDEV_H #define _UAPI_XT_PHYSDEV_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_pkttype.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_pkttype.h index f9b2f3fd..dee4b049 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_pkttype.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_pkttype.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_PKTTYPE_H #define _XT_PKTTYPE_H struct xt_pkttype_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_policy.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_policy.h index 495aeb0c..5d36ee62 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_policy.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_policy.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_POLICY_H #define _XT_POLICY_H #include <linux/netfilter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_quota.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_quota.h index 96743f4e..51322ec8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_quota.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_quota.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_QUOTA_H #define _XT_QUOTA_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rateest.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rateest.h index 5d509b3f..d020f234 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rateest.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rateest.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_RATEEST_MATCH_H #define _XT_RATEEST_MATCH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_realm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_realm.h index 6c78694c..cb408eb0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_realm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_realm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_REALM_H #define _XT_REALM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_recent.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_recent.h index d7b36091..f3b98ef1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_recent.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_recent.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NETFILTER_XT_RECENT_H #define _LINUX_NETFILTER_XT_RECENT_H 1 #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rpfilter.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rpfilter.h index 958d92aa..1751fa9b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rpfilter.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_rpfilter.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_RPATH_H #define _XT_RPATH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_sctp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_sctp.h index 98dd0d16..91ef326b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_sctp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_sctp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_SCTP_H_ #define _XT_SCTP_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_set.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_set.h index 5374159b..c55fff7a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_set.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_set.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_SET_H #define _XT_SET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_socket.h index 055b579b..eff17cbc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_socket.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_SOCKET_H #define _XT_SOCKET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_state.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_state.h index d692e60c..5f40f8b9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_state.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_state.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_STATE_H #define _XT_STATE_H #define XT_STATE_BIT(ctinfo) (1 << ((ctinfo) % IP_CT_IS_REPLY + 1)) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_statistic.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_statistic.h index 3aae832e..19f9e3c1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_statistic.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_statistic.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_STATISTIC_H #define _XT_STATISTIC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_string.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_string.h index 9296dfb5..ee7ef745 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_string.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_string.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_STRING_H #define _XT_STRING_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpmss.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpmss.h index 87a9fdd5..b256ca26 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpmss.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpmss.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TCPMSS_MATCH_H #define _XT_TCPMSS_MATCH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpudp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpudp.h index 4bca77f1..8408c487 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpudp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_tcpudp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TCPUDP_H #define _XT_TCPUDP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_time.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_time.h index ded53b8c..81161a81 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_time.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_time.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_TIME_H #define _XT_TIME_H 1 #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_u32.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_u32.h index d7de9c90..1af17484 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_u32.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_u32.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _XT_U32_H #define _XT_U32_H 1 #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp.h index a5e427c4..e0f25796 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_ARP_NETFILTER_H #define __LINUX_ARP_NETFILTER_H #include <linux/netfilter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arp_tables.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arp_tables.h index b1fb5377..7b0fddd0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arp_tables.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arp_tables.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_ARPTABLES_H #define _UAPI_ARPTABLES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arpt_mangle.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arpt_mangle.h index ff07a0a2..09e121da 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arpt_mangle.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_arp/arpt_mangle.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ARPT_MANGLE_H #define _ARPT_MANGLE_H #include <linux/netfilter_arp/arp_tables.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge.h index e1434f46..7aef50bb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H #define _UAPI__LINUX_BRIDGE_NETFILTER_H #include <linux/in.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_802_3.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_802_3.h index 5f11ba44..f7945608 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_802_3.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_802_3.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H #define _UAPI__LINUX_BRIDGE_EBT_802_3_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_among.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_among.h index aa39c5bd..2df333e7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_among.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_among.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_AMONG_H #define __LINUX_BRIDGE_EBT_AMONG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arp.h index 17fb19f4..0c84f98d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_ARP_H #define __LINUX_BRIDGE_EBT_ARP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arpreply.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arpreply.h index c880f01f..b28312eb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arpreply.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_arpreply.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H #define __LINUX_BRIDGE_EBT_ARPREPLY_H #include <linux/if_ether.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip.h index 6ee8afb9..d1a7888f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_IP_H #define __LINUX_BRIDGE_EBT_IP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip6.h index d49e0747..3448145c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_ip6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_IP6_H #define __LINUX_BRIDGE_EBT_IP6_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_limit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_limit.h index 80e1a097..c81c9ea7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_limit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_limit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_LIMIT_H #define __LINUX_BRIDGE_EBT_LIMIT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_log.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_log.h index dbe3fec4..7e2e1235 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_log.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_log.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_LOG_H #define __LINUX_BRIDGE_EBT_LOG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_m.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_m.h index cc35658e..86a9c71d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_m.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_m.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_MARK_M_H #define __LINUX_BRIDGE_EBT_MARK_M_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_t.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_t.h index 5b662f94..c7854c90 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_t.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_mark_t.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_MARK_T_H #define __LINUX_BRIDGE_EBT_MARK_T_H #define MARK_SET_VALUE (0xfffffff0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nat.h index c0b58c05..70b77718 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_NAT_H #define __LINUX_BRIDGE_EBT_NAT_H #include <linux/if_ether.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nflog.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nflog.h index de50e04c..27748213 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nflog.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_nflog.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_NFLOG_H #define __LINUX_BRIDGE_EBT_NFLOG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_pkttype.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_pkttype.h index dfb7e70d..19df1c9b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_pkttype.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_pkttype.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H #define __LINUX_BRIDGE_EBT_PKTTYPE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_redirect.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_redirect.h index e329c746..f9950e02 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_redirect.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_redirect.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_REDIRECT_H #define __LINUX_BRIDGE_EBT_REDIRECT_H struct ebt_redirect_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_stp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_stp.h index 47565e34..a73c18cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_stp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_stp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_STP_H #define __LINUX_BRIDGE_EBT_STP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_vlan.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_vlan.h index 9cc2420b..5cdddf5a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_vlan.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebt_vlan.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_BRIDGE_EBT_VLAN_H #define __LINUX_BRIDGE_EBT_VLAN_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h index d87d65e6..b698b8b1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_bridge/ebtables.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_BRIDGE_EFF_H #define _UAPI__LINUX_BRIDGE_EFF_H #include <linux/types.h> @@ -63,7 +51,7 @@ struct ebt_entries { unsigned int counter_offset; int policy; unsigned int nentries; - char data[0] __attribute__((aligned(__alignof__(struct ebt_replace)))); + char data[] __attribute__((aligned(__alignof__(struct ebt_replace)))); }; #define EBT_ENTRY_OR_ENTRIES 0x01 #define EBT_NOPROTO 0x02 @@ -88,7 +76,7 @@ struct ebt_entry_match { struct xt_match * match; } u; unsigned int match_size; - unsigned char data[0] __attribute__((aligned(__alignof__(struct ebt_replace)))); + unsigned char data[] __attribute__((aligned(__alignof__(struct ebt_replace)))); }; struct ebt_entry_watcher { union { @@ -99,7 +87,7 @@ struct ebt_entry_watcher { struct xt_target * watcher; } u; unsigned int watcher_size; - unsigned char data[0] __attribute__((aligned(__alignof__(struct ebt_replace)))); + unsigned char data[] __attribute__((aligned(__alignof__(struct ebt_replace)))); }; struct ebt_entry_target { union { @@ -129,10 +117,11 @@ struct ebt_entry { unsigned char sourcemsk[ETH_ALEN]; unsigned char destmac[ETH_ALEN]; unsigned char destmsk[ETH_ALEN]; - unsigned int watchers_offset; + __struct_group(, offsets,, unsigned int watchers_offset; unsigned int target_offset; unsigned int next_offset; - unsigned char elems[0] __attribute__((aligned(__alignof__(struct ebt_replace)))); + ); + unsigned char elems[] __attribute__((aligned(__alignof__(struct ebt_replace)))); }; #define EBT_BASE_CTL 128 #define EBT_SO_SET_ENTRIES (EBT_BASE_CTL) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4.h index bb2a1d91..2ce710ae 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_IP_NETFILTER_H #define _UAPI__LINUX_IP_NETFILTER_H #include <linux/netfilter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ip_tables.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ip_tables.h index 5179be40..0b9b9ebc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ip_tables.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ip_tables.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IPTABLES_H #define _UAPI_IPTABLES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h index b5376b8c..17320d06 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_CLUSTERIP_H_target #define _IPT_CLUSTERIP_H_target #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ECN.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ECN.h index a67f9973..46e14e82 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ECN.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ECN.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_ECN_TARGET_H #define _IPT_ECN_TARGET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_LOG.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_LOG.h index c0492446..68870b40 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_LOG.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_LOG.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_LOG_H #define _IPT_LOG_H #define IPT_LOG_TCPSEQ 0x01 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_REJECT.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_REJECT.h index 2650d04d..e6bf388f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_REJECT.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_REJECT.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_REJECT_H #define _IPT_REJECT_H enum ipt_reject_with { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_TTL.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_TTL.h index d4509acd..a2896d8e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_TTL.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_TTL.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_TTL_H #define _IPT_TTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ah.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ah.h index 652db9cd..0d8932ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ah.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ah.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_AH_H #define _IPT_AH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ecn.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ecn.h index a892af56..7fb8cb86 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ecn.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ecn.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_ECN_H #define _IPT_ECN_H #include <linux/netfilter/xt_ecn.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ttl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ttl.h index 26c1a4f3..14f1a951 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ttl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ipt_ttl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IPT_TTL_H #define _IPT_TTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6.h index f454eb69..5f885a22 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_IP6_NETFILTER_H #define _UAPI__LINUX_IP6_NETFILTER_H #include <linux/netfilter.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6_tables.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6_tables.h index 8c4ec88a..6dfe3027 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6_tables.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6_tables.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_IP6_TABLES_H #define _UAPI_IP6_TABLES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_HL.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_HL.h index 85983c6f..8060e3b3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_HL.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_HL.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_HL_H #define _IP6T_HL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_LOG.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_LOG.h index eb3f26a0..2bf5df03 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_LOG.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_LOG.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_LOG_H #define _IP6T_LOG_H #define IP6T_LOG_TCPSEQ 0x01 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_NPT.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_NPT.h index 4f41cde3..5296a5b6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_NPT.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_NPT.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __NETFILTER_IP6T_NPT #define __NETFILTER_IP6T_NPT #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_REJECT.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_REJECT.h index 96fcdbec..2a89f1a1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_REJECT.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_REJECT.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_REJECT_H #define _IP6T_REJECT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ah.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ah.h index a566e6c4..ec24d2bd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ah.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ah.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_AH_H #define _IP6T_AH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_frag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_frag.h index accbe181..f4779fa5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_frag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_frag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_FRAG_H #define _IP6T_FRAG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_hl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_hl.h index 048636dc..27de0c03 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_hl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_hl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_HL_H #define _IP6T_HL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h index 3c5dca5a..1c6e3a51 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __IPV6HEADER_H #define __IPV6HEADER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_mh.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_mh.h index 849119f1..c7360907 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_mh.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_mh.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_MH_H #define _IP6T_MH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_opts.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_opts.h index 21052eeb..0c632d44 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_opts.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_opts.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_OPTS_H #define _IP6T_OPTS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_rt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_rt.h index 2203b820..d948475b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_rt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_rt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_RT_H #define _IP6T_RT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_srh.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_srh.h index a9474e72..63732314 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_srh.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ip6t_srh.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _IP6T_SRH_H #define _IP6T_SRH_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink.h index 17d52916..76218690 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_NETLINK_H #define _UAPI__LINUX_NETLINK_H #include <linux/const.h> @@ -180,6 +168,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED, NL_ATTR_TYPE_NESTED_ARRAY, NL_ATTR_TYPE_BITFIELD32, + NL_ATTR_TYPE_SINT, + NL_ATTR_TYPE_UINT, }; enum netlink_policy_type_attr { NL_POLICY_TYPE_ATTR_UNSPEC, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink_diag.h index afe15211..aef637de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netlink_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __NETLINK_DIAG_H__ #define __NETLINK_DIAG_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netrom.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netrom.h index 917b850a..1a978d57 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netrom.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/netrom.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef NETROM_KERNEL_H #define NETROM_KERNEL_H #include <linux/ax25.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nexthop.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nexthop.h index 4bc9ff0b..ea68f622 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nexthop.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nexthop.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NEXTHOP_H #define _UAPI_LINUX_NEXTHOP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfc.h index ff980f4d..393ce7c1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_NFC_H #define __LINUX_NFC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs.h index e8c04996..710e8ca7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NFS_H #define _UAPI_LINUX_NFS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs2.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs2.h index 4cbca123..110a816c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs2.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs2.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NFS2_H #define _LINUX_NFS2_H #define NFS2_PORT 2049 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs3.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs3.h index af0d6683..71ff8ac8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs3.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs3.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NFS3_H #define _UAPI_LINUX_NFS3_H #define NFS3_PORT 2049 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4.h index ef860e25..21f1103d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NFS4_H #define _UAPI_LINUX_NFS4_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4_mount.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4_mount.h index 9b9c9f8a..3dee4cf8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4_mount.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs4_mount.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NFS4_MOUNT_H #define _LINUX_NFS4_MOUNT_H #define NFS4_MOUNT_VERSION 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_fs.h index f8228eca..7c2b7047 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NFS_FS_H #define _UAPI_LINUX_NFS_FS_H #include <linux/magic.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_idmap.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_idmap.h index 6287cc67..01d30c0e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_idmap.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_idmap.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPINFS_IDMAP_H #define _UAPINFS_IDMAP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_mount.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_mount.h index 5b002223..0e33fff6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_mount.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfs_mount.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NFS_MOUNT_H #define _LINUX_NFS_MOUNT_H #include <linux/in.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsacl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsacl.h index 65dccad4..c624a581 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsacl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsacl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_NFSACL_H #define _UAPI__LINUX_NFSACL_H #define NFS_ACL_PROGRAM 100227 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/cld.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/cld.h index 92b89c06..35f11e01 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/cld.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/cld.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _NFSD_CLD_H #define _NFSD_CLD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/debug.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/debug.h index d4ccf694..9196f286 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/debug.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/debug.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_NFSD_DEBUG_H #define _UAPILINUX_NFSD_DEBUG_H #include <linux/sunrpc/debug.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/export.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/export.h index 4716fb13..8b9cfc2c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/export.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/export.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPINFSD_EXPORT_H #define _UAPINFSD_EXPORT_H #include <linux/types.h> @@ -41,4 +29,9 @@ #define NFSEXP_PNFS 0x20000 #define NFSEXP_ALLFLAGS 0x3FEFF #define NFSEXP_SECINFO_FLAGS (NFSEXP_READONLY | NFSEXP_ROOTSQUASH | NFSEXP_ALLSQUASH | NFSEXP_INSECURE_PORT) +#define NFSEXP_XPRTSEC_NONE 0x0001 +#define NFSEXP_XPRTSEC_TLS 0x0002 +#define NFSEXP_XPRTSEC_MTLS 0x0004 +#define NFSEXP_XPRTSEC_NUM (3) +#define NFSEXP_XPRTSEC_ALL (NFSEXP_XPRTSEC_NONE | NFSEXP_XPRTSEC_TLS | NFSEXP_XPRTSEC_MTLS) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/stats.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/stats.h index 91b4a747..45205a33 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/stats.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd/stats.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_NFSD_STATS_H #define _UAPILINUX_NFSD_STATS_H #include <linux/nfs4.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd_netlink.h new file mode 100644 index 00000000..dd3d570b --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nfsd_netlink.h @@ -0,0 +1,34 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_NFSD_NETLINK_H +#define _UAPI_LINUX_NFSD_NETLINK_H +#define NFSD_FAMILY_NAME "nfsd" +#define NFSD_FAMILY_VERSION 1 +enum { + NFSD_A_RPC_STATUS_XID = 1, + NFSD_A_RPC_STATUS_FLAGS, + NFSD_A_RPC_STATUS_PROG, + NFSD_A_RPC_STATUS_VERSION, + NFSD_A_RPC_STATUS_PROC, + NFSD_A_RPC_STATUS_SERVICE_TIME, + NFSD_A_RPC_STATUS_PAD, + NFSD_A_RPC_STATUS_SADDR4, + NFSD_A_RPC_STATUS_DADDR4, + NFSD_A_RPC_STATUS_SADDR6, + NFSD_A_RPC_STATUS_DADDR6, + NFSD_A_RPC_STATUS_SPORT, + NFSD_A_RPC_STATUS_DPORT, + NFSD_A_RPC_STATUS_COMPOUND_OPS, + __NFSD_A_RPC_STATUS_MAX, + NFSD_A_RPC_STATUS_MAX = (__NFSD_A_RPC_STATUS_MAX - 1) +}; +enum { + NFSD_CMD_RPC_STATUS_GET = 1, + __NFSD_CMD_MAX, + NFSD_CMD_MAX = (__NFSD_CMD_MAX - 1) +}; +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_api.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_api.h index d6a6b8f2..993f1fdc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_api.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_api.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NILFS2_API_H #define _LINUX_NILFS2_API_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_ondisk.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_ondisk.h index a05e7b73..9df95cb6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_ondisk.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nilfs2_ondisk.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_NILFS2_ONDISK_H #define _LINUX_NILFS2_ONDISK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nitro_enclaves.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nitro_enclaves.h index 20b26eff..5256cf3a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nitro_enclaves.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nitro_enclaves.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NITRO_ENCLAVES_H_ #define _UAPI_LINUX_NITRO_ENCLAVES_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211-vnd-intel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211-vnd-intel.h index 9ade75ac..4a6d94a0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211-vnd-intel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211-vnd-intel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __VENDOR_CMD_INTEL_H__ #define __VENDOR_CMD_INTEL_H__ #define INTEL_OUI 0x001735 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211.h index d73922a1..bf87c0ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nl80211.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_NL80211_H #define __LINUX_NL80211_H #include <linux/types.h> @@ -190,6 +178,8 @@ enum nl80211_commands { NL80211_CMD_ADD_LINK_STA, NL80211_CMD_MODIFY_LINK_STA, NL80211_CMD_REMOVE_LINK_STA, + NL80211_CMD_SET_HW_TIMESTAMP, + NL80211_CMD_LINKS_REMOVED, __NL80211_CMD_AFTER_LAST, NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1 }; @@ -529,6 +519,10 @@ enum nl80211_attrs { NL80211_ATTR_RX_HW_TIMESTAMP, NL80211_ATTR_TD_BITMAP, NL80211_ATTR_PUNCT_BITMAP, + NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS, + NL80211_ATTR_HW_TIMESTAMP_ENABLED, + NL80211_ATTR_EMA_RNR_ELEMS, + NL80211_ATTR_MLO_LINK_DISABLED, __NL80211_ATTR_AFTER_LAST, NUM_NL80211_ATTR = __NL80211_ATTR_AFTER_LAST, NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1 @@ -683,6 +677,13 @@ enum nl80211_rate_info { NL80211_RATE_INFO_EHT_NSS, NL80211_RATE_INFO_EHT_GI, NL80211_RATE_INFO_EHT_RU_ALLOC, + NL80211_RATE_INFO_S1G_MCS, + NL80211_RATE_INFO_S1G_NSS, + NL80211_RATE_INFO_1_MHZ_WIDTH, + NL80211_RATE_INFO_2_MHZ_WIDTH, + NL80211_RATE_INFO_4_MHZ_WIDTH, + NL80211_RATE_INFO_8_MHZ_WIDTH, + NL80211_RATE_INFO_16_MHZ_WIDTH, __NL80211_RATE_INFO_AFTER_LAST, NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1 }; @@ -822,6 +823,8 @@ enum nl80211_band_attr { NL80211_BAND_ATTR_IFTYPE_DATA, NL80211_BAND_ATTR_EDMG_CHANNELS, NL80211_BAND_ATTR_EDMG_BW_CONFIG, + NL80211_BAND_ATTR_S1G_MCS_NSS_SET, + NL80211_BAND_ATTR_S1G_CAPA, __NL80211_BAND_ATTR_AFTER_LAST, NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1 }; @@ -864,6 +867,7 @@ enum nl80211_frequency_attr { NL80211_FREQUENCY_ATTR_16MHZ, NL80211_FREQUENCY_ATTR_NO_320MHZ, NL80211_FREQUENCY_ATTR_NO_EHT, + NL80211_FREQUENCY_ATTR_PSD, __NL80211_FREQUENCY_ATTR_AFTER_LAST, NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1 }; @@ -900,6 +904,7 @@ enum nl80211_reg_rule_attr { NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN, NL80211_ATTR_POWER_RULE_MAX_EIRP, NL80211_ATTR_DFS_CAC_TIME, + NL80211_ATTR_POWER_RULE_PSD, __NL80211_REG_RULE_ATTR_AFTER_LAST, NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1 }; @@ -933,6 +938,8 @@ enum nl80211_reg_rule_flags { NL80211_RRF_NO_160MHZ = 1 << 16, NL80211_RRF_NO_HE = 1 << 17, NL80211_RRF_NO_320MHZ = 1 << 18, + NL80211_RRF_NO_EHT = 1 << 19, + NL80211_RRF_PSD = 1 << 20, }; #define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR #define NL80211_RRF_NO_IBSS NL80211_RRF_NO_IR @@ -1537,6 +1544,9 @@ enum nl80211_ext_feature_index { NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE, NL80211_EXT_FEATURE_PUNCT, NL80211_EXT_FEATURE_SECURE_NAN, + NL80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA, + NL80211_EXT_FEATURE_OWE_OFFLOAD, + NL80211_EXT_FEATURE_OWE_OFFLOAD_AP, NUM_NL80211_EXT_FEATURES, MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1 }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/npcm-video.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/npcm-video.h new file mode 100644 index 00000000..64cd3cc5 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/npcm-video.h @@ -0,0 +1,16 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_NPCM_VIDEO_H +#define _UAPI_LINUX_NPCM_VIDEO_H +#include <linux/v4l2-controls.h> +#define V4L2_CID_NPCM_CAPTURE_MODE (V4L2_CID_USER_NPCM_BASE + 0) +enum v4l2_npcm_capture_mode { + V4L2_NPCM_CAPTURE_MODE_COMPLETE = 0, + V4L2_NPCM_CAPTURE_MODE_DIFF = 1, +}; +#define V4L2_CID_NPCM_RECT_COUNT (V4L2_CID_USER_NPCM_BASE + 1) +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nsfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nsfs.h index d32d31c4..61a5797e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nsfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nsfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_NSFS_H #define __LINUX_NSFS_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nubus.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nubus.h index 141c2f2b..2170f1f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nubus.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nubus.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_NUBUS_H #define _UAPILINUX_NUBUS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvme_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvme_ioctl.h index 388e83fb..b68cdfff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvme_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvme_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NVME_IOCTL_H #define _UAPI_LINUX_NVME_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvram.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvram.h index 575b49ab..221c825b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvram.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/nvram.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_NVRAM_H #define _UAPI_LINUX_NVRAM_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omap3isp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omap3isp.h index 18346587..48bfe637 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omap3isp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omap3isp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef OMAP3_ISP_USER_H #define OMAP3_ISP_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omapfb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omapfb.h index 632e4689..c69281fe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omapfb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/omapfb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_OMAPFB_H__ #define _UAPI__LINUX_OMAPFB_H__ #include <linux/fb.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/oom.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/oom.h index 2fcdd294..192ff927 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/oom.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/oom.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__INCLUDE_LINUX_OOM_H #define _UAPI__INCLUDE_LINUX_OOM_H #define OOM_SCORE_ADJ_MIN (- 1000) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openat2.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openat2.h index d397a00e..085d67dc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openat2.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openat2.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_OPENAT2_H #define _UAPI_LINUX_OPENAT2_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openvswitch.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openvswitch.h index 0226e931..d45f4fad 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openvswitch.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/openvswitch.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_OPENVSWITCH_H #define _UAPI__LINUX_OPENVSWITCH_H 1 #include <linux/types.h> @@ -396,6 +384,7 @@ struct ovs_action_push_vlan { }; enum ovs_hash_alg { OVS_HASH_ALG_L4, + OVS_HASH_ALG_SYM_L4, }; struct ovs_action_hash { __u32 hash_alg; @@ -465,6 +454,7 @@ enum ovs_action_attr { OVS_ACTION_ATTR_CHECK_PKT_LEN, OVS_ACTION_ATTR_ADD_MPLS, OVS_ACTION_ATTR_DEC_TTL, + OVS_ACTION_ATTR_DROP, __OVS_ACTION_ATTR_MAX, }; #define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/packet_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/packet_diag.h index 35d5413e..1d7ef4a8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/packet_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/packet_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __PACKET_DIAG_H__ #define __PACKET_DIAG_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/param.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/param.h index be5bb632..5f89b3a5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/param.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/param.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_PARAM_H #define _LINUX_PARAM_H #include <asm/param.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/parport.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/parport.h index 8152224c..6fa97661 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/parport.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/parport.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_PARPORT_H_ #define _UAPI_PARPORT_H_ #define PARPORT_MAX 16 @@ -75,4 +63,7 @@ typedef enum { #define IEEE1284_DATA 0 #define PARPORT_EPP_FAST (1 << 0) #define PARPORT_W91284PIC (1 << 1) +#define PARPORT_EPP_FAST_32 PARPORT_EPP_FAST +#define PARPORT_EPP_FAST_16 (1 << 2) +#define PARPORT_EPP_FAST_8 (1 << 3) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/patchkey.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/patchkey.h index 12c2731a..bea71499 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/patchkey.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/patchkey.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_PATCHKEY_H_INDIRECT #error "patchkey.h included directly" #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci.h index 14a68e48..d3181266 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_PCI_H #define _UAPILINUX_PCI_H #include <linux/pci_regs.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci_regs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci_regs.h index 44b06131..e26392bb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci_regs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pci_regs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef LINUX_PCI_REGS_H #define LINUX_PCI_REGS_H #define PCI_CFG_SPACE_SIZE 256 @@ -64,6 +52,7 @@ #define PCI_HEADER_TYPE_NORMAL 0 #define PCI_HEADER_TYPE_BRIDGE 1 #define PCI_HEADER_TYPE_CARDBUS 2 +#define PCI_HEADER_TYPE_MFD 0x80 #define PCI_BIST 0x0f #define PCI_BIST_CODE_MASK 0x0f #define PCI_BIST_START 0x40 @@ -546,6 +535,7 @@ #define PCI_EXP_RTCAP 0x1e #define PCI_EXP_RTCAP_CRSVIS 0x0001 #define PCI_EXP_RTSTA 0x20 +#define PCI_EXP_RTSTA_PME_RQ_ID 0x0000ffff #define PCI_EXP_RTSTA_PME 0x00010000 #define PCI_EXP_RTSTA_PENDING 0x00020000 #define PCI_EXP_DEVCAP2 0x24 @@ -636,6 +626,7 @@ #define PCI_EXT_CAP_ID_DVSEC 0x23 #define PCI_EXT_CAP_ID_DLF 0x25 #define PCI_EXT_CAP_ID_PL_16GT 0x26 +#define PCI_EXT_CAP_ID_PL_32GT 0x2A #define PCI_EXT_CAP_ID_DOE 0x2E #define PCI_EXT_CAP_ID_MAX PCI_EXT_CAP_ID_DOE #define PCI_EXT_CAP_DSN_SIZEOF 12 @@ -795,12 +786,13 @@ #define PCI_PRI_ALLOC_REQ 0x0c #define PCI_EXT_CAP_PRI_SIZEOF 16 #define PCI_PASID_CAP 0x04 -#define PCI_PASID_CAP_EXEC 0x02 -#define PCI_PASID_CAP_PRIV 0x04 +#define PCI_PASID_CAP_EXEC 0x0002 +#define PCI_PASID_CAP_PRIV 0x0004 +#define PCI_PASID_CAP_WIDTH 0x1f00 #define PCI_PASID_CTRL 0x06 -#define PCI_PASID_CTRL_ENABLE 0x01 -#define PCI_PASID_CTRL_EXEC 0x02 -#define PCI_PASID_CTRL_PRIV 0x04 +#define PCI_PASID_CTRL_ENABLE 0x0001 +#define PCI_PASID_CTRL_EXEC 0x0002 +#define PCI_PASID_CTRL_PRIV 0x0004 #define PCI_EXT_CAP_PASID_SIZEOF 8 #define PCI_SRIOV_CAP 0x04 #define PCI_SRIOV_CAP_VFM 0x00000001 @@ -837,6 +829,8 @@ #define PCI_LTR_VALUE_MASK 0x000003ff #define PCI_LTR_SCALE_MASK 0x00001c00 #define PCI_LTR_SCALE_SHIFT 10 +#define PCI_LTR_NOSNOOP_VALUE 0x03ff0000 +#define PCI_LTR_NOSNOOP_SCALE 0x1c000000 #define PCI_EXT_CAP_LTR_SIZEOF 8 #define PCI_ACS_CAP 0x04 #define PCI_ACS_SV 0x0001 @@ -889,9 +883,16 @@ #define PCI_EXP_DPC_STATUS 0x08 #define PCI_EXP_DPC_STATUS_TRIGGER 0x0001 #define PCI_EXP_DPC_STATUS_TRIGGER_RSN 0x0006 +#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_UNCOR 0x0000 +#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_NFE 0x0002 +#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_FE 0x0004 +#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_IN_EXT 0x0006 #define PCI_EXP_DPC_STATUS_INTERRUPT 0x0008 #define PCI_EXP_DPC_RP_BUSY 0x0010 #define PCI_EXP_DPC_STATUS_TRIGGER_RSN_EXT 0x0060 +#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_RP_PIO 0x0000 +#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_SW_TRIGGER 0x0020 +#define PCI_EXP_DPC_RP_PIO_FEP 0x1f00 #define PCI_EXP_DPC_SOURCE_ID 0x0A #define PCI_EXP_DPC_RP_PIO_STATUS 0x0C #define PCI_EXP_DPC_RP_PIO_MASK 0x10 @@ -929,6 +930,8 @@ #define PCI_L1SS_CTL1_LTR_L12_TH_VALUE 0x03ff0000 #define PCI_L1SS_CTL1_LTR_L12_TH_SCALE 0xe0000000 #define PCI_L1SS_CTL2 0x0c +#define PCI_L1SS_CTL2_T_PWR_ON_SCALE 0x00000003 +#define PCI_L1SS_CTL2_T_PWR_ON_VALUE 0x000000f8 #define PCI_DVSEC_HEADER1 0x4 #define PCI_DVSEC_HEADER1_VID(x) ((x) & 0xffff) #define PCI_DVSEC_HEADER1_REV(x) (((x) >> 16) & 0xf) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pcitest.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pcitest.h index 98248bd0..2e8e761f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pcitest.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pcitest.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_LINUX_PCITEST_H #define __UAPI_LINUX_PCITEST_H #define PCITEST_BAR _IO('P', 0x1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/perf_event.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/perf_event.h index 9223bd72..4b01018a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/perf_event.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/perf_event.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PERF_EVENT_H #define _UAPI_LINUX_PERF_EVENT_H #include <linux/types.h> @@ -470,6 +458,7 @@ union perf_mem_data_src { #define PERF_MEM_LVLNUM_L2 0x02 #define PERF_MEM_LVLNUM_L3 0x03 #define PERF_MEM_LVLNUM_L4 0x04 +#define PERF_MEM_LVLNUM_UNC 0x08 #define PERF_MEM_LVLNUM_CXL 0x09 #define PERF_MEM_LVLNUM_IO 0x0a #define PERF_MEM_LVLNUM_ANY_CACHE 0x0b diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/personality.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/personality.h index 1db50263..27424de8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/personality.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/personality.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PERSONALITY_H #define _UAPI_LINUX_PERSONALITY_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfkeyv2.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfkeyv2.h index d1e54864..f5e6d221 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfkeyv2.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfkeyv2.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_PFKEY2_H #define _LINUX_PFKEY2_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfrut.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfrut.h index 14f713fb..2bb7058f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfrut.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pfrut.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __PFRUT_H__ #define __PFRUT_H__ #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pg.h index dd522825..6128ab82 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PG_H #define _UAPI_LINUX_PG_H #define PG_MAGIC 'P' diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phantom.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phantom.h index 2016cc5d..596e43b7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phantom.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phantom.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __PHANTOM_H #define __PHANTOM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phonet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phonet.h index 81340161..a98105f6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phonet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/phonet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_PHONET_H #define _UAPILINUX_PHONET_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pidfd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pidfd.h index cd60118c..9a49e6ac 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pidfd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pidfd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PIDFD_H #define _UAPI_LINUX_PIDFD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_cls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_cls.h index 876cb73b..8ea50d47 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_cls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_cls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_PKT_CLS_H #define __LINUX_PKT_CLS_H #include <linux/types.h> @@ -463,6 +451,10 @@ enum { TCA_FLOWER_KEY_PPPOE_SID, TCA_FLOWER_KEY_PPP_PROTO, TCA_FLOWER_KEY_L2TPV3_SID, + TCA_FLOWER_L2_MISS, + TCA_FLOWER_KEY_CFM, + TCA_FLOWER_KEY_SPI, + TCA_FLOWER_KEY_SPI_MASK, __TCA_FLOWER_MAX, }; #define TCA_FLOWER_MAX (__TCA_FLOWER_MAX - 1) @@ -534,6 +526,13 @@ enum { TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = (1 << 0), TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = (1 << 1), }; +enum { + TCA_FLOWER_KEY_CFM_OPT_UNSPEC, + TCA_FLOWER_KEY_CFM_MD_LEVEL, + TCA_FLOWER_KEY_CFM_OPCODE, + __TCA_FLOWER_KEY_CFM_OPT_MAX, +}; +#define TCA_FLOWER_KEY_CFM_OPT_MAX (__TCA_FLOWER_KEY_CFM_OPT_MAX - 1) #define TCA_FLOWER_MASK_FLAGS_RANGE (1 << 0) struct tc_matchall_pcnt { __u64 rhit; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_sched.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_sched.h index c31b8bb7..9047c8e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_sched.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pkt_sched.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_PKT_SCHED_H #define __LINUX_PKT_SCHED_H #include <linux/const.h> @@ -443,6 +431,7 @@ enum { TCA_NETEM_JITTER64, TCA_NETEM_SLOT, TCA_NETEM_SLOT_DIST, + TCA_NETEM_PRNG_SEED, __TCA_NETEM_MAX, }; #define TCA_NETEM_MAX (__TCA_NETEM_MAX - 1) @@ -532,6 +521,10 @@ enum { __TC_MQPRIO_SHAPER_MAX }; #define __TC_MQPRIO_SHAPER_MAX (__TC_MQPRIO_SHAPER_MAX - 1) +enum { + TC_FP_EXPRESS = 1, + TC_FP_PREEMPTIBLE = 2, +}; struct tc_mqprio_qopt { __u8 num_tc; __u8 prio_tc_map[TC_QOPT_BITMASK + 1]; @@ -544,11 +537,19 @@ struct tc_mqprio_qopt { #define TC_MQPRIO_F_MIN_RATE 0x4 #define TC_MQPRIO_F_MAX_RATE 0x8 enum { + TCA_MQPRIO_TC_ENTRY_UNSPEC, + TCA_MQPRIO_TC_ENTRY_INDEX, + TCA_MQPRIO_TC_ENTRY_FP, + __TCA_MQPRIO_TC_ENTRY_CNT, + TCA_MQPRIO_TC_ENTRY_MAX = (__TCA_MQPRIO_TC_ENTRY_CNT - 1) +}; +enum { TCA_MQPRIO_UNSPEC, TCA_MQPRIO_MODE, TCA_MQPRIO_SHAPER, TCA_MQPRIO_MIN_RATE64, TCA_MQPRIO_MAX_RATE64, + TCA_MQPRIO_TC_ENTRY, __TCA_MQPRIO_MAX, }; #define TCA_MQPRIO_MAX (__TCA_MQPRIO_MAX - 1) @@ -677,9 +678,13 @@ enum { TCA_FQ_TIMER_SLACK, TCA_FQ_HORIZON, TCA_FQ_HORIZON_DROP, + TCA_FQ_PRIOMAP, + TCA_FQ_WEIGHTS, __TCA_FQ_MAX }; #define TCA_FQ_MAX (__TCA_FQ_MAX - 1) +#define FQ_BANDS 3 +#define FQ_MIN_WEIGHT 16384 struct tc_fq_qd_stats { __u64 gc_flows; __u64 highprio_packets; @@ -696,6 +701,10 @@ struct tc_fq_qd_stats { __u64 ce_mark; __u64 horizon_drops; __u64 horizon_caps; + __u64 fastpath_packets; + __u64 band_drops[FQ_BANDS]; + __u32 band_pkt_count[FQ_BANDS]; + __u32 pad; }; enum { TCA_HHF_UNSPEC, @@ -927,10 +936,18 @@ enum { TCA_TAPRIO_TC_ENTRY_UNSPEC, TCA_TAPRIO_TC_ENTRY_INDEX, TCA_TAPRIO_TC_ENTRY_MAX_SDU, + TCA_TAPRIO_TC_ENTRY_FP, __TCA_TAPRIO_TC_ENTRY_CNT, TCA_TAPRIO_TC_ENTRY_MAX = (__TCA_TAPRIO_TC_ENTRY_CNT - 1) }; enum { + TCA_TAPRIO_OFFLOAD_STATS_PAD = 1, + TCA_TAPRIO_OFFLOAD_STATS_WINDOW_DROPS, + TCA_TAPRIO_OFFLOAD_STATS_TX_OVERRUNS, + __TCA_TAPRIO_OFFLOAD_STATS_CNT, + TCA_TAPRIO_OFFLOAD_STATS_MAX = (__TCA_TAPRIO_OFFLOAD_STATS_CNT - 1) +}; +enum { TCA_TAPRIO_ATTR_UNSPEC, TCA_TAPRIO_ATTR_PRIOMAP, TCA_TAPRIO_ATTR_SCHED_ENTRY_LIST, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pktcdvd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pktcdvd.h index eed22f87..cd2b0dfd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pktcdvd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pktcdvd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__PKTCDVD_H #define _UAPI__PKTCDVD_H #include <linux/types.h> @@ -23,7 +11,6 @@ #define MAX_WRITERS 8 #define PKT_RB_POOL_SIZE 512 #define PACKET_WAIT_TIME (HZ * 5 / 1000) -#define USE_WCACHING 0 #define PACKET_CDR 1 #define PACKET_CDRW 2 #define PACKET_DVDR 3 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pmu.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pmu.h index d3d08b0d..d3c52b6e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pmu.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pmu.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PMU_H #define _UAPI_LINUX_PMU_H #define PMU_DRIVER_VERSION 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/poll.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/poll.h index cd542e68..0572c8ea 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/poll.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/poll.h @@ -1,19 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <asm/poll.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl.h index 96c302a3..865c224a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_POSIX_ACL_H #define __UAPI_POSIX_ACL_H #define ACL_UNDEFINED_ID (- 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl_xattr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl_xattr.h index c66bfa76..3901ca69 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl_xattr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_acl_xattr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_POSIX_ACL_XATTR_H #define __UAPI_POSIX_ACL_XATTR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_types.h index 19fdf481..b21f63fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/posix_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_POSIX_TYPES_H #define _LINUX_POSIX_TYPES_H #include <linux/stddef.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppdev.h index 450d6fde..a4265bf7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PPDEV_H #define _UAPI_LINUX_PPDEV_H #define PP_IOCTL 'p' diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-comp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-comp.h index 08aeab34..e33acf9e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-comp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-comp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_NET_PPP_COMP_H #define _UAPI_NET_PPP_COMP_H #define CCP_CONFREQ 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-ioctl.h index 165d4477..b34cacc5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp-ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _PPP_IOCTL_H #define _PPP_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp_defs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp_defs.h index 84c23d95..ada8b10f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp_defs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ppp_defs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <linux/types.h> #ifndef _UAPI_PPP_DEFS_H_ #define _UAPI_PPP_DEFS_H_ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pps.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pps.h index 4bfe30d0..2d90c1d6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pps.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pps.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _PPS_H_ #define _PPS_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pr.h index b3128ee8..43776925 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/pr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_PR_H #define _UAPI_PR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/prctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/prctl.h index 6ad1c044..48e100bf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/prctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/prctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_PRCTL_H #define _LINUX_PRCTL_H #include <linux/types.h> @@ -185,8 +173,21 @@ struct prctl_mm_map { #define PR_SME_VL_LEN_MASK 0xffff #define PR_SME_VL_INHERIT (1 << 17) #define PR_SET_MDWE 65 -#define PR_MDWE_REFUSE_EXEC_GAIN 1 +#define PR_MDWE_REFUSE_EXEC_GAIN (1UL << 0) +#define PR_MDWE_NO_INHERIT (1UL << 1) #define PR_GET_MDWE 66 #define PR_SET_VMA 0x53564d41 #define PR_SET_VMA_ANON_NAME 0 +#define PR_GET_AUXV 0x41555856 +#define PR_SET_MEMORY_MERGE 67 +#define PR_GET_MEMORY_MERGE 68 +#define PR_RISCV_V_SET_CONTROL 69 +#define PR_RISCV_V_GET_CONTROL 70 +#define PR_RISCV_V_VSTATE_CTRL_DEFAULT 0 +#define PR_RISCV_V_VSTATE_CTRL_OFF 1 +#define PR_RISCV_V_VSTATE_CTRL_ON 2 +#define PR_RISCV_V_VSTATE_CTRL_INHERIT (1 << 4) +#define PR_RISCV_V_VSTATE_CTRL_CUR_MASK 0x3 +#define PR_RISCV_V_VSTATE_CTRL_NEXT_MASK 0xc +#define PR_RISCV_V_VSTATE_CTRL_MASK 0x1f #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psample.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psample.h index efb1c247..c82e76e3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psample.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psample.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_PSAMPLE_H #define __UAPI_PSAMPLE_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psci.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psci.h index ea8ce59f..343268ff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psci.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psci.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PSCI_H #define _UAPI_LINUX_PSCI_H #define PSCI_0_2_FN_BASE 0x84000000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-dbc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-dbc.h new file mode 100644 index 00000000..b981f975 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-dbc.h @@ -0,0 +1,45 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef __PSP_DBC_USER_H__ +#define __PSP_DBC_USER_H__ +#include <linux/types.h> +#define DBC_NONCE_SIZE 16 +#define DBC_SIG_SIZE 32 +#define DBC_UID_SIZE 16 +struct dbc_user_nonce { + __u32 auth_needed; + __u8 nonce[DBC_NONCE_SIZE]; + __u8 signature[DBC_SIG_SIZE]; +} __attribute__((__packed__)); +struct dbc_user_setuid { + __u8 uid[DBC_UID_SIZE]; + __u8 signature[DBC_SIG_SIZE]; +} __attribute__((__packed__)); +struct dbc_user_param { + __u32 msg_index; + __u32 param; + __u8 signature[DBC_SIG_SIZE]; +} __attribute__((__packed__)); +#define DBC_IOC_TYPE 'D' +#define DBCIOCNONCE _IOWR(DBC_IOC_TYPE, 0x1, struct dbc_user_nonce) +#define DBCIOCUID _IOW(DBC_IOC_TYPE, 0x2, struct dbc_user_setuid) +#define DBCIOCPARAM _IOWR(DBC_IOC_TYPE, 0x3, struct dbc_user_param) +enum dbc_cmd_msg { + PARAM_GET_FMAX_CAP = 0x3, + PARAM_SET_FMAX_CAP = 0x4, + PARAM_GET_PWR_CAP = 0x5, + PARAM_SET_PWR_CAP = 0x6, + PARAM_GET_GFX_MODE = 0x7, + PARAM_SET_GFX_MODE = 0x8, + PARAM_GET_CURR_TEMP = 0x9, + PARAM_GET_FMAX_MAX = 0xA, + PARAM_GET_FMAX_MIN = 0xB, + PARAM_GET_SOC_PWR_MAX = 0xC, + PARAM_GET_SOC_PWR_MIN = 0xD, + PARAM_GET_SOC_PWR_CUR = 0xE, +}; +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-sev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-sev.h index 8c9ec808..ffbcf822 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-sev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/psp-sev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __PSP_SEV_USER_H__ #define __PSP_SEV_USER_H__ #include <linux/types.h> @@ -32,6 +20,7 @@ enum { SEV_MAX, }; typedef enum { + SEV_RET_NO_FW_CALL = - 1, SEV_RET_SUCCESS = 0, SEV_RET_INVALID_PLATFORM_STATE, SEV_RET_INVALID_GUEST_STATE, @@ -57,6 +46,7 @@ typedef enum { SEV_RET_INVALID_PARAM, SEV_RET_RESOURCE_LIMIT, SEV_RET_SECURE_DATA_INVALID, + SEV_RET_INVALID_KEY = 0x27, SEV_RET_MAX, } sev_ret_code; struct sev_user_data_status { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptp_clock.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptp_clock.h index ca6f3c3f..ca4447ea 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptp_clock.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptp_clock.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _PTP_CLOCK_H_ #define _PTP_CLOCK_H_ #include <linux/ioctl.h> @@ -46,7 +34,8 @@ struct ptp_clock_caps { int n_pins; int cross_timestamping; int adjust_phase; - int rsv[12]; + int max_phase_adj; + int rsv[11]; }; struct ptp_extts_request { unsigned int index; @@ -115,6 +104,8 @@ struct ptp_pin_desc { #define PTP_PIN_SETFUNC2 _IOW(PTP_CLK_MAGIC, 16, struct ptp_pin_desc) #define PTP_SYS_OFFSET_PRECISE2 _IOWR(PTP_CLK_MAGIC, 17, struct ptp_sys_offset_precise) #define PTP_SYS_OFFSET_EXTENDED2 _IOWR(PTP_CLK_MAGIC, 18, struct ptp_sys_offset_extended) +#define PTP_MASK_CLEAR_ALL _IO(PTP_CLK_MAGIC, 19) +#define PTP_MASK_EN_SINGLE _IOW(PTP_CLK_MAGIC, 20, unsigned int) struct ptp_extts_event { struct ptp_clock_time t; unsigned int index; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptrace.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptrace.h index 4bfa59a9..7bb5b097 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptrace.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ptrace.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_PTRACE_H #define _UAPI_LINUX_PTRACE_H #include <linux/types.h> @@ -90,6 +78,14 @@ struct ptrace_rseq_configuration { __u32 flags; __u32 pad; }; +#define PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG 0x4210 +#define PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG 0x4211 +struct ptrace_sud_config { + __u64 mode; + __u64 selector; + __u64 offset; + __u64 len; +}; #define PTRACE_EVENTMSG_SYSCALL_ENTRY 1 #define PTRACE_EVENTMSG_SYSCALL_EXIT 2 #define PTRACE_PEEKSIGINFO_SHARED (1 << 0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qemu_fw_cfg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qemu_fw_cfg.h index 173af1f4..2c352752 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qemu_fw_cfg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qemu_fw_cfg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_FW_CFG_H #define _LINUX_FW_CFG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnx4_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnx4_fs.h index c6f1a8e5..74c4b625 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnx4_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnx4_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_QNX4_FS_H #define _LINUX_QNX4_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnxtypes.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnxtypes.h index d3133610..c7025946 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnxtypes.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qnxtypes.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _QNX4TYPES_H #define _QNX4TYPES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qrtr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qrtr.h index ee56acaf..024a5be3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qrtr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/qrtr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_QRTR_H #define _LINUX_QRTR_H #include <linux/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/quota.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/quota.h index 280b3969..96983703 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/quota.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/quota.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_QUOTA_ #define _UAPI_LINUX_QUOTA_ #include <linux/types.h> @@ -42,6 +30,7 @@ #define QFMT_VFS_V0 2 #define QFMT_OCFS2 3 #define QFMT_VFS_V1 4 +#define QFMT_SHMEM 5 #define QIF_DQBLKSIZE_BITS 10 #define QIF_DQBLKSIZE (1 << QIF_DQBLKSIZE_BITS) enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/radeonfb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/radeonfb.h index b7a6b9d7..83adcd75 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/radeonfb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/radeonfb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_RADEONFB_H__ #define __LINUX_RADEONFB_H__ #include <asm/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_p.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_p.h index dc3084a6..dafeb16d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_p.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_p.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _MD_P_H #define _MD_P_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_u.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_u.h index 8c7fadc7..f5ae289e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_u.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/raid/md_u.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_MD_U_H #define _UAPI_MD_U_H #define MD_MAJOR_VERSION 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/random.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/random.h index 8df411b7..d1fd9984 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/random.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/random.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RANDOM_H #define _UAPI_LINUX_RANDOM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rds.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rds.h index 7006c87a..e2a7a38f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rds.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rds.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_RDS_H #define _LINUX_RDS_H #include <linux/types.h> @@ -217,7 +205,7 @@ struct rds_get_mr_args { __u64 flags; }; struct rds_get_mr_for_dest_args { - struct __kernel_sockaddr_storage dest_addr; + struct sockaddr_storage dest_addr; struct rds_iovec vec; __u64 cookie_addr; __u64 flags; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reboot.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reboot.h index 6bf017a0..b6fde46a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reboot.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reboot.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_REBOOT_H #define _UAPI_LINUX_REBOOT_H #define LINUX_REBOOT_MAGIC1 0xfee1dead diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_fs.h index 5485b1f8..e0bd0a05 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_REISER_FS_H #define _LINUX_REISER_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_xattr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_xattr.h index 16a7a085..2caed307 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_xattr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/reiserfs_xattr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_REISERFS_XATTR_H #define _LINUX_REISERFS_XATTR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/remoteproc_cdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/remoteproc_cdev.h index a10ff01b..ca47e73b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/remoteproc_cdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/remoteproc_cdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_REMOTEPROC_CDEV_H_ #define _UAPI_REMOTEPROC_CDEV_H_ #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/resource.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/resource.h index 6f531a09..e64c79e1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/resource.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/resource.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RESOURCE_H #define _UAPI_LINUX_RESOURCE_H #include <linux/time.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rfkill.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rfkill.h index b90e67c5..6d435f37 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rfkill.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rfkill.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__RFKILL_H #define _UAPI__RFKILL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_cm_cdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_cm_cdev.h index 39799bce..ce1d026f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_cm_cdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_cm_cdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _RIO_CM_CDEV_H_ #define _RIO_CM_CDEV_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_mport_cdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_mport_cdev.h index 3e6d6de4..1d90f2b0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_mport_cdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rio_mport_cdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _RIO_MPORT_CDEV_H_ #define _RIO_MPORT_CDEV_H_ #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rkisp1-config.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rkisp1-config.h index 7175c23f..ac0b5eb0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rkisp1-config.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rkisp1-config.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_RKISP1_CONFIG_H #define _UAPI_RKISP1_CONFIG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/romfs_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/romfs_fs.h index bffbaf9d..8fcd1396 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/romfs_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/romfs_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_ROMFS_FS_H #define __LINUX_ROMFS_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rose.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rose.h index fa813c74..3a1d05a1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rose.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rose.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef ROSE_KERNEL_H #define ROSE_KERNEL_H #include <linux/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/route.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/route.h index f33327cc..4aa3560a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/route.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/route.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_ROUTE_H #define _LINUX_ROUTE_H #include <linux/if.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl.h index 42262972..90bd60ee 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RPL_H #define _UAPI_LINUX_RPL_H #include <asm/byteorder.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl_iptunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl_iptunnel.h index c61725de..1dd4378c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl_iptunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpl_iptunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RPL_IPTUNNEL_H #define _UAPI_LINUX_RPL_IPTUNNEL_H enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg.h index 9ceccddf..ea75dce1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_RPMSG_H_ #define _UAPI_RPMSG_H_ #include <linux/ioctl.h> @@ -30,4 +18,6 @@ struct rpmsg_endpoint_info { #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) #define RPMSG_CREATE_DEV_IOCTL _IOW(0xb5, 0x3, struct rpmsg_endpoint_info) #define RPMSG_RELEASE_DEV_IOCTL _IOW(0xb5, 0x4, struct rpmsg_endpoint_info) +#define RPMSG_GET_OUTGOING_FLOWCONTROL _IOR(0xb5, 0x5, int) +#define RPMSG_SET_INCOMING_FLOWCONTROL _IOR(0xb5, 0x6, int) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg_types.h index 6599f4cc..85cf317f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rpmsg_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RPMSG_TYPES_H #define _UAPI_LINUX_RPMSG_TYPES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rseq.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rseq.h index f8377207..54190b61 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rseq.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rseq.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RSEQ_H #define _UAPI_LINUX_RSEQ_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtc.h index d75bc45e..3871f66a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RTC_H_ #define _UAPI_LINUX_RTC_H_ #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtnetlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtnetlink.h index 335a19a6..70038f28 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtnetlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rtnetlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_RTNETLINK_H #define _UAPI__LINUX_RTNETLINK_H #include <linux/types.h> @@ -380,7 +368,8 @@ enum { #define RTAX_FEATURE_SACK (1 << 1) #define RTAX_FEATURE_TIMESTAMP (1 << 2) #define RTAX_FEATURE_ALLFRAG (1 << 3) -#define RTAX_FEATURE_MASK (RTAX_FEATURE_ECN | RTAX_FEATURE_SACK | RTAX_FEATURE_TIMESTAMP | RTAX_FEATURE_ALLFRAG) +#define RTAX_FEATURE_TCP_USEC_TS (1 << 4) +#define RTAX_FEATURE_MASK (RTAX_FEATURE_ECN | RTAX_FEATURE_SACK | RTAX_FEATURE_TIMESTAMP | RTAX_FEATURE_ALLFRAG | RTAX_FEATURE_TCP_USEC_TS) struct rta_session { __u8 proto; __u8 pad1; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rxrpc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rxrpc.h index 16207dd6..5b60716c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rxrpc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/rxrpc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_RXRPC_H #define _UAPI_LINUX_RXRPC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scc.h index a2a5503f..f3640d75 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SCC_H #define _UAPI_SCC_H #include <linux/sockios.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched.h index f9c00df2..ae914f7f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SCHED_H #define _UAPI_LINUX_SCHED_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched/types.h index 385b21a3..e3bcbd20 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sched/types.h @@ -1,27 +1,12 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SCHED_TYPES_H #define _UAPI_LINUX_SCHED_TYPES_H #include <linux/types.h> -struct sched_param { - int sched_priority; -}; #define SCHED_ATTR_SIZE_VER0 48 #define SCHED_ATTR_SIZE_VER1 56 struct sched_attr { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scif_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scif_ioctl.h index 14e199c0..60cff794 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scif_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/scif_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SCIF_IOCTL_H #define SCIF_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/screen_info.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/screen_info.h index 7dfadbae..e1856c76 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/screen_info.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/screen_info.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SCREEN_INFO_H #define _UAPI_SCREEN_INFO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sctp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sctp.h index 4bf2412e..760309df 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sctp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sctp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SCTP_H #define _UAPI_SCTP_H #include <linux/types.h> @@ -709,7 +697,9 @@ enum sctp_sched_type { SCTP_SS_DEFAULT = SCTP_SS_FCFS, SCTP_SS_PRIO, SCTP_SS_RR, - SCTP_SS_MAX = SCTP_SS_RR + SCTP_SS_FC, + SCTP_SS_WFQ, + SCTP_SS_MAX = SCTP_SS_WFQ }; struct sctp_probeinterval { sctp_assoc_t spi_assoc_id; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seccomp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seccomp.h index cc506ae1..5264cdd2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seccomp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seccomp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SECCOMP_H #define _UAPI_LINUX_SECCOMP_H #include <linux/compiler.h> @@ -69,6 +57,7 @@ struct seccomp_notif_resp { __s32 error; __u32 flags; }; +#define SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP (1UL << 0) #define SECCOMP_ADDFD_FLAG_SETFD (1UL << 0) #define SECCOMP_ADDFD_FLAG_SEND (1UL << 1) struct seccomp_notif_addfd { @@ -87,4 +76,5 @@ struct seccomp_notif_addfd { #define SECCOMP_IOCTL_NOTIF_SEND SECCOMP_IOWR(1, struct seccomp_notif_resp) #define SECCOMP_IOCTL_NOTIF_ID_VALID SECCOMP_IOW(2, __u64) #define SECCOMP_IOCTL_NOTIF_ADDFD SECCOMP_IOW(3, struct seccomp_notif_addfd) +#define SECCOMP_IOCTL_NOTIF_SET_FLAGS SECCOMP_IOW(4, __u64) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/securebits.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/securebits.h index b73053e5..b50eec99 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/securebits.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/securebits.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SECUREBITS_H #define _UAPI_LINUX_SECUREBITS_H #define issecure_mask(X) (1 << (X)) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sed-opal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sed-opal.h index 4685bb3b..6274edef 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sed-opal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sed-opal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SED_OPAL_H #define _UAPI_SED_OPAL_H #include <linux/types.h> @@ -49,12 +37,20 @@ enum opal_lock_state { enum opal_lock_flags { OPAL_SAVE_FOR_LOCK = 0x01, }; +enum opal_key_type { + OPAL_INCLUDED = 0, + OPAL_KEYRING, +}; struct opal_key { __u8 lr; __u8 key_len; - __u8 __align[6]; + __u8 key_type; + __u8 __align[5]; __u8 key[OPAL_KEY_MAX]; }; +enum opal_revert_lsp_opts { + OPAL_PRESERVE = 0x01, +}; struct opal_lr_act { struct opal_key key; __u32 sum; @@ -74,6 +70,15 @@ struct opal_user_lr_setup { __u32 WLE; struct opal_session_info session; }; +struct opal_lr_status { + struct opal_session_info session; + __u64 range_start; + __u64 range_length; + __u32 RLE; + __u32 WLE; + __u32 l_state; + __u8 align[4]; +}; struct opal_lock_unlock { struct opal_session_info session; __u32 l_state; @@ -127,6 +132,22 @@ struct opal_status { __u32 flags; __u32 reserved; }; +struct opal_geometry { + __u8 align; + __u32 logical_block_size; + __u64 alignment_granularity; + __u64 lowest_aligned_lba; + __u8 __align[3]; +}; +struct opal_discovery { + __u64 data; + __u64 size; +}; +struct opal_revert_lsp { + struct opal_key key; + __u32 options; + __u32 __pad; +}; #define IOC_OPAL_SAVE _IOW('p', 220, struct opal_lock_unlock) #define IOC_OPAL_LOCK_UNLOCK _IOW('p', 221, struct opal_lock_unlock) #define IOC_OPAL_TAKE_OWNERSHIP _IOW('p', 222, struct opal_key) @@ -144,4 +165,8 @@ struct opal_status { #define IOC_OPAL_WRITE_SHADOW_MBR _IOW('p', 234, struct opal_shadow_mbr) #define IOC_OPAL_GENERIC_TABLE_RW _IOW('p', 235, struct opal_read_write_table) #define IOC_OPAL_GET_STATUS _IOR('p', 236, struct opal_status) +#define IOC_OPAL_GET_LR_STATUS _IOW('p', 237, struct opal_lr_status) +#define IOC_OPAL_GET_GEOMETRY _IOR('p', 238, struct opal_geometry) +#define IOC_OPAL_DISCOVERY _IOW('p', 239, struct opal_discovery) +#define IOC_OPAL_REVERT_LSP _IOW('p', 240, struct opal_revert_lsp) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6.h index b8206cca..c1958c8a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SEG6_H #define _UAPI_LINUX_SEG6_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_genl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_genl.h index bcd5f36f..713842e2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_genl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_genl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SEG6_GENL_H #define _UAPI_LINUX_SEG6_GENL_H #define SEG6_GENL_NAME "SEG6" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_hmac.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_hmac.h index d5ef671f..1d44e61a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_hmac.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_hmac.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SEG6_HMAC_H #define _UAPI_LINUX_SEG6_HMAC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_iptunnel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_iptunnel.h index 19d8ba4d..74499f54 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_iptunnel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_iptunnel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SEG6_IPTUNNEL_H #define _UAPI_LINUX_SEG6_IPTUNNEL_H #include <linux/seg6.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_local.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_local.h index 4d062e82..4ae2b2cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_local.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/seg6_local.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SEG6_LOCAL_H #define _UAPI_LINUX_SEG6_LOCAL_H #include <linux/seg6.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/selinux_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/selinux_netlink.h index 16d928da..d3c4e149 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/selinux_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/selinux_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_SELINUX_NETLINK_H #define _LINUX_SELINUX_NETLINK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sem.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sem.h index c2f25e7d..8b173a68 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sem.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sem.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SEM_H #define _UAPI_LINUX_SEM_H #include <linux/ipc.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial.h index 5a83c62d..adbdd1bb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SERIAL_H #define _UAPI_LINUX_SERIAL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_core.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_core.h index ecd395cb..23b049a0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_core.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_core.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_SERIAL_CORE_H #define _UAPILINUX_SERIAL_CORE_H #include <linux/serial.h> @@ -59,32 +47,21 @@ #define PORT_SCI 52 #define PORT_SCIF 53 #define PORT_IRDA 54 -#define PORT_S3C2410 55 #define PORT_IP22ZILOG 56 -#define PORT_LH7A40X 57 #define PORT_CPM 58 #define PORT_MPC52xx 59 #define PORT_ICOM 60 -#define PORT_S3C2440 61 #define PORT_IMX 62 -#define PORT_MPSC 63 #define PORT_TXX9 64 -#define PORT_S3C2400 67 -#define PORT_M32R_SIO 68 #define PORT_JSM 69 #define PORT_SUNHV 72 -#define PORT_S3C2412 73 #define PORT_UARTLITE 74 -#define PORT_BFIN 75 +#define PORT_BCM7271 76 #define PORT_SB1250_DUART 77 #define PORT_MCF 78 -#define PORT_BFIN_SPORT 79 -#define PORT_MN10300 80 -#define PORT_MN10300_CTS 81 #define PORT_SC26XX 82 #define PORT_SCIFA 83 #define PORT_S3C6400 84 -#define PORT_NWPSERIAL 85 #define PORT_MAX3100 86 #define PORT_TIMBUART 87 #define PORT_MSM 88 @@ -105,13 +82,11 @@ #define PORT_LPUART 103 #define PORT_HSCIF 104 #define PORT_ASC 105 -#define PORT_TILEGX 106 #define PORT_MEN_Z135 107 #define PORT_SC16IS7XX 108 #define PORT_MESON 109 #define PORT_DIGICOLOR 110 #define PORT_SPRD 111 -#define PORT_CRIS 112 #define PORT_STM32 113 #define PORT_MVEBU 114 #define PORT_PIC32 115 @@ -123,4 +98,5 @@ #define PORT_SUNIX 121 #define PORT_LINFLEXUART 122 #define PORT_SUNPLUS 123 +#define PORT_GENERIC (- 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_reg.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_reg.h index 36d778d7..7f532771 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_reg.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serial_reg.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_SERIAL_REG_H #define _LINUX_SERIAL_REG_H #define UART_RX 0 @@ -42,6 +30,7 @@ #define UART_IIR_FIFO_ENABLED_8250 0x00 #define UART_IIR_FIFO_ENABLED_16550 0x80 #define UART_IIR_FIFO_ENABLED_16550A 0xc0 +#define UART_IIR_FIFO_ENABLED_16750 0xe0 #define UART_FCR 2 #define UART_FCR_ENABLE_FIFO 0x01 #define UART_FCR_CLEAR_RCVR 0x02 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serio.h index 605a4e45..424144e6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/serio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SERIO_H #define _UAPI_SERIO_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sev-guest.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sev-guest.h index 796479a8..a822bedf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sev-guest.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sev-guest.h @@ -1,26 +1,15 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_LINUX_SEV_GUEST_H_ #define __UAPI_LINUX_SEV_GUEST_H_ #include <linux/types.h> +#define SNP_REPORT_USER_DATA_SIZE 64 struct snp_report_req { - __u8 user_data[64]; + __u8 user_data[SNP_REPORT_USER_DATA_SIZE]; __u32 vmpl; __u8 rsvd[28]; }; @@ -42,7 +31,13 @@ struct snp_guest_request_ioctl { __u8 msg_version; __u64 req_data; __u64 resp_data; - __u64 fw_err; + union { + __u64 exitinfo2; + struct { + __u32 fw_error; + __u32 vmm_error; + }; + }; }; struct snp_ext_report_req { struct snp_report_req data; @@ -53,4 +48,9 @@ struct snp_ext_report_req { #define SNP_GET_REPORT _IOWR(SNP_GUEST_REQ_IOC_TYPE, 0x0, struct snp_guest_request_ioctl) #define SNP_GET_DERIVED_KEY _IOWR(SNP_GUEST_REQ_IOC_TYPE, 0x1, struct snp_guest_request_ioctl) #define SNP_GET_EXT_REPORT _IOWR(SNP_GUEST_REQ_IOC_TYPE, 0x2, struct snp_guest_request_ioctl) +#define SNP_GUEST_FW_ERR_MASK GENMASK_ULL(31, 0) +#define SNP_GUEST_VMM_ERR_SHIFT 32 +#define SNP_GUEST_VMM_ERR(x) (((u64) x) << SNP_GUEST_VMM_ERR_SHIFT) +#define SNP_GUEST_VMM_ERR_INVALID_LEN 1 +#define SNP_GUEST_VMM_ERR_BUSY 2 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/shm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/shm.h index 72ee715b..10b798a0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/shm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/shm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SHM_H_ #define _UAPI_LINUX_SHM_H_ #include <linux/ipc.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signal.h index dd00a329..1035b54d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SIGNAL_H #define _UAPI_LINUX_SIGNAL_H #include <asm/signal.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signalfd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signalfd.h index 5108ef04..928021fe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signalfd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/signalfd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SIGNALFD_H #define _UAPI_LINUX_SIGNALFD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc.h index 200c9b6e..4521cebe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SMC_H_ #define _UAPI_LINUX_SMC_H_ enum { @@ -97,6 +85,8 @@ enum { enum { SMC_NLA_LGR_R_V2_UNSPEC, SMC_NLA_LGR_R_V2_DIRECT, + SMC_NLA_LGR_R_V2_MAX_CONNS, + SMC_NLA_LGR_R_V2_MAX_LINKS, __SMC_NLA_LGR_R_V2_MAX, SMC_NLA_LGR_R_V2_MAX = __SMC_NLA_LGR_R_V2_MAX - 1 }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc_diag.h index 30e0fa25..be540acb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smc_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SMC_DIAG_H_ #define _UAPI_SMC_DIAG_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smiapp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smiapp.h index 3dd54cc4..f04cee4d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smiapp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/smiapp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_LINUX_SMIAPP_H_ #define __UAPI_LINUX_SMIAPP_H_ #define V4L2_SMIAPP_TEST_PATTERN_MODE_DISABLED 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/snmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/snmp.h index ea3f0584..2f4c65cc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/snmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/snmp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_SNMP_H #define _LINUX_SNMP_H enum { @@ -24,7 +12,7 @@ enum { IPSTATS_MIB_INOCTETS, IPSTATS_MIB_INDELIVERS, IPSTATS_MIB_OUTFORWDATAGRAMS, - IPSTATS_MIB_OUTPKTS, + IPSTATS_MIB_OUTREQUESTS, IPSTATS_MIB_OUTOCTETS, IPSTATS_MIB_INHDRERRORS, IPSTATS_MIB_INTOOBIGERRORS, @@ -56,6 +44,7 @@ enum { IPSTATS_MIB_ECT0PKTS, IPSTATS_MIB_CEPKTS, IPSTATS_MIB_REASM_OVERLAPS, + IPSTATS_MIB_OUTPKTS, __IPSTATS_MIB_MAX }; enum { @@ -263,6 +252,11 @@ enum { LINUX_MIB_TCPMIGRATEREQSUCCESS, LINUX_MIB_TCPMIGRATEREQFAILURE, LINUX_MIB_TCPPLBREHASH, + LINUX_MIB_TCPAOREQUIRED, + LINUX_MIB_TCPAOBAD, + LINUX_MIB_TCPAOKEYNOTFOUND, + LINUX_MIB_TCPAOGOOD, + LINUX_MIB_TCPAODROPPEDICMPS, __LINUX_MIB_MAX }; enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sock_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sock_diag.h index a4e40d95..34309847 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sock_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sock_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SOCK_DIAG_H__ #define _UAPI__SOCK_DIAG_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/socket.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/socket.h index 4a530a8c..27890a42 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/socket.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/socket.h @@ -1,34 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SOCKET_H #define _UAPI_LINUX_SOCKET_H +#include <bits/sockaddr_storage.h> #define _K_SS_MAXSIZE 128 typedef unsigned short __kernel_sa_family_t; -struct __kernel_sockaddr_storage { - union { - struct { - __kernel_sa_family_t ss_family; - char __data[_K_SS_MAXSIZE - sizeof(unsigned short)]; - }; - void * __align; - }; -}; #define SOCK_SNDBUF_LOCK 1 #define SOCK_RCVBUF_LOCK 2 #define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sockios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sockios.h index 2d13d938..4835e7c9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sockios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sockios.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_SOCKIOS_H #define _LINUX_SOCKIOS_H #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonet.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonet.h index ca10ec2c..0064a68b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonet.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonet.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPILINUX_SONET_H #define _UAPILINUX_SONET_H #define __SONET_ITEMS __HANDLE_ITEM(section_bip); __HANDLE_ITEM(line_bip); __HANDLE_ITEM(path_bip); __HANDLE_ITEM(line_febe); __HANDLE_ITEM(path_febe); __HANDLE_ITEM(corr_hcs); __HANDLE_ITEM(uncorr_hcs); __HANDLE_ITEM(tx_cells); __HANDLE_ITEM(rx_cells); diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonypi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonypi.h index 84befdef..3f9ea203 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonypi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sonypi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SONYPI_H_ #define _UAPI_SONYPI_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sound.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sound.h index c3035648..3459fe82 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sound.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sound.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SOUND_H #define _UAPI_LINUX_SOUND_H #include <linux/fs.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/soundcard.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/soundcard.h index 1c345bd4..7ae13b97 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/soundcard.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/soundcard.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPISOUNDCARD_H #define _UAPISOUNDCARD_H #define SOUND_VERSION 0x030802 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spi.h index 693e752d..45c45cd2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SPI_H #define _UAPI_SPI_H #include <linux/const.h> @@ -41,5 +29,6 @@ #define SPI_RX_OCTAL _BITUL(14) #define SPI_3WIRE_HIZ _BITUL(15) #define SPI_RX_CPHA_FLIP _BITUL(16) -#define SPI_MODE_USER_MASK (_BITUL(17) - 1) +#define SPI_MOSI_IDLE_LOW _BITUL(17) +#define SPI_MODE_USER_MASK (_BITUL(18) - 1) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spidev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spidev.h index 19d1d84e..2a9320e1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spidev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/spi/spidev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SPIDEV_H #define SPIDEV_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stat.h index 89304ce6..2fb7437c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_STAT_H #define _UAPI_LINUX_STAT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stddef.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stddef.h index 6bc6925f..aa3a6943 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stddef.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stddef.h @@ -1,27 +1,22 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_STDDEF_H #define _UAPI_LINUX_STDDEF_H #include <linux/compiler_types.h> #ifndef __always_inline #define __always_inline inline #endif -#define __struct_group(TAG,NAME,ATTRS,MEMBERS...) union { struct { MEMBERS } ATTRS; struct TAG { MEMBERS } ATTRS NAME; } +#define __struct_group(TAG,NAME,ATTRS,MEMBERS...) union { struct { MEMBERS } ATTRS; struct TAG { MEMBERS } ATTRS NAME; } ATTRS +#ifdef __cplusplus +#define __DECLARE_FLEX_ARRAY(T,member) T member[0] +#else #define __DECLARE_FLEX_ARRAY(TYPE,NAME) struct { struct { } __empty_ ##NAME; TYPE NAME[]; } #endif +#ifndef __counted_by +#define __counted_by(m) +#endif +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stm.h index b1453f70..4d65e4fb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/stm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_STM_H #define _UAPI_LINUX_STM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/string.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/string.h index 2ff62f28..53e24801 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/string.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/string.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_STRING_H_ #define _UAPI_LINUX_STRING_H_ #include <string.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sunrpc/debug.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sunrpc/debug.h index 86c4d864..80eeefcd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sunrpc/debug.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sunrpc/debug.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SUNRPC_DEBUG_H_ #define _UAPI_LINUX_SUNRPC_DEBUG_H_ #define RPCDBG_XPRT 0x0001 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/cdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/cdev.h index 2e097f04..46ddec4a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/cdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/cdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SURFACE_AGGREGATOR_CDEV_H #define _UAPI_LINUX_SURFACE_AGGREGATOR_CDEV_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/dtx.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/dtx.h index dde5ad3a..e118e0d1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/dtx.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/surface_aggregator/dtx.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SURFACE_AGGREGATOR_DTX_H #define _UAPI_LINUX_SURFACE_AGGREGATOR_DTX_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/suspend_ioctls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/suspend_ioctls.h index b011d93f..cabff2e3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/suspend_ioctls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/suspend_ioctls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_SUSPEND_IOCTLS_H #define _LINUX_SUSPEND_IOCTLS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/swab.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/swab.h index 332023af..6225a760 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/swab.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/swab.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SWAB_H #define _UAPI_LINUX_SWAB_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/switchtec_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/switchtec_ioctl.h index 204839db..e5a1b175 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/switchtec_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/switchtec_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SWITCHTEC_IOCTL_H #define _UAPI_LINUX_SWITCHTEC_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sync_file.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sync_file.h index 497300e0..423d248c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sync_file.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sync_file.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SYNC_H #define _UAPI_LINUX_SYNC_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/synclink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/synclink.h index ba8ecb9e..d84f6c7b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/synclink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/synclink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SYNCLINK_H_ #define _UAPI_SYNCLINK_H_ #define SYNCLINK_H_VERSION 3.6 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysctl.h index 5714323f..67689799 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SYSCTL_H #define _UAPI_LINUX_SYSCTL_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysinfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysinfo.h index 6501a8c5..d9b54b07 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysinfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/sysinfo.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_SYSINFO_H #define _LINUX_SYSINFO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/target_core_user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/target_core_user.h index 83e155e7..d3632516 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/target_core_user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/target_core_user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __TARGET_CORE_USER_H #define __TARGET_CORE_USER_H #include <linux/types.h> @@ -61,7 +49,7 @@ struct tcmu_cmd_entry { __u64 cdb_off; __u64 __pad1; __u64 __pad2; - struct iovec iov[0]; + __DECLARE_FLEX_ARRAY(struct iovec, iov); } req; struct { __u8 scsi_status; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/taskstats.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/taskstats.h index c1cda523..4914b2f3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/taskstats.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/taskstats.h @@ -1,25 +1,13 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TASKSTATS_H #define _LINUX_TASKSTATS_H #include <linux/types.h> -#define TASKSTATS_VERSION 13 +#define TASKSTATS_VERSION 14 #define TS_COMM_LEN 32 struct taskstats { __u16 version; @@ -77,6 +65,8 @@ struct taskstats { __u64 ac_exe_inode; __u64 wpcopy_count; __u64 wpcopy_delay_total; + __u64 irq_count; + __u64 irq_delay_total; }; enum { TASKSTATS_CMD_UNSPEC = 0, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_bpf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_bpf.h index 48094d44..a9d59af8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_bpf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_bpf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_BPF_H #define __LINUX_TC_BPF_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_connmark.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_connmark.h index 5fe979c6..a38c3510 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_connmark.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_connmark.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_TC_CONNMARK_H #define __UAPI_TC_CONNMARK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_csum.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_csum.h index 1fcd00db..ce6b60a8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_csum.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_csum.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_CSUM_H #define __LINUX_TC_CSUM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ct.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ct.h index be83c603..9563d3ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ct.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ct.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_TC_CT_H #define __UAPI_TC_CT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ctinfo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ctinfo.h index 18fdf604..ffccd3ed 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ctinfo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ctinfo.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_TC_CTINFO_H #define __UAPI_TC_CTINFO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_defact.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_defact.h index f3fb529d..40d8d551 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_defact.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_defact.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_DEF_H #define __LINUX_TC_DEF_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gact.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gact.h index ac96dff8..39bf5a4d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gact.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gact.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_GACT_H #define __LINUX_TC_GACT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gate.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gate.h index f0a64127..dca6f29c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gate.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_gate.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_GATE_H #define __LINUX_TC_GATE_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ife.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ife.h index 346ebac0..61e88e4b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ife.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ife.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_TC_IFE_H #define __UAPI_TC_IFE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ipt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ipt.h index d578ce79..a2fc9330 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ipt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_ipt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_IPT_H #define __LINUX_TC_IPT_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mirred.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mirred.h index af04d03c..d87b74a2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mirred.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mirred.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_MIR_H #define __LINUX_TC_MIR_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mpls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mpls.h index 5e23fde1..8a455499 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mpls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_mpls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_MPLS_H #define __LINUX_TC_MPLS_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_nat.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_nat.h index 14aeffb0..9f35f70a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_nat.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_nat.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_NAT_H #define __LINUX_TC_NAT_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_pedit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_pedit.h index cb8bd225..bc7cc06f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_pedit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_pedit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_PED_H #define __LINUX_TC_PED_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_sample.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_sample.h index 7d9a32ed..80c86edc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_sample.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_sample.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_SAMPLE_H #define __LINUX_TC_SAMPLE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbedit.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbedit.h index b041a6a6..853c4ae2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbedit.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbedit.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_SKBEDIT_H #define __LINUX_TC_SKBEDIT_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbmod.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbmod.h index f0cd928b..7eaea38c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbmod.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_skbmod.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_SKBMOD_H #define __LINUX_TC_SKBMOD_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_tunnel_key.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_tunnel_key.h index e137ae8a..bca7cb5d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_tunnel_key.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_tunnel_key.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_TUNNEL_KEY_H #define __LINUX_TC_TUNNEL_KEY_H #include <linux/pkt_cls.h> @@ -40,6 +28,7 @@ enum { TCA_TUNNEL_KEY_ENC_OPTS, TCA_TUNNEL_KEY_ENC_TOS, TCA_TUNNEL_KEY_ENC_TTL, + TCA_TUNNEL_KEY_NO_FRAG, __TCA_TUNNEL_KEY_MAX, }; #define TCA_TUNNEL_KEY_MAX (__TCA_TUNNEL_KEY_MAX - 1) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_vlan.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_vlan.h index 004c7ae0..c617ea72 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_vlan.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_act/tc_vlan.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_VLAN_H #define __LINUX_TC_VLAN_H #include <linux/pkt_cls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_cmp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_cmp.h index 4e01cf57..e686bf2f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_cmp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_cmp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_EM_CMP_H #define __LINUX_TC_EM_CMP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_ipt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_ipt.h index 8cd06ee5..666c9052 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_ipt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_ipt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_EM_IPT_H #define __LINUX_TC_EM_IPT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_meta.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_meta.h index 1b91cd15..fea9dc0c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_meta.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_meta.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_EM_META_H #define __LINUX_TC_EM_META_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_nbyte.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_nbyte.h index cce2d2cf..5489bed0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_nbyte.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_nbyte.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_EM_NBYTE_H #define __LINUX_TC_EM_NBYTE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_text.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_text.h index 9d0ab653..794c69a4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_text.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tc_ematch/tc_em_text.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_TC_EM_TEXT_H #define __LINUX_TC_EM_TEXT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp.h index 7a93208b..cb26f970 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp.h @@ -1,42 +1,15 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TCP_H #define _UAPI_LINUX_TCP_H +#include <bits/tcphdr.h> #include <linux/types.h> #include <asm/byteorder.h> #include <linux/socket.h> -struct tcphdr { - __be16 source; - __be16 dest; - __be32 seq; - __be32 ack_seq; -#ifdef __LITTLE_ENDIAN_BITFIELD - __u16 res1 : 4, doff : 4, fin : 1, syn : 1, rst : 1, psh : 1, ack : 1, urg : 1, ece : 1, cwr : 1; -#elif defined(__BIG_ENDIAN_BITFIELD) - __u16 doff : 4, res1 : 4, cwr : 1, ece : 1, urg : 1, ack : 1, psh : 1, rst : 1, syn : 1, fin : 1; -#else -#error "Adjust your <asm/byteorder.h> defines" -#endif - __be16 window; - __sum16 check; - __be16 urg_ptr; -}; union tcp_word_hdr { struct tcphdr hdr; __be32 words[5]; @@ -93,6 +66,11 @@ enum { #define TCP_INQ 36 #define TCP_CM_INQ TCP_INQ #define TCP_TX_DELAY 37 +#define TCP_AO_ADD_KEY 38 +#define TCP_AO_DEL_KEY 39 +#define TCP_AO_INFO 40 +#define TCP_AO_GET_KEYS 41 +#define TCP_AO_REPAIR 42 #define TCP_REPAIR_ON 1 #define TCP_REPAIR_OFF 0 #define TCP_REPAIR_OFF_NO_WP - 1 @@ -125,6 +103,7 @@ enum tcp_fastopen_client_fail { #define TCPI_OPT_ECN 8 #define TCPI_OPT_ECN_SEEN 16 #define TCPI_OPT_SYN_DATA 32 +#define TCPI_OPT_USEC_TS 64 enum tcp_ca_state { TCP_CA_Open = 0, #define TCPF_CA_Open (1 << TCP_CA_Open) @@ -194,6 +173,9 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; enum { TCP_NLA_PAD, @@ -229,7 +211,7 @@ enum { #define TCP_MD5SIG_FLAG_PREFIX 0x1 #define TCP_MD5SIG_FLAG_IFINDEX 0x2 struct tcp_md5sig { - struct __kernel_sockaddr_storage tcpm_addr; + struct sockaddr_storage tcpm_addr; __u8 tcpm_flags; __u8 tcpm_prefixlen; __u16 tcpm_keylen; @@ -243,6 +225,68 @@ struct tcp_diag_md5sig { __be32 tcpm_addr[4]; __u8 tcpm_key[TCP_MD5SIG_MAXKEYLEN]; }; +#define TCP_AO_MAXKEYLEN 80 +#define TCP_AO_KEYF_IFINDEX (1 << 0) +#define TCP_AO_KEYF_EXCLUDE_OPT (1 << 1) +struct tcp_ao_add { + struct sockaddr_storage addr; + char alg_name[64]; + __s32 ifindex; + __u32 set_current : 1, set_rnext : 1, reserved : 30; + __u16 reserved2; + __u8 prefix; + __u8 sndid; + __u8 rcvid; + __u8 maclen; + __u8 keyflags; + __u8 keylen; + __u8 key[TCP_AO_MAXKEYLEN]; +} __attribute__((aligned(8))); +struct tcp_ao_del { + struct sockaddr_storage addr; + __s32 ifindex; + __u32 set_current : 1, set_rnext : 1, del_async : 1, reserved : 29; + __u16 reserved2; + __u8 prefix; + __u8 sndid; + __u8 rcvid; + __u8 current_key; + __u8 rnext; + __u8 keyflags; +} __attribute__((aligned(8))); +struct tcp_ao_info_opt { + __u32 set_current : 1, set_rnext : 1, ao_required : 1, set_counters : 1, accept_icmps : 1, reserved : 27; + __u16 reserved2; + __u8 current_key; + __u8 rnext; + __u64 pkt_good; + __u64 pkt_bad; + __u64 pkt_key_not_found; + __u64 pkt_ao_required; + __u64 pkt_dropped_icmp; +} __attribute__((aligned(8))); +struct tcp_ao_getsockopt { + struct sockaddr_storage addr; + char alg_name[64]; + __u8 key[TCP_AO_MAXKEYLEN]; + __u32 nkeys; + __u16 is_current : 1, is_rnext : 1, get_all : 1, reserved : 13; + __u8 sndid; + __u8 rcvid; + __u8 prefix; + __u8 maclen; + __u8 keyflags; + __u8 keylen; + __s32 ifindex; + __u64 pkt_good; + __u64 pkt_bad; +} __attribute__((aligned(8))); +struct tcp_ao_repair { + __be32 snt_isn; + __be32 rcv_isn; + __u32 snd_sne; + __u32 rcv_sne; +} __attribute__((aligned(8))); #define TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT 0x1 struct tcp_zerocopy_receive { __u64 address; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp_metrics.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp_metrics.h index b9eb1415..931f50c0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp_metrics.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tcp_metrics.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TCP_METRICS_H #define _LINUX_TCP_METRICS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tdx-guest.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tdx-guest.h index 50f9c620..3e84a0de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tdx-guest.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tdx-guest.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TDX_GUEST_H_ #define _UAPI_LINUX_TDX_GUEST_H_ #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tee.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tee.h index 404b7b26..d4772ee7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tee.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tee.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __TEE_H #define __TEE_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/termios.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/termios.h index cde4099b..fb693e9d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/termios.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/termios.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TERMIOS_H #define _LINUX_TERMIOS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/thermal.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/thermal.h index 2f9dccbd..f9d67c5c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/thermal.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/thermal.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_THERMAL_H #define _UAPI_LINUX_THERMAL_H #define THERMAL_NAME_LENGTH 20 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time.h index 55d0e6e9..a10e5860 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TIME_H #define _UAPI_LINUX_TIME_H #include <bits/timespec.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time_types.h index 8c70a56a..668f6ae6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/time_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TIME_TYPES_H #define _UAPI_LINUX_TIME_TYPES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timerfd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timerfd.h index eaa415a5..efc6219f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timerfd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timerfd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TIMERFD_H #define _UAPI_LINUX_TIMERFD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/times.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/times.h index b204b78b..30e2e986 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/times.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/times.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TIMES_H #define _LINUX_TIMES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timex.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timex.h index 803eaece..1841e98c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timex.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/timex.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TIMEX_H #define _UAPI_LINUX_TIMEX_H #include <linux/time.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tiocl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tiocl.h index 46496073..c4297ad2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tiocl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tiocl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TIOCL_H #define _LINUX_TIOCL_H #define TIOCL_SETSEL 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc.h index c66754c3..2313af51 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TIPC_H_ #define _LINUX_TIPC_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_config.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_config.h index c6ee1d14..cd781d9d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_config.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_config.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TIPC_CONFIG_H_ #define _LINUX_TIPC_CONFIG_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_netlink.h index 39be9484..afc4518e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TIPC_NETLINK_H_ #define _LINUX_TIPC_NETLINK_H_ #define TIPC_GENL_V2_NAME "TIPCv2" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_sockets_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_sockets_diag.h index 7d7d0168..066d2ec3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_sockets_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tipc_sockets_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__TIPC_SOCKETS_DIAG_H__ #define _UAPI__TIPC_SOCKETS_DIAG_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tls.h index fcab74b3..27204769 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TLS_H #define _UAPI_LINUX_TLS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/toshiba.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/toshiba.h index 5b59d69e..775efbbb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/toshiba.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/toshiba.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TOSHIBA_H #define _UAPI_LINUX_TOSHIBA_H #define TOSH_PROC "/proc/toshiba" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tps6594_pfsm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tps6594_pfsm.h new file mode 100644 index 00000000..38788e0b --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tps6594_pfsm.h @@ -0,0 +1,24 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef __TPS6594_PFSM_H +#define __TPS6594_PFSM_H +#include <linux/const.h> +#include <linux/ioctl.h> +#include <linux/types.h> +struct pmic_state_opt { + __u8 gpio_retention; + __u8 ddr_retention; + __u8 mcu_only_startup_dest; +}; +#define PMIC_BASE 'P' +#define PMIC_GOTO_STANDBY _IO(PMIC_BASE, 0) +#define PMIC_GOTO_LP_STANDBY _IO(PMIC_BASE, 1) +#define PMIC_UPDATE_PGM _IO(PMIC_BASE, 2) +#define PMIC_SET_ACTIVE_STATE _IO(PMIC_BASE, 3) +#define PMIC_SET_MCU_ONLY_STATE _IOW(PMIC_BASE, 4, struct pmic_state_opt) +#define PMIC_SET_RETENTION_STATE _IOW(PMIC_BASE, 5, struct pmic_state_opt) +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty.h index a94e6e60..9faa8423 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TTY_H #define _UAPI_LINUX_TTY_H #define N_TTY 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty_flags.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty_flags.h index b8354cf7..b9161618 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty_flags.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/tty_flags.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_TTY_FLAGS_H #define _LINUX_TTY_FLAGS_H #define ASYNCB_HUP_NOTIFY 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/types.h index f41d676b..2f57e85b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/types.h @@ -1,26 +1,18 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_TYPES_H #define _UAPI_LINUX_TYPES_H #include <asm/types.h> #ifndef __ASSEMBLY__ #include <linux/posix_types.h> +#ifdef __SIZEOF_INT128__ +typedef __signed__ __int128 __s128 __attribute__((aligned(16))); +typedef unsigned __int128 __u128 __attribute__((aligned(16))); +#endif #define __bitwise #define __bitwise__ __bitwise typedef __u16 __bitwise __le16; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ublk_cmd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ublk_cmd.h index 6e0a9f8e..d05c7c4f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ublk_cmd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ublk_cmd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef USER_BLK_DRV_CMD_INC_H #define USER_BLK_DRV_CMD_INC_H #include <linux/types.h> @@ -30,21 +18,52 @@ #define UBLK_CMD_START_USER_RECOVERY 0x10 #define UBLK_CMD_END_USER_RECOVERY 0x11 #define UBLK_CMD_GET_DEV_INFO2 0x12 +#define UBLK_U_CMD_GET_QUEUE_AFFINITY _IOR('u', UBLK_CMD_GET_QUEUE_AFFINITY, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_GET_DEV_INFO _IOR('u', UBLK_CMD_GET_DEV_INFO, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_ADD_DEV _IOWR('u', UBLK_CMD_ADD_DEV, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_DEL_DEV _IOWR('u', UBLK_CMD_DEL_DEV, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_START_DEV _IOWR('u', UBLK_CMD_START_DEV, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_STOP_DEV _IOWR('u', UBLK_CMD_STOP_DEV, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_SET_PARAMS _IOWR('u', UBLK_CMD_SET_PARAMS, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_GET_PARAMS _IOR('u', UBLK_CMD_GET_PARAMS, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_START_USER_RECOVERY _IOWR('u', UBLK_CMD_START_USER_RECOVERY, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_END_USER_RECOVERY _IOWR('u', UBLK_CMD_END_USER_RECOVERY, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_GET_DEV_INFO2 _IOR('u', UBLK_CMD_GET_DEV_INFO2, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_GET_FEATURES _IOR('u', 0x13, struct ublksrv_ctrl_cmd) +#define UBLK_FEATURES_LEN 8 #define UBLK_IO_FETCH_REQ 0x20 #define UBLK_IO_COMMIT_AND_FETCH_REQ 0x21 #define UBLK_IO_NEED_GET_DATA 0x22 +#define UBLK_U_IO_FETCH_REQ _IOWR('u', UBLK_IO_FETCH_REQ, struct ublksrv_io_cmd) +#define UBLK_U_IO_COMMIT_AND_FETCH_REQ _IOWR('u', UBLK_IO_COMMIT_AND_FETCH_REQ, struct ublksrv_io_cmd) +#define UBLK_U_IO_NEED_GET_DATA _IOWR('u', UBLK_IO_NEED_GET_DATA, struct ublksrv_io_cmd) #define UBLK_IO_RES_OK 0 #define UBLK_IO_RES_NEED_GET_DATA 1 #define UBLK_IO_RES_ABORT (- ENODEV) #define UBLKSRV_CMD_BUF_OFFSET 0 #define UBLKSRV_IO_BUF_OFFSET 0x80000000 #define UBLK_MAX_QUEUE_DEPTH 4096 +#define UBLK_IO_BUF_OFF 0 +#define UBLK_IO_BUF_BITS 25 +#define UBLK_IO_BUF_BITS_MASK ((1ULL << UBLK_IO_BUF_BITS) - 1) +#define UBLK_TAG_OFF UBLK_IO_BUF_BITS +#define UBLK_TAG_BITS 16 +#define UBLK_TAG_BITS_MASK ((1ULL << UBLK_TAG_BITS) - 1) +#define UBLK_QID_OFF (UBLK_TAG_OFF + UBLK_TAG_BITS) +#define UBLK_QID_BITS 12 +#define UBLK_QID_BITS_MASK ((1ULL << UBLK_QID_BITS) - 1) +#define UBLK_MAX_NR_QUEUES (1U << UBLK_QID_BITS) +#define UBLKSRV_IO_BUF_TOTAL_BITS (UBLK_QID_OFF + UBLK_QID_BITS) +#define UBLKSRV_IO_BUF_TOTAL_SIZE (1ULL << UBLKSRV_IO_BUF_TOTAL_BITS) #define UBLK_F_SUPPORT_ZERO_COPY (1ULL << 0) #define UBLK_F_URING_CMD_COMP_IN_TASK (1ULL << 1) #define UBLK_F_NEED_GET_DATA (1UL << 2) #define UBLK_F_USER_RECOVERY (1UL << 3) #define UBLK_F_USER_RECOVERY_REISSUE (1UL << 4) #define UBLK_F_UNPRIVILEGED_DEV (1UL << 5) +#define UBLK_F_CMD_IOCTL_ENCODE (1UL << 6) +#define UBLK_F_USER_COPY (1UL << 7) +#define UBLK_F_ZONED (1ULL << 8) #define UBLK_S_DEV_DEAD 0 #define UBLK_S_DEV_LIVE 1 #define UBLK_S_DEV_QUIESCED 2 @@ -80,6 +99,13 @@ struct ublksrv_ctrl_dev_info { #define UBLK_IO_OP_DISCARD 3 #define UBLK_IO_OP_WRITE_SAME 4 #define UBLK_IO_OP_WRITE_ZEROES 5 +#define UBLK_IO_OP_ZONE_OPEN 10 +#define UBLK_IO_OP_ZONE_CLOSE 11 +#define UBLK_IO_OP_ZONE_FINISH 12 +#define UBLK_IO_OP_ZONE_APPEND 13 +#define UBLK_IO_OP_ZONE_RESET_ALL 14 +#define UBLK_IO_OP_ZONE_RESET 15 +#define UBLK_IO_OP_REPORT_ZONES 18 #define UBLK_IO_F_FAILFAST_DEV (1U << 8) #define UBLK_IO_F_FAILFAST_TRANSPORT (1U << 9) #define UBLK_IO_F_FAILFAST_DRIVER (1U << 10) @@ -89,7 +115,10 @@ struct ublksrv_ctrl_dev_info { #define UBLK_IO_F_SWAP (1U << 16) struct ublksrv_io_desc { __u32 op_flags; - __u32 nr_sectors; + union { + __u32 nr_sectors; + __u32 nr_zones; + }; __u64 start_sector; __u64 addr; }; @@ -97,7 +126,10 @@ struct ublksrv_io_cmd { __u16 q_id; __u16 tag; __s32 result; - __u64 addr; + union { + __u64 addr; + __u64 zone_append_lba; + }; }; struct ublk_param_basic { #define UBLK_ATTR_READ_ONLY (1 << 0) @@ -128,14 +160,22 @@ struct ublk_param_devt { __u32 disk_major; __u32 disk_minor; }; +struct ublk_param_zoned { + __u32 max_open_zones; + __u32 max_active_zones; + __u32 max_zone_append_sectors; + __u8 reserved[20]; +}; struct ublk_params { __u32 len; #define UBLK_PARAM_TYPE_BASIC (1 << 0) #define UBLK_PARAM_TYPE_DISCARD (1 << 1) #define UBLK_PARAM_TYPE_DEVT (1 << 2) +#define UBLK_PARAM_TYPE_ZONED (1 << 3) __u32 types; struct ublk_param_basic basic; struct ublk_param_discard discard; struct ublk_param_devt devt; + struct ublk_param_zoned zoned; }; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udf_fs_i.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udf_fs_i.h index e1750343..73af9032 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udf_fs_i.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udf_fs_i.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UDF_FS_I_H #define _UDF_FS_I_H 1 #define UDF_GETEASIZE _IOR('l', 0x40, int) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udmabuf.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udmabuf.h index 70cf49fe..1c99a056 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udmabuf.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udmabuf.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_UDMABUF_H #define _UAPI_LINUX_UDMABUF_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udp.h index 802c686c..0367ad95 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/udp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_UDP_H #define _UAPI_LINUX_UDP_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uhid.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uhid.h index 1d471f84..12e75bdb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uhid.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uhid.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UHID_H_ #define __UHID_H_ #include <linux/input.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uinput.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uinput.h index 806f9627..27e8ee50 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uinput.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uinput.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__UINPUT_H_ #define _UAPI__UINPUT_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uio.h index 04814c71..70d6962e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_UIO_H #define _UAPI__LINUX_UIO_H #include <linux/compiler.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uleds.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uleds.h index 5605b78d..7ee60df9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uleds.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uleds.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__ULEDS_H_ #define _UAPI__ULEDS_H_ #define LED_MAX_NAME_SIZE 64 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ultrasound.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ultrasound.h index 11118917..9c44e756 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ultrasound.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/ultrasound.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _ULTRASOUND_H_ #define _ULTRASOUND_H_ #define _GUS_NUMVOICES 0x00 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/um_timetravel.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/um_timetravel.h index 220324fc..87060171 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/um_timetravel.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/um_timetravel.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_UM_TIMETRAVEL_H #define _UAPI_LINUX_UM_TIMETRAVEL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/un.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/un.h index fefbf5b4..12cf6229 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/un.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/un.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_UN_H #define _LINUX_UN_H #include <linux/socket.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unistd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unistd.h index 0ed4a0fe..9001bba7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unistd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unistd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_UNISTD_H_ #define _LINUX_UNISTD_H_ #include <asm/unistd.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unix_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unix_diag.h index 4bcc47a4..d97ed8ef 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unix_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/unix_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UNIX_DIAG_H__ #define __UNIX_DIAG_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/audio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/audio.h index bfda540d..b69a2d56 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/audio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/audio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_USB_AUDIO_H #define _UAPI__LINUX_USB_AUDIO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc-wdm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc-wdm.h index 5a862683..b14104b7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc-wdm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc-wdm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_USB_CDC_WDM_H #define _UAPI__LINUX_USB_CDC_WDM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc.h index bbfc4dbf..836b6169 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/cdc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_LINUX_USB_CDC_H #define __UAPI_LINUX_USB_CDC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch11.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch11.h index 55387fe4..d8767290 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch11.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch11.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_CH11_H #define __LINUX_CH11_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch9.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch9.h index 9ddc6402..b858baca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch9.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/ch9.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_USB_CH9_H #define _UAPI__LINUX_USB_CH9_H #include <linux/types.h> @@ -203,7 +191,10 @@ struct usb_config_descriptor { struct usb_string_descriptor { __u8 bLength; __u8 bDescriptorType; - __le16 wData[1]; + union { + __le16 legacy_padding; + __DECLARE_FLEX_ARRAY(__le16, wData); + }; } __attribute__((packed)); struct usb_interface_descriptor { __u8 bLength; @@ -441,7 +432,10 @@ struct usb_ssp_cap_descriptor { #define USB_SSP_MIN_RX_LANE_COUNT (0xf << 8) #define USB_SSP_MIN_TX_LANE_COUNT (0xf << 12) __le16 wReserved; - __le32 bmSublinkSpeedAttr[1]; + union { + __le32 legacy_padding; + __DECLARE_FLEX_ARRAY(__le32, bmSublinkSpeedAttr); + }; #define USB_SSP_SUBLINK_SPEED_SSID (0xf) #define USB_SSP_SUBLINK_SPEED_LSE (0x3 << 4) #define USB_SSP_SUBLINK_SPEED_LSE_BPS 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/charger.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/charger.h index e53f7d62..342bc745 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/charger.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/charger.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_USB_CHARGER_H #define _UAPI__LINUX_USB_CHARGER_H enum usb_charger_type { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/f_accessory.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/f_accessory.h index d4c5efea..abd864ca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/f_accessory.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/f_accessory.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_USB_F_ACCESSORY_H #define _UAPI_LINUX_USB_F_ACCESSORY_H #define USB_ACCESSORY_VENDOR_ID 0x18D1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/functionfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/functionfs.h index 7a5d1a27..889360e1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/functionfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/functionfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_FUNCTIONFS_H__ #define _UAPI__LINUX_FUNCTIONFS_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_printer.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_printer.h index 71200ed9..dca14ff2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_printer.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_printer.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_USB_G_PRINTER_H #define __LINUX_USB_G_PRINTER_H #define PRINTER_NOT_ERROR 0x08 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_uvc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_uvc.h index 40fad1d9..ec81da4d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_uvc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/g_uvc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_USB_G_UVC_H #define __LINUX_USB_G_UVC_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/gadgetfs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/gadgetfs.h index 7f45889c..4fb6a710 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/gadgetfs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/gadgetfs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_USB_GADGETFS_H #define __LINUX_USB_GADGETFS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/midi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/midi.h index 0431e659..c8af04ba 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/midi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/midi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_USB_MIDI_H #define __LINUX_USB_MIDI_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h index 8b60c8dd..d09dc1da 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/raw_gadget.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_USB_RAW_GADGET_H #define _UAPI__LINUX_USB_RAW_GADGET_H #include <asm/ioctl.h> @@ -31,6 +19,10 @@ enum usb_raw_event_type { USB_RAW_EVENT_INVALID = 0, USB_RAW_EVENT_CONNECT = 1, USB_RAW_EVENT_CONTROL = 2, + USB_RAW_EVENT_SUSPEND = 3, + USB_RAW_EVENT_RESUME = 4, + USB_RAW_EVENT_RESET = 5, + USB_RAW_EVENT_DISCONNECT = 6, }; struct usb_raw_event { __u32 type; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/tmc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/tmc.h index b2672901..05f84423 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/tmc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/tmc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_USB_TMC_H #define __LINUX_USB_TMC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/video.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/video.h index 0ceabe7f..8b688e1a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/video.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usb/video.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_USB_VIDEO_H #define __LINUX_USB_VIDEO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbdevice_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbdevice_fs.h index af8681b3..f77ebe33 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbdevice_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbdevice_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_USBDEVICE_FS_H #define _UAPI_LINUX_USBDEVICE_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbip.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbip.h index b0c10676..3e96b8ff 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbip.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/usbip.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_USBIP_H #define _UAPI_LINUX_USBIP_H enum usbip_device_status { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/user_events.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/user_events.h new file mode 100644 index 00000000..7bff0b00 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/user_events.h @@ -0,0 +1,38 @@ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#ifndef _UAPI_LINUX_USER_EVENTS_H +#define _UAPI_LINUX_USER_EVENTS_H +#include <linux/types.h> +#include <linux/ioctl.h> +#define USER_EVENTS_SYSTEM "user_events" +#define USER_EVENTS_PREFIX "u:" +#define DYN_LOC(offset,size) ((size) << 16 | (offset)) +enum user_reg_flag { + USER_EVENT_REG_PERSIST = 1U << 0, + USER_EVENT_REG_MAX = 1U << 1, +}; +struct user_reg { + __u32 size; + __u8 enable_bit; + __u8 enable_size; + __u16 flags; + __u64 enable_addr; + __u64 name_args; + __u32 write_index; +} __attribute__((__packed__)); +struct user_unreg { + __u32 size; + __u8 disable_bit; + __u8 __reserved; + __u16 __reserved2; + __u64 disable_addr; +} __attribute__((__packed__)); +#define DIAG_IOC_MAGIC '*' +#define DIAG_IOCSREG _IOWR(DIAG_IOC_MAGIC, 0, struct user_reg *) +#define DIAG_IOCSDEL _IOW(DIAG_IOC_MAGIC, 1, char *) +#define DIAG_IOCSUNREG _IOW(DIAG_IOC_MAGIC, 2, struct user_unreg *) +#endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userfaultfd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userfaultfd.h index 09e0d807..5eeea4e0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userfaultfd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userfaultfd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_USERFAULTFD_H #define _LINUX_USERFAULTFD_H #include <linux/types.h> @@ -23,10 +11,10 @@ #define USERFAULTFD_IOC_NEW _IO(USERFAULTFD_IOC, 0x00) #define UFFD_API ((__u64) 0xAA) #define UFFD_API_REGISTER_MODES (UFFDIO_REGISTER_MODE_MISSING | UFFDIO_REGISTER_MODE_WP | UFFDIO_REGISTER_MODE_MINOR) -#define UFFD_API_FEATURES (UFFD_FEATURE_PAGEFAULT_FLAG_WP | UFFD_FEATURE_EVENT_FORK | UFFD_FEATURE_EVENT_REMAP | UFFD_FEATURE_EVENT_REMOVE | UFFD_FEATURE_EVENT_UNMAP | UFFD_FEATURE_MISSING_HUGETLBFS | UFFD_FEATURE_MISSING_SHMEM | UFFD_FEATURE_SIGBUS | UFFD_FEATURE_THREAD_ID | UFFD_FEATURE_MINOR_HUGETLBFS | UFFD_FEATURE_MINOR_SHMEM | UFFD_FEATURE_EXACT_ADDRESS | UFFD_FEATURE_WP_HUGETLBFS_SHMEM) +#define UFFD_API_FEATURES (UFFD_FEATURE_PAGEFAULT_FLAG_WP | UFFD_FEATURE_EVENT_FORK | UFFD_FEATURE_EVENT_REMAP | UFFD_FEATURE_EVENT_REMOVE | UFFD_FEATURE_EVENT_UNMAP | UFFD_FEATURE_MISSING_HUGETLBFS | UFFD_FEATURE_MISSING_SHMEM | UFFD_FEATURE_SIGBUS | UFFD_FEATURE_THREAD_ID | UFFD_FEATURE_MINOR_HUGETLBFS | UFFD_FEATURE_MINOR_SHMEM | UFFD_FEATURE_EXACT_ADDRESS | UFFD_FEATURE_WP_HUGETLBFS_SHMEM | UFFD_FEATURE_WP_UNPOPULATED | UFFD_FEATURE_POISON | UFFD_FEATURE_WP_ASYNC) #define UFFD_API_IOCTLS ((__u64) 1 << _UFFDIO_REGISTER | (__u64) 1 << _UFFDIO_UNREGISTER | (__u64) 1 << _UFFDIO_API) -#define UFFD_API_RANGE_IOCTLS ((__u64) 1 << _UFFDIO_WAKE | (__u64) 1 << _UFFDIO_COPY | (__u64) 1 << _UFFDIO_ZEROPAGE | (__u64) 1 << _UFFDIO_WRITEPROTECT | (__u64) 1 << _UFFDIO_CONTINUE) -#define UFFD_API_RANGE_IOCTLS_BASIC ((__u64) 1 << _UFFDIO_WAKE | (__u64) 1 << _UFFDIO_COPY | (__u64) 1 << _UFFDIO_CONTINUE | (__u64) 1 << _UFFDIO_WRITEPROTECT) +#define UFFD_API_RANGE_IOCTLS ((__u64) 1 << _UFFDIO_WAKE | (__u64) 1 << _UFFDIO_COPY | (__u64) 1 << _UFFDIO_ZEROPAGE | (__u64) 1 << _UFFDIO_WRITEPROTECT | (__u64) 1 << _UFFDIO_CONTINUE | (__u64) 1 << _UFFDIO_POISON) +#define UFFD_API_RANGE_IOCTLS_BASIC ((__u64) 1 << _UFFDIO_WAKE | (__u64) 1 << _UFFDIO_COPY | (__u64) 1 << _UFFDIO_WRITEPROTECT | (__u64) 1 << _UFFDIO_CONTINUE | (__u64) 1 << _UFFDIO_POISON) #define _UFFDIO_REGISTER (0x00) #define _UFFDIO_UNREGISTER (0x01) #define _UFFDIO_WAKE (0x02) @@ -34,6 +22,7 @@ #define _UFFDIO_ZEROPAGE (0x04) #define _UFFDIO_WRITEPROTECT (0x06) #define _UFFDIO_CONTINUE (0x07) +#define _UFFDIO_POISON (0x08) #define _UFFDIO_API (0x3F) #define UFFDIO 0xAA #define UFFDIO_API _IOWR(UFFDIO, _UFFDIO_API, struct uffdio_api) @@ -44,6 +33,7 @@ #define UFFDIO_ZEROPAGE _IOWR(UFFDIO, _UFFDIO_ZEROPAGE, struct uffdio_zeropage) #define UFFDIO_WRITEPROTECT _IOWR(UFFDIO, _UFFDIO_WRITEPROTECT, struct uffdio_writeprotect) #define UFFDIO_CONTINUE _IOWR(UFFDIO, _UFFDIO_CONTINUE, struct uffdio_continue) +#define UFFDIO_POISON _IOWR(UFFDIO, _UFFDIO_POISON, struct uffdio_poison) struct uffd_msg { __u8 event; __u8 reserved1; @@ -99,6 +89,9 @@ struct uffdio_api { #define UFFD_FEATURE_MINOR_SHMEM (1 << 10) #define UFFD_FEATURE_EXACT_ADDRESS (1 << 11) #define UFFD_FEATURE_WP_HUGETLBFS_SHMEM (1 << 12) +#define UFFD_FEATURE_WP_UNPOPULATED (1 << 13) +#define UFFD_FEATURE_POISON (1 << 14) +#define UFFD_FEATURE_WP_ASYNC (1 << 15) __u64 features; __u64 ioctls; }; @@ -138,8 +131,15 @@ struct uffdio_writeprotect { struct uffdio_continue { struct uffdio_range range; #define UFFDIO_CONTINUE_MODE_DONTWAKE ((__u64) 1 << 0) +#define UFFDIO_CONTINUE_MODE_WP ((__u64) 1 << 1) __u64 mode; __s64 mapped; }; +struct uffdio_poison { + struct uffdio_range range; +#define UFFDIO_POISON_MODE_DONTWAKE ((__u64) 1 << 0) + __u64 mode; + __s64 updated; +}; #define UFFD_USER_MODE_ONLY 1 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userio.h index c1040f88..abcbb3cb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/userio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _USERIO_H #define _USERIO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utime.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utime.h index 8ed98b93..70deee94 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utime.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utime.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_UTIME_H #define _LINUX_UTIME_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utsname.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utsname.h index f4356d3f..520f6953 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utsname.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/utsname.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_UTSNAME_H #define _UAPI_LINUX_UTSNAME_H #define __OLD_UTS_LEN 8 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uuid.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uuid.h index 1505137e..75140d27 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uuid.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uuid.h @@ -1,29 +1,7 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _UAPI_LINUX_UUID_H_ -#define _UAPI_LINUX_UUID_H_ -#include <linux/types.h> -typedef struct { - __u8 b[16]; -} uuid_le; -#define UUID_LE(a,b,c,d0,d1,d2,d3,d4,d5,d6,d7) \ -((uuid_le) \ -{ { (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, (b) & 0xff, ((b) >> 8) & 0xff, (c) & 0xff, ((c) >> 8) & 0xff, (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) } }) -#define NULL_UUID_LE UUID_LE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) -#endif +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#include <linux/mei_uuid.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uvcvideo.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uvcvideo.h index b63858f7..cdaf6a57 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uvcvideo.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/uvcvideo.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_UVCVIDEO_H_ #define __LINUX_UVCVIDEO_H_ #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-common.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-common.h index 021be858..91f30e7d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-common.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-common.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __V4L2_COMMON__ #define __V4L2_COMMON__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-controls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-controls.h index a6e70c07..90cb69d0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-controls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-controls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_V4L2_CONTROLS_H #define __LINUX_V4L2_CONTROLS_H #include <linux/const.h> @@ -122,6 +110,7 @@ enum v4l2_colorfx { #define V4L2_CID_USER_ISL7998X_BASE (V4L2_CID_USER_BASE + 0x1180) #define V4L2_CID_USER_DW100_BASE (V4L2_CID_USER_BASE + 0x1190) #define V4L2_CID_USER_ASPEED_BASE (V4L2_CID_USER_BASE + 0x11a0) +#define V4L2_CID_USER_NPCM_BASE (V4L2_CID_USER_BASE + 0x11b0) #define V4L2_CID_CODEC_BASE (V4L2_CTRL_CLASS_CODEC | 0x900) #define V4L2_CID_CODEC_CLASS (V4L2_CTRL_CLASS_CODEC | 1) #define V4L2_CID_MPEG_STREAM_TYPE (V4L2_CID_CODEC_BASE + 0) @@ -691,6 +680,39 @@ enum v4l2_mpeg_video_frame_skip_mode { #define V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP (V4L2_CID_CODEC_BASE + 652) #define V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY (V4L2_CID_CODEC_BASE + 653) #define V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE (V4L2_CID_CODEC_BASE + 654) +#define V4L2_CID_MPEG_VIDEO_AV1_PROFILE (V4L2_CID_CODEC_BASE + 655) +enum v4l2_mpeg_video_av1_profile { + V4L2_MPEG_VIDEO_AV1_PROFILE_MAIN = 0, + V4L2_MPEG_VIDEO_AV1_PROFILE_HIGH = 1, + V4L2_MPEG_VIDEO_AV1_PROFILE_PROFESSIONAL = 2, +}; +#define V4L2_CID_MPEG_VIDEO_AV1_LEVEL (V4L2_CID_CODEC_BASE + 656) +enum v4l2_mpeg_video_av1_level { + V4L2_MPEG_VIDEO_AV1_LEVEL_2_0 = 0, + V4L2_MPEG_VIDEO_AV1_LEVEL_2_1 = 1, + V4L2_MPEG_VIDEO_AV1_LEVEL_2_2 = 2, + V4L2_MPEG_VIDEO_AV1_LEVEL_2_3 = 3, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_0 = 4, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_1 = 5, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_2 = 6, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_3 = 7, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_0 = 8, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_1 = 9, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_2 = 10, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_3 = 11, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_0 = 12, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_1 = 13, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_2 = 14, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_3 = 15, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_0 = 16, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_1 = 17, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_2 = 18, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_3 = 19, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_0 = 20, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_1 = 21, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_2 = 22, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_3 = 23 +}; #define V4L2_CID_CODEC_CX2341X_BASE (V4L2_CTRL_CLASS_CODEC | 0x1000) #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_CODEC_CX2341X_BASE + 0) enum v4l2_mpeg_cx2341x_video_spatial_filter_mode { @@ -1520,7 +1542,8 @@ struct v4l2_ctrl_hevc_decode_params { __u8 poc_st_curr_before[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; __u8 poc_st_curr_after[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; __u8 poc_lt_curr[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; - __u8 reserved[4]; + __u8 num_delta_pocs_of_ref_rps_idx; + __u8 reserved[3]; struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; __u64 flags; }; @@ -1684,6 +1707,271 @@ struct v4l2_ctrl_vp9_compressed_hdr { __u8 partition[16][3]; struct v4l2_vp9_mv_probs mv; }; +#define V4L2_AV1_TOTAL_REFS_PER_FRAME 8 +#define V4L2_AV1_CDEF_MAX 8 +#define V4L2_AV1_NUM_PLANES_MAX 3 +#define V4L2_AV1_MAX_SEGMENTS 8 +#define V4L2_AV1_MAX_OPERATING_POINTS (1 << 5) +#define V4L2_AV1_REFS_PER_FRAME 7 +#define V4L2_AV1_MAX_NUM_Y_POINTS (1 << 4) +#define V4L2_AV1_MAX_NUM_CB_POINTS (1 << 4) +#define V4L2_AV1_MAX_NUM_CR_POINTS (1 << 4) +#define V4L2_AV1_AR_COEFFS_SIZE 25 +#define V4L2_AV1_MAX_NUM_PLANES 3 +#define V4L2_AV1_MAX_TILE_COLS 64 +#define V4L2_AV1_MAX_TILE_ROWS 64 +#define V4L2_AV1_MAX_TILE_COUNT 512 +#define V4L2_AV1_SEQUENCE_FLAG_STILL_PICTURE 0x00000001 +#define V4L2_AV1_SEQUENCE_FLAG_USE_128X128_SUPERBLOCK 0x00000002 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_FILTER_INTRA 0x00000004 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_INTRA_EDGE_FILTER 0x00000008 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_INTERINTRA_COMPOUND 0x00000010 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_MASKED_COMPOUND 0x00000020 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_WARPED_MOTION 0x00000040 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_DUAL_FILTER 0x00000080 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_ORDER_HINT 0x00000100 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_JNT_COMP 0x00000200 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_REF_FRAME_MVS 0x00000400 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_SUPERRES 0x00000800 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_CDEF 0x00001000 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_RESTORATION 0x00002000 +#define V4L2_AV1_SEQUENCE_FLAG_MONO_CHROME 0x00004000 +#define V4L2_AV1_SEQUENCE_FLAG_COLOR_RANGE 0x00008000 +#define V4L2_AV1_SEQUENCE_FLAG_SUBSAMPLING_X 0x00010000 +#define V4L2_AV1_SEQUENCE_FLAG_SUBSAMPLING_Y 0x00020000 +#define V4L2_AV1_SEQUENCE_FLAG_FILM_GRAIN_PARAMS_PRESENT 0x00040000 +#define V4L2_AV1_SEQUENCE_FLAG_SEPARATE_UV_DELTA_Q 0x00080000 +#define V4L2_CID_STATELESS_AV1_SEQUENCE (V4L2_CID_CODEC_STATELESS_BASE + 500) +struct v4l2_ctrl_av1_sequence { + __u32 flags; + __u8 seq_profile; + __u8 order_hint_bits; + __u8 bit_depth; + __u8 reserved; + __u16 max_frame_width_minus_1; + __u16 max_frame_height_minus_1; +}; +#define V4L2_CID_STATELESS_AV1_TILE_GROUP_ENTRY (V4L2_CID_CODEC_STATELESS_BASE + 501) +struct v4l2_ctrl_av1_tile_group_entry { + __u32 tile_offset; + __u32 tile_size; + __u32 tile_row; + __u32 tile_col; +}; +enum v4l2_av1_warp_model { + V4L2_AV1_WARP_MODEL_IDENTITY = 0, + V4L2_AV1_WARP_MODEL_TRANSLATION = 1, + V4L2_AV1_WARP_MODEL_ROTZOOM = 2, + V4L2_AV1_WARP_MODEL_AFFINE = 3, +}; +enum v4l2_av1_reference_frame { + V4L2_AV1_REF_INTRA_FRAME = 0, + V4L2_AV1_REF_LAST_FRAME = 1, + V4L2_AV1_REF_LAST2_FRAME = 2, + V4L2_AV1_REF_LAST3_FRAME = 3, + V4L2_AV1_REF_GOLDEN_FRAME = 4, + V4L2_AV1_REF_BWDREF_FRAME = 5, + V4L2_AV1_REF_ALTREF2_FRAME = 6, + V4L2_AV1_REF_ALTREF_FRAME = 7, +}; +#define V4L2_AV1_GLOBAL_MOTION_IS_INVALID(ref) (1 << (ref)) +#define V4L2_AV1_GLOBAL_MOTION_FLAG_IS_GLOBAL 0x1 +#define V4L2_AV1_GLOBAL_MOTION_FLAG_IS_ROT_ZOOM 0x2 +#define V4L2_AV1_GLOBAL_MOTION_FLAG_IS_TRANSLATION 0x4 +struct v4l2_av1_global_motion { + __u8 flags[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + enum v4l2_av1_warp_model type[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __s32 params[V4L2_AV1_TOTAL_REFS_PER_FRAME][6]; + __u8 invalid; + __u8 reserved[3]; +}; +enum v4l2_av1_frame_restoration_type { + V4L2_AV1_FRAME_RESTORE_NONE = 0, + V4L2_AV1_FRAME_RESTORE_WIENER = 1, + V4L2_AV1_FRAME_RESTORE_SGRPROJ = 2, + V4L2_AV1_FRAME_RESTORE_SWITCHABLE = 3, +}; +#define V4L2_AV1_LOOP_RESTORATION_FLAG_USES_LR 0x1 +#define V4L2_AV1_LOOP_RESTORATION_FLAG_USES_CHROMA_LR 0x2 +struct v4l2_av1_loop_restoration { + __u8 flags; + __u8 lr_unit_shift; + __u8 lr_uv_shift; + __u8 reserved; + enum v4l2_av1_frame_restoration_type frame_restoration_type[V4L2_AV1_NUM_PLANES_MAX]; + __u32 loop_restoration_size[V4L2_AV1_MAX_NUM_PLANES]; +}; +struct v4l2_av1_cdef { + __u8 damping_minus_3; + __u8 bits; + __u8 y_pri_strength[V4L2_AV1_CDEF_MAX]; + __u8 y_sec_strength[V4L2_AV1_CDEF_MAX]; + __u8 uv_pri_strength[V4L2_AV1_CDEF_MAX]; + __u8 uv_sec_strength[V4L2_AV1_CDEF_MAX]; +}; +#define V4L2_AV1_SEGMENTATION_FLAG_ENABLED 0x1 +#define V4L2_AV1_SEGMENTATION_FLAG_UPDATE_MAP 0x2 +#define V4L2_AV1_SEGMENTATION_FLAG_TEMPORAL_UPDATE 0x4 +#define V4L2_AV1_SEGMENTATION_FLAG_UPDATE_DATA 0x8 +#define V4L2_AV1_SEGMENTATION_FLAG_SEG_ID_PRE_SKIP 0x10 +enum v4l2_av1_segment_feature { + V4L2_AV1_SEG_LVL_ALT_Q = 0, + V4L2_AV1_SEG_LVL_ALT_LF_Y_V = 1, + V4L2_AV1_SEG_LVL_REF_FRAME = 5, + V4L2_AV1_SEG_LVL_REF_SKIP = 6, + V4L2_AV1_SEG_LVL_REF_GLOBALMV = 7, + V4L2_AV1_SEG_LVL_MAX = 8 +}; +#define V4L2_AV1_SEGMENT_FEATURE_ENABLED(id) (1 << (id)) +struct v4l2_av1_segmentation { + __u8 flags; + __u8 last_active_seg_id; + __u8 feature_enabled[V4L2_AV1_MAX_SEGMENTS]; + __s16 feature_data[V4L2_AV1_MAX_SEGMENTS][V4L2_AV1_SEG_LVL_MAX]; +}; +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_ENABLED 0x1 +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_UPDATE 0x2 +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_LF_PRESENT 0x4 +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_LF_MULTI 0x8 +struct v4l2_av1_loop_filter { + __u8 flags; + __u8 level[4]; + __u8 sharpness; + __s8 ref_deltas[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __s8 mode_deltas[2]; + __u8 delta_lf_res; +}; +#define V4L2_AV1_QUANTIZATION_FLAG_DIFF_UV_DELTA 0x1 +#define V4L2_AV1_QUANTIZATION_FLAG_USING_QMATRIX 0x2 +#define V4L2_AV1_QUANTIZATION_FLAG_DELTA_Q_PRESENT 0x4 +struct v4l2_av1_quantization { + __u8 flags; + __u8 base_q_idx; + __s8 delta_q_y_dc; + __s8 delta_q_u_dc; + __s8 delta_q_u_ac; + __s8 delta_q_v_dc; + __s8 delta_q_v_ac; + __u8 qm_y; + __u8 qm_u; + __u8 qm_v; + __u8 delta_q_res; +}; +#define V4L2_AV1_TILE_INFO_FLAG_UNIFORM_TILE_SPACING 0x1 +struct v4l2_av1_tile_info { + __u8 flags; + __u8 context_update_tile_id; + __u8 tile_cols; + __u8 tile_rows; + __u32 mi_col_starts[V4L2_AV1_MAX_TILE_COLS + 1]; + __u32 mi_row_starts[V4L2_AV1_MAX_TILE_ROWS + 1]; + __u32 width_in_sbs_minus_1[V4L2_AV1_MAX_TILE_COLS]; + __u32 height_in_sbs_minus_1[V4L2_AV1_MAX_TILE_ROWS]; + __u8 tile_size_bytes; + __u8 reserved[3]; +}; +enum v4l2_av1_frame_type { + V4L2_AV1_KEY_FRAME = 0, + V4L2_AV1_INTER_FRAME = 1, + V4L2_AV1_INTRA_ONLY_FRAME = 2, + V4L2_AV1_SWITCH_FRAME = 3 +}; +enum v4l2_av1_interpolation_filter { + V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP = 0, + V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH = 1, + V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP_SHARP = 2, + V4L2_AV1_INTERPOLATION_FILTER_BILINEAR = 3, + V4L2_AV1_INTERPOLATION_FILTER_SWITCHABLE = 4, +}; +enum v4l2_av1_tx_mode { + V4L2_AV1_TX_MODE_ONLY_4X4 = 0, + V4L2_AV1_TX_MODE_LARGEST = 1, + V4L2_AV1_TX_MODE_SELECT = 2 +}; +#define V4L2_AV1_FRAME_FLAG_SHOW_FRAME 0x00000001 +#define V4L2_AV1_FRAME_FLAG_SHOWABLE_FRAME 0x00000002 +#define V4L2_AV1_FRAME_FLAG_ERROR_RESILIENT_MODE 0x00000004 +#define V4L2_AV1_FRAME_FLAG_DISABLE_CDF_UPDATE 0x00000008 +#define V4L2_AV1_FRAME_FLAG_ALLOW_SCREEN_CONTENT_TOOLS 0x00000010 +#define V4L2_AV1_FRAME_FLAG_FORCE_INTEGER_MV 0x00000020 +#define V4L2_AV1_FRAME_FLAG_ALLOW_INTRABC 0x00000040 +#define V4L2_AV1_FRAME_FLAG_USE_SUPERRES 0x00000080 +#define V4L2_AV1_FRAME_FLAG_ALLOW_HIGH_PRECISION_MV 0x00000100 +#define V4L2_AV1_FRAME_FLAG_IS_MOTION_MODE_SWITCHABLE 0x00000200 +#define V4L2_AV1_FRAME_FLAG_USE_REF_FRAME_MVS 0x00000400 +#define V4L2_AV1_FRAME_FLAG_DISABLE_FRAME_END_UPDATE_CDF 0x00000800 +#define V4L2_AV1_FRAME_FLAG_ALLOW_WARPED_MOTION 0x00001000 +#define V4L2_AV1_FRAME_FLAG_REFERENCE_SELECT 0x00002000 +#define V4L2_AV1_FRAME_FLAG_REDUCED_TX_SET 0x00004000 +#define V4L2_AV1_FRAME_FLAG_SKIP_MODE_ALLOWED 0x00008000 +#define V4L2_AV1_FRAME_FLAG_SKIP_MODE_PRESENT 0x00010000 +#define V4L2_AV1_FRAME_FLAG_FRAME_SIZE_OVERRIDE 0x00020000 +#define V4L2_AV1_FRAME_FLAG_BUFFER_REMOVAL_TIME_PRESENT 0x00040000 +#define V4L2_AV1_FRAME_FLAG_FRAME_REFS_SHORT_SIGNALING 0x00080000 +#define V4L2_CID_STATELESS_AV1_FRAME (V4L2_CID_CODEC_STATELESS_BASE + 502) +struct v4l2_ctrl_av1_frame { + struct v4l2_av1_tile_info tile_info; + struct v4l2_av1_quantization quantization; + __u8 superres_denom; + struct v4l2_av1_segmentation segmentation; + struct v4l2_av1_loop_filter loop_filter; + struct v4l2_av1_cdef cdef; + __u8 skip_mode_frame[2]; + __u8 primary_ref_frame; + struct v4l2_av1_loop_restoration loop_restoration; + struct v4l2_av1_global_motion global_motion; + __u32 flags; + enum v4l2_av1_frame_type frame_type; + __u32 order_hint; + __u32 upscaled_width; + enum v4l2_av1_interpolation_filter interpolation_filter; + enum v4l2_av1_tx_mode tx_mode; + __u32 frame_width_minus_1; + __u32 frame_height_minus_1; + __u16 render_width_minus_1; + __u16 render_height_minus_1; + __u32 current_frame_id; + __u32 buffer_removal_time[V4L2_AV1_MAX_OPERATING_POINTS]; + __u8 reserved[4]; + __u32 order_hints[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __u64 reference_frame_ts[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __s8 ref_frame_idx[V4L2_AV1_REFS_PER_FRAME]; + __u8 refresh_frame_flags; +}; +#define V4L2_AV1_FILM_GRAIN_FLAG_APPLY_GRAIN 0x1 +#define V4L2_AV1_FILM_GRAIN_FLAG_UPDATE_GRAIN 0x2 +#define V4L2_AV1_FILM_GRAIN_FLAG_CHROMA_SCALING_FROM_LUMA 0x4 +#define V4L2_AV1_FILM_GRAIN_FLAG_OVERLAP 0x8 +#define V4L2_AV1_FILM_GRAIN_FLAG_CLIP_TO_RESTRICTED_RANGE 0x10 +#define V4L2_CID_STATELESS_AV1_FILM_GRAIN (V4L2_CID_CODEC_STATELESS_BASE + 505) +struct v4l2_ctrl_av1_film_grain { + __u8 flags; + __u8 cr_mult; + __u16 grain_seed; + __u8 film_grain_params_ref_idx; + __u8 num_y_points; + __u8 point_y_value[V4L2_AV1_MAX_NUM_Y_POINTS]; + __u8 point_y_scaling[V4L2_AV1_MAX_NUM_Y_POINTS]; + __u8 num_cb_points; + __u8 point_cb_value[V4L2_AV1_MAX_NUM_CB_POINTS]; + __u8 point_cb_scaling[V4L2_AV1_MAX_NUM_CB_POINTS]; + __u8 num_cr_points; + __u8 point_cr_value[V4L2_AV1_MAX_NUM_CR_POINTS]; + __u8 point_cr_scaling[V4L2_AV1_MAX_NUM_CR_POINTS]; + __u8 grain_scaling_minus_8; + __u8 ar_coeff_lag; + __u8 ar_coeffs_y_plus_128[V4L2_AV1_AR_COEFFS_SIZE]; + __u8 ar_coeffs_cb_plus_128[V4L2_AV1_AR_COEFFS_SIZE]; + __u8 ar_coeffs_cr_plus_128[V4L2_AV1_AR_COEFFS_SIZE]; + __u8 ar_coeff_shift_minus_6; + __u8 grain_scale_shift; + __u8 cb_mult; + __u8 cb_luma_mult; + __u8 cr_luma_mult; + __u16 cb_offset; + __u16 cr_offset; + __u8 reserved[4]; +}; #define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC #define V4L2_CID_MPEG_CLASS V4L2_CID_CODEC_CLASS #define V4L2_CID_MPEG_BASE V4L2_CID_CODEC_BASE diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-dv-timings.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-dv-timings.h index 29596d19..5552c5c7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-dv-timings.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-dv-timings.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _V4L2_DV_TIMINGS_H #define _V4L2_DV_TIMINGS_H #if __GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 6 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-mediabus.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-mediabus.h index 157c0ac6..8a52f584 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-mediabus.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-mediabus.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_V4L2_MEDIABUS_H #define __LINUX_V4L2_MEDIABUS_H #include <linux/media-bus-format.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-subdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-subdev.h index 8b2c1bdd..d684a549 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-subdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/v4l2-subdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_V4L2_SUBDEV_H #define __LINUX_V4L2_SUBDEV_H #include <linux/const.h> @@ -115,6 +103,10 @@ struct v4l2_subdev_routing { __u64 routes; __u32 reserved[6]; }; +#define V4L2_SUBDEV_CLIENT_CAP_STREAMS (1ULL << 0) +struct v4l2_subdev_client_capability { + __u64 capabilities; +}; #define v4l2_subdev_edid v4l2_edid #define VIDIOC_SUBDEV_QUERYCAP _IOR('V', 0, struct v4l2_subdev_capability) #define VIDIOC_SUBDEV_G_FMT _IOWR('V', 4, struct v4l2_subdev_format) @@ -130,6 +122,8 @@ struct v4l2_subdev_routing { #define VIDIOC_SUBDEV_S_SELECTION _IOWR('V', 62, struct v4l2_subdev_selection) #define VIDIOC_SUBDEV_G_ROUTING _IOWR('V', 38, struct v4l2_subdev_routing) #define VIDIOC_SUBDEV_S_ROUTING _IOWR('V', 39, struct v4l2_subdev_routing) +#define VIDIOC_SUBDEV_G_CLIENT_CAP _IOR('V', 101, struct v4l2_subdev_client_capability) +#define VIDIOC_SUBDEV_S_CLIENT_CAP _IOWR('V', 102, struct v4l2_subdev_client_capability) #define VIDIOC_SUBDEV_G_STD _IOR('V', 23, v4l2_std_id) #define VIDIOC_SUBDEV_S_STD _IOW('V', 24, v4l2_std_id) #define VIDIOC_SUBDEV_ENUMSTD _IOWR('V', 25, struct v4l2_standard) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_err.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_err.h index dec35742..ba4a045e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_err.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_err.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_VBOX_ERR_H__ #define __UAPI_VBOX_ERR_H__ #define VINF_SUCCESS 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_vmmdev_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_vmmdev_types.h index 777a2bbc..7123c028 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_vmmdev_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vbox_vmmdev_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_VBOX_VMMDEV_TYPES_H__ #define __UAPI_VBOX_VMMDEV_TYPES_H__ #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vboxguest.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vboxguest.h index 342c0202..edaf71fb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vboxguest.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vboxguest.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_VBOXGUEST_H__ #define __UAPI_VBOXGUEST_H__ #include <asm/bitsperlong.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vdpa.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vdpa.h index 989a61bb..a8a95152 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vdpa.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vdpa.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VDPA_H_ #define _UAPI_LINUX_VDPA_H_ #define VDPA_GENL_NAME "vdpa" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vduse.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vduse.h index f0b6d6b4..934dab72 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vduse.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vduse.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_VDUSE_H_ #define _UAPI_VDUSE_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/version.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/version.h index 9d48e3d6..645a2ab6 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/version.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/version.h @@ -1,23 +1,11 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ -#define LINUX_VERSION_CODE 393984 +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ +#define LINUX_VERSION_CODE 395008 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c))) #define LINUX_VERSION_MAJOR 6 -#define LINUX_VERSION_PATCHLEVEL 3 +#define LINUX_VERSION_PATCHLEVEL 7 #define LINUX_VERSION_SUBLEVEL 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/veth.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/veth.h index 7f798302..5d457dae 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/veth.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/veth.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __NET_VETH_H_ #define __NET_VETH_H_ enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio.h index 3c1821c2..1107b218 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPIVFIO_H #define _UAPIVFIO_H #include <linux/types.h> @@ -62,9 +50,11 @@ struct vfio_device_info { #define VFIO_DEVICE_FLAGS_AP (1 << 5) #define VFIO_DEVICE_FLAGS_FSL_MC (1 << 6) #define VFIO_DEVICE_FLAGS_CAPS (1 << 7) +#define VFIO_DEVICE_FLAGS_CDX (1 << 8) __u32 num_regions; __u32 num_irqs; __u32 cap_offset; + __u32 pad; }; #define VFIO_DEVICE_GET_INFO _IO(VFIO_TYPE, VFIO_BASE + 7) #define VFIO_DEVICE_API_PCI_STRING "vfio-pci" @@ -76,6 +66,15 @@ struct vfio_device_info { #define VFIO_DEVICE_INFO_CAP_ZPCI_GROUP 2 #define VFIO_DEVICE_INFO_CAP_ZPCI_UTIL 3 #define VFIO_DEVICE_INFO_CAP_ZPCI_PFIP 4 +#define VFIO_DEVICE_INFO_CAP_PCI_ATOMIC_COMP 5 +struct vfio_device_info_cap_pci_atomic_comp { + struct vfio_info_cap_header header; + __u32 flags; +#define VFIO_PCI_ATOMIC_COMP32 (1 << 0) +#define VFIO_PCI_ATOMIC_COMP64 (1 << 1) +#define VFIO_PCI_ATOMIC_COMP128 (1 << 2) + __u32 reserved; +}; struct vfio_region_info { __u32 argsz; __u32 flags; @@ -85,14 +84,14 @@ struct vfio_region_info { #define VFIO_REGION_INFO_FLAG_CAPS (1 << 3) __u32 index; __u32 cap_offset; - __u64 size; - __u64 offset; + __aligned_u64 size; + __aligned_u64 offset; }; #define VFIO_DEVICE_GET_REGION_INFO _IO(VFIO_TYPE, VFIO_BASE + 8) #define VFIO_REGION_INFO_CAP_SPARSE_MMAP 1 struct vfio_region_sparse_mmap_area { - __u64 offset; - __u64 size; + __aligned_u64 offset; + __aligned_u64 size; }; struct vfio_region_info_cap_sparse_mmap { struct vfio_info_cap_header header; @@ -142,15 +141,15 @@ struct vfio_device_migration_info { #define VFIO_DEVICE_STATE_IS_ERROR(state) ((state & VFIO_DEVICE_STATE_MASK) == (VFIO_DEVICE_STATE_V1_SAVING | VFIO_DEVICE_STATE_V1_RESUMING)) #define VFIO_DEVICE_STATE_SET_ERROR(state) ((state & ~VFIO_DEVICE_STATE_MASK) | VFIO_DEVICE_STATE_V1_SAVING | VFIO_DEVICE_STATE_V1_RESUMING) __u32 reserved; - __u64 pending_bytes; - __u64 data_offset; - __u64 data_size; + __aligned_u64 pending_bytes; + __aligned_u64 data_offset; + __aligned_u64 data_size; }; #define VFIO_REGION_INFO_CAP_MSIX_MAPPABLE 3 #define VFIO_REGION_INFO_CAP_NVLINK2_SSATGT 4 struct vfio_region_info_cap_nvlink2_ssatgt { struct vfio_info_cap_header header; - __u64 tgt; + __aligned_u64 tgt; }; #define VFIO_REGION_INFO_CAP_NVLINK2_LNKSPD 5 struct vfio_region_info_cap_nvlink2_lnkspd { @@ -217,8 +216,17 @@ enum { VFIO_CCW_REQ_IRQ_INDEX, VFIO_CCW_NUM_IRQS }; +enum { + VFIO_AP_REQ_IRQ_INDEX, + VFIO_AP_NUM_IRQS +}; struct vfio_pci_dependent_device { - __u32 group_id; + union { + __u32 group_id; + __u32 devid; +#define VFIO_PCI_DEVID_OWNED 0 +#define VFIO_PCI_DEVID_NOT_OWNED - 1 + }; __u16 segment; __u8 bus; __u8 devfn; @@ -226,6 +234,8 @@ struct vfio_pci_dependent_device { struct vfio_pci_hot_reset_info { __u32 argsz; __u32 flags; +#define VFIO_PCI_HOT_RESET_FLAG_DEV_ID (1 << 0) +#define VFIO_PCI_HOT_RESET_FLAG_DEV_ID_OWNED (1 << 1) __u32 count; struct vfio_pci_dependent_device devices[]; }; @@ -245,7 +255,7 @@ struct vfio_device_gfx_plane_info { #define VFIO_GFX_PLANE_TYPE_REGION (1 << 2) __u32 drm_plane_type; __u32 drm_format; - __u64 drm_format_mod; + __aligned_u64 drm_format_mod; __u32 width; __u32 height; __u32 stride; @@ -258,6 +268,7 @@ struct vfio_device_gfx_plane_info { __u32 region_index; __u32 dmabuf_id; }; + __u32 reserved; }; #define VFIO_DEVICE_QUERY_GFX_PLANE _IO(VFIO_TYPE, VFIO_BASE + 14) #define VFIO_DEVICE_GET_GFX_DMABUF _IO(VFIO_TYPE, VFIO_BASE + 15) @@ -269,9 +280,10 @@ struct vfio_device_ioeventfd { #define VFIO_DEVICE_IOEVENTFD_32 (1 << 2) #define VFIO_DEVICE_IOEVENTFD_64 (1 << 3) #define VFIO_DEVICE_IOEVENTFD_SIZE_MASK (0xf) - __u64 offset; - __u64 data; + __aligned_u64 offset; + __aligned_u64 data; __s32 fd; + __u32 reserved; }; #define VFIO_DEVICE_IOEVENTFD _IO(VFIO_TYPE, VFIO_BASE + 16) struct vfio_device_feature { @@ -284,6 +296,24 @@ struct vfio_device_feature { __u8 data[]; }; #define VFIO_DEVICE_FEATURE _IO(VFIO_TYPE, VFIO_BASE + 17) +struct vfio_device_bind_iommufd { + __u32 argsz; + __u32 flags; + __s32 iommufd; + __u32 out_devid; +}; +#define VFIO_DEVICE_BIND_IOMMUFD _IO(VFIO_TYPE, VFIO_BASE + 18) +struct vfio_device_attach_iommufd_pt { + __u32 argsz; + __u32 flags; + __u32 pt_id; +}; +#define VFIO_DEVICE_ATTACH_IOMMUFD_PT _IO(VFIO_TYPE, VFIO_BASE + 19) +struct vfio_device_detach_iommufd_pt { + __u32 argsz; + __u32 flags; +}; +#define VFIO_DEVICE_DETACH_IOMMUFD_PT _IO(VFIO_TYPE, VFIO_BASE + 20) #define VFIO_DEVICE_FEATURE_PCI_VF_TOKEN (0) struct vfio_device_feature_migration { __aligned_u64 flags; @@ -344,13 +374,20 @@ struct vfio_device_feature_mig_data_size { __aligned_u64 stop_copy_length; }; #define VFIO_DEVICE_FEATURE_MIG_DATA_SIZE 9 +struct vfio_device_feature_bus_master { + __u32 op; +#define VFIO_DEVICE_FEATURE_CLEAR_MASTER 0 +#define VFIO_DEVICE_FEATURE_SET_MASTER 1 +}; +#define VFIO_DEVICE_FEATURE_BUS_MASTER 10 struct vfio_iommu_type1_info { __u32 argsz; __u32 flags; #define VFIO_IOMMU_INFO_PGSIZES (1 << 0) #define VFIO_IOMMU_INFO_CAPS (1 << 1) - __u64 iova_pgsizes; + __aligned_u64 iova_pgsizes; __u32 cap_offset; + __u32 pad; }; #define VFIO_IOMMU_TYPE1_INFO_CAP_IOVA_RANGE 1 struct vfio_iova_range { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_ccw.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_ccw.h index 7bf08f54..aa5a87e5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_ccw.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_ccw.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _VFIO_CCW_H_ #define _VFIO_CCW_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_zdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_zdev.h index 1c3a9433..03efc773 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_zdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vfio_zdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _VFIO_ZDEV_H_ #define _VFIO_ZDEV_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost.h index 5138f0c5..adf0af74 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VHOST_H #define _LINUX_VHOST_H #include <linux/vhost_types.h> @@ -30,6 +18,8 @@ #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory) #define VHOST_SET_LOG_BASE _IOW(VHOST_VIRTIO, 0x04, __u64) #define VHOST_SET_LOG_FD _IOW(VHOST_VIRTIO, 0x07, int) +#define VHOST_NEW_WORKER _IOR(VHOST_VIRTIO, 0x8, struct vhost_worker_state) +#define VHOST_FREE_WORKER _IOW(VHOST_VIRTIO, 0x9, struct vhost_worker_state) #define VHOST_SET_VRING_NUM _IOW(VHOST_VIRTIO, 0x10, struct vhost_vring_state) #define VHOST_SET_VRING_ADDR _IOW(VHOST_VIRTIO, 0x11, struct vhost_vring_addr) #define VHOST_SET_VRING_BASE _IOW(VHOST_VIRTIO, 0x12, struct vhost_vring_state) @@ -38,6 +28,8 @@ #define VHOST_VRING_BIG_ENDIAN 1 #define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state) #define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state) +#define VHOST_ATTACH_VRING_WORKER _IOW(VHOST_VIRTIO, 0x15, struct vhost_vring_worker) +#define VHOST_GET_VRING_WORKER _IOWR(VHOST_VIRTIO, 0x16, struct vhost_vring_worker) #define VHOST_SET_VRING_KICK _IOW(VHOST_VIRTIO, 0x20, struct vhost_vring_file) #define VHOST_SET_VRING_CALL _IOW(VHOST_VIRTIO, 0x21, struct vhost_vring_file) #define VHOST_SET_VRING_ERR _IOW(VHOST_VIRTIO, 0x22, struct vhost_vring_file) @@ -70,4 +62,5 @@ #define VHOST_VDPA_SET_GROUP_ASID _IOW(VHOST_VIRTIO, 0x7C, struct vhost_vring_state) #define VHOST_VDPA_SUSPEND _IO(VHOST_VIRTIO, 0x7D) #define VHOST_VDPA_RESUME _IO(VHOST_VIRTIO, 0x7E) +#define VHOST_VDPA_GET_VRING_DESC_GROUP _IOWR(VHOST_VIRTIO, 0x7F, struct vhost_vring_state) #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost_types.h index 1669c285..cd9a9fba 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vhost_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VHOST_TYPES_H #define _LINUX_VHOST_TYPES_H #include <linux/types.h> @@ -39,6 +27,13 @@ struct vhost_vring_addr { __u64 avail_user_addr; __u64 log_guest_addr; }; +struct vhost_worker_state { + unsigned int worker_id; +}; +struct vhost_vring_worker { + unsigned int index; + unsigned int worker_id; +}; struct vhost_iotlb_msg { __u64 iova; __u64 size; @@ -107,4 +102,7 @@ struct vhost_vdpa_iova_range { #define VHOST_BACKEND_F_IOTLB_ASID 0x3 #define VHOST_BACKEND_F_SUSPEND 0x4 #define VHOST_BACKEND_F_RESUME 0x5 +#define VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK 0x6 +#define VHOST_BACKEND_F_DESC_ASID 0x7 +#define VHOST_BACKEND_F_IOTLB_PERSIST 0x8 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/videodev2.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/videodev2.h index 95c2d942..bb988889 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/videodev2.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/videodev2.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__LINUX_VIDEODEV2_H #define _UAPI__LINUX_VIDEODEV2_H #include <sys/time.h> @@ -247,11 +235,14 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_RGBX1010102 v4l2_fourcc('R', 'X', '3', '0') #define V4L2_PIX_FMT_RGBA1010102 v4l2_fourcc('R', 'A', '3', '0') #define V4L2_PIX_FMT_ARGB2101010 v4l2_fourcc('A', 'R', '3', '0') +#define V4L2_PIX_FMT_BGR48_12 v4l2_fourcc('B', '3', '1', '2') +#define V4L2_PIX_FMT_ABGR64_12 v4l2_fourcc('B', '4', '1', '2') #define V4L2_PIX_FMT_GREY v4l2_fourcc('G', 'R', 'E', 'Y') #define V4L2_PIX_FMT_Y4 v4l2_fourcc('Y', '0', '4', ' ') #define V4L2_PIX_FMT_Y6 v4l2_fourcc('Y', '0', '6', ' ') #define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ') #define V4L2_PIX_FMT_Y12 v4l2_fourcc('Y', '1', '2', ' ') +#define V4L2_PIX_FMT_Y012 v4l2_fourcc('Y', '0', '1', '2') #define V4L2_PIX_FMT_Y14 v4l2_fourcc('Y', '1', '4', ' ') #define V4L2_PIX_FMT_Y16 v4l2_fourcc('Y', '1', '6', ' ') #define V4L2_PIX_FMT_Y16_BE v4l2_fourcc_be('Y', '1', '6', ' ') @@ -278,6 +269,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_YUVA32 v4l2_fourcc('Y', 'U', 'V', 'A') #define V4L2_PIX_FMT_YUVX32 v4l2_fourcc('Y', 'U', 'V', 'X') #define V4L2_PIX_FMT_M420 v4l2_fourcc('M', '4', '2', '0') +#define V4L2_PIX_FMT_YUV48_12 v4l2_fourcc('Y', '3', '1', '2') #define V4L2_PIX_FMT_Y210 v4l2_fourcc('Y', '2', '1', '0') #define V4L2_PIX_FMT_Y212 v4l2_fourcc('Y', '2', '1', '2') #define V4L2_PIX_FMT_Y216 v4l2_fourcc('Y', '2', '1', '6') @@ -288,10 +280,12 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_NV24 v4l2_fourcc('N', 'V', '2', '4') #define V4L2_PIX_FMT_NV42 v4l2_fourcc('N', 'V', '4', '2') #define V4L2_PIX_FMT_P010 v4l2_fourcc('P', '0', '1', '0') +#define V4L2_PIX_FMT_P012 v4l2_fourcc('P', '0', '1', '2') #define V4L2_PIX_FMT_NV12M v4l2_fourcc('N', 'M', '1', '2') #define V4L2_PIX_FMT_NV21M v4l2_fourcc('N', 'M', '2', '1') #define V4L2_PIX_FMT_NV16M v4l2_fourcc('N', 'M', '1', '6') #define V4L2_PIX_FMT_NV61M v4l2_fourcc('N', 'M', '6', '1') +#define V4L2_PIX_FMT_P012M v4l2_fourcc('P', 'M', '1', '2') #define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y', 'U', 'V', '9') #define V4L2_PIX_FMT_YVU410 v4l2_fourcc('Y', 'V', 'U', '9') #define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') @@ -307,6 +301,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_NV12_4L4 v4l2_fourcc('V', 'T', '1', '2') #define V4L2_PIX_FMT_NV12_16L16 v4l2_fourcc('H', 'M', '1', '2') #define V4L2_PIX_FMT_NV12_32L32 v4l2_fourcc('S', 'T', '1', '2') +#define V4L2_PIX_FMT_NV15_4L4 v4l2_fourcc('V', 'T', '1', '5') #define V4L2_PIX_FMT_P010_4L4 v4l2_fourcc('T', '0', '1', '0') #define V4L2_PIX_FMT_NV12_8L128 v4l2_fourcc('A', 'T', '1', '2') #define V4L2_PIX_FMT_NV12_10BE_8L128 v4l2_fourcc_be('A', 'X', '1', '2') @@ -380,6 +375,10 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_FWHT_STATELESS v4l2_fourcc('S', 'F', 'W', 'H') #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') #define V4L2_PIX_FMT_HEVC_SLICE v4l2_fourcc('S', '2', '6', '5') +#define V4L2_PIX_FMT_AV1_FRAME v4l2_fourcc('A', 'V', '1', 'F') +#define V4L2_PIX_FMT_SPK v4l2_fourcc('S', 'P', 'K', '0') +#define V4L2_PIX_FMT_RV30 v4l2_fourcc('R', 'V', '3', '0') +#define V4L2_PIX_FMT_RV40 v4l2_fourcc('R', 'V', '4', '0') #define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') #define V4L2_PIX_FMT_WNVA v4l2_fourcc('W', 'N', 'V', 'A') #define V4L2_PIX_FMT_SN9C10X v4l2_fourcc('S', '9', '1', '0') @@ -411,12 +410,15 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_Z16 v4l2_fourcc('Z', '1', '6', ' ') #define V4L2_PIX_FMT_MT21C v4l2_fourcc('M', 'T', '2', '1') #define V4L2_PIX_FMT_MM21 v4l2_fourcc('M', 'M', '2', '1') +#define V4L2_PIX_FMT_MT2110T v4l2_fourcc('M', 'T', '2', 'T') +#define V4L2_PIX_FMT_MT2110R v4l2_fourcc('M', 'T', '2', 'R') #define V4L2_PIX_FMT_INZI v4l2_fourcc('I', 'N', 'Z', 'I') #define V4L2_PIX_FMT_CNF4 v4l2_fourcc('C', 'N', 'F', '4') #define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') #define V4L2_PIX_FMT_QC08C v4l2_fourcc('Q', '0', '8', 'C') #define V4L2_PIX_FMT_QC10C v4l2_fourcc('Q', '1', '0', 'C') #define V4L2_PIX_FMT_AJPG v4l2_fourcc('A', 'J', 'P', 'G') +#define V4L2_PIX_FMT_HEXTILE v4l2_fourcc('H', 'X', 'T', 'L') #define V4L2_PIX_FMT_IPU3_SBGGR10 v4l2_fourcc('i', 'p', '3', 'b') #define V4L2_PIX_FMT_IPU3_SGBRG10 v4l2_fourcc('i', 'p', '3', 'g') #define V4L2_PIX_FMT_IPU3_SGRBG10 v4l2_fourcc('i', 'p', '3', 'G') @@ -905,8 +907,8 @@ struct v4l2_ext_control { __u8 * p_u8; __u16 * p_u16; __u32 * p_u32; - __u32 * p_s32; - __u32 * p_s64; + __s32 * p_s32; + __s64 * p_s64; struct v4l2_area * p_area; struct v4l2_ctrl_h264_sps * p_h264_sps; struct v4l2_ctrl_h264_pps * p_h264_pps; @@ -926,6 +928,10 @@ struct v4l2_ext_control { struct v4l2_ctrl_hevc_slice_params * p_hevc_slice_params; struct v4l2_ctrl_hevc_scaling_matrix * p_hevc_scaling_matrix; struct v4l2_ctrl_hevc_decode_params * p_hevc_decode_params; + struct v4l2_ctrl_av1_sequence * p_av1_sequence; + struct v4l2_ctrl_av1_tile_group_entry * p_av1_tile_group_entry; + struct v4l2_ctrl_av1_frame * p_av1_frame; + struct v4l2_ctrl_av1_film_grain * p_av1_film_grain; void * ptr; }; } __attribute__((packed)); @@ -983,6 +989,10 @@ enum v4l2_ctrl_type { V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS = 0x0272, V4L2_CTRL_TYPE_HEVC_SCALING_MATRIX = 0x0273, V4L2_CTRL_TYPE_HEVC_DECODE_PARAMS = 0x0274, + V4L2_CTRL_TYPE_AV1_SEQUENCE = 0x280, + V4L2_CTRL_TYPE_AV1_TILE_GROUP_ENTRY = 0x281, + V4L2_CTRL_TYPE_AV1_FRAME = 0x282, + V4L2_CTRL_TYPE_AV1_FILM_GRAIN = 0x283, }; struct v4l2_queryctrl { __u32 id; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_9p.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_9p.h index 2e05786b..519680a5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_9p.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_9p.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_9P_H #define _LINUX_VIRTIO_9P_H #include <linux/virtio_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_balloon.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_balloon.h index d145caa7..f37c1489 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_balloon.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_balloon.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_BALLOON_H #define _LINUX_VIRTIO_BALLOON_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_blk.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_blk.h index 1b7c7e91..7cc51398 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_blk.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_blk.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_BLK_H #define _LINUX_VIRTIO_BLK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_bt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_bt.h index 9049adc0..2b790ea7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_bt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_bt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_BT_H #define _UAPI_LINUX_VIRTIO_BT_H #include <linux/virtio_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_config.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_config.h index bdd2e73d..520a472b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_config.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_config.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_CONFIG_H #define _UAPI_LINUX_VIRTIO_CONFIG_H #include <linux/types.h> @@ -38,5 +26,7 @@ #define VIRTIO_F_IN_ORDER 35 #define VIRTIO_F_ORDER_PLATFORM 36 #define VIRTIO_F_SR_IOV 37 +#define VIRTIO_F_NOTIFICATION_DATA 38 +#define VIRTIO_F_NOTIF_CONFIG_DATA 39 #define VIRTIO_F_RING_RESET 40 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_console.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_console.h index 6eb4d2ae..a16bd5b4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_console.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_console.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_CONSOLE_H #define _UAPI_LINUX_VIRTIO_CONSOLE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_crypto.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_crypto.h index 7d7561d1..1bd4d730 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_crypto.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_crypto.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _VIRTIO_CRYPTO_H #define _VIRTIO_CRYPTO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_fs.h index 62c57cfc..2d857e04 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_FS_H #define _UAPI_LINUX_VIRTIO_FS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpio.h index 543fe769..de25bf9a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_GPIO_H #define _LINUX_VIRTIO_GPIO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpu.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpu.h index 8a21afd0..71622268 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpu.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_gpu.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef VIRTIO_GPU_HW_H #define VIRTIO_GPU_HW_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_i2c.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_i2c.h index 9540f268..f33e5574 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_i2c.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_i2c.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_I2C_H #define _UAPI_LINUX_VIRTIO_I2C_H #include <linux/const.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ids.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ids.h index b31ed93e..f8120dc5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ids.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ids.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_IDS_H #define _LINUX_VIRTIO_IDS_H #define VIRTIO_ID_NET 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_input.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_input.h index 188b0bbd..ab5d3eeb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_input.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_input.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_INPUT_H #define _LINUX_VIRTIO_INPUT_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_iommu.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_iommu.h index ec8def87..2e2b3332 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_iommu.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_iommu.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_IOMMU_H #define _UAPI_LINUX_VIRTIO_IOMMU_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mem.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mem.h index 66ffce15..e90853ec 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mem.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mem.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_MEM_H #define _LINUX_VIRTIO_MEM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mmio.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mmio.h index a420fdcd..a3bc2164 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mmio.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_mmio.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_MMIO_H #define _LINUX_VIRTIO_MMIO_H #define VIRTIO_MMIO_MAGIC_VALUE 0x000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_net.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_net.h index da7285ed..7573209c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_net.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_net.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_NET_H #define _UAPI_LINUX_VIRTIO_NET_H #include <linux/types.h> @@ -45,11 +33,13 @@ #define VIRTIO_NET_F_GUEST_ANNOUNCE 21 #define VIRTIO_NET_F_MQ 22 #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 +#define VIRTIO_NET_F_VQ_NOTF_COAL 52 #define VIRTIO_NET_F_NOTF_COAL 53 #define VIRTIO_NET_F_GUEST_USO4 54 #define VIRTIO_NET_F_GUEST_USO6 55 #define VIRTIO_NET_F_HOST_USO 56 #define VIRTIO_NET_F_HASH_REPORT 57 +#define VIRTIO_NET_F_GUEST_HDRLEN 59 #define VIRTIO_NET_F_RSS 60 #define VIRTIO_NET_F_RSC_EXT 61 #define VIRTIO_NET_F_STANDBY 62 @@ -140,7 +130,7 @@ struct virtio_net_hdr_mrg_rxbuf { }; #endif struct virtio_net_ctrl_hdr { - __u8 class; + __u8 __linux_class; __u8 cmd; } __attribute__((packed)); typedef __u8 virtio_net_ctrl_ack; @@ -202,4 +192,15 @@ struct virtio_net_ctrl_coal_rx { __le32 rx_usecs; }; #define VIRTIO_NET_CTRL_NOTF_COAL_RX_SET 1 +#define VIRTIO_NET_CTRL_NOTF_COAL_VQ_SET 2 +#define VIRTIO_NET_CTRL_NOTF_COAL_VQ_GET 3 +struct virtio_net_ctrl_coal { + __le32 max_packets; + __le32 max_usecs; +}; +struct virtio_net_ctrl_coal_vq { + __le16 vqn; + __le16 reserved; + struct virtio_net_ctrl_coal coal; +}; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pci.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pci.h index 94ca0a27..f9595bcc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pci.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pci.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_PCI_H #define _LINUX_VIRTIO_PCI_H #include <linux/types.h> @@ -86,6 +74,11 @@ struct virtio_pci_common_cfg { __le32 queue_used_lo; __le32 queue_used_hi; }; +struct virtio_pci_modern_common_cfg { + struct virtio_pci_common_cfg cfg; + __le16 queue_notify_data; + __le16 queue_reset; +}; struct virtio_pci_cfg_cap { struct virtio_pci_cap cap; __u8 pci_cfg_data[4]; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pcidev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pcidev.h index 01c58697..4a67a5d9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pcidev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pcidev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_PCIDEV_H #define _UAPI_LINUX_VIRTIO_PCIDEV_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pmem.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pmem.h index 838f9d64..182baf7e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pmem.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_pmem.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_PMEM_H #define _UAPI_LINUX_VIRTIO_PMEM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ring.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ring.h index 24cf671f..ce26caf4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ring.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_ring.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_RING_H #define _UAPI_LINUX_VIRTIO_RING_H #include <stdint.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_rng.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_rng.h index b6471fd2..76a37358 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_rng.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_rng.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_RNG_H #define _LINUX_VIRTIO_RNG_H #include <linux/virtio_ids.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scmi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scmi.h index 7907ed4f..1b77fcb8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scmi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scmi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_SCMI_H #define _UAPI_LINUX_VIRTIO_SCMI_H #include <linux/virtio_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scsi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scsi.h index 74e6ac84..83f00307 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scsi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_scsi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_VIRTIO_SCSI_H #define _LINUX_VIRTIO_SCSI_H #include <linux/virtio_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_snd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_snd.h index 60dfa62e..e4ec8cda 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_snd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_snd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef VIRTIO_SND_IF_H #define VIRTIO_SND_IF_H #include <linux/virtio_types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_types.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_types.h index b04e6e63..1f023a04 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_types.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_types.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_TYPES_H #define _UAPI_LINUX_VIRTIO_TYPES_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_vsock.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_vsock.h index 73b5d490..3eac719a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_vsock.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/virtio_vsock.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VIRTIO_VSOCK_H #define _UAPI_LINUX_VIRTIO_VSOCK_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets.h index 58f720d9..bd84f440 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_VM_SOCKETS_H #define _UAPI_VM_SOCKETS_H #include <linux/socket.h> @@ -52,4 +40,6 @@ struct sockaddr_vm { unsigned char svm_zero[sizeof(struct sockaddr) - sizeof(sa_family_t) - sizeof(unsigned short) - sizeof(unsigned int) - sizeof(unsigned int) - sizeof(__u8)]; }; #define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9) +#define SOL_VSOCK 287 +#define VSOCK_RECVERR 1 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets_diag.h index 2f9840b7..28a1d17b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vm_sockets_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__VM_SOCKETS_DIAG_H__ #define _UAPI__VM_SOCKETS_DIAG_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vmcore.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vmcore.h index 3fa7feef..aef56ac3 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vmcore.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vmcore.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_VMCORE_H #define _UAPI_VMCORE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vsockmon.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vsockmon.h index 6435b5ab..8e2e9027 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vsockmon.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vsockmon.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_VSOCKMON_H #define _UAPI_VSOCKMON_H #include <linux/virtio_vsock.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vt.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vt.h index 1a708cce..a89e78c0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vt.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vt.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VT_H #define _UAPI_LINUX_VT_H #define MIN_NR_CONSOLES 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vtpm_proxy.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vtpm_proxy.h index 0ab05368..6121c86a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vtpm_proxy.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/vtpm_proxy.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_VTPM_PROXY_H #define _UAPI_LINUX_VTPM_PROXY_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wait.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wait.h index 385e8820..800135e4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wait.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wait.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_WAIT_H #define _UAPI_LINUX_WAIT_H #define WNOHANG 0x00000001 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watch_queue.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watch_queue.h index 4c4fd01a..ef5e8ef5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watch_queue.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watch_queue.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_WATCH_QUEUE_H #define _UAPI_LINUX_WATCH_QUEUE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watchdog.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watchdog.h index cac08164..63c5f5f1 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watchdog.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/watchdog.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_WATCHDOG_H #define _UAPI_LINUX_WATCHDOG_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireguard.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireguard.h index 6a4128ba..2d3cbfdd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireguard.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireguard.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _WG_UAPI_WIREGUARD_H #define _WG_UAPI_WIREGUARD_H #define WG_GENL_NAME "wireguard" diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireless.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireless.h index eb57fff1..a7271678 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireless.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wireless.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_WIRELESS_H #define _UAPI_LINUX_WIRELESS_H #include <linux/types.h> @@ -314,7 +302,7 @@ struct iw_encode_ext { struct sockaddr addr; __u16 alg; __u16 key_len; - __u8 key[0]; + __u8 key[]; }; struct iw_mlme { __u16 cmd; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wmi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wmi.h index 7b72056a..052800cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wmi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wmi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_WMI_H #define _UAPI_LINUX_WMI_H #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wwan.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wwan.h index 9f687133..d849c143 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wwan.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/wwan.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_WWAN_H_ #define _UAPI_WWAN_H_ enum { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/x25.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/x25.h index 6655bf99..5a2e40f5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/x25.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/x25.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef X25_KERNEL_H #define X25_KERNEL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xattr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xattr.h index fd021596..e126151c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xattr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xattr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #include <linux/libc-compat.h> #ifndef _UAPI_LINUX_XATTR_H #define _UAPI_LINUX_XATTR_H diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xdp_diag.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xdp_diag.h index 1fe9d49b..73a7d18d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xdp_diag.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xdp_diag.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_XDP_DIAG_H #define _LINUX_XDP_DIAG_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xfrm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xfrm.h index b8a2efcb..e2f168de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xfrm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xfrm.h @@ -1,25 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX_XFRM_H #define _LINUX_XFRM_H #include <linux/in6.h> #include <linux/types.h> +#include <linux/stddef.h> typedef union { __be32 a4; __be32 a6[4]; @@ -35,7 +24,7 @@ struct xfrm_sec_ctx { __u8 ctx_alg; __u16 ctx_len; __u32 ctx_sid; - char ctx_str[]; + char ctx_str[] __counted_by(ctx_len); }; #define XFRM_SC_DOI_RESERVED 0 #define XFRM_SC_DOI_LSM 1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xilinx-v4l2-controls.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xilinx-v4l2-controls.h index 75c36288..b5c1e3d4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xilinx-v4l2-controls.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/xilinx-v4l2-controls.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_XILINX_V4L2_CONTROLS_H__ #define __UAPI_XILINX_V4L2_CONTROLS_H__ #include <linux/v4l2-controls.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro.h index 86320aa5..e27e1efd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_ZORRO_H #define _UAPI_LINUX_ZORRO_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro_ids.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro_ids.h index 99687a38..f47c8994 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro_ids.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/linux/zorro_ids.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #define ZORRO_MANUF_PACIFIC_PERIPHERALS 0x00D3 #define ZORRO_PROD_PACIFIC_PERIPHERALS_SE_2000_A500 ZORRO_ID(PACIFIC_PERIPHERALS, 0x00, 0) #define ZORRO_PROD_PACIFIC_PERIPHERALS_SCSI ZORRO_ID(PACIFIC_PERIPHERALS, 0x0A, 0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/cxl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/cxl.h index 64b59926..d05ef533 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/cxl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/cxl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_MISC_CXL_H #define _UAPI_MISC_CXL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/fastrpc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/fastrpc.h index 336ecf23..09d21ebe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/fastrpc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/fastrpc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __QCOM_FASTRPC_H__ #define __QCOM_FASTRPC_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/ocxl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/ocxl.h index 676aaf83..a7d3d7fe 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/ocxl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/ocxl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_MISC_OCXL_H #define _UAPI_MISC_OCXL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/pvpanic.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/pvpanic.h index 18edcd8e..bc421aeb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/pvpanic.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/pvpanic.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __PVPANIC_H__ #define __PVPANIC_H__ #define PVPANIC_PANICKED (1 << 0) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/hisi_qm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/hisi_qm.h index d2509d07..b5611d1f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/hisi_qm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/hisi_qm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_HISI_QM_H #define _UAPI_HISI_QM_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/uacce.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/uacce.h index 469d188a..f6ecfaa0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/uacce.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/uacce/uacce.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPIUUACCE_H #define _UAPIUUACCE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/xilinx_sdfec.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/xilinx_sdfec.h index 8dde40df..1a42307e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/xilinx_sdfec.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/misc/xilinx_sdfec.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __XILINX_SDFEC_H__ #define __XILINX_SDFEC_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/inftl-user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/inftl-user.h index 6d5059e7..accbccb5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/inftl-user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/inftl-user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __MTD_INFTL_USER_H__ #define __MTD_INFTL_USER_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-abi.h index aed2acc1..009a8e93 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __MTD_ABI_H__ #define __MTD_ABI_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-user.h index a7ad6adf..73ac8e15 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/mtd-user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __MTD_USER_H__ #define __MTD_USER_H__ #include <mtd/mtd-abi.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/nftl-user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/nftl-user.h index 99ac366f..a4467986 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/nftl-user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/nftl-user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __MTD_NFTL_USER_H__ #define __MTD_NFTL_USER_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/ubi-user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/ubi-user.h index db203d5f..bb9a6cbc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/ubi-user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/mtd/ubi-user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UBI_USER_H__ #define __UBI_USER_H__ #include <linux/types.h> @@ -57,7 +45,8 @@ struct ubi_attach_req { __s32 vid_hdr_offset; __s16 max_beb_per1024; __s8 disable_fm; - __s8 padding[9]; + __s8 need_resv_pool; + __s8 padding[8]; }; enum { UBI_VOL_SKIP_CRC_CHECK_FLG = 0x1, diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/bnxt_re-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/bnxt_re-abi.h index 62ba6854..86e16a05 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/bnxt_re-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/bnxt_re-abi.h @@ -1,24 +1,13 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __BNXT_RE_UVERBS_ABI_H__ #define __BNXT_RE_UVERBS_ABI_H__ #include <linux/types.h> +#include <rdma/ib_user_ioctl_cmds.h> #define BNXT_RE_ABI_VERSION 1 #define BNXT_RE_CHIP_ID0_CHIP_NUM_SFT 0x00 #define BNXT_RE_CHIP_ID0_CHIP_REV_SFT 0x10 @@ -26,6 +15,8 @@ enum { BNXT_RE_UCNTX_CMASK_HAVE_CCTX = 0x1ULL, BNXT_RE_UCNTX_CMASK_HAVE_MODE = 0x02ULL, + BNXT_RE_UCNTX_CMASK_WC_DPI_ENABLED = 0x04ULL, + BNXT_RE_UCNTX_CMASK_DBR_PACING_ENABLED = 0x08ULL, }; enum bnxt_re_wqe_mode { BNXT_QPLIB_WQE_MODE_STATIC = 0x00, @@ -60,6 +51,9 @@ struct bnxt_re_cq_resp { __u32 phase; __u32 rsvd; }; +struct bnxt_re_resize_cq_req { + __aligned_u64 cq_va; +}; struct bnxt_re_qp_req { __aligned_u64 qpsva; __aligned_u64 qprva; @@ -82,4 +76,30 @@ enum bnxt_re_shpg_offt { BNXT_RE_AVID_SIZE = 0x04, BNXT_RE_END_RESV_OFFT = 0xFF0 }; +enum bnxt_re_objects { + BNXT_RE_OBJECT_ALLOC_PAGE = (1U << UVERBS_ID_NS_SHIFT), + BNXT_RE_OBJECT_NOTIFY_DRV, +}; +enum bnxt_re_alloc_page_type { + BNXT_RE_ALLOC_WC_PAGE = 0, + BNXT_RE_ALLOC_DBR_BAR_PAGE, + BNXT_RE_ALLOC_DBR_PAGE, +}; +enum bnxt_re_var_alloc_page_attrs { + BNXT_RE_ALLOC_PAGE_HANDLE = (1U << UVERBS_ID_NS_SHIFT), + BNXT_RE_ALLOC_PAGE_TYPE, + BNXT_RE_ALLOC_PAGE_DPI, + BNXT_RE_ALLOC_PAGE_MMAP_OFFSET, + BNXT_RE_ALLOC_PAGE_MMAP_LENGTH, +}; +enum bnxt_re_alloc_page_attrs { + BNXT_RE_DESTROY_PAGE_HANDLE = (1U << UVERBS_ID_NS_SHIFT), +}; +enum bnxt_re_alloc_page_methods { + BNXT_RE_METHOD_ALLOC_PAGE = (1U << UVERBS_ID_NS_SHIFT), + BNXT_RE_METHOD_DESTROY_PAGE, +}; +enum bnxt_re_notify_drv_methods { + BNXT_RE_METHOD_NOTIFY_DRV = (1U << UVERBS_ID_NS_SHIFT), +}; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/cxgb4-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/cxgb4-abi.h index 5433ce69..5e84fbaa 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/cxgb4-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/cxgb4-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef CXGB4_ABI_USER_H #define CXGB4_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/efa-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/efa-abi.h index bfb3f180..c327764c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/efa-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/efa-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef EFA_ABI_USER_H #define EFA_ABI_USER_H #include <linux/types.h> @@ -104,6 +92,8 @@ enum { EFA_QUERY_DEVICE_CAPS_RNR_RETRY = 1 << 1, EFA_QUERY_DEVICE_CAPS_CQ_NOTIFICATIONS = 1 << 2, EFA_QUERY_DEVICE_CAPS_CQ_WITH_SGID = 1 << 3, + EFA_QUERY_DEVICE_CAPS_DATA_POLLING_128 = 1 << 4, + EFA_QUERY_DEVICE_CAPS_RDMA_WRITE = 1 << 5, }; struct efa_ibv_ex_query_device_resp { __u32 comp_mask; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/erdma-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/erdma-abi.h index 4df17574..23afddc9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/erdma-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/erdma-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __ERDMA_USER_H__ #define __ERDMA_USER_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_ioctl.h index a430650d..783aa6bc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX__HFI1_IOCTL_H #define _LINUX__HFI1_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_user.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_user.h index 6d586006..81c3f7fa 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_user.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hfi/hfi1_user.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _LINUX__HFI1_USER_H #define _LINUX__HFI1_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hns-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hns-abi.h index f778ef2c..f9effb33 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hns-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/hns-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef HNS_ABI_USER_H #define HNS_ABI_USER_H #include <linux/types.h> @@ -32,14 +20,22 @@ struct hns_roce_ib_create_cq_resp { __aligned_u64 cqn; __aligned_u64 cap_flags; }; +enum hns_roce_srq_cap_flags { + HNS_ROCE_SRQ_CAP_RECORD_DB = 1 << 0, +}; +enum hns_roce_srq_cap_flags_resp { + HNS_ROCE_RSP_SRQ_CAP_RECORD_DB = 1 << 0, +}; struct hns_roce_ib_create_srq { __aligned_u64 buf_addr; __aligned_u64 db_addr; __aligned_u64 que_addr; + __u32 req_cap_flags; + __u32 reserved; }; struct hns_roce_ib_create_srq_resp { __u32 srqn; - __u32 reserved; + __u32 cap_flags; }; struct hns_roce_ib_create_qp { __aligned_u64 buf_addr; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_cmds.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_cmds.h index f96b4e80..d774fba7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_cmds.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_cmds.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IB_USER_IOCTL_CMDS_H #define IB_USER_IOCTL_CMDS_H #define UVERBS_ID_NS_MASK 0xF000 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_verbs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_verbs.h index 6b9a436e..9feec8e0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_verbs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_ioctl_verbs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IB_USER_IOCTL_VERBS_H #define IB_USER_IOCTL_VERBS_H #include <linux/types.h> @@ -163,7 +151,8 @@ enum ib_uverbs_advise_mr_flag { struct ib_uverbs_query_port_resp_ex { struct ib_uverbs_query_port_resp legacy_resp; __u16 port_cap_flags2; - __u8 reserved[6]; + __u8 reserved[2]; + __u32 active_speed_ex; }; struct ib_uverbs_qp_cap { __u32 max_send_wr; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_mad.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_mad.h index 04b9f08b..b0ce93a8 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_mad.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_mad.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IB_USER_MAD_H #define IB_USER_MAD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_sa.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_sa.h index c9993201..02549369 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_sa.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_sa.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IB_USER_SA_H #define IB_USER_SA_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_verbs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_verbs.h index 6894bf12..6e27db4a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_verbs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ib_user_verbs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IB_USER_VERBS_H #define IB_USER_VERBS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/irdma-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/irdma-abi.h index b6840cf2..32a21900 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/irdma-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/irdma-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef IRDMA_ABI_H #define IRDMA_ABI_H #include <linux/types.h> @@ -25,10 +13,15 @@ enum irdma_memreg_type { IRDMA_MEMREG_TYPE_QP = 1, IRDMA_MEMREG_TYPE_CQ = 2, }; +enum { + IRDMA_ALLOC_UCTX_USE_RAW_ATTR = 1 << 0, + IRDMA_ALLOC_UCTX_MIN_HW_WQ_SIZE = 1 << 1, +}; struct irdma_alloc_ucontext_req { __u32 rsvd32; __u8 userspace_ver; __u8 rsvd8[3]; + __aligned_u64 comp_mask; }; struct irdma_alloc_ucontext_resp { __u32 max_pds; @@ -48,6 +41,9 @@ struct irdma_alloc_ucontext_resp { __u16 max_hw_sq_chunk; __u8 hw_rev; __u8 rsvd2; + __aligned_u64 comp_mask; + __u16 min_hw_wq_size; + __u8 rsvd3[6]; }; struct irdma_alloc_pd_resp { __u32 pd_id; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mana-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mana-abi.h index 4f1a73fc..73967b48 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mana-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mana-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MANA_ABI_USER_H #define MANA_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx4-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx4-abi.h index 121762b1..4c2055ca 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx4-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx4-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MLX4_ABI_USER_H #define MLX4_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5-abi.h index f41c8874..dc6420ba 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MLX5_ABI_USER_H #define MLX5_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_cmds.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_cmds.h index c060482d..69d52506 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_cmds.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_cmds.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MLX5_USER_IOCTL_CMDS_H #define MLX5_USER_IOCTL_CMDS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_verbs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_verbs.h index f68c0b3e..57fc43e2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_verbs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mlx5_user_ioctl_verbs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MLX5_USER_IOCTL_VERBS_H #define MLX5_USER_IOCTL_VERBS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mthca-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mthca-abi.h index 86224f2c..7719d8c9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mthca-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/mthca-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef MTHCA_ABI_USER_H #define MTHCA_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ocrdma-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ocrdma-abi.h index 007f0e1c..ae7752b4 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ocrdma-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/ocrdma-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef OCRDMA_ABI_USER_H #define OCRDMA_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/qedr-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/qedr-abi.h index bf6dc760..b9a84bba 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/qedr-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/qedr-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __QEDR_USER_H__ #define __QEDR_USER_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_netlink.h index bdb5fdd1..2fe8c308 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_RDMA_NETLINK_H #define _UAPI_RDMA_NETLINK_H #include <linux/types.h> @@ -210,6 +198,7 @@ enum rdma_nldev_command { RDMA_NLDEV_CMD_RES_CTX_GET, RDMA_NLDEV_CMD_RES_SRQ_GET, RDMA_NLDEV_CMD_STAT_GET_STATUS, + RDMA_NLDEV_CMD_RES_SRQ_GET_RAW, RDMA_NLDEV_NUM_OPS }; enum rdma_nldev_print_type { @@ -314,6 +303,7 @@ enum rdma_nldev_attr { RDMA_NLDEV_SYS_ATTR_COPY_ON_FORK, RDMA_NLDEV_ATTR_STAT_HWCOUNTER_INDEX, RDMA_NLDEV_ATTR_STAT_HWCOUNTER_DYNAMIC, + RDMA_NLDEV_SYS_ATTR_PRIVILEGED_QKEY_MODE, RDMA_NLDEV_ATTR_MAX }; enum rdma_nl_counter_mode { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_cm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_cm.h index 37927f8d..5228e62f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_cm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_cm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef RDMA_USER_CM_H #define RDMA_USER_CM_H #include <linux/types.h> @@ -88,7 +76,7 @@ struct rdma_ucm_bind { __u32 id; __u16 addr_size; __u16 reserved; - struct __kernel_sockaddr_storage addr; + struct sockaddr_storage addr; }; struct rdma_ucm_resolve_ip { struct sockaddr_in6 src_addr; @@ -102,8 +90,8 @@ struct rdma_ucm_resolve_addr { __u16 src_size; __u16 dst_size; __u32 reserved; - struct __kernel_sockaddr_storage src_addr; - struct __kernel_sockaddr_storage dst_addr; + struct sockaddr_storage src_addr; + struct sockaddr_storage dst_addr; }; struct rdma_ucm_resolve_route { __u32 id; @@ -137,8 +125,8 @@ struct rdma_ucm_query_addr_resp { __u16 pkey; __u16 src_size; __u16 dst_size; - struct __kernel_sockaddr_storage src_addr; - struct __kernel_sockaddr_storage dst_addr; + struct sockaddr_storage src_addr; + struct sockaddr_storage dst_addr; __u32 ibdev_index; __u32 reserved1; }; @@ -225,7 +213,7 @@ struct rdma_ucm_join_mcast { __u32 id; __u16 addr_size; __u16 join_flags; - struct __kernel_sockaddr_storage addr; + struct sockaddr_storage addr; }; struct rdma_ucm_get_event { __aligned_u64 response; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl.h index 2f532d33..d3675471 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef RDMA_USER_IOCTL_H #define RDMA_USER_IOCTL_H #include <rdma/ib_user_mad.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl_cmds.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl_cmds.h index dbaf9ed2..fa673598 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl_cmds.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_ioctl_cmds.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef RDMA_USER_IOCTL_CMDS_H #define RDMA_USER_IOCTL_CMDS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_rxe.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_rxe.h index e7619d8b..57b6467c 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_rxe.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rdma_user_rxe.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef RDMA_USER_RXE_H #define RDMA_USER_RXE_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rvt-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rvt-abi.h index 49632ee6..13c7a6e9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rvt-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/rvt-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef RVT_ABI_USER_H #define RVT_ABI_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/siw-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/siw-abi.h index e2363a1b..297794a5 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/siw-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/siw-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _SIW_USER_H #define _SIW_USER_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/vmw_pvrdma-abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/vmw_pvrdma-abi.h index f4444c45..54fa9072 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/vmw_pvrdma-abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/vmw_pvrdma-abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __VMW_PVRDMA_ABI_H__ #define __VMW_PVRDMA_ABI_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/cxlflash_ioctl.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/cxlflash_ioctl.h index 9781905b..008b77c2 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/cxlflash_ioctl.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/cxlflash_ioctl.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _CXLFLASH_IOCTL_H #define _CXLFLASH_IOCTL_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_els.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_els.h index d29287d4..8bd37ea9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_els.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_els.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _FC_ELS_H_ #define _FC_ELS_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_fs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_fs.h index 510d361a..4583e97b 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_fs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_fs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _FC_FS_H_ #define _FC_FS_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_gs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_gs.h index bcbf7a31..8f3f6b7f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_gs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_gs.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _FC_GS_H_ #define _FC_GS_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_ns.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_ns.h index 58fee9ae..d926b613 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_ns.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/fc/fc_ns.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _FC_NS_H_ #define _FC_NS_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_fc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_fc.h index 38362823..78a2e5de 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_fc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_fc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SCSI_BSG_FC_H #define SCSI_BSG_FC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_mpi3mr.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_mpi3mr.h index 48e88d3c..f12c36f9 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_mpi3mr.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_mpi3mr.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SCSI_BSG_MPI3MR_H_INCLUDED #define SCSI_BSG_MPI3MR_H_INCLUDED #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_ufs.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_ufs.h index 036243e6..5a4b1b29 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_ufs.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_bsg_ufs.h @@ -1,23 +1,12 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SCSI_BSG_UFS_H #define SCSI_BSG_UFS_H +#include <asm/byteorder.h> #include <linux/types.h> #define UFS_CDB_SIZE 16 #define UIC_CMD_SIZE (sizeof(__u32) * 4) @@ -37,9 +26,37 @@ enum ufs_rpmb_op_type { UFS_RPMB_PURGE_STATUS_READ = 0x09, }; struct utp_upiu_header { - __be32 dword_0; - __be32 dword_1; - __be32 dword_2; + union { + struct { + __be32 dword_0; + __be32 dword_1; + __be32 dword_2; + }; + struct { + __u8 transaction_code; + __u8 flags; + __u8 lun; + __u8 task_tag; +#ifdef __BIG_ENDIAN + __u8 iid : 4; + __u8 command_set_type : 4; +#elif defined(__LITTLE_ENDIAN) + __u8 command_set_type : 4; + __u8 iid : 4; +#else +#error +#endif + union { + __u8 tm_function; + __u8 query_function; + } __attribute__((packed)); + __u8 response; + __u8 status; + __u8 ehs_length; + __u8 device_information; + __be16 data_segment_length; + }; + }; }; struct utp_upiu_query { __u8 opcode; @@ -51,6 +68,18 @@ struct utp_upiu_query { __be32 value; __be32 reserved[2]; }; +struct utp_upiu_query_v4_0 { + __u8 opcode; + __u8 idn; + __u8 index; + __u8 selector; + __u8 osf3; + __u8 osf4; + __be16 osf5; + __be32 osf6; + __be32 osf7; + __be32 reserved; +}; struct utp_upiu_cmd { __be32 exp_data_transfer_len; __u8 cdb[UFS_CDB_SIZE]; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink.h index 2e1b6cf2..154a934a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SCSI_NETLINK_H #define SCSI_NETLINK_H #include <linux/netlink.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink_fc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink_fc.h index 6eeb8662..5d82af41 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink_fc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/scsi/scsi_netlink_fc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef SCSI_NETLINK_FC_H #define SCSI_NETLINK_FC_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asequencer.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asequencer.h index 01a50585..79185285 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asequencer.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asequencer.h @@ -1,25 +1,13 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SOUND_ASEQUENCER_H #define _UAPI__SOUND_ASEQUENCER_H #include <sound/asound.h> -#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 2) +#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 3) #define SNDRV_SEQ_EVENT_SYSTEM 0 #define SNDRV_SEQ_EVENT_RESULT 1 #define SNDRV_SEQ_EVENT_NOTE 5 @@ -106,6 +94,7 @@ struct snd_seq_connect { #define SNDRV_SEQ_PRIORITY_NORMAL (0 << 4) #define SNDRV_SEQ_PRIORITY_HIGH (1 << 4) #define SNDRV_SEQ_PRIORITY_MASK (1 << 4) +#define SNDRV_SEQ_EVENT_UMP (1 << 5) struct snd_seq_ev_note { unsigned char channel; unsigned char note; @@ -128,7 +117,7 @@ struct snd_seq_ev_raw32 { struct snd_seq_ev_ext { unsigned int len; void * ptr; -} __attribute__((packed)); +} __attribute__((__packed__)); struct snd_seq_result { int event; int result; @@ -162,7 +151,20 @@ struct snd_seq_ev_quote { struct snd_seq_addr origin; unsigned short value; struct snd_seq_event * event; -} __attribute__((packed)); +} __attribute__((__packed__)); +union snd_seq_event_data { + struct snd_seq_ev_note note; + struct snd_seq_ev_ctrl control; + struct snd_seq_ev_raw8 raw8; + struct snd_seq_ev_raw32 raw32; + struct snd_seq_ev_ext ext; + struct snd_seq_ev_queue_control queue; + union snd_seq_timestamp time; + struct snd_seq_addr addr; + struct snd_seq_connect connect; + struct snd_seq_result result; + struct snd_seq_ev_quote quote; +}; struct snd_seq_event { snd_seq_event_type_t type; unsigned char flags; @@ -171,19 +173,20 @@ struct snd_seq_event { union snd_seq_timestamp time; struct snd_seq_addr source; struct snd_seq_addr dest; + union snd_seq_event_data data; +}; +struct snd_seq_ump_event { + snd_seq_event_type_t type; + unsigned char flags; + char tag; + unsigned char queue; + union snd_seq_timestamp time; + struct snd_seq_addr source; + struct snd_seq_addr dest; union { - struct snd_seq_ev_note note; - struct snd_seq_ev_ctrl control; - struct snd_seq_ev_raw8 raw8; - struct snd_seq_ev_raw32 raw32; - struct snd_seq_ev_ext ext; - struct snd_seq_ev_queue_control queue; - union snd_seq_timestamp time; - struct snd_seq_addr addr; - struct snd_seq_connect connect; - struct snd_seq_result result; - struct snd_seq_ev_quote quote; - } data; + union snd_seq_event_data data; + unsigned int ump[4]; + }; }; struct snd_seq_event_bounce { int err; @@ -215,6 +218,7 @@ typedef int __bitwise snd_seq_client_type_t; #define SNDRV_SEQ_FILTER_BROADCAST (1U << 0) #define SNDRV_SEQ_FILTER_MULTICAST (1U << 1) #define SNDRV_SEQ_FILTER_BOUNCE (1U << 2) +#define SNDRV_SEQ_FILTER_NO_CONVERT (1U << 30) #define SNDRV_SEQ_FILTER_USE_EVENT (1U << 31) struct snd_seq_client_info { int client; @@ -227,8 +231,13 @@ struct snd_seq_client_info { int event_lost; int card; int pid; - char reserved[56]; + unsigned int midi_version; + unsigned int group_filter; + char reserved[48]; }; +#define SNDRV_SEQ_CLIENT_LEGACY_MIDI 0 +#define SNDRV_SEQ_CLIENT_UMP_MIDI_1_0 1 +#define SNDRV_SEQ_CLIENT_UMP_MIDI_2_0 2 struct snd_seq_client_pool { int client; int output_pool; @@ -268,6 +277,8 @@ struct snd_seq_remove_events { #define SNDRV_SEQ_PORT_CAP_SUBS_READ (1 << 5) #define SNDRV_SEQ_PORT_CAP_SUBS_WRITE (1 << 6) #define SNDRV_SEQ_PORT_CAP_NO_EXPORT (1 << 7) +#define SNDRV_SEQ_PORT_CAP_INACTIVE (1 << 8) +#define SNDRV_SEQ_PORT_CAP_UMP_ENDPOINT (1 << 9) #define SNDRV_SEQ_PORT_TYPE_SPECIFIC (1 << 0) #define SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC (1 << 1) #define SNDRV_SEQ_PORT_TYPE_MIDI_GM (1 << 2) @@ -275,6 +286,7 @@ struct snd_seq_remove_events { #define SNDRV_SEQ_PORT_TYPE_MIDI_XG (1 << 4) #define SNDRV_SEQ_PORT_TYPE_MIDI_MT32 (1 << 5) #define SNDRV_SEQ_PORT_TYPE_MIDI_GM2 (1 << 6) +#define SNDRV_SEQ_PORT_TYPE_MIDI_UMP (1 << 7) #define SNDRV_SEQ_PORT_TYPE_SYNTH (1 << 10) #define SNDRV_SEQ_PORT_TYPE_DIRECT_SAMPLE (1 << 11) #define SNDRV_SEQ_PORT_TYPE_SAMPLE (1 << 12) @@ -286,6 +298,10 @@ struct snd_seq_remove_events { #define SNDRV_SEQ_PORT_FLG_GIVEN_PORT (1 << 0) #define SNDRV_SEQ_PORT_FLG_TIMESTAMP (1 << 1) #define SNDRV_SEQ_PORT_FLG_TIME_REAL (1 << 2) +#define SNDRV_SEQ_PORT_DIR_UNKNOWN 0 +#define SNDRV_SEQ_PORT_DIR_INPUT 1 +#define SNDRV_SEQ_PORT_DIR_OUTPUT 2 +#define SNDRV_SEQ_PORT_DIR_BIDIRECTION 3 struct snd_seq_port_info { struct snd_seq_addr addr; char name[64]; @@ -299,7 +315,9 @@ struct snd_seq_port_info { void * kernel; unsigned int flags; unsigned char time_queue; - char reserved[59]; + unsigned char direction; + unsigned char ump_group; + char reserved[57]; }; #define SNDRV_SEQ_QUEUE_FLG_SYNC (1 << 0) struct snd_seq_queue_info { @@ -371,12 +389,22 @@ struct snd_seq_query_subs { unsigned int flags; char reserved[64]; }; +#define SNDRV_SEQ_CLIENT_UMP_INFO_ENDPOINT 0 +#define SNDRV_SEQ_CLIENT_UMP_INFO_BLOCK 1 +struct snd_seq_client_ump_info { + int client; + int type; + unsigned char info[512]; +} __attribute__((__packed__)); #define SNDRV_SEQ_IOCTL_PVERSION _IOR('S', 0x00, int) #define SNDRV_SEQ_IOCTL_CLIENT_ID _IOR('S', 0x01, int) #define SNDRV_SEQ_IOCTL_SYSTEM_INFO _IOWR('S', 0x02, struct snd_seq_system_info) #define SNDRV_SEQ_IOCTL_RUNNING_MODE _IOWR('S', 0x03, struct snd_seq_running_info) +#define SNDRV_SEQ_IOCTL_USER_PVERSION _IOW('S', 0x04, int) #define SNDRV_SEQ_IOCTL_GET_CLIENT_INFO _IOWR('S', 0x10, struct snd_seq_client_info) #define SNDRV_SEQ_IOCTL_SET_CLIENT_INFO _IOW('S', 0x11, struct snd_seq_client_info) +#define SNDRV_SEQ_IOCTL_GET_CLIENT_UMP_INFO _IOWR('S', 0x12, struct snd_seq_client_ump_info) +#define SNDRV_SEQ_IOCTL_SET_CLIENT_UMP_INFO _IOWR('S', 0x13, struct snd_seq_client_ump_info) #define SNDRV_SEQ_IOCTL_CREATE_PORT _IOWR('S', 0x20, struct snd_seq_port_info) #define SNDRV_SEQ_IOCTL_DELETE_PORT _IOW('S', 0x21, struct snd_seq_port_info) #define SNDRV_SEQ_IOCTL_GET_PORT_INFO _IOWR('S', 0x22, struct snd_seq_port_info) diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asoc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asoc.h index 1940e5dc..8718b46e 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asoc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asoc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_UAPI_SND_ASOC_H #define __LINUX_UAPI_SND_ASOC_H #include <linux/types.h> @@ -149,9 +137,9 @@ struct snd_soc_tplg_vendor_array { __le32 type; __le32 num_elems; union { - struct snd_soc_tplg_vendor_uuid_elem uuid[0]; - struct snd_soc_tplg_vendor_value_elem value[0]; - struct snd_soc_tplg_vendor_string_elem string[0]; + __DECLARE_FLEX_ARRAY(struct snd_soc_tplg_vendor_uuid_elem, uuid); + __DECLARE_FLEX_ARRAY(struct snd_soc_tplg_vendor_value_elem, value); + __DECLARE_FLEX_ARRAY(struct snd_soc_tplg_vendor_string_elem, string); }; } __attribute__((packed)); struct snd_soc_tplg_private { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound.h index 9c1a3ae7..7da2fbbd 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SOUND_ASOUND_H #define _UAPI__SOUND_ASOUND_H #ifdef __linux__ @@ -219,6 +207,7 @@ typedef int __bitwise snd_pcm_subformat_t; #define SNDRV_PCM_INFO_DOUBLE 0x00000004 #define SNDRV_PCM_INFO_BATCH 0x00000010 #define SNDRV_PCM_INFO_SYNC_APPLPTR 0x00000020 +#define SNDRV_PCM_INFO_PERFECT_DRAIN 0x00000040 #define SNDRV_PCM_INFO_INTERLEAVED 0x00000100 #define SNDRV_PCM_INFO_NONINTERLEAVED 0x00000200 #define SNDRV_PCM_INFO_COMPLEX 0x00000400 @@ -310,6 +299,7 @@ typedef int snd_pcm_hw_param_t; #define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1 << 0) #define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1 << 1) #define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1 << 2) +#define SNDRV_PCM_HW_PARAMS_NO_DRAIN_SILENCE (1 << 3) struct snd_interval { unsigned int min, max; unsigned int openmin : 1, openmax : 1, integer : 1, empty : 1; @@ -565,7 +555,7 @@ enum { #define SNDRV_PCM_IOCTL_READN_FRAMES _IOR('A', 0x53, struct snd_xfern) #define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int) #define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61) -#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 2) +#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 4) enum { SNDRV_RAWMIDI_STREAM_OUTPUT = 0, SNDRV_RAWMIDI_STREAM_INPUT, @@ -574,6 +564,7 @@ enum { #define SNDRV_RAWMIDI_INFO_OUTPUT 0x00000001 #define SNDRV_RAWMIDI_INFO_INPUT 0x00000002 #define SNDRV_RAWMIDI_INFO_DUPLEX 0x00000004 +#define SNDRV_RAWMIDI_INFO_UMP 0x00000008 struct snd_rawmidi_info { unsigned int device; unsigned int subdevice; @@ -622,6 +613,56 @@ struct snd_rawmidi_status { size_t xruns; unsigned char reserved[16]; }; +#define SNDRV_UMP_EP_INFO_STATIC_BLOCKS 0x01 +#define SNDRV_UMP_EP_INFO_PROTO_MIDI_MASK 0x0300 +#define SNDRV_UMP_EP_INFO_PROTO_MIDI1 0x0100 +#define SNDRV_UMP_EP_INFO_PROTO_MIDI2 0x0200 +#define SNDRV_UMP_EP_INFO_PROTO_JRTS_MASK 0x0003 +#define SNDRV_UMP_EP_INFO_PROTO_JRTS_TX 0x0001 +#define SNDRV_UMP_EP_INFO_PROTO_JRTS_RX 0x0002 +struct snd_ump_endpoint_info { + int card; + int device; + unsigned int flags; + unsigned int protocol_caps; + unsigned int protocol; + unsigned int num_blocks; + unsigned short version; + unsigned short family_id; + unsigned short model_id; + unsigned int manufacturer_id; + unsigned char sw_revision[4]; + unsigned short padding; + unsigned char name[128]; + unsigned char product_id[128]; + unsigned char reserved[32]; +} __attribute__((__packed__)); +#define SNDRV_UMP_DIR_INPUT 0x01 +#define SNDRV_UMP_DIR_OUTPUT 0x02 +#define SNDRV_UMP_DIR_BIDIRECTION 0x03 +#define SNDRV_UMP_BLOCK_IS_MIDI1 (1U << 0) +#define SNDRV_UMP_BLOCK_IS_LOWSPEED (1U << 1) +#define SNDRV_UMP_BLOCK_UI_HINT_UNKNOWN 0x00 +#define SNDRV_UMP_BLOCK_UI_HINT_RECEIVER 0x01 +#define SNDRV_UMP_BLOCK_UI_HINT_SENDER 0x02 +#define SNDRV_UMP_BLOCK_UI_HINT_BOTH 0x03 +#define SNDRV_UMP_MAX_GROUPS 16 +#define SNDRV_UMP_MAX_BLOCKS 32 +struct snd_ump_block_info { + int card; + int device; + unsigned char block_id; + unsigned char direction; + unsigned char active; + unsigned char first_group; + unsigned char num_groups; + unsigned char midi_ci_version; + unsigned char sysex8_streams; + unsigned char ui_hint; + unsigned int flags; + unsigned char name[128]; + unsigned char reserved[32]; +} __attribute__((__packed__)); #define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int) #define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info) #define SNDRV_RAWMIDI_IOCTL_USER_PVERSION _IOW('W', 0x02, int) @@ -629,6 +670,8 @@ struct snd_rawmidi_status { #define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status) #define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int) #define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int) +#define SNDRV_UMP_IOCTL_ENDPOINT_INFO _IOR('W', 0x40, struct snd_ump_endpoint_info) +#define SNDRV_UMP_IOCTL_BLOCK_INFO _IOR('W', 0x41, struct snd_ump_block_info) #define SNDRV_TIMER_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 7) enum { SNDRV_TIMER_CLASS_NONE = - 1, @@ -763,7 +806,7 @@ struct snd_timer_tread { unsigned int val; __time_pad pad2; }; -#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 8) +#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 9) struct snd_ctl_card_info { int card; int pad; @@ -909,6 +952,9 @@ struct snd_ctl_tlv { #define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int) #define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info) #define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int) +#define SNDRV_CTL_IOCTL_UMP_NEXT_DEVICE _IOWR('U', 0x43, int) +#define SNDRV_CTL_IOCTL_UMP_ENDPOINT_INFO _IOWR('U', 0x44, struct snd_ump_endpoint_info) +#define SNDRV_CTL_IOCTL_UMP_BLOCK_INFO _IOWR('U', 0x45, struct snd_ump_block_info) #define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int) #define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int) enum sndrv_ctl_event_type { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound_fm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound_fm.h index 03909ae6..2c2c8337 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound_fm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/asound_fm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SOUND_ASOUND_FM_H #define __SOUND_ASOUND_FM_H #define SNDRV_DM_FM_MODE_OPL2 0x00 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_offload.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_offload.h index 60688bc8..db72c297 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_offload.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_offload.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __COMPRESS_OFFLOAD_H #define __COMPRESS_OFFLOAD_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_params.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_params.h index ee6c0008..800f8f98 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_params.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/compress_params.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SND_COMPRESS_PARAMS_H #define __SND_COMPRESS_PARAMS_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/emu10k1.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/emu10k1.h index 483309e7..9b1fab61 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/emu10k1.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/emu10k1.h @@ -1,28 +1,14 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SOUND_EMU10K1_H #define _UAPI__SOUND_EMU10K1_H #ifdef __linux__ #include <linux/types.h> #endif -#define EMU10K1_CARD_CREATIVE 0x00000000 -#define EMU10K1_CARD_EMUAPS 0x00000001 #define EMU10K1_FX8010_PCM_COUNT 8 #define __EMU10K1_DECLARE_BITMAP(name,bits) unsigned long name[(bits) / (sizeof(unsigned long) * 8)] #define iMAC0 0x00 @@ -41,10 +27,29 @@ #define iEXP 0x0d #define iINTERP 0x0e #define iSKIP 0x0f +#define LOWORD_OPX_MASK 0x000ffc00 +#define LOWORD_OPY_MASK 0x000003ff +#define HIWORD_OPCODE_MASK 0x00f00000 +#define HIWORD_RESULT_MASK 0x000ffc00 +#define HIWORD_OPA_MASK 0x000003ff +#define A_LOWORD_OPX_MASK 0x007ff000 +#define A_LOWORD_OPY_MASK 0x000007ff +#define A_HIWORD_OPCODE_MASK 0x0f000000 +#define A_HIWORD_RESULT_MASK 0x007ff000 +#define A_HIWORD_OPA_MASK 0x000007ff #define FXBUS(x) (0x00 + (x)) #define EXTIN(x) (0x10 + (x)) #define EXTOUT(x) (0x20 + (x)) #define FXBUS2(x) (0x30 + (x)) +#define A_FXBUS(x) (0x00 + (x)) +#define A_EXTIN(x) (0x40 + (x)) +#define A_P16VIN(x) (0x50 + (x)) +#define A_EXTOUT(x) (0x60 + (x)) +#define A_FXBUS2(x) (0x80 + (x)) +#define A_EMU32OUTH(x) (0xa0 + (x)) +#define A_EMU32OUTL(x) (0xb0 + (x)) +#define A3_EMU32IN(x) (0x160 + (x)) +#define A3_EMU32OUT(x) (0x1E0 + (x)) #define C_00000000 0x40 #define C_00000001 0x41 #define C_00000002 0x42 @@ -73,33 +78,71 @@ #define GPR_NOISE1 0x59 #define GPR_IRQ 0x5a #define GPR_DBAC 0x5b +#define A_C_00000000 0xc0 +#define A_C_00000001 0xc1 +#define A_C_00000002 0xc2 +#define A_C_00000003 0xc3 +#define A_C_00000004 0xc4 +#define A_C_00000008 0xc5 +#define A_C_00000010 0xc6 +#define A_C_00000020 0xc7 +#define A_C_00000100 0xc8 +#define A_C_00010000 0xc9 +#define A_C_00000800 0xca +#define A_C_10000000 0xcb +#define A_C_20000000 0xcc +#define A_C_40000000 0xcd +#define A_C_80000000 0xce +#define A_C_7fffffff 0xcf +#define A_C_ffffffff 0xd0 +#define A_C_fffffffe 0xd1 +#define A_C_c0000000 0xd2 +#define A_C_4f1bbcdc 0xd3 +#define A_C_5a7ef9db 0xd4 +#define A_C_00100000 0xd5 +#define A_GPR_ACCU 0xd6 +#define A_GPR_COND 0xd7 +#define A_GPR_NOISE0 0xd8 +#define A_GPR_NOISE1 0xd9 +#define A_GPR_IRQ 0xda +#define A_GPR_DBAC 0xdb +#define A_GPR_DBACE 0xde +#define FXGPREGBASE 0x100 +#define A_FXGPREGBASE 0x400 +#define A_TANKMEMCTLREGBASE 0x100 +#define A_TANKMEMCTLREG_MASK 0x1f +#define TANKMEMDATAREGBASE 0x200 +#define TANKMEMDATAREG_MASK 0x000fffff +#define TANKMEMADDRREGBASE 0x300 +#define TANKMEMADDRREG_ADDR_MASK 0x000fffff +#define TANKMEMADDRREG_CLEAR 0x00800000 +#define TANKMEMADDRREG_ALIGN 0x00400000 +#define TANKMEMADDRREG_WRITE 0x00200000 +#define TANKMEMADDRREG_READ 0x00100000 #define GPR(x) (FXGPREGBASE + (x)) #define ITRAM_DATA(x) (TANKMEMDATAREGBASE + 0x00 + (x)) #define ETRAM_DATA(x) (TANKMEMDATAREGBASE + 0x80 + (x)) #define ITRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x00 + (x)) #define ETRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x80 + (x)) +#define A_GPR(x) (A_FXGPREGBASE + (x)) #define A_ITRAM_DATA(x) (TANKMEMDATAREGBASE + 0x00 + (x)) #define A_ETRAM_DATA(x) (TANKMEMDATAREGBASE + 0xc0 + (x)) #define A_ITRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x00 + (x)) #define A_ETRAM_ADDR(x) (TANKMEMADDRREGBASE + 0xc0 + (x)) #define A_ITRAM_CTL(x) (A_TANKMEMCTLREGBASE + 0x00 + (x)) #define A_ETRAM_CTL(x) (A_TANKMEMCTLREGBASE + 0xc0 + (x)) -#define A_FXBUS(x) (0x00 + (x)) -#define A_EXTIN(x) (0x40 + (x)) -#define A_P16VIN(x) (0x50 + (x)) -#define A_EXTOUT(x) (0x60 + (x)) -#define A_FXBUS2(x) (0x80 + (x)) -#define A_EMU32OUTH(x) (0xa0 + (x)) -#define A_EMU32OUTL(x) (0xb0 + (x)) -#define A3_EMU32IN(x) (0x160 + (x)) -#define A3_EMU32OUT(x) (0x1E0 + (x)) -#define A_GPR(x) (A_FXGPREGBASE + (x)) #define CC_REG_NORMALIZED C_00000001 #define CC_REG_BORROW C_00000002 #define CC_REG_MINUS C_00000004 #define CC_REG_ZERO C_00000008 #define CC_REG_SATURATE C_00000010 #define CC_REG_NONZERO C_00000100 +#define A_CC_REG_NORMALIZED A_C_00000001 +#define A_CC_REG_BORROW A_C_00000002 +#define A_CC_REG_MINUS A_C_00000004 +#define A_CC_REG_ZERO A_C_00000008 +#define A_CC_REG_SATURATE A_C_00000010 +#define A_CC_REG_NONZERO A_C_00000100 #define FXBUS_PCM_LEFT 0x00 #define FXBUS_PCM_RIGHT 0x01 #define FXBUS_PCM_LEFT_REAR 0x02 @@ -180,35 +223,6 @@ #define A_EXTOUT_ADC_CAP_L 0x16 #define A_EXTOUT_ADC_CAP_R 0x17 #define A_EXTOUT_MIC_CAP 0x18 -#define A_C_00000000 0xc0 -#define A_C_00000001 0xc1 -#define A_C_00000002 0xc2 -#define A_C_00000003 0xc3 -#define A_C_00000004 0xc4 -#define A_C_00000008 0xc5 -#define A_C_00000010 0xc6 -#define A_C_00000020 0xc7 -#define A_C_00000100 0xc8 -#define A_C_00010000 0xc9 -#define A_C_00000800 0xca -#define A_C_10000000 0xcb -#define A_C_20000000 0xcc -#define A_C_40000000 0xcd -#define A_C_80000000 0xce -#define A_C_7fffffff 0xcf -#define A_C_ffffffff 0xd0 -#define A_C_fffffffe 0xd1 -#define A_C_c0000000 0xd2 -#define A_C_4f1bbcdc 0xd3 -#define A_C_5a7ef9db 0xd4 -#define A_C_00100000 0xd5 -#define A_GPR_ACCU 0xd6 -#define A_GPR_COND 0xd7 -#define A_GPR_NOISE0 0xd8 -#define A_GPR_NOISE1 0xd9 -#define A_GPR_IRQ 0xda -#define A_GPR_DBAC 0xdb -#define A_GPR_DBACE 0xde #define EMU10K1_DBG_ZC 0x80000000 #define EMU10K1_DBG_SATURATION_OCCURED 0x02000000 #define EMU10K1_DBG_SATURATION_ADDR 0x01ff0000 @@ -216,11 +230,13 @@ #define EMU10K1_DBG_STEP 0x00004000 #define EMU10K1_DBG_CONDITION_CODE 0x00003e00 #define EMU10K1_DBG_SINGLE_STEP_ADDR 0x000001ff -#define TANKMEMADDRREG_ADDR_MASK 0x000fffff -#define TANKMEMADDRREG_CLEAR 0x00800000 -#define TANKMEMADDRREG_ALIGN 0x00400000 -#define TANKMEMADDRREG_WRITE 0x00200000 -#define TANKMEMADDRREG_READ 0x00100000 +#define A_DBG_ZC 0x40000000 +#define A_DBG_SATURATION_OCCURED 0x20000000 +#define A_DBG_SATURATION_ADDR 0x0ffc0000 +#define A_DBG_SINGLE_STEP 0x00020000 +#define A_DBG_STEP 0x00010000 +#define A_DBG_CONDITION_CODE 0x0000f800 +#define A_DBG_STEP_ADDR 0x000003ff struct snd_emu10k1_fx8010_info { unsigned int internal_tram_size; unsigned int external_tram_size; @@ -234,6 +250,8 @@ struct snd_emu10k1_fx8010_info { #define EMU10K1_GPR_TRANSLATION_BASS 2 #define EMU10K1_GPR_TRANSLATION_TREBLE 3 #define EMU10K1_GPR_TRANSLATION_ONOFF 4 +#define EMU10K1_GPR_TRANSLATION_NEGATE 5 +#define EMU10K1_GPR_TRANSLATION_NEG_TABLE100 6 enum emu10k1_ctl_elem_iface { EMU10K1_CTL_ELEM_IFACE_MIXER = 2, EMU10K1_CTL_ELEM_IFACE_PCM = 3, @@ -251,9 +269,9 @@ struct snd_emu10k1_fx8010_control_gpr { unsigned int vcount; unsigned int count; unsigned short gpr[32]; - unsigned int value[32]; - unsigned int min; - unsigned int max; + int value[32]; + int min; + int max; unsigned int translation; const unsigned int * tlv; }; diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/firewire.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/firewire.h index cc13cb92..99cf3d40 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/firewire.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/firewire.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED #define _UAPI_SOUND_FIREWIRE_H_INCLUDED #include <linux/ioctl.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdsp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdsp.h index 2fec3714..6a673d4f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdsp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdsp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SOUND_HDSP_H #define __SOUND_HDSP_H #ifdef __linux__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdspm.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdspm.h index bd28e8ca..546f466d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdspm.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/hdspm.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SOUND_HDSPM_H #define __SOUND_HDSPM_H #ifdef __linux__ diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/intel/avs/tokens.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/intel/avs/tokens.h index d5242788..6a8ed8a0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/intel/avs/tokens.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/intel/avs/tokens.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_SOUND_INTEL_AVS_TOKENS_H #define __UAPI_SOUND_INTEL_AVS_TOKENS_H enum avs_tplg_token { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sb16_csp.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sb16_csp.h index 31f70646..5082a5e0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sb16_csp.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sb16_csp.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SOUND_SB16_CSP_H #define _UAPI__SOUND_SB16_CSP_H #define SNDRV_SB_CSP_MODE_NONE 0x00 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sfnt_info.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sfnt_info.h index 87e17382..accdfd2a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sfnt_info.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sfnt_info.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SOUND_SFNT_INFO_H #define __SOUND_SFNT_INFO_H #include <sound/asound.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/skl-tplg-interface.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/skl-tplg-interface.h index 6dd96550..c6202959 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/skl-tplg-interface.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/skl-tplg-interface.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __HDA_TPLG_INTERFACE_H__ #define __HDA_TPLG_INTERFACE_H__ #include <linux/types.h> @@ -47,7 +35,8 @@ enum skl_ch_cfg { SKL_CH_CFG_DUAL_MONO = 9, SKL_CH_CFG_I2S_DUAL_STEREO_0 = 10, SKL_CH_CFG_I2S_DUAL_STEREO_1 = 11, - SKL_CH_CFG_4_CHANNEL = 12, + SKL_CH_CFG_7_1 = 12, + SKL_CH_CFG_4_CHANNEL = SKL_CH_CFG_7_1, SKL_CH_CFG_INVALID }; enum skl_module_type { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_ar_tokens.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_ar_tokens.h index 7b87caa9..57d28866 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_ar_tokens.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_ar_tokens.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SND_AR_TOKENS_H__ #define __SND_AR_TOKENS_H__ #define APM_SUB_GRAPH_PERF_MODE_LOW_POWER 0x1 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_sst_tokens.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_sst_tokens.h index bf012fa8..1f498104 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_sst_tokens.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/snd_sst_tokens.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __SND_SST_TOKENS_H__ #define __SND_SST_TOKENS_H__ enum SKL_TKNS { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/abi.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/abi.h index dc4e5250..fe1fe47a 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/abi.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/abi.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __INCLUDE_UAPI_SOUND_SOF_ABI_H__ #define __INCLUDE_UAPI_SOUND_SOF_ABI_H__ #include <linux/types.h> @@ -35,4 +23,5 @@ #define SOF_ABI_VERSION_INCOMPATIBLE(sof_ver,client_ver) (SOF_ABI_VERSION_MAJOR((sof_ver)) != SOF_ABI_VERSION_MAJOR((client_ver))) #define SOF_ABI_VERSION SOF_ABI_VER(SOF_ABI_MAJOR, SOF_ABI_MINOR, SOF_ABI_PATCH) #define SOF_ABI_MAGIC 0x00464F53 +#define SOF_IPC4_ABI_MAGIC 0x34464F53 #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/fw.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/fw.h index 97b7de38..3d940241 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/fw.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/fw.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __INCLUDE_UAPI_SOF_FW_H__ #define __INCLUDE_UAPI_SOF_FW_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/header.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/header.h index 75145505..56bad864 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/header.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/header.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__ #define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/tokens.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/tokens.h index 37265466..d57d55bb 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/tokens.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/sof/tokens.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __INCLUDE_UAPI_SOF_TOPOLOGY_H__ #define __INCLUDE_UAPI_SOF_TOPOLOGY_H__ #define SOF_TPLG_KCTL_VOL_ID 256 @@ -39,6 +27,7 @@ #define SOF_TKN_SCHED_DYNAMIC_PIPELINE 206 #define SOF_TKN_SCHED_LP_MODE 207 #define SOF_TKN_SCHED_MEM_USAGE 208 +#define SOF_TKN_SCHED_USE_CHAIN_DMA 209 #define SOF_TKN_VOLUME_RAMP_STEP_TYPE 250 #define SOF_TKN_VOLUME_RAMP_STEP_MS 251 #define SOF_TKN_GAIN_RAMP_TYPE 260 @@ -59,10 +48,13 @@ #define SOF_TKN_COMP_CPC 406 #define SOF_TKN_COMP_IS_PAGES 409 #define SOF_TKN_COMP_NUM_AUDIO_FORMATS 410 -#define SOF_TKN_COMP_NUM_SINK_PINS 411 -#define SOF_TKN_COMP_NUM_SOURCE_PINS 412 -#define SOF_TKN_COMP_SINK_PIN_BINDING_WNAME 413 -#define SOF_TKN_COMP_SRC_PIN_BINDING_WNAME 414 +#define SOF_TKN_COMP_NUM_INPUT_PINS 411 +#define SOF_TKN_COMP_NUM_OUTPUT_PINS 412 +#define SOF_TKN_COMP_INPUT_PIN_BINDING_WNAME 413 +#define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414 +#define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415 +#define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416 +#define SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME 417 #define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500 #define SOF_TKN_INTEL_SSP_MCLK_ID 501 #define SOF_TKN_INTEL_SSP_SAMPLE_BITS 502 @@ -107,26 +99,29 @@ #define SOF_TKN_AMD_ACPDMIC_CH 1801 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_RATE 1900 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_BIT_DEPTH 1901 -#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_VALID_BIT 1902 +#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_VALID_BIT_DEPTH 1902 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CHANNELS 1903 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_MAP 1904 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_CFG 1905 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_INTERLEAVING_STYLE 1906 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_FMT_CFG 1907 #define SOF_TKN_CAVS_AUDIO_FORMAT_IN_SAMPLE_TYPE 1908 +#define SOF_TKN_CAVS_AUDIO_FORMAT_INPUT_PIN_INDEX 1909 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_RATE 1930 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_BIT_DEPTH 1931 -#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_VALID_BIT 1932 +#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_VALID_BIT_DEPTH 1932 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CHANNELS 1933 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_MAP 1934 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_CFG 1935 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_INTERLEAVING_STYLE 1936 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_FMT_CFG 1937 #define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_SAMPLE_TYPE 1938 +#define SOF_TKN_CAVS_AUDIO_FORMAT_OUTPUT_PIN_INDEX 1939 #define SOF_TKN_CAVS_AUDIO_FORMAT_IBS 1970 #define SOF_TKN_CAVS_AUDIO_FORMAT_OBS 1971 #define SOF_TKN_CAVS_AUDIO_FORMAT_DMA_BUFFER_SIZE 1972 #define SOF_TKN_INTEL_COPIER_NODE_TYPE 1980 +#define SOF_TKN_INTEL_COPIER_DEEP_BUFFER_DMA_MS 1981 #define SOF_TKN_AMD_ACPI2S_RATE 1700 #define SOF_TKN_AMD_ACPI2S_CH 1701 #define SOF_TKN_AMD_ACPI2S_TDM_MODE 1702 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/tlv.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/tlv.h index 0822429e..d9df82fc 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/tlv.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/tlv.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __UAPI_SOUND_TLV_H #define __UAPI_SOUND_TLV_H #define SNDRV_CTL_TLVT_CONTAINER 0 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/usb_stream.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/usb_stream.h index ac87c31a..1f8dc2a7 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/usb_stream.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/sound/usb_stream.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__SOUND_USB_STREAM_H #define _UAPI__SOUND_USB_STREAM_H #define USB_STREAM_INTERFACE_VERSION 2 diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/edid.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/edid.h index 0269d647..ed08315d 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/edid.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/edid.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI__linux_video_edid_h__ #define _UAPI__linux_video_edid_h__ struct edid_info { diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/sisfb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/sisfb.h index 1feeda05..cbe525a0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/sisfb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/sisfb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_LINUX_SISFB_H_ #define _UAPI_LINUX_SISFB_H_ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/uvesafb.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/uvesafb.h index d0dca96c..6a8b2bf0 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/uvesafb.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/video/uvesafb.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef _UAPI_UVESAFB_H #define _UAPI_UVESAFB_H #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/evtchn.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/evtchn.h index aa4aaaf6..4a12c8cf 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/evtchn.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/evtchn.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_PUBLIC_EVTCHN_H__ #define __LINUX_PUBLIC_EVTCHN_H__ #define IOCTL_EVTCHN_BIND_VIRQ _IOC(_IOC_NONE, 'E', 0, sizeof(struct ioctl_evtchn_bind_virq)) @@ -43,4 +31,8 @@ struct ioctl_evtchn_notify { struct ioctl_evtchn_restrict_domid { domid_t domid; }; +#define IOCTL_EVTCHN_BIND_STATIC _IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind)) +struct ioctl_evtchn_bind { + unsigned int port; +}; #endif diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntalloc.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntalloc.h index d306b224..02e4d475 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntalloc.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntalloc.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_PUBLIC_GNTALLOC_H__ #define __LINUX_PUBLIC_GNTALLOC_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntdev.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntdev.h index eada73c4..bda1ad6f 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntdev.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/gntdev.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_PUBLIC_GNTDEV_H__ #define __LINUX_PUBLIC_GNTDEV_H__ #include <linux/types.h> diff --git a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/privcmd.h b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/privcmd.h index 21d9f840..05972470 100644 --- a/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/privcmd.h +++ b/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/xen/privcmd.h @@ -1,21 +1,9 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - *** To edit the content of this header, modify the corresponding - *** source file (e.g. under external/kernel-headers/original/) then - *** run bionic/libc/kernel/tools/update_all.py - *** - *** Any manual change here will be lost the next time this script will - *** be run. You've been warned! - *** - **************************************************************************** - ****************************************************************************/ +/* + * This file is auto-generated. Modifications will be lost. + * + * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ + * for more information. + */ #ifndef __LINUX_PUBLIC_PRIVCMD_H__ #define __LINUX_PUBLIC_PRIVCMD_H__ #include <linux/types.h> @@ -67,6 +55,28 @@ struct privcmd_mmap_resource { __u64 num; __u64 addr; }; +#define PRIVCMD_IRQFD_FLAG_DEASSIGN (1 << 0) +struct privcmd_irqfd { + __u64 dm_op; + __u32 size; + __u32 fd; + __u32 flags; + domid_t dom; + __u8 pad[2]; +}; +#define PRIVCMD_IOEVENTFD_FLAG_DEASSIGN (1 << 0) +struct privcmd_ioeventfd { + __u64 ioreq; + __u64 ports; + __u64 addr; + __u32 addr_len; + __u32 event_fd; + __u32 vcpus; + __u32 vq; + __u32 flags; + domid_t dom; + __u8 pad[2]; +}; #define IOCTL_PRIVCMD_HYPERCALL _IOC(_IOC_NONE, 'P', 0, sizeof(struct privcmd_hypercall)) #define IOCTL_PRIVCMD_MMAP _IOC(_IOC_NONE, 'P', 2, sizeof(struct privcmd_mmap)) #define IOCTL_PRIVCMD_MMAPBATCH _IOC(_IOC_NONE, 'P', 3, sizeof(struct privcmd_mmapbatch)) @@ -74,4 +84,6 @@ struct privcmd_mmap_resource { #define IOCTL_PRIVCMD_DM_OP _IOC(_IOC_NONE, 'P', 5, sizeof(struct privcmd_dm_op)) #define IOCTL_PRIVCMD_RESTRICT _IOC(_IOC_NONE, 'P', 6, sizeof(domid_t)) #define IOCTL_PRIVCMD_MMAP_RESOURCE _IOC(_IOC_NONE, 'P', 7, sizeof(struct privcmd_mmap_resource)) +#define IOCTL_PRIVCMD_IRQFD _IOW('P', 8, struct privcmd_irqfd) +#define IOCTL_PRIVCMD_IOEVENTFD _IOW('P', 9, struct privcmd_ioeventfd) #endif diff --git a/mainline/runtime/sdk/android/riscv64/lib/crt_pad_segment.o b/mainline/runtime/sdk/android/riscv64/lib/crt_pad_segment.o Binary files differnew file mode 100644 index 00000000..62ed5755 --- /dev/null +++ b/mainline/runtime/sdk/android/riscv64/lib/crt_pad_segment.o diff --git a/mainline/runtime/sdk/android/riscv64/lib/crtbegin_dynamic.o b/mainline/runtime/sdk/android/riscv64/lib/crtbegin_dynamic.o Binary files differindex 8b2ecfbf..b3f520a4 100644 --- a/mainline/runtime/sdk/android/riscv64/lib/crtbegin_dynamic.o +++ b/mainline/runtime/sdk/android/riscv64/lib/crtbegin_dynamic.o diff --git a/mainline/runtime/sdk/android/riscv64/lib/crtbegin_so.o b/mainline/runtime/sdk/android/riscv64/lib/crtbegin_so.o Binary files differindex 8ba8fe74..b0802586 100644 --- a/mainline/runtime/sdk/android/riscv64/lib/crtbegin_so.o +++ b/mainline/runtime/sdk/android/riscv64/lib/crtbegin_so.o diff --git a/mainline/runtime/sdk/android/riscv64/lib/crtend_android.o b/mainline/runtime/sdk/android/riscv64/lib/crtend_android.o Binary files differindex 348146d0..4cb6c83a 100644 --- a/mainline/runtime/sdk/android/riscv64/lib/crtend_android.o +++ b/mainline/runtime/sdk/android/riscv64/lib/crtend_android.o diff --git a/mainline/runtime/sdk/android/riscv64/lib/crtend_so.o b/mainline/runtime/sdk/android/riscv64/lib/crtend_so.o Binary files differindex 3d0addbe..1fdd0595 100644 --- a/mainline/runtime/sdk/android/riscv64/lib/crtend_so.o +++ b/mainline/runtime/sdk/android/riscv64/lib/crtend_so.o diff --git a/mainline/runtime/sdk/android/riscv64/lib/libasync_safe.a b/mainline/runtime/sdk/android/riscv64/lib/libasync_safe.a Binary files differindex 3fb08c10..d15ba001 100644 --- a/mainline/runtime/sdk/android/riscv64/lib/libasync_safe.a +++ b/mainline/runtime/sdk/android/riscv64/lib/libasync_safe.a diff --git a/mainline/runtime/sdk/android/riscv64/lib/libc.so b/mainline/runtime/sdk/android/riscv64/lib/libc.so Binary files differindex cf81bd8b..a151dd45 100755 --- a/mainline/runtime/sdk/android/riscv64/lib/libc.so +++ b/mainline/runtime/sdk/android/riscv64/lib/libc.so diff --git a/mainline/runtime/sdk/android/riscv64/lib/libdl.so b/mainline/runtime/sdk/android/riscv64/lib/libdl.so Binary files differindex 49677c89..027892fa 100755 --- a/mainline/runtime/sdk/android/riscv64/lib/libdl.so +++ b/mainline/runtime/sdk/android/riscv64/lib/libdl.so diff --git a/mainline/runtime/sdk/android/riscv64/lib/libdl_android.so b/mainline/runtime/sdk/android/riscv64/lib/libdl_android.so Binary files differindex dd36ff21..b7d014bb 100755 --- a/mainline/runtime/sdk/android/riscv64/lib/libdl_android.so +++ b/mainline/runtime/sdk/android/riscv64/lib/libdl_android.so diff --git a/mainline/runtime/sdk/android/riscv64/lib/libm.so b/mainline/runtime/sdk/android/riscv64/lib/libm.so Binary files differindex 7b5b55f5..75308702 100755 --- a/mainline/runtime/sdk/android/riscv64/lib/libm.so +++ b/mainline/runtime/sdk/android/riscv64/lib/libm.so |