From 4accb9beeb83a26bfb0cf7c7a3ba1b77917d2025 Mon Sep 17 00:00:00 2001 From: Zachery Wu Date: Thu, 2 Sep 2021 19:12:32 +0800 Subject: [PATCH] add 5.10 UAPI Signed-off-by: Zachery Wu Change-Id: Ied13729d2c4521ab5981972178b050d2c0f1f858 --- .../hi3516dv300_patch/hi3516dv300.patch | 16 - linux-5.10/prebuilts/usr/include/Kbuild | 14 - .../prebuilts/usr/include/asm-arm/asm/Kbuild | 6 - .../usr/include/asm-arm/asm/auxvec.h | 25 +- .../usr/include/asm-arm/asm/bitsperlong.h | 23 +- .../usr/include/asm-arm/asm/bpf_perf_event.h | 23 +- .../usr/include/asm-arm/asm/byteorder.h | 27 +- .../prebuilts/usr/include/asm-arm/asm/errno.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/fcntl.h | 31 +- .../prebuilts/usr/include/asm-arm/asm/hwcap.h | 79 +- .../prebuilts/usr/include/asm-arm/asm/ioctl.h | 23 +- .../usr/include/asm-arm/asm/ioctls.h | 25 +- .../usr/include/asm-arm/asm/ipcbuf.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/kvm.h | 203 -- .../usr/include/asm-arm/asm/kvm_para.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/mman.h | 26 +- .../usr/include/asm-arm/asm/msgbuf.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/param.h | 23 +- .../usr/include/asm-arm/asm/perf_regs.h | 57 +- .../prebuilts/usr/include/asm-arm/asm/poll.h | 23 +- .../usr/include/asm-arm/asm/posix_types.h | 33 +- .../usr/include/asm-arm/asm/ptrace.h | 194 +- .../usr/include/asm-arm/asm/resource.h | 23 +- .../usr/include/asm-arm/asm/sembuf.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/setup.h | 184 +- .../usr/include/asm-arm/asm/shmbuf.h | 23 +- .../usr/include/asm-arm/asm/sigcontext.h | 65 +- .../usr/include/asm-arm/asm/siginfo.h | 23 +- .../usr/include/asm-arm/asm/signal.h | 153 +- .../usr/include/asm-arm/asm/socket.h | 23 +- .../usr/include/asm-arm/asm/sockios.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/stat.h | 131 +- .../usr/include/asm-arm/asm/statfs.h | 25 +- .../prebuilts/usr/include/asm-arm/asm/swab.h | 42 +- .../usr/include/asm-arm/asm/termbits.h | 23 +- .../usr/include/asm-arm/asm/termios.h | 23 +- .../prebuilts/usr/include/asm-arm/asm/types.h | 29 +- .../usr/include/asm-arm/asm/unistd-common.h | 62 +- .../usr/include/asm-arm/asm/unistd-eabi.h | 23 +- .../usr/include/asm-arm/asm/unistd-oabi.h | 23 +- .../usr/include/asm-arm/asm/unistd.h | 48 +- .../asm-arm/uapi/asm/.unistd-common.h.cmd | 1 - .../asm-arm/uapi/asm/.unistd-eabi.h.cmd | 1 - .../asm-arm/uapi/asm/.unistd-oabi.h.cmd | 1 - .../include/asm-arm/uapi/asm/bitsperlong.h | 6 - .../include/asm-arm/uapi/asm/bpf_perf_event.h | 6 - .../usr/include/asm-arm/uapi/asm/errno.h | 6 - .../usr/include/asm-arm/uapi/asm/ioctl.h | 6 - .../usr/include/asm-arm/uapi/asm/ipcbuf.h | 6 - .../usr/include/asm-arm/uapi/asm/kvm_para.h | 6 - .../usr/include/asm-arm/uapi/asm/msgbuf.h | 6 - .../usr/include/asm-arm/uapi/asm/param.h | 6 - .../usr/include/asm-arm/uapi/asm/poll.h | 6 - .../usr/include/asm-arm/uapi/asm/resource.h | 6 - .../usr/include/asm-arm/uapi/asm/sembuf.h | 6 - .../usr/include/asm-arm/uapi/asm/shmbuf.h | 6 - .../usr/include/asm-arm/uapi/asm/siginfo.h | 6 - .../usr/include/asm-arm/uapi/asm/socket.h | 6 - .../usr/include/asm-arm/uapi/asm/sockios.h | 6 - .../usr/include/asm-arm/uapi/asm/termbits.h | 6 - .../usr/include/asm-arm/uapi/asm/termios.h | 6 - .../include/asm-arm/uapi/asm/unistd-common.h | 402 --- .../include/asm-arm/uapi/asm/unistd-eabi.h | 8 - .../include/asm-arm/uapi/asm/unistd-oabi.h | 20 - .../usr/include/asm-arm64/asm/auxvec.h | 27 +- .../usr/include/asm-arm64/asm/bitsperlong.h | 23 +- .../include/asm-arm64/asm/bpf_perf_event.h | 27 +- .../usr/include/asm-arm64/asm/byteorder.h | 23 +- .../usr/include/asm-arm64/asm/errno.h | 23 +- .../usr/include/asm-arm64/asm/fcntl.h | 31 +- .../usr/include/asm-arm64/asm/hwcap.h | 107 +- .../usr/include/asm-arm64/asm/ioctl.h | 23 +- .../usr/include/asm-arm64/asm/ioctls.h | 23 +- .../usr/include/asm-arm64/asm/ipcbuf.h | 23 +- .../prebuilts/usr/include/asm-arm64/asm/kvm.h | 361 +- .../usr/include/asm-arm64/asm/kvm_para.h | 23 +- .../usr/include/asm-arm64/asm/mman.h | 28 +- .../usr/include/asm-arm64/asm/msgbuf.h | 23 +- .../usr/include/asm-arm64/asm/param.h | 25 +- .../usr/include/asm-arm64/asm/perf_regs.h | 91 +- .../usr/include/asm-arm64/asm/poll.h | 23 +- .../usr/include/asm-arm64/asm/posix_types.h | 23 +- .../usr/include/asm-arm64/asm/ptrace.h | 217 +- .../usr/include/asm-arm64/asm/resource.h | 23 +- .../usr/include/asm-arm64/asm/sembuf.h | 23 +- .../usr/include/asm-arm64/asm/setup.h | 25 +- .../usr/include/asm-arm64/asm/shmbuf.h | 23 +- .../usr/include/asm-arm64/asm/sigcontext.h | 134 +- .../usr/include/asm-arm64/asm/siginfo.h | 27 +- .../usr/include/asm-arm64/asm/signal.h | 27 +- .../usr/include/asm-arm64/asm/socket.h | 23 +- .../usr/include/asm-arm64/asm/sockios.h | 23 +- .../usr/include/asm-arm64/asm/stat.h | 23 +- .../usr/include/asm-arm64/asm/statfs.h | 25 +- .../usr/include/asm-arm64/asm/sve_context.h | 42 + .../usr/include/asm-arm64/asm/swab.h | 23 +- .../usr/include/asm-arm64/asm/termbits.h | 23 +- .../usr/include/asm-arm64/asm/termios.h | 23 +- .../usr/include/asm-arm64/asm/types.h | 23 +- .../usr/include/asm-arm64/asm/ucontext.h | 41 +- .../usr/include/asm-arm64/asm/unistd.h | 27 +- .../prebuilts/usr/include/asm-generic/Kbuild | 36 - .../usr/include/asm-generic/auxvec.h | 23 +- .../usr/include/asm-generic/bitsperlong.h | 23 +- .../usr/include/asm-generic/bpf_perf_event.h | 23 +- .../usr/include/asm-generic/errno-base.h | 91 +- .../prebuilts/usr/include/asm-generic/errno.h | 221 +- .../prebuilts/usr/include/asm-generic/fcntl.h | 158 +- .../usr/include/asm-generic/hugetlb_encode.h | 53 +- .../usr/include/asm-generic/int-l64.h | 23 +- .../usr/include/asm-generic/int-ll64.h | 23 +- .../prebuilts/usr/include/asm-generic/ioctl.h | 93 +- .../usr/include/asm-generic/ioctls.h | 191 +- .../usr/include/asm-generic/ipcbuf.h | 46 +- .../usr/include/asm-generic/kvm_para.h | 23 +- .../usr/include/asm-generic/mman-common.h | 106 +- .../prebuilts/usr/include/asm-generic/mman.h | 39 +- .../usr/include/asm-generic/msgbuf.h | 57 +- .../prebuilts/usr/include/asm-generic/param.h | 29 +- .../prebuilts/usr/include/asm-generic/poll.h | 59 +- .../usr/include/asm-generic/posix_types.h | 85 +- .../usr/include/asm-generic/resource.h | 59 +- .../usr/include/asm-generic/sembuf.h | 43 +- .../prebuilts/usr/include/asm-generic/setup.h | 25 +- .../usr/include/asm-generic/shmbuf.h | 73 +- .../usr/include/asm-generic/shmparam.h | 9 - .../usr/include/asm-generic/siginfo.h | 411 ++- .../usr/include/asm-generic/signal-defs.h | 39 +- .../usr/include/asm-generic/signal.h | 143 +- .../usr/include/asm-generic/socket.h | 187 +- .../usr/include/asm-generic/sockios.h | 35 +- .../prebuilts/usr/include/asm-generic/stat.h | 103 +- .../usr/include/asm-generic/statfs.h | 95 +- .../prebuilts/usr/include/asm-generic/swab.h | 25 +- .../usr/include/asm-generic/termbits.h | 313 +- .../usr/include/asm-generic/termios.h | 71 +- .../prebuilts/usr/include/asm-generic/types.h | 23 +- .../usr/include/asm-generic/ucontext.h | 33 +- .../usr/include/asm-generic/unistd.h | 376 +- .../prebuilts/usr/include/asm-x86/asm/a.out.h | 34 + .../usr/include/asm-x86/asm/auxvec.h | 26 + .../usr/include/asm-x86/asm/bitsperlong.h | 27 + .../prebuilts/usr/include/asm-x86/asm/boot.h | 24 + .../usr/include/asm-x86/asm/bootparam.h | 195 ++ .../usr/include/asm-x86/asm/bpf_perf_event.h | 19 + .../usr/include/asm-x86/asm/byteorder.h | 22 + .../usr/include/asm-x86/asm/debugreg.h | 56 + .../prebuilts/usr/include/asm-x86/asm/e820.h | 51 + .../prebuilts/usr/include/asm-x86/asm/errno.h | 19 + .../prebuilts/usr/include/asm-x86/asm/fcntl.h | 19 + .../usr/include/asm-x86/asm/hw_breakpoint.h | 18 + .../usr/include/asm-x86/asm/hwcap2.h | 23 + .../prebuilts/usr/include/asm-x86/asm/ioctl.h | 19 + .../usr/include/asm-x86/asm/ioctls.h | 19 + .../usr/include/asm-x86/asm/ipcbuf.h | 19 + .../prebuilts/usr/include/asm-x86/asm/ist.h | 28 + .../prebuilts/usr/include/asm-x86/asm/kvm.h | 393 +++ .../usr/include/asm-x86/asm/kvm_para.h | 110 + .../usr/include/asm-x86/asm/kvm_perf.h | 29 + .../prebuilts/usr/include/asm-x86/asm/ldt.h | 42 + .../prebuilts/usr/include/asm-x86/asm/mce.h | 53 + .../prebuilts/usr/include/asm-x86/asm/mman.h | 23 + .../usr/include/asm-x86/asm/msgbuf.h | 39 + .../prebuilts/usr/include/asm-x86/asm/msr.h | 27 + .../prebuilts/usr/include/asm-x86/asm/mtrr.h | 86 + .../prebuilts/usr/include/asm-x86/asm/param.h | 19 + .../usr/include/asm-x86/asm/perf_regs.h | 67 + .../prebuilts/usr/include/asm-x86/asm/poll.h | 19 + .../usr/include/asm-x86/asm/posix_types.h | 25 + .../usr/include/asm-x86/asm/posix_types_32.h | 31 + .../usr/include/asm-x86/asm/posix_types_64.h | 27 + .../usr/include/asm-x86/asm/posix_types_x32.h | 25 + .../prebuilts/usr/include/asm-x86/asm/prctl.h | 30 + .../usr/include/asm-x86/asm/processor-flags.h | 147 + .../usr/include/asm-x86/asm/ptrace-abi.h | 84 + .../usr/include/asm-x86/asm/ptrace.h | 71 + .../usr/include/asm-x86/asm/resource.h | 19 + .../usr/include/asm-x86/asm/sembuf.h | 39 + .../prebuilts/usr/include/asm-x86/asm/setup.h | 18 + .../usr/include/asm-x86/asm/shmbuf.h | 48 + .../usr/include/asm-x86/asm/sigcontext.h | 225 ++ .../usr/include/asm-x86/asm/sigcontext32.h | 22 + .../usr/include/asm-x86/asm/siginfo.h | 29 + .../usr/include/asm-x86/asm/signal.h | 105 + .../usr/include/asm-x86/asm/socket.h | 19 + .../usr/include/asm-x86/asm/sockios.h | 19 + .../prebuilts/usr/include/asm-x86/asm/stat.h | 114 + .../usr/include/asm-x86/asm/statfs.h | 23 + .../prebuilts/usr/include/asm-x86/asm/svm.h | 110 + .../prebuilts/usr/include/asm-x86/asm/swab.h | 28 + .../usr/include/asm-x86/asm/termbits.h | 19 + .../usr/include/asm-x86/asm/termios.h | 19 + .../prebuilts/usr/include/asm-x86/asm/types.h | 19 + .../usr/include/asm-x86/asm/ucontext.h | 27 + .../usr/include/asm-x86/asm/unistd.h | 29 + .../usr/include/asm-x86/asm/unistd_32.h | 451 +++ .../usr/include/asm-x86/asm/unistd_64.h | 373 ++ .../usr/include/asm-x86/asm/unistd_x32.h | 362 ++ .../prebuilts/usr/include/asm-x86/asm/vm86.h | 96 + .../prebuilts/usr/include/asm-x86/asm/vmx.h | 86 + .../usr/include/asm-x86/asm/vsyscall.h | 27 + linux-5.10/prebuilts/usr/include/asm/auxvec.h | 9 - .../prebuilts/usr/include/asm/bitsperlong.h | 6 - .../usr/include/asm/bpf_perf_event.h | 6 - .../prebuilts/usr/include/asm/byteorder.h | 13 - linux-5.10/prebuilts/usr/include/asm/errno.h | 6 - linux-5.10/prebuilts/usr/include/asm/fcntl.h | 13 - linux-5.10/prebuilts/usr/include/asm/hwcap.h | 36 - linux-5.10/prebuilts/usr/include/asm/ioctl.h | 6 - linux-5.10/prebuilts/usr/include/asm/ioctls.h | 10 - linux-5.10/prebuilts/usr/include/asm/ipcbuf.h | 6 - .../prebuilts/usr/include/asm/kvm_para.h | 6 - linux-5.10/prebuilts/usr/include/asm/mman.h | 8 - linux-5.10/prebuilts/usr/include/asm/msgbuf.h | 6 - linux-5.10/prebuilts/usr/include/asm/param.h | 6 - .../prebuilts/usr/include/asm/perf_regs.h | 27 - linux-5.10/prebuilts/usr/include/asm/poll.h | 6 - .../prebuilts/usr/include/asm/posix_types.h | 18 - linux-5.10/prebuilts/usr/include/asm/ptrace.h | 95 - .../prebuilts/usr/include/asm/resource.h | 6 - linux-5.10/prebuilts/usr/include/asm/sembuf.h | 6 - linux-5.10/prebuilts/usr/include/asm/setup.h | 120 - linux-5.10/prebuilts/usr/include/asm/shmbuf.h | 6 - .../prebuilts/usr/include/asm/sigcontext.h | 31 - .../prebuilts/usr/include/asm/siginfo.h | 6 - linux-5.10/prebuilts/usr/include/asm/signal.h | 79 - linux-5.10/prebuilts/usr/include/asm/socket.h | 6 - .../prebuilts/usr/include/asm/sockios.h | 6 - linux-5.10/prebuilts/usr/include/asm/stat.h | 74 - linux-5.10/prebuilts/usr/include/asm/statfs.h | 10 - linux-5.10/prebuilts/usr/include/asm/swab.h | 28 - .../prebuilts/usr/include/asm/termbits.h | 6 - .../prebuilts/usr/include/asm/termios.h | 6 - linux-5.10/prebuilts/usr/include/asm/types.h | 21 - .../prebuilts/usr/include/asm/unistd-common.h | 402 --- .../prebuilts/usr/include/asm/unistd-eabi.h | 8 - .../prebuilts/usr/include/asm/unistd-oabi.h | 20 - linux-5.10/prebuilts/usr/include/asm/unistd.h | 25 - .../prebuilts/usr/include/drm/amdgpu_drm.h | 1204 +++---- .../prebuilts/usr/include/drm/armada_drm.h | 67 +- linux-5.10/prebuilts/usr/include/drm/drm.h | 875 +++-- .../prebuilts/usr/include/drm/drm_fourcc.h | 398 +-- .../prebuilts/usr/include/drm/drm_mode.h | 859 +++-- .../prebuilts/usr/include/drm/drm_sarea.h | 69 +- .../prebuilts/usr/include/drm/etnaviv_drm.h | 304 +- .../prebuilts/usr/include/drm/exynos_drm.h | 354 +- .../prebuilts/usr/include/drm/i810_drm.h | 353 +- .../prebuilts/usr/include/drm/i915_drm.h | 1643 ++++----- .../prebuilts/usr/include/drm/lima_drm.h | 157 +- .../prebuilts/usr/include/drm/mga_drm.h | 412 ++- .../prebuilts/usr/include/drm/msm_drm.h | 304 +- .../prebuilts/usr/include/drm/nouveau_drm.h | 237 +- .../prebuilts/usr/include/drm/omap_drm.h | 123 +- .../prebuilts/usr/include/drm/panfrost_drm.h | 220 +- .../prebuilts/usr/include/drm/qxl_drm.h | 137 +- .../prebuilts/usr/include/drm/r128_drm.h | 386 ++- .../prebuilts/usr/include/drm/radeon_drm.h | 1382 ++++---- .../prebuilts/usr/include/drm/savage_drm.h | 267 +- .../prebuilts/usr/include/drm/sis_drm.h | 63 +- .../prebuilts/usr/include/drm/tegra_drm.h | 272 +- .../prebuilts/usr/include/drm/v3d_drm.h | 194 +- .../prebuilts/usr/include/drm/vc4_drm.h | 408 ++- .../prebuilts/usr/include/drm/vgem_drm.h | 49 +- .../prebuilts/usr/include/drm/via_drm.h | 296 +- .../prebuilts/usr/include/drm/virtgpu_drm.h | 183 +- .../prebuilts/usr/include/drm/vmwgfx_drm.h | 489 +-- .../prebuilts/usr/include/linux/a.out.h | 156 +- linux-5.10/prebuilts/usr/include/linux/acct.h | 149 +- linux-5.10/prebuilts/usr/include/linux/adb.h | 65 +- .../prebuilts/usr/include/linux/adfs_fs.h | 83 +- .../usr/include/linux/affs_hardblocks.h | 129 +- .../prebuilts/usr/include/linux/agpgart.h | 101 +- .../prebuilts/usr/include/linux/aio_abi.h | 89 +- .../prebuilts/usr/include/linux/am437x-vpfe.h | 123 +- .../usr/include/linux/android/binder.h | 353 +- .../usr/include/linux/android/binderfs.h | 29 +- .../prebuilts/usr/include/linux/apm_bios.h | 179 +- .../prebuilts/usr/include/linux/arcfb.h | 27 +- .../prebuilts/usr/include/linux/arm_sdei.h | 125 +- .../prebuilts/usr/include/linux/ashmem.h | 61 +- .../usr/include/linux/aspeed-lpc-ctrl.h | 47 +- .../usr/include/linux/aspeed-p2a-ctrl.h | 36 +- .../prebuilts/usr/include/linux/atalk.h | 61 +- linux-5.10/prebuilts/usr/include/linux/atm.h | 261 +- .../prebuilts/usr/include/linux/atm_eni.h | 31 +- .../prebuilts/usr/include/linux/atm_he.h | 37 +- .../usr/include/linux/atm_idt77105.h | 35 +- .../prebuilts/usr/include/linux/atm_nicstar.h | 52 +- .../prebuilts/usr/include/linux/atm_tcp.h | 53 +- .../prebuilts/usr/include/linux/atm_zatm.h | 56 +- .../prebuilts/usr/include/linux/atmapi.h | 32 +- .../prebuilts/usr/include/linux/atmarp.h | 49 +- .../prebuilts/usr/include/linux/atmbr2684.h | 115 +- .../prebuilts/usr/include/linux/atmclip.h | 33 +- .../prebuilts/usr/include/linux/atmdev.h | 219 +- .../prebuilts/usr/include/linux/atmioc.h | 55 +- .../prebuilts/usr/include/linux/atmlec.h | 123 +- .../prebuilts/usr/include/linux/atmmpc.h | 153 +- .../prebuilts/usr/include/linux/atmppp.h | 33 +- .../prebuilts/usr/include/linux/atmsap.h | 183 +- .../prebuilts/usr/include/linux/atmsvc.h | 79 +- .../prebuilts/usr/include/linux/audit.h | 686 ++-- .../usr/include/linux/auto_dev-ioctl.h | 212 +- .../prebuilts/usr/include/linux/auto_fs.h | 219 +- .../prebuilts/usr/include/linux/auto_fs4.h | 23 +- .../prebuilts/usr/include/linux/auxvec.h | 49 +- linux-5.10/prebuilts/usr/include/linux/ax25.h | 166 +- .../prebuilts/usr/include/linux/b1lli.h | 51 - .../usr/include/linux/batadv_packet.h | 398 +-- .../prebuilts/usr/include/linux/batman_adv.h | 363 +- .../prebuilts/usr/include/linux/baycom.h | 39 +- .../prebuilts/usr/include/linux/bcache.h | 470 ++- .../usr/include/linux/bcm933xx_hcs.h | 45 +- .../prebuilts/usr/include/linux/bfs_fs.h | 109 +- .../prebuilts/usr/include/linux/binfmts.h | 23 +- .../prebuilts/usr/include/linux/blkpg.h | 53 +- .../usr/include/linux/blktrace_api.h | 202 +- .../prebuilts/usr/include/linux/blkzoned.h | 93 +- linux-5.10/prebuilts/usr/include/linux/bpf.h | 2049 +++++------ .../prebuilts/usr/include/linux/bpf_common.h | 101 +- .../usr/include/linux/bpf_perf_event.h | 29 +- .../prebuilts/usr/include/linux/bpfilter.h | 39 +- .../prebuilts/usr/include/linux/bpqether.h | 60 +- linux-5.10/prebuilts/usr/include/linux/bsg.h | 98 +- .../prebuilts/usr/include/linux/bt-bmc.h | 27 +- linux-5.10/prebuilts/usr/include/linux/btf.h | 163 +- .../prebuilts/usr/include/linux/btrfs.h | 966 +++--- .../prebuilts/usr/include/linux/btrfs_tree.h | 782 ++--- .../usr/include/linux/byteorder/big_endian.h | 139 +- .../include/linux/byteorder/little_endian.h | 139 +- .../usr/include/linux/caif/caif_socket.h | 114 +- .../usr/include/linux/caif/if_caif.h | 35 +- linux-5.10/prebuilts/usr/include/linux/can.h | 103 +- .../prebuilts/usr/include/linux/can/bcm.h | 89 +- .../prebuilts/usr/include/linux/can/error.h | 118 +- .../prebuilts/usr/include/linux/can/gw.h | 131 +- .../prebuilts/usr/include/linux/can/isotp.h | 125 +- .../prebuilts/usr/include/linux/can/j1939.h | 59 +- .../prebuilts/usr/include/linux/can/netlink.h | 145 +- .../prebuilts/usr/include/linux/can/raw.h | 37 +- .../prebuilts/usr/include/linux/can/vxcan.h | 31 +- .../prebuilts/usr/include/linux/capability.h | 195 +- linux-5.10/prebuilts/usr/include/linux/capi.h | 107 +- .../prebuilts/usr/include/linux/cciss_defs.h | 157 +- .../prebuilts/usr/include/linux/cciss_ioctl.h | 101 +- .../prebuilts/usr/include/linux/cdrom.h | 1162 ++++--- .../prebuilts/usr/include/linux/cec-funcs.h | 1776 +--------- linux-5.10/prebuilts/usr/include/linux/cec.h | 1299 ++++--- .../prebuilts/usr/include/linux/cgroupstats.h | 54 +- linux-5.10/prebuilts/usr/include/linux/chio.h | 191 +- .../usr/include/linux/cifs/cifs_mount.h | 31 +- .../prebuilts/usr/include/linux/close_range.h | 25 +- .../prebuilts/usr/include/linux/cm4000_cs.h | 77 +- .../prebuilts/usr/include/linux/cn_proc.h | 169 +- linux-5.10/prebuilts/usr/include/linux/coda.h | 664 ++-- .../prebuilts/usr/include/linux/coda_psdev.h | 15 - linux-5.10/prebuilts/usr/include/linux/coff.h | 262 +- .../prebuilts/usr/include/linux/compiler.h | 21 +- .../usr/include/linux/compiler_types.h | 210 +- .../prebuilts/usr/include/linux/connector.h | 81 +- .../prebuilts/usr/include/linux/const.h | 44 +- .../usr/include/linux/coresight-stm.h | 33 +- .../prebuilts/usr/include/linux/cramfs_fs.h | 85 +- .../prebuilts/usr/include/linux/cryptouser.h | 234 +- linux-5.10/prebuilts/usr/include/linux/cuda.h | 61 +- .../prebuilts/usr/include/linux/cyclades.h | 553 +-- .../prebuilts/usr/include/linux/cycx_cfm.h | 99 +- .../prebuilts/usr/include/linux/dcbnl.h | 557 +-- linux-5.10/prebuilts/usr/include/linux/dccp.h | 258 +- .../prebuilts/usr/include/linux/devlink.h | 686 ++-- linux-5.10/prebuilts/usr/include/linux/dlm.h | 43 +- .../prebuilts/usr/include/linux/dlm_device.h | 122 +- .../prebuilts/usr/include/linux/dlm_netlink.h | 69 +- .../prebuilts/usr/include/linux/dlm_plock.h | 63 +- .../usr/include/linux/dlmconstants.h | 83 +- .../prebuilts/usr/include/linux/dm-ioctl.h | 195 +- .../usr/include/linux/dm-log-userspace.h | 79 +- .../prebuilts/usr/include/linux/dm-user.h | 65 + .../prebuilts/usr/include/linux/dma-buf.h | 50 +- .../prebuilts/usr/include/linux/dma-heap.h | 36 +- linux-5.10/prebuilts/usr/include/linux/dn.h | 157 +- .../usr/include/linux/dns_resolver.h | 99 +- .../prebuilts/usr/include/linux/dqblk_xfs.h | 230 +- .../prebuilts/usr/include/linux/dvb/audio.h | 108 +- .../prebuilts/usr/include/linux/dvb/ca.h | 91 +- .../prebuilts/usr/include/linux/dvb/dmx.h | 181 +- .../usr/include/linux/dvb/frontend.h | 668 ++-- .../prebuilts/usr/include/linux/dvb/net.h | 37 +- .../prebuilts/usr/include/linux/dvb/osd.h | 150 +- .../prebuilts/usr/include/linux/dvb/version.h | 23 +- .../prebuilts/usr/include/linux/dvb/video.h | 201 +- linux-5.10/prebuilts/usr/include/linux/edd.h | 266 +- .../prebuilts/usr/include/linux/efs_fs_sb.h | 91 +- .../prebuilts/usr/include/linux/elf-em.h | 118 +- .../prebuilts/usr/include/linux/elf-fdpic.h | 39 +- linux-5.10/prebuilts/usr/include/linux/elf.h | 564 +-- .../prebuilts/usr/include/linux/elfcore.h | 81 - .../prebuilts/usr/include/linux/errno.h | 23 +- .../prebuilts/usr/include/linux/errqueue.h | 87 +- .../prebuilts/usr/include/linux/erspan.h | 57 +- .../prebuilts/usr/include/linux/ethtool.h | 1571 +++++---- .../usr/include/linux/ethtool_netlink.h | 888 +++-- .../prebuilts/usr/include/linux/eventpoll.h | 68 +- linux-5.10/prebuilts/usr/include/linux/f2fs.h | 71 - .../prebuilts/usr/include/linux/fadvise.h | 41 +- .../prebuilts/usr/include/linux/falloc.h | 37 +- .../prebuilts/usr/include/linux/fanotify.h | 194 +- linux-5.10/prebuilts/usr/include/linux/fb.h | 553 ++- .../prebuilts/usr/include/linux/fcntl.h | 111 +- linux-5.10/prebuilts/usr/include/linux/fd.h | 256 +- .../prebuilts/usr/include/linux/fdreg.h | 179 +- .../prebuilts/usr/include/linux/fib_rules.h | 137 +- .../prebuilts/usr/include/linux/fiemap.h | 81 +- .../prebuilts/usr/include/linux/filter.h | 88 +- .../usr/include/linux/firewire-cdev.h | 383 ++- .../usr/include/linux/firewire-constants.h | 129 +- linux-5.10/prebuilts/usr/include/linux/flat.h | 34 - linux-5.10/prebuilts/usr/include/linux/fou.h | 73 +- .../prebuilts/usr/include/linux/fpga-dfl.h | 136 +- linux-5.10/prebuilts/usr/include/linux/fs.h | 338 +- .../prebuilts/usr/include/linux/fscrypt.h | 237 +- linux-5.10/prebuilts/usr/include/linux/fsi.h | 76 +- .../usr/include/linux/fsl_hypervisor.h | 103 +- .../prebuilts/usr/include/linux/fsmap.h | 94 +- .../prebuilts/usr/include/linux/fsverity.h | 55 +- linux-5.10/prebuilts/usr/include/linux/fuse.h | 794 ++--- .../prebuilts/usr/include/linux/futex.h | 126 +- .../prebuilts/usr/include/linux/gameport.h | 49 +- .../prebuilts/usr/include/linux/gen_stats.h | 69 +- .../prebuilts/usr/include/linux/genetlink.h | 129 +- .../usr/include/linux/genwqe/genwqe_card.h | 503 +-- .../prebuilts/usr/include/linux/gfs2_ondisk.h | 605 ++-- .../prebuilts/usr/include/linux/gigaset_dev.h | 17 - linux-5.10/prebuilts/usr/include/linux/gpio.h | 248 +- .../prebuilts/usr/include/linux/gsmmux.h | 70 +- linux-5.10/prebuilts/usr/include/linux/gtp.h | 61 +- .../prebuilts/usr/include/linux/hash_info.h | 65 +- linux-5.10/prebuilts/usr/include/linux/hdlc.h | 27 +- .../prebuilts/usr/include/linux/hdlc/ioctl.h | 127 +- .../prebuilts/usr/include/linux/hdlcdrv.h | 132 +- .../prebuilts/usr/include/linux/hdreg.h | 734 ++-- linux-5.10/prebuilts/usr/include/linux/hid.h | 51 +- .../prebuilts/usr/include/linux/hiddev.h | 191 +- .../prebuilts/usr/include/linux/hidraw.h | 49 +- linux-5.10/prebuilts/usr/include/linux/hpet.h | 47 +- .../usr/include/linux/hsi/cs-protocol.h | 118 +- .../usr/include/linux/hsi/hsi_char.h | 75 +- .../prebuilts/usr/include/linux/hsr_netlink.h | 63 +- .../usr/include/linux/hw_breakpoint.h | 61 +- .../prebuilts/usr/include/linux/hyperv.h | 264 +- .../prebuilts/usr/include/linux/hysdn_if.h | 18 - .../prebuilts/usr/include/linux/i2c-dev.h | 57 +- linux-5.10/prebuilts/usr/include/linux/i2c.h | 145 +- .../prebuilts/usr/include/linux/i2o-dev.h | 519 +-- linux-5.10/prebuilts/usr/include/linux/i8k.h | 67 +- linux-5.10/prebuilts/usr/include/linux/icmp.h | 147 +- .../prebuilts/usr/include/linux/icmpv6.h | 222 +- linux-5.10/prebuilts/usr/include/linux/idxd.h | 380 +- linux-5.10/prebuilts/usr/include/linux/if.h | 292 +- .../prebuilts/usr/include/linux/if_addr.h | 97 +- .../usr/include/linux/if_addrlabel.h | 43 +- .../prebuilts/usr/include/linux/if_alg.h | 60 +- .../prebuilts/usr/include/linux/if_arcnet.h | 110 +- .../prebuilts/usr/include/linux/if_arp.h | 203 +- .../prebuilts/usr/include/linux/if_bonding.h | 145 +- .../prebuilts/usr/include/linux/if_bridge.h | 609 ++-- .../usr/include/linux/if_cablemodem.h | 35 +- .../prebuilts/usr/include/linux/if_eql.h | 47 +- .../prebuilts/usr/include/linux/if_ether.h | 233 +- .../prebuilts/usr/include/linux/if_fc.h | 43 +- .../prebuilts/usr/include/linux/if_fddi.h | 143 +- .../prebuilts/usr/include/linux/if_frad.h | 131 +- .../prebuilts/usr/include/linux/if_hippi.h | 157 +- .../usr/include/linux/if_infiniband.h | 25 +- .../prebuilts/usr/include/linux/if_link.h | 1373 ++++---- .../prebuilts/usr/include/linux/if_ltalk.h | 29 +- .../prebuilts/usr/include/linux/if_macsec.h | 263 +- .../prebuilts/usr/include/linux/if_packet.h | 372 +- .../prebuilts/usr/include/linux/if_phonet.h | 29 +- .../prebuilts/usr/include/linux/if_plip.h | 36 +- .../prebuilts/usr/include/linux/if_ppp.h | 23 +- .../prebuilts/usr/include/linux/if_pppol2tp.h | 81 +- .../prebuilts/usr/include/linux/if_pppox.h | 145 +- .../prebuilts/usr/include/linux/if_slip.h | 47 +- .../prebuilts/usr/include/linux/if_team.h | 101 +- .../prebuilts/usr/include/linux/if_tun.h | 97 +- .../prebuilts/usr/include/linux/if_tunnel.h | 291 +- .../prebuilts/usr/include/linux/if_vlan.h | 85 +- .../prebuilts/usr/include/linux/if_x25.h | 31 +- .../prebuilts/usr/include/linux/if_xdp.h | 112 +- linux-5.10/prebuilts/usr/include/linux/ife.h | 35 +- linux-5.10/prebuilts/usr/include/linux/igmp.h | 143 +- .../prebuilts/usr/include/linux/iio/events.h | 31 +- .../prebuilts/usr/include/linux/iio/types.h | 203 +- linux-5.10/prebuilts/usr/include/linux/ila.h | 99 +- linux-5.10/prebuilts/usr/include/linux/in.h | 323 +- linux-5.10/prebuilts/usr/include/linux/in6.h | 303 +- .../prebuilts/usr/include/linux/in_route.h | 57 +- .../usr/include/linux/incrementalfs.h | 165 + .../prebuilts/usr/include/linux/inet_diag.h | 266 +- .../prebuilts/usr/include/linux/inotify.h | 88 +- .../usr/include/linux/input-event-codes.h | 1528 ++++---- .../prebuilts/usr/include/linux/input.h | 337 +- .../prebuilts/usr/include/linux/io_uring.h | 405 +-- .../prebuilts/usr/include/linux/ioctl.h | 23 +- .../prebuilts/usr/include/linux/iommu.h | 255 +- linux-5.10/prebuilts/usr/include/linux/ion.h | 48 - linux-5.10/prebuilts/usr/include/linux/ip.h | 243 +- .../prebuilts/usr/include/linux/ip6_tunnel.h | 67 +- .../prebuilts/usr/include/linux/ip_vs.h | 503 ++- linux-5.10/prebuilts/usr/include/linux/ipc.h | 83 +- linux-5.10/prebuilts/usr/include/linux/ipmi.h | 207 +- .../prebuilts/usr/include/linux/ipmi_bmc.h | 31 +- .../usr/include/linux/ipmi_msgdefs.h | 151 +- .../prebuilts/usr/include/linux/ipsec.h | 71 +- linux-5.10/prebuilts/usr/include/linux/ipv6.h | 217 +- .../prebuilts/usr/include/linux/ipv6_route.h | 85 +- linux-5.10/prebuilts/usr/include/linux/ipx.h | 113 +- .../prebuilts/usr/include/linux/irqnr.h | 23 +- linux-5.10/prebuilts/usr/include/linux/isdn.h | 112 - .../usr/include/linux/isdn/capicmd.h | 175 +- .../usr/include/linux/isdn_divertif.h | 17 - .../prebuilts/usr/include/linux/isdn_ppp.h | 49 - .../prebuilts/usr/include/linux/isdnif.h | 33 - .../prebuilts/usr/include/linux/iso_fs.h | 243 +- .../prebuilts/usr/include/linux/isst_if.h | 97 +- linux-5.10/prebuilts/usr/include/linux/ivtv.h | 51 +- .../prebuilts/usr/include/linux/ivtvfb.h | 31 +- .../prebuilts/usr/include/linux/jffs2.h | 238 +- .../prebuilts/usr/include/linux/joystick.h | 137 +- linux-5.10/prebuilts/usr/include/linux/kcm.h | 41 +- linux-5.10/prebuilts/usr/include/linux/kcmp.h | 47 +- linux-5.10/prebuilts/usr/include/linux/kcov.h | 69 +- linux-5.10/prebuilts/usr/include/linux/kd.h | 240 +- .../prebuilts/usr/include/linux/kdev_t.h | 31 +- .../usr/include/linux/kernel-page-flags.h | 77 +- .../prebuilts/usr/include/linux/kernel.h | 27 +- .../prebuilts/usr/include/linux/kernelcapi.h | 57 +- .../prebuilts/usr/include/linux/kexec.h | 69 +- .../prebuilts/usr/include/linux/keyboard.h | 885 ++--- .../prebuilts/usr/include/linux/keyctl.h | 201 +- .../prebuilts/usr/include/linux/kfd_ioctl.h | 544 ++- linux-5.10/prebuilts/usr/include/linux/kvm.h | 1874 +++++----- .../prebuilts/usr/include/linux/kvm_para.h | 57 +- linux-5.10/prebuilts/usr/include/linux/l2tp.h | 222 +- .../prebuilts/usr/include/linux/libc-compat.h | 161 +- .../prebuilts/usr/include/linux/lightnvm.h | 242 +- .../prebuilts/usr/include/linux/limits.h | 45 +- linux-5.10/prebuilts/usr/include/linux/lirc.h | 217 +- linux-5.10/prebuilts/usr/include/linux/llc.h | 125 +- linux-5.10/prebuilts/usr/include/linux/loop.h | 146 +- linux-5.10/prebuilts/usr/include/linux/lp.h | 73 +- .../prebuilts/usr/include/linux/lwtunnel.h | 141 +- .../prebuilts/usr/include/linux/magic.h | 188 +- .../prebuilts/usr/include/linux/major.h | 305 +- .../usr/include/linux/map_to_7segment.h | 128 +- .../prebuilts/usr/include/linux/matroxfb.h | 59 +- .../prebuilts/usr/include/linux/max2175.h | 29 +- linux-5.10/prebuilts/usr/include/linux/mdio.h | 528 +-- .../usr/include/linux/media-bus-format.h | 241 +- .../prebuilts/usr/include/linux/media.h | 428 ++- linux-5.10/prebuilts/usr/include/linux/mei.h | 57 +- .../prebuilts/usr/include/linux/membarrier.h | 48 +- .../prebuilts/usr/include/linux/memfd.h | 57 +- .../prebuilts/usr/include/linux/mempolicy.h | 69 +- linux-5.10/prebuilts/usr/include/linux/meye.h | 53 +- .../prebuilts/usr/include/linux/mic_common.h | 105 - .../prebuilts/usr/include/linux/mic_ioctl.h | 23 - linux-5.10/prebuilts/usr/include/linux/mii.h | 299 +- .../prebuilts/usr/include/linux/minix_fs.h | 123 +- linux-5.10/prebuilts/usr/include/linux/mman.h | 69 +- .../prebuilts/usr/include/linux/mmc/ioctl.h | 67 +- .../prebuilts/usr/include/linux/mmtimer.h | 23 +- .../prebuilts/usr/include/linux/module.h | 27 +- .../prebuilts/usr/include/linux/mount.h | 154 +- linux-5.10/prebuilts/usr/include/linux/mpls.h | 83 +- .../usr/include/linux/mpls_iptunnel.h | 31 +- .../prebuilts/usr/include/linux/mptcp.h | 149 +- .../prebuilts/usr/include/linux/mqueue.h | 45 +- .../prebuilts/usr/include/linux/mroute.h | 231 +- .../prebuilts/usr/include/linux/mroute6.h | 159 +- .../prebuilts/usr/include/linux/mrp_bridge.h | 189 +- .../prebuilts/usr/include/linux/msdos_fs.h | 271 +- linux-5.10/prebuilts/usr/include/linux/msg.h | 83 +- linux-5.10/prebuilts/usr/include/linux/mtio.h | 246 +- .../prebuilts/usr/include/linux/n_r3964.h | 60 +- .../prebuilts/usr/include/linux/nbd-netlink.h | 93 +- linux-5.10/prebuilts/usr/include/linux/nbd.h | 87 +- linux-5.10/prebuilts/usr/include/linux/ncsi.h | 103 +- .../prebuilts/usr/include/linux/ndctl.h | 256 +- .../prebuilts/usr/include/linux/neighbour.h | 232 +- linux-5.10/prebuilts/usr/include/linux/net.h | 77 +- .../prebuilts/usr/include/linux/net_dropmon.h | 153 +- .../usr/include/linux/net_namespace.h | 41 +- .../prebuilts/usr/include/linux/net_tstamp.h | 154 +- .../prebuilts/usr/include/linux/netconf.h | 53 +- .../prebuilts/usr/include/linux/netdevice.h | 59 +- .../prebuilts/usr/include/linux/netfilter.h | 75 +- .../include/linux/netfilter/ipset/ip_set.h | 424 +-- .../linux/netfilter/ipset/ip_set_bitmap.h | 29 +- .../linux/netfilter/ipset/ip_set_hash.h | 41 +- .../linux/netfilter/ipset/ip_set_list.h | 41 +- .../linux/netfilter/nf_conntrack_common.h | 193 +- .../linux/netfilter/nf_conntrack_ftp.h | 35 +- .../linux/netfilter/nf_conntrack_sctp.h | 45 +- .../linux/netfilter/nf_conntrack_tcp.h | 75 +- .../netfilter/nf_conntrack_tuple_common.h | 70 +- .../usr/include/linux/netfilter/nf_log.h | 39 +- .../usr/include/linux/netfilter/nf_nat.h | 82 +- .../usr/include/linux/netfilter/nf_synproxy.h | 44 +- .../usr/include/linux/netfilter/nf_tables.h | 1642 ++++----- .../linux/netfilter/nf_tables_compat.h | 63 +- .../usr/include/linux/netfilter/nfnetlink.h | 117 +- .../include/linux/netfilter/nfnetlink_acct.h | 71 +- .../linux/netfilter/nfnetlink_compat.h | 85 +- .../linux/netfilter/nfnetlink_conntrack.h | 383 ++- .../linux/netfilter/nfnetlink_cthelper.h | 87 +- .../linux/netfilter/nfnetlink_cttimeout.h | 159 +- .../include/linux/netfilter/nfnetlink_log.h | 151 +- .../include/linux/netfilter/nfnetlink_osf.h | 136 +- .../include/linux/netfilter/nfnetlink_queue.h | 163 +- .../usr/include/linux/netfilter/x_tables.h | 179 +- .../usr/include/linux/netfilter/xt_AUDIT.h | 33 +- .../usr/include/linux/netfilter/xt_CHECKSUM.h | 27 +- .../usr/include/linux/netfilter/xt_CLASSIFY.h | 25 +- .../usr/include/linux/netfilter/xt_CONNMARK.h | 23 +- .../include/linux/netfilter/xt_CONNSECMARK.h | 29 +- .../usr/include/linux/netfilter/xt_CT.h | 65 +- .../usr/include/linux/netfilter/xt_DSCP.h | 29 +- .../usr/include/linux/netfilter/xt_HMARK.h | 93 +- .../include/linux/netfilter/xt_IDLETIMER.h | 45 +- .../usr/include/linux/netfilter/xt_LED.h | 32 +- .../usr/include/linux/netfilter/xt_LOG.h | 43 +- .../usr/include/linux/netfilter/xt_MARK.h | 23 +- .../usr/include/linux/netfilter/xt_NFLOG.h | 44 +- .../usr/include/linux/netfilter/xt_NFQUEUE.h | 47 +- .../usr/include/linux/netfilter/xt_RATEEST.h | 32 +- .../usr/include/linux/netfilter/xt_SECMARK.h | 38 +- .../usr/include/linux/netfilter/xt_SYNPROXY.h | 35 +- .../usr/include/linux/netfilter/xt_TCPMSS.h | 25 +- .../include/linux/netfilter/xt_TCPOPTSTRIP.h | 31 +- .../usr/include/linux/netfilter/xt_TEE.h | 30 +- .../usr/include/linux/netfilter/xt_TPROXY.h | 39 +- .../usr/include/linux/netfilter/xt_addrtype.h | 69 +- .../usr/include/linux/netfilter/xt_bpf.h | 57 +- .../usr/include/linux/netfilter/xt_cgroup.h | 63 +- .../usr/include/linux/netfilter/xt_cluster.h | 35 +- .../usr/include/linux/netfilter/xt_comment.h | 25 +- .../include/linux/netfilter/xt_connbytes.h | 47 +- .../include/linux/netfilter/xt_connlabel.h | 31 +- .../include/linux/netfilter/xt_connlimit.h | 51 +- .../usr/include/linux/netfilter/xt_connmark.h | 45 +- .../include/linux/netfilter/xt_conntrack.h | 117 +- .../usr/include/linux/netfilter/xt_cpu.h | 27 +- .../usr/include/linux/netfilter/xt_dccp.h | 45 +- .../usr/include/linux/netfilter/xt_devgroup.h | 41 +- .../usr/include/linux/netfilter/xt_dscp.h | 39 +- .../usr/include/linux/netfilter/xt_ecn.h | 49 +- .../usr/include/linux/netfilter/xt_esp.h | 31 +- .../include/linux/netfilter/xt_hashlimit.h | 141 +- .../usr/include/linux/netfilter/xt_helper.h | 27 +- .../usr/include/linux/netfilter/xt_ipcomp.h | 33 +- .../usr/include/linux/netfilter/xt_iprange.h | 37 +- .../usr/include/linux/netfilter/xt_ipvs.h | 55 +- .../usr/include/linux/netfilter/xt_l2tp.h | 45 +- .../usr/include/linux/netfilter/xt_length.h | 27 +- .../usr/include/linux/netfilter/xt_limit.h | 36 +- .../usr/include/linux/netfilter/xt_mac.h | 27 +- .../usr/include/linux/netfilter/xt_mark.h | 29 +- .../include/linux/netfilter/xt_multiport.h | 47 +- .../usr/include/linux/netfilter/xt_nfacct.h | 31 +- .../usr/include/linux/netfilter/xt_osf.h | 61 +- .../usr/include/linux/netfilter/xt_owner.h | 42 +- .../usr/include/linux/netfilter/xt_physdev.h | 47 +- .../usr/include/linux/netfilter/xt_pkttype.h | 27 +- .../usr/include/linux/netfilter/xt_policy.h | 93 +- .../usr/include/linux/netfilter/xt_quota.h | 36 +- .../usr/include/linux/netfilter/xt_rateest.h | 64 +- .../usr/include/linux/netfilter/xt_realm.h | 29 +- .../usr/include/linux/netfilter/xt_recent.h | 72 +- .../usr/include/linux/netfilter/xt_rpfilter.h | 39 +- .../usr/include/linux/netfilter/xt_sctp.h | 112 +- .../usr/include/linux/netfilter/xt_set.h | 99 +- .../usr/include/linux/netfilter/xt_socket.h | 39 +- .../usr/include/linux/netfilter/xt_state.h | 27 +- .../include/linux/netfilter/xt_statistic.h | 59 +- .../usr/include/linux/netfilter/xt_string.h | 56 +- .../usr/include/linux/netfilter/xt_tcpmss.h | 27 +- .../usr/include/linux/netfilter/xt_tcpudp.h | 57 +- .../usr/include/linux/netfilter/xt_time.h | 54 +- .../usr/include/linux/netfilter/xt_u32.h | 53 +- .../usr/include/linux/netfilter_arp.h | 35 +- .../include/linux/netfilter_arp/arp_tables.h | 184 +- .../include/linux/netfilter_arp/arpt_mangle.h | 46 +- .../usr/include/linux/netfilter_bridge.h | 55 +- .../linux/netfilter_bridge/ebt_802_3.h | 65 +- .../linux/netfilter_bridge/ebt_among.h | 48 +- .../include/linux/netfilter_bridge/ebt_arp.h | 56 +- .../linux/netfilter_bridge/ebt_arpreply.h | 27 +- .../include/linux/netfilter_bridge/ebt_ip.h | 60 +- .../include/linux/netfilter_bridge/ebt_ip6.h | 59 +- .../linux/netfilter_bridge/ebt_limit.h | 34 +- .../include/linux/netfilter_bridge/ebt_log.h | 29 +- .../linux/netfilter_bridge/ebt_mark_m.h | 29 +- .../linux/netfilter_bridge/ebt_mark_t.h | 30 +- .../include/linux/netfilter_bridge/ebt_nat.h | 30 +- .../linux/netfilter_bridge/ebt_nflog.h | 39 +- .../linux/netfilter_bridge/ebt_pkttype.h | 27 +- .../linux/netfilter_bridge/ebt_redirect.h | 26 +- .../include/linux/netfilter_bridge/ebt_stp.h | 81 +- .../include/linux/netfilter_bridge/ebt_vlan.h | 39 +- .../include/linux/netfilter_bridge/ebtables.h | 294 +- .../usr/include/linux/netfilter_decnet.h | 79 +- .../usr/include/linux/netfilter_ipv4.h | 67 +- .../include/linux/netfilter_ipv4/ip_tables.h | 196 +- .../linux/netfilter_ipv4/ipt_CLUSTERIP.h | 47 +- .../include/linux/netfilter_ipv4/ipt_ECN.h | 47 +- .../include/linux/netfilter_ipv4/ipt_LOG.h | 43 +- .../include/linux/netfilter_ipv4/ipt_REJECT.h | 43 +- .../include/linux/netfilter_ipv4/ipt_TTL.h | 35 +- .../usr/include/linux/netfilter_ipv4/ipt_ah.h | 31 +- .../include/linux/netfilter_ipv4/ipt_ecn.h | 33 +- .../include/linux/netfilter_ipv4/ipt_ttl.h | 35 +- .../usr/include/linux/netfilter_ipv6.h | 65 +- .../include/linux/netfilter_ipv6/ip6_tables.h | 233 +- .../include/linux/netfilter_ipv6/ip6t_HL.h | 35 +- .../include/linux/netfilter_ipv6/ip6t_LOG.h | 43 +- .../include/linux/netfilter_ipv6/ip6t_NPT.h | 34 +- .../linux/netfilter_ipv6/ip6t_REJECT.h | 43 +- .../include/linux/netfilter_ipv6/ip6t_ah.h | 37 +- .../include/linux/netfilter_ipv6/ip6t_frag.h | 49 +- .../include/linux/netfilter_ipv6/ip6t_hl.h | 35 +- .../linux/netfilter_ipv6/ip6t_ipv6header.h | 45 +- .../include/linux/netfilter_ipv6/ip6t_mh.h | 31 +- .../include/linux/netfilter_ipv6/ip6t_opts.h | 43 +- .../include/linux/netfilter_ipv6/ip6t_rt.h | 59 +- .../include/linux/netfilter_ipv6/ip6t_srh.h | 123 +- .../prebuilts/usr/include/linux/netlink.h | 322 +- .../usr/include/linux/netlink_diag.h | 98 +- .../prebuilts/usr/include/linux/netrom.h | 63 +- .../prebuilts/usr/include/linux/nexthop.h | 77 +- linux-5.10/prebuilts/usr/include/linux/nfc.h | 280 +- linux-5.10/prebuilts/usr/include/linux/nfs.h | 229 +- linux-5.10/prebuilts/usr/include/linux/nfs2.h | 113 +- linux-5.10/prebuilts/usr/include/linux/nfs3.h | 166 +- linux-5.10/prebuilts/usr/include/linux/nfs4.h | 243 +- .../prebuilts/usr/include/linux/nfs4_mount.h | 85 +- .../prebuilts/usr/include/linux/nfs_fs.h | 87 +- .../prebuilts/usr/include/linux/nfs_idmap.h | 41 +- .../prebuilts/usr/include/linux/nfs_mount.h | 99 +- .../prebuilts/usr/include/linux/nfsacl.h | 53 +- .../prebuilts/usr/include/linux/nfsd/cld.h | 93 +- .../prebuilts/usr/include/linux/nfsd/debug.h | 49 +- .../prebuilts/usr/include/linux/nfsd/export.h | 71 +- .../prebuilts/usr/include/linux/nfsd/nfsfh.h | 85 +- .../prebuilts/usr/include/linux/nfsd/stats.h | 25 +- .../prebuilts/usr/include/linux/nilfs2_api.h | 242 +- .../usr/include/linux/nilfs2_ondisk.h | 500 ++- .../usr/include/linux/nitro_enclaves.h | 101 +- .../prebuilts/usr/include/linux/nl80211.h | 3058 ++++++++--------- linux-5.10/prebuilts/usr/include/linux/nsfs.h | 33 +- .../prebuilts/usr/include/linux/nubus.h | 256 +- .../prebuilts/usr/include/linux/nvme_ioctl.h | 139 +- .../prebuilts/usr/include/linux/nvram.h | 31 +- .../prebuilts/usr/include/linux/omap3isp.h | 570 ++- .../prebuilts/usr/include/linux/omapfb.h | 281 +- linux-5.10/prebuilts/usr/include/linux/oom.h | 31 +- .../prebuilts/usr/include/linux/openat2.h | 39 +- .../prebuilts/usr/include/linux/openvswitch.h | 748 ++-- .../prebuilts/usr/include/linux/packet_diag.h | 122 +- .../prebuilts/usr/include/linux/param.h | 23 +- .../prebuilts/usr/include/linux/parport.h | 133 +- .../prebuilts/usr/include/linux/patchkey.h | 43 +- linux-5.10/prebuilts/usr/include/linux/pci.h | 39 +- .../prebuilts/usr/include/linux/pci_regs.h | 1813 +++++----- .../prebuilts/usr/include/linux/pcitest.h | 49 +- .../prebuilts/usr/include/linux/perf_event.h | 870 +++-- .../prebuilts/usr/include/linux/personality.h | 97 +- .../prebuilts/usr/include/linux/pfkeyv2.h | 503 +-- linux-5.10/prebuilts/usr/include/linux/pg.h | 51 +- .../prebuilts/usr/include/linux/phantom.h | 63 +- .../prebuilts/usr/include/linux/phonet.h | 193 +- .../prebuilts/usr/include/linux/pidfd.h | 23 +- .../prebuilts/usr/include/linux/pkt_cls.h | 914 ++--- .../prebuilts/usr/include/linux/pkt_sched.h | 1480 ++++---- .../prebuilts/usr/include/linux/pktcdvd.h | 102 +- linux-5.10/prebuilts/usr/include/linux/pmu.h | 188 +- linux-5.10/prebuilts/usr/include/linux/poll.h | 23 +- .../prebuilts/usr/include/linux/posix_acl.h | 47 +- .../usr/include/linux/posix_acl_xattr.h | 35 +- .../prebuilts/usr/include/linux/posix_types.h | 29 +- .../prebuilts/usr/include/linux/ppdev.h | 93 +- .../prebuilts/usr/include/linux/ppp-comp.h | 99 +- .../prebuilts/usr/include/linux/ppp-ioctl.h | 179 +- .../prebuilts/usr/include/linux/ppp_defs.h | 184 +- linux-5.10/prebuilts/usr/include/linux/pps.h | 127 +- linux-5.10/prebuilts/usr/include/linux/pr.h | 77 +- .../prebuilts/usr/include/linux/prctl.h | 283 +- .../prebuilts/usr/include/linux/psample.h | 87 +- linux-5.10/prebuilts/usr/include/linux/psci.h | 159 +- .../prebuilts/usr/include/linux/psp-sev.h | 147 +- .../prebuilts/usr/include/linux/ptp_clock.h | 201 +- .../prebuilts/usr/include/linux/ptrace.h | 181 +- .../prebuilts/usr/include/linux/qemu_fw_cfg.h | 131 +- .../prebuilts/usr/include/linux/qnx4_fs.h | 125 +- .../prebuilts/usr/include/linux/qnxtypes.h | 29 +- linux-5.10/prebuilts/usr/include/linux/qrtr.h | 81 +- .../prebuilts/usr/include/linux/quota.h | 178 +- .../prebuilts/usr/include/linux/radeonfb.h | 31 +- .../prebuilts/usr/include/linux/raid/md_p.h | 455 ++- .../prebuilts/usr/include/linux/raid/md_u.h | 160 +- .../prebuilts/usr/include/linux/random.h | 49 +- linux-5.10/prebuilts/usr/include/linux/raw.h | 36 +- linux-5.10/prebuilts/usr/include/linux/rds.h | 451 +-- .../prebuilts/usr/include/linux/reboot.h | 49 +- .../prebuilts/usr/include/linux/reiserfs_fs.h | 33 +- .../usr/include/linux/reiserfs_xattr.h | 33 +- .../usr/include/linux/remoteproc_cdev.h | 25 +- .../prebuilts/usr/include/linux/resource.h | 89 +- .../prebuilts/usr/include/linux/rfkill.h | 73 +- .../prebuilts/usr/include/linux/rio_cm_cdev.h | 69 +- .../usr/include/linux/rio_mport_cdev.h | 289 +- .../prebuilts/usr/include/linux/romfs_fs.h | 57 +- linux-5.10/prebuilts/usr/include/linux/rose.h | 133 +- .../prebuilts/usr/include/linux/route.h | 75 +- linux-5.10/prebuilts/usr/include/linux/rpl.h | 58 +- .../usr/include/linux/rpl_iptunnel.h | 29 +- .../prebuilts/usr/include/linux/rpmsg.h | 33 +- linux-5.10/prebuilts/usr/include/linux/rseq.h | 89 +- linux-5.10/prebuilts/usr/include/linux/rtc.h | 117 +- .../prebuilts/usr/include/linux/rtnetlink.h | 940 ++--- .../prebuilts/usr/include/linux/rxrpc.h | 151 +- linux-5.10/prebuilts/usr/include/linux/scc.h | 212 +- .../prebuilts/usr/include/linux/sched.h | 137 +- .../prebuilts/usr/include/linux/sched/types.h | 53 +- .../prebuilts/usr/include/linux/scif_ioctl.h | 125 +- .../prebuilts/usr/include/linux/screen_info.h | 128 +- linux-5.10/prebuilts/usr/include/linux/sctp.h | 1130 +++--- linux-5.10/prebuilts/usr/include/linux/sdla.h | 149 +- .../prebuilts/usr/include/linux/seccomp.h | 131 +- .../prebuilts/usr/include/linux/securebits.h | 62 +- .../prebuilts/usr/include/linux/sed-opal.h | 170 +- linux-5.10/prebuilts/usr/include/linux/seg6.h | 63 +- .../prebuilts/usr/include/linux/seg6_genl.h | 57 +- .../prebuilts/usr/include/linux/seg6_hmac.h | 39 +- .../usr/include/linux/seg6_iptunnel.h | 41 +- .../prebuilts/usr/include/linux/seg6_local.h | 100 +- .../usr/include/linux/selinux_netlink.h | 53 +- linux-5.10/prebuilts/usr/include/linux/sem.h | 109 +- .../prebuilts/usr/include/linux/serial.h | 183 +- .../prebuilts/usr/include/linux/serial_core.h | 225 +- .../prebuilts/usr/include/linux/serial_reg.h | 422 +-- .../prebuilts/usr/include/linux/serio.h | 139 +- linux-5.10/prebuilts/usr/include/linux/shm.h | 125 +- .../prebuilts/usr/include/linux/signal.h | 31 +- .../prebuilts/usr/include/linux/signalfd.h | 68 +- linux-5.10/prebuilts/usr/include/linux/smc.h | 49 +- .../prebuilts/usr/include/linux/smc_diag.h | 138 +- .../prebuilts/usr/include/linux/smiapp.h | 33 +- linux-5.10/prebuilts/usr/include/linux/snmp.h | 583 ++-- .../prebuilts/usr/include/linux/sock_diag.h | 89 +- .../prebuilts/usr/include/linux/socket.h | 42 +- .../prebuilts/usr/include/linux/sockios.h | 191 +- .../prebuilts/usr/include/linux/sonet.h | 82 +- .../prebuilts/usr/include/linux/sonypi.h | 201 +- .../prebuilts/usr/include/linux/sound.h | 53 +- .../prebuilts/usr/include/linux/soundcard.h | 1348 ++++---- .../prebuilts/usr/include/linux/spi/spidev.h | 112 +- linux-5.10/prebuilts/usr/include/linux/stat.h | 171 +- .../prebuilts/usr/include/linux/stddef.h | 23 +- linux-5.10/prebuilts/usr/include/linux/stm.h | 48 +- .../prebuilts/usr/include/linux/string.h | 25 +- .../usr/include/linux/sunrpc/debug.h | 65 +- .../usr/include/linux/suspend_ioctls.h | 60 +- linux-5.10/prebuilts/usr/include/linux/swab.h | 203 +- .../usr/include/linux/switchtec_ioctl.h | 234 +- .../prebuilts/usr/include/linux/sync_file.h | 61 +- .../prebuilts/usr/include/linux/synclink.h | 443 +-- .../prebuilts/usr/include/linux/sysctl.h | 1503 ++++---- .../prebuilts/usr/include/linux/sysinfo.h | 53 +- .../usr/include/linux/target_core_user.h | 182 +- .../prebuilts/usr/include/linux/taskstats.h | 187 +- .../usr/include/linux/tc_act/tc_bpf.h | 47 +- .../usr/include/linux/tc_act/tc_connmark.h | 37 +- .../usr/include/linux/tc_act/tc_csum.h | 51 +- .../usr/include/linux/tc_act/tc_ct.h | 71 +- .../usr/include/linux/tc_act/tc_ctinfo.h | 49 +- .../usr/include/linux/tc_act/tc_defact.h | 37 +- .../usr/include/linux/tc_act/tc_gact.h | 53 +- .../usr/include/linux/tc_act/tc_gate.h | 69 +- .../usr/include/linux/tc_act/tc_ife.h | 45 +- .../usr/include/linux/tc_act/tc_ipt.h | 42 +- .../usr/include/linux/tc_act/tc_mirred.h | 39 +- .../usr/include/linux/tc_act/tc_mpls.h | 57 +- .../usr/include/linux/tc_act/tc_nat.h | 43 +- .../usr/include/linux/tc_act/tc_pedit.h | 86 +- .../usr/include/linux/tc_act/tc_sample.h | 41 +- .../usr/include/linux/tc_act/tc_skbedit.h | 59 +- .../usr/include/linux/tc_act/tc_skbmod.h | 49 +- .../usr/include/linux/tc_act/tc_tunnel_key.h | 108 +- .../usr/include/linux/tc_act/tc_vlan.h | 57 +- .../usr/include/linux/tc_ematch/tc_em_cmp.h | 45 +- .../usr/include/linux/tc_ematch/tc_em_ipt.h | 37 +- .../usr/include/linux/tc_ematch/tc_em_meta.h | 155 +- .../usr/include/linux/tc_ematch/tc_em_nbyte.h | 29 +- .../usr/include/linux/tc_ematch/tc_em_text.h | 39 +- linux-5.10/prebuilts/usr/include/linux/tcp.h | 438 ++- .../prebuilts/usr/include/linux/tcp_metrics.h | 88 +- linux-5.10/prebuilts/usr/include/linux/tee.h | 203 +- .../prebuilts/usr/include/linux/termios.h | 44 +- .../prebuilts/usr/include/linux/thermal.h | 137 +- linux-5.10/prebuilts/usr/include/linux/time.h | 83 +- .../prebuilts/usr/include/linux/time_types.h | 49 +- .../prebuilts/usr/include/linux/timerfd.h | 25 +- .../prebuilts/usr/include/linux/times.h | 31 +- .../prebuilts/usr/include/linux/timex.h | 240 +- .../prebuilts/usr/include/linux/tiocl.h | 75 +- linux-5.10/prebuilts/usr/include/linux/tipc.h | 280 +- .../prebuilts/usr/include/linux/tipc_config.h | 308 +- .../usr/include/linux/tipc_netlink.h | 511 +-- .../usr/include/linux/tipc_sockets_diag.h | 31 +- linux-5.10/prebuilts/usr/include/linux/tls.h | 132 +- .../prebuilts/usr/include/linux/toshiba.h | 47 +- linux-5.10/prebuilts/usr/include/linux/tty.h | 82 +- .../prebuilts/usr/include/linux/tty_flags.h | 151 +- .../prebuilts/usr/include/linux/types.h | 32 +- .../prebuilts/usr/include/linux/udf_fs_i.h | 27 +- .../prebuilts/usr/include/linux/udmabuf.h | 51 +- linux-5.10/prebuilts/usr/include/linux/udp.h | 53 +- linux-5.10/prebuilts/usr/include/linux/uhid.h | 211 +- .../prebuilts/usr/include/linux/uinput.h | 112 +- linux-5.10/prebuilts/usr/include/linux/uio.h | 35 +- .../prebuilts/usr/include/linux/uleds.h | 29 +- .../prebuilts/usr/include/linux/ultrasound.h | 101 +- .../usr/include/linux/um_timetravel.h | 59 +- linux-5.10/prebuilts/usr/include/linux/un.h | 29 +- .../prebuilts/usr/include/linux/unistd.h | 23 +- .../prebuilts/usr/include/linux/unix_diag.h | 90 +- .../prebuilts/usr/include/linux/usb/audio.h | 749 ++-- .../prebuilts/usr/include/linux/usb/cdc-wdm.h | 23 +- .../prebuilts/usr/include/linux/usb/cdc.h | 550 +-- .../prebuilts/usr/include/linux/usb/ch11.h | 334 +- .../prebuilts/usr/include/linux/usb/ch9.h | 1151 +++---- .../prebuilts/usr/include/linux/usb/charger.h | 39 +- .../usr/include/linux/usb/f_accessory.h | 67 +- .../usr/include/linux/usb/functionfs.h | 159 +- .../usr/include/linux/usb/g_printer.h | 33 +- .../prebuilts/usr/include/linux/usb/g_uvc.h | 55 +- .../usr/include/linux/usb/gadgetfs.h | 53 +- .../prebuilts/usr/include/linux/usb/midi.h | 129 +- .../usr/include/linux/usb/raw_gadget.h | 130 +- .../prebuilts/usr/include/linux/usb/tmc.h | 173 +- .../prebuilts/usr/include/linux/usb/video.h | 748 ++-- .../usr/include/linux/usbdevice_fs.h | 264 +- .../prebuilts/usr/include/linux/usbip.h | 42 +- .../prebuilts/usr/include/linux/userfaultfd.h | 234 +- .../prebuilts/usr/include/linux/userio.h | 33 +- .../prebuilts/usr/include/linux/utime.h | 27 +- .../prebuilts/usr/include/linux/utsname.h | 55 +- linux-5.10/prebuilts/usr/include/linux/uuid.h | 41 +- .../prebuilts/usr/include/linux/uvcvideo.h | 109 +- .../prebuilts/usr/include/linux/v4l2-common.h | 69 +- .../usr/include/linux/v4l2-controls.h | 1754 +++++----- .../usr/include/linux/v4l2-dv-timings.h | 1052 ++---- .../usr/include/linux/v4l2-mediabus.h | 210 +- .../prebuilts/usr/include/linux/v4l2-subdev.h | 171 +- .../prebuilts/usr/include/linux/vbox_err.h | 295 +- .../usr/include/linux/vbox_vmmdev_types.h | 336 +- .../prebuilts/usr/include/linux/vboxguest.h | 334 +- .../prebuilts/usr/include/linux/version.h | 27 +- linux-5.10/prebuilts/usr/include/linux/veth.h | 31 +- linux-5.10/prebuilts/usr/include/linux/vfio.h | 684 ++-- .../prebuilts/usr/include/linux/vfio_ccw.h | 41 +- .../prebuilts/usr/include/linux/vfio_zdev.h | 67 +- .../prebuilts/usr/include/linux/vhost.h | 65 +- .../prebuilts/usr/include/linux/vhost_types.h | 135 +- .../prebuilts/usr/include/linux/videodev2.h | 2555 +++++++------- .../prebuilts/usr/include/linux/virtio_9p.h | 29 +- .../usr/include/linux/virtio_balloon.h | 93 +- .../prebuilts/usr/include/linux/virtio_blk.h | 169 +- .../usr/include/linux/virtio_config.h | 57 +- .../usr/include/linux/virtio_console.h | 61 +- .../usr/include/linux/virtio_crypto.h | 504 ++- .../prebuilts/usr/include/linux/virtio_fs.h | 29 +- .../prebuilts/usr/include/linux/virtio_gpu.h | 354 +- .../prebuilts/usr/include/linux/virtio_ids.h | 57 +- .../usr/include/linux/virtio_input.h | 81 +- .../usr/include/linux/virtio_iommu.h | 206 +- .../prebuilts/usr/include/linux/virtio_mem.h | 114 +- .../prebuilts/usr/include/linux/virtio_mmio.h | 91 +- .../prebuilts/usr/include/linux/virtio_net.h | 307 +- .../prebuilts/usr/include/linux/virtio_pci.h | 193 +- .../prebuilts/usr/include/linux/virtio_pmem.h | 35 +- .../prebuilts/usr/include/linux/virtio_ring.h | 141 +- .../prebuilts/usr/include/linux/virtio_rng.h | 23 +- .../prebuilts/usr/include/linux/virtio_scsi.h | 191 +- .../usr/include/linux/virtio_types.h | 23 +- .../usr/include/linux/virtio_vsock.h | 75 +- .../prebuilts/usr/include/linux/vm_sockets.h | 44 +- .../usr/include/linux/vm_sockets_diag.h | 57 +- .../prebuilts/usr/include/linux/vmcore.h | 33 +- .../prebuilts/usr/include/linux/vsoc_shm.h | 87 - .../prebuilts/usr/include/linux/vsockmon.h | 56 +- linux-5.10/prebuilts/usr/include/linux/vt.h | 116 +- .../prebuilts/usr/include/linux/vtpm_proxy.h | 41 +- linux-5.10/prebuilts/usr/include/linux/wait.h | 49 +- .../prebuilts/usr/include/linux/wanrouter.h | 15 - .../prebuilts/usr/include/linux/watch_queue.h | 109 +- .../prebuilts/usr/include/linux/watchdog.h | 87 +- .../prebuilts/usr/include/linux/wimax.h | 93 +- .../usr/include/linux/wimax/i2400m.h | 459 +-- .../prebuilts/usr/include/linux/wireguard.h | 96 +- .../prebuilts/usr/include/linux/wireless.h | 822 +++-- linux-5.10/prebuilts/usr/include/linux/wmi.h | 83 +- linux-5.10/prebuilts/usr/include/linux/x25.h | 131 +- .../prebuilts/usr/include/linux/xattr.h | 39 +- .../prebuilts/usr/include/linux/xdp_diag.h | 113 +- linux-5.10/prebuilts/usr/include/linux/xfrm.h | 644 ++-- .../usr/include/linux/xilinx-v4l2-controls.h | 63 +- .../prebuilts/usr/include/linux/zorro.h | 119 +- .../prebuilts/usr/include/linux/zorro_ids.h | 880 ++--- linux-5.10/prebuilts/usr/include/misc/cxl.h | 175 +- .../prebuilts/usr/include/misc/fastrpc.h | 83 +- .../prebuilts/usr/include/misc/habanalabs.h | 920 +++-- linux-5.10/prebuilts/usr/include/misc/ocxl.h | 91 +- .../prebuilts/usr/include/misc/pvpanic.h | 27 +- .../usr/include/misc/uacce/hisi_qm.h | 29 +- .../prebuilts/usr/include/misc/uacce/uacce.h | 33 +- .../prebuilts/usr/include/misc/xilinx_sdfec.h | 153 +- .../prebuilts/usr/include/mtd/inftl-user.h | 113 +- .../prebuilts/usr/include/mtd/mtd-abi.h | 233 +- .../prebuilts/usr/include/mtd/mtd-user.h | 23 +- .../prebuilts/usr/include/mtd/nftl-user.h | 71 +- .../prebuilts/usr/include/mtd/ubi-user.h | 112 +- .../prebuilts/usr/include/rdma/bnxt_re-abi.h | 93 +- .../prebuilts/usr/include/rdma/cxgb3-abi.h | 39 - .../prebuilts/usr/include/rdma/cxgb4-abi.h | 104 +- .../prebuilts/usr/include/rdma/efa-abi.h | 138 +- .../usr/include/rdma/hfi/hfi1_ioctl.h | 129 +- .../usr/include/rdma/hfi/hfi1_user.h | 174 +- .../prebuilts/usr/include/rdma/hns-abi.h | 67 +- .../prebuilts/usr/include/rdma/i40iw-abi.h | 92 +- .../prebuilts/usr/include/rdma/ib_user_cm.h | 255 -- .../usr/include/rdma/ib_user_ioctl_cmds.h | 372 +- .../usr/include/rdma/ib_user_ioctl_verbs.h | 287 +- .../prebuilts/usr/include/rdma/ib_user_mad.h | 135 +- .../prebuilts/usr/include/rdma/ib_user_sa.h | 81 +- .../usr/include/rdma/ib_user_verbs.h | 1678 +++++---- .../prebuilts/usr/include/rdma/mlx4-abi.h | 158 +- .../prebuilts/usr/include/rdma/mlx5-abi.h | 529 +-- .../usr/include/rdma/mlx5_user_ioctl_cmds.h | 280 +- .../usr/include/rdma/mlx5_user_ioctl_verbs.h | 65 +- .../prebuilts/usr/include/rdma/mthca-abi.h | 81 +- .../prebuilts/usr/include/rdma/nes-abi.h | 63 - .../prebuilts/usr/include/rdma/ocrdma-abi.h | 155 +- .../prebuilts/usr/include/rdma/qedr-abi.h | 164 +- .../prebuilts/usr/include/rdma/rdma_netlink.h | 535 ++- .../prebuilts/usr/include/rdma/rdma_user_cm.h | 366 +- .../usr/include/rdma/rdma_user_ioctl.h | 59 +- .../usr/include/rdma/rdma_user_ioctl_cmds.h | 80 +- .../usr/include/rdma/rdma_user_rxe.h | 215 +- .../prebuilts/usr/include/rdma/rvt-abi.h | 56 +- .../prebuilts/usr/include/rdma/siw-abi.h | 214 +- .../usr/include/rdma/vmw_pvrdma-abi.h | 391 +-- .../usr/include/scsi/cxlflash_ioctl.h | 297 +- .../prebuilts/usr/include/scsi/fc/fc_els.h | 1076 +++--- .../prebuilts/usr/include/scsi/fc/fc_fs.h | 385 +-- .../prebuilts/usr/include/scsi/fc/fc_gs.h | 94 +- .../prebuilts/usr/include/scsi/fc/fc_ns.h | 157 +- .../prebuilts/usr/include/scsi/scsi_bsg_fc.h | 156 +- .../prebuilts/usr/include/scsi/scsi_bsg_ufs.h | 75 +- .../prebuilts/usr/include/scsi/scsi_netlink.h | 81 +- .../usr/include/scsi/scsi_netlink_fc.h | 45 +- .../prebuilts/usr/include/sound/asequencer.h | 690 ++-- linux-5.10/prebuilts/usr/include/sound/asoc.h | 652 ++-- .../prebuilts/usr/include/sound/asound.h | 1556 +++++---- .../prebuilts/usr/include/sound/asound_fm.h | 140 +- .../usr/include/sound/compress_offload.h | 116 +- .../usr/include/sound/compress_params.h | 407 +-- .../prebuilts/usr/include/sound/emu10k1.h | 568 +-- .../prebuilts/usr/include/sound/firewire.h | 129 +- linux-5.10/prebuilts/usr/include/sound/hdsp.h | 106 +- .../prebuilts/usr/include/sound/hdspm.h | 200 +- .../prebuilts/usr/include/sound/sb16_csp.h | 118 +- .../prebuilts/usr/include/sound/sfnt_info.h | 240 +- .../usr/include/sound/skl-tplg-interface.h | 269 +- .../usr/include/sound/snd_sst_tokens.h | 181 +- .../prebuilts/usr/include/sound/sof/abi.h | 56 +- .../prebuilts/usr/include/sound/sof/fw.h | 90 +- .../prebuilts/usr/include/sound/sof/header.h | 37 +- .../prebuilts/usr/include/sound/sof/tokens.h | 153 +- linux-5.10/prebuilts/usr/include/sound/tlv.h | 110 +- .../prebuilts/usr/include/sound/usb_stream.h | 90 +- linux-5.10/prebuilts/usr/include/video/edid.h | 25 +- .../prebuilts/usr/include/video/sisfb.h | 223 +- .../prebuilts/usr/include/video/uvesafb.h | 103 +- linux-5.10/prebuilts/usr/include/xen/evtchn.h | 56 +- .../prebuilts/usr/include/xen/gntalloc.h | 67 +- linux-5.10/prebuilts/usr/include/xen/gntdev.h | 188 +- .../prebuilts/usr/include/xen/privcmd.h | 105 +- 1100 files changed, 88204 insertions(+), 83522 deletions(-) delete mode 100644 linux-5.10/prebuilts/usr/include/Kbuild delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/asm/Kbuild delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bitsperlong.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bpf_perf_event.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/errno.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ioctl.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ipcbuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/kvm_para.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/msgbuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/param.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/poll.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/resource.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sembuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/shmbuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/siginfo.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/socket.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sockios.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termbits.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termios.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-common.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-eabi.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-oabi.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-arm64/asm/sve_context.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm-generic/Kbuild delete mode 100644 linux-5.10/prebuilts/usr/include/asm-generic/shmparam.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/a.out.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/auxvec.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/bitsperlong.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/boot.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/bootparam.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/bpf_perf_event.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/byteorder.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/debugreg.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/e820.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/errno.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/fcntl.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/hw_breakpoint.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/hwcap2.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ioctl.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ioctls.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ipcbuf.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ist.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/kvm.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/kvm_para.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/kvm_perf.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ldt.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/mce.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/mman.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/msgbuf.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/msr.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/mtrr.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/param.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/perf_regs.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/poll.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/posix_types.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/posix_types_32.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/posix_types_64.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/posix_types_x32.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/prctl.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/processor-flags.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ptrace-abi.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ptrace.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/resource.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/sembuf.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/setup.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/shmbuf.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/sigcontext.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/sigcontext32.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/siginfo.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/signal.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/socket.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/sockios.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/stat.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/statfs.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/svm.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/swab.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/termbits.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/termios.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/types.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/ucontext.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/unistd.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/unistd_32.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/unistd_64.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/unistd_x32.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/vm86.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/vmx.h create mode 100644 linux-5.10/prebuilts/usr/include/asm-x86/asm/vsyscall.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/auxvec.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/bitsperlong.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/bpf_perf_event.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/byteorder.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/errno.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/fcntl.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/hwcap.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/ioctl.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/ioctls.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/ipcbuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/kvm_para.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/mman.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/msgbuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/param.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/perf_regs.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/poll.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/posix_types.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/ptrace.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/resource.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/sembuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/setup.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/shmbuf.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/sigcontext.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/siginfo.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/signal.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/socket.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/sockios.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/stat.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/statfs.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/swab.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/termbits.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/termios.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/types.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/unistd-common.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/unistd-eabi.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/unistd-oabi.h delete mode 100644 linux-5.10/prebuilts/usr/include/asm/unistd.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/b1lli.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/coda_psdev.h create mode 100644 linux-5.10/prebuilts/usr/include/linux/dm-user.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/elfcore.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/f2fs.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/flat.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/gigaset_dev.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/hysdn_if.h create mode 100644 linux-5.10/prebuilts/usr/include/linux/incrementalfs.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/ion.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/isdn.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/isdn_divertif.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/isdn_ppp.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/isdnif.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/mic_common.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/mic_ioctl.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/vsoc_shm.h delete mode 100644 linux-5.10/prebuilts/usr/include/linux/wanrouter.h delete mode 100644 linux-5.10/prebuilts/usr/include/rdma/cxgb3-abi.h delete mode 100644 linux-5.10/prebuilts/usr/include/rdma/ib_user_cm.h delete mode 100644 linux-5.10/prebuilts/usr/include/rdma/nes-abi.h diff --git a/linux-5.10/hi3516dv300_patch/hi3516dv300.patch b/linux-5.10/hi3516dv300_patch/hi3516dv300.patch index 74a9cf7..72c0b8f 100644 --- a/linux-5.10/hi3516dv300_patch/hi3516dv300.patch +++ b/linux-5.10/hi3516dv300_patch/hi3516dv300.patch @@ -59245,22 +59245,6 @@ index b08d936d5fa7..1a62975c6a64 100644 if (!chan->buf) { kfree(chan); return NULL; -diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c -index 2919f1698140..8947dfd00246 100644 ---- a/lib/vdso/gettimeofday.c -+++ b/lib/vdso/gettimeofday.c -@@ -253,9 +253,10 @@ __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, - struct __kernel_timespec *ts) - { - int ret = __cvdso_clock_gettime_common(vd, clock, ts); -- -+ /* - if (unlikely(ret)) - return clock_gettime_fallback(clock, ts); -+ */ - return 0; - } - diff --git a/mm/init-mm.c b/mm/init-mm.c index 153162669f80..6382b3b6ba39 100644 --- a/mm/init-mm.c diff --git a/linux-5.10/prebuilts/usr/include/Kbuild b/linux-5.10/prebuilts/usr/include/Kbuild deleted file mode 100644 index 61ee6e5..0000000 --- a/linux-5.10/prebuilts/usr/include/Kbuild +++ /dev/null @@ -1,14 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/a.out.h),) -no-export-headers += linux/a.out.h -endif - -ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm.h),) -no-export-headers += linux/kvm.h -endif - -ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm_para.h),) -ifeq ($(wildcard $(objtree)/arch/$(SRCARCH)/include/generated/uapi/asm/kvm_para.h),) -no-export-headers += linux/kvm_para.h -endif -endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/Kbuild b/linux-5.10/prebuilts/usr/include/asm-arm/asm/Kbuild deleted file mode 100644 index ce85731..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/Kbuild +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -generated-y += unistd-common.h -generated-y += unistd-oabi.h -generated-y += unistd-eabi.h -generic-y += kvm_para.h diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/auxvec.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/auxvec.h index 7416f18..ae03ed3 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/auxvec.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/auxvec.h @@ -1,9 +1,22 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_AUXVEC_H #define __ASM_AUXVEC_H -#define AT_SYSINFO_EHDR 33 +#define AT_SYSINFO_EHDR 33 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/bitsperlong.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/bitsperlong.h index 3c87a8d..5dc5060 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/bitsperlong.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/bitsperlong.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/bpf_perf_event.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/bpf_perf_event.h index 5cef26b..fa7bc48 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/bpf_perf_event.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/bpf_perf_event.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/byteorder.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/byteorder.h index e419075..a253654 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/byteorder.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/byteorder.h @@ -1,13 +1,22 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_ARM_BYTEORDER_H #define __ASM_ARM_BYTEORDER_H -#if 0 -#include -#else #include #endif -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/errno.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/errno.h index c1081c8..392cd94 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/errno.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/errno.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/fcntl.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/fcntl.h index 6004fa7..f2f14c3 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/fcntl.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/fcntl.h @@ -1,13 +1,26 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ARM_FCNTL_H #define _ARM_FCNTL_H -#define O_DIRECTORY 040000 -#define O_NOFOLLOW 0100000 -#define O_DIRECT 0200000 -#define O_LARGEFILE 0400000 +#define O_DIRECTORY 040000 +#define O_NOFOLLOW 0100000 +#define O_DIRECT 0200000 +#define O_LARGEFILE 0400000 #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/hwcap.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/hwcap.h index c433f09..fdc5405 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/hwcap.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/hwcap.h @@ -1,36 +1,49 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASMARM_HWCAP_H #define _UAPI__ASMARM_HWCAP_H -#define HWCAP_SWP (1 << 0) -#define HWCAP_HALF (1 << 1) -#define HWCAP_THUMB (1 << 2) -#define HWCAP_26BIT (1 << 3) -#define HWCAP_FAST_MULT (1 << 4) -#define HWCAP_FPA (1 << 5) -#define HWCAP_VFP (1 << 6) -#define HWCAP_EDSP (1 << 7) -#define HWCAP_JAVA (1 << 8) -#define HWCAP_IWMMXT (1 << 9) -#define HWCAP_CRUNCH (1 << 10) -#define HWCAP_THUMBEE (1 << 11) -#define HWCAP_NEON (1 << 12) -#define HWCAP_VFPv3 (1 << 13) -#define HWCAP_VFPv3D16 (1 << 14) -#define HWCAP_TLS (1 << 15) -#define HWCAP_VFPv4 (1 << 16) -#define HWCAP_IDIVA (1 << 17) -#define HWCAP_IDIVT (1 << 18) -#define HWCAP_VFPD32 (1 << 19) -#define HWCAP_IDIV (HWCAP_IDIVA | HWCAP_IDIVT) -#define HWCAP_LPAE (1 << 20) -#define HWCAP_EVTSTRM (1 << 21) -#define HWCAP2_AES (1 << 0) -#define HWCAP2_PMULL (1 << 1) -#define HWCAP2_SHA1 (1 << 2) -#define HWCAP2_SHA2 (1 << 3) -#define HWCAP2_CRC32 (1 << 4) +#define HWCAP_SWP (1 << 0) +#define HWCAP_HALF (1 << 1) +#define HWCAP_THUMB (1 << 2) +#define HWCAP_26BIT (1 << 3) +#define HWCAP_FAST_MULT (1 << 4) +#define HWCAP_FPA (1 << 5) +#define HWCAP_VFP (1 << 6) +#define HWCAP_EDSP (1 << 7) +#define HWCAP_JAVA (1 << 8) +#define HWCAP_IWMMXT (1 << 9) +#define HWCAP_CRUNCH (1 << 10) +#define HWCAP_THUMBEE (1 << 11) +#define HWCAP_NEON (1 << 12) +#define HWCAP_VFPv3 (1 << 13) +#define HWCAP_VFPv3D16 (1 << 14) +#define HWCAP_TLS (1 << 15) +#define HWCAP_VFPv4 (1 << 16) +#define HWCAP_IDIVA (1 << 17) +#define HWCAP_IDIVT (1 << 18) +#define HWCAP_VFPD32 (1 << 19) +#define HWCAP_IDIV (HWCAP_IDIVA | HWCAP_IDIVT) +#define HWCAP_LPAE (1 << 20) +#define HWCAP_EVTSTRM (1 << 21) +#define HWCAP2_AES (1 << 0) +#define HWCAP2_PMULL (1 << 1) +#define HWCAP2_SHA1 (1 << 2) +#define HWCAP2_SHA2 (1 << 3) +#define HWCAP2_CRC32 (1 << 4) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctl.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctl.h index 32a259f..7b7bd37 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctl.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctl.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctls.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctls.h index 2d824e1..e83b2cc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctls.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ioctls.h @@ -1,10 +1,23 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_ARM_IOCTLS_H #define __ASM_ARM_IOCTLS_H -#define FIOQSIZE 0x545E +#define FIOQSIZE 0x545E #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ipcbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ipcbuf.h index d0004a4..0021f14 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ipcbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ipcbuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm.h deleted file mode 100644 index 7ce7f3a..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm.h +++ /dev/null @@ -1,203 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ARM_KVM_H__ -#define __ARM_KVM_H__ -#include -#include -#include -#define __KVM_HAVE_GUEST_DEBUG -#define __KVM_HAVE_IRQ_LINE -#define __KVM_HAVE_READONLY_MEM -#define __KVM_HAVE_VCPU_EVENTS -#define KVM_COALESCED_MMIO_PAGE_OFFSET 1 -#define KVM_REG_SIZE(id) \ - (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) -#define KVM_ARM_SVC_sp svc_regs[0] -#define KVM_ARM_SVC_lr svc_regs[1] -#define KVM_ARM_SVC_spsr svc_regs[2] -#define KVM_ARM_ABT_sp abt_regs[0] -#define KVM_ARM_ABT_lr abt_regs[1] -#define KVM_ARM_ABT_spsr abt_regs[2] -#define KVM_ARM_UND_sp und_regs[0] -#define KVM_ARM_UND_lr und_regs[1] -#define KVM_ARM_UND_spsr und_regs[2] -#define KVM_ARM_IRQ_sp irq_regs[0] -#define KVM_ARM_IRQ_lr irq_regs[1] -#define KVM_ARM_IRQ_spsr irq_regs[2] -#define KVM_ARM_FIQ_r8 fiq_regs[0] -#define KVM_ARM_FIQ_r9 fiq_regs[1] -#define KVM_ARM_FIQ_r10 fiq_regs[2] -#define KVM_ARM_FIQ_fp fiq_regs[3] -#define KVM_ARM_FIQ_ip fiq_regs[4] -#define KVM_ARM_FIQ_sp fiq_regs[5] -#define KVM_ARM_FIQ_lr fiq_regs[6] -#define KVM_ARM_FIQ_spsr fiq_regs[7] -struct kvm_regs { - struct pt_regs usr_regs; - unsigned long svc_regs[3]; - unsigned long abt_regs[3]; - unsigned long und_regs[3]; - unsigned long irq_regs[3]; - unsigned long fiq_regs[8]; -}; -#define KVM_ARM_TARGET_CORTEX_A15 0 -#define KVM_ARM_TARGET_CORTEX_A7 1 -#define KVM_ARM_NUM_TARGETS 2 -#define KVM_ARM_DEVICE_TYPE_SHIFT 0 -#define KVM_ARM_DEVICE_TYPE_MASK (0xffff << KVM_ARM_DEVICE_TYPE_SHIFT) -#define KVM_ARM_DEVICE_ID_SHIFT 16 -#define KVM_ARM_DEVICE_ID_MASK (0xffff << KVM_ARM_DEVICE_ID_SHIFT) -#define KVM_ARM_DEVICE_VGIC_V2 0 -#define KVM_VGIC_V2_ADDR_TYPE_DIST 0 -#define KVM_VGIC_V2_ADDR_TYPE_CPU 1 -#define KVM_VGIC_V2_DIST_SIZE 0x1000 -#define KVM_VGIC_V2_CPU_SIZE 0x2000 -#define KVM_VGIC_V3_ADDR_TYPE_DIST 2 -#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3 -#define KVM_VGIC_ITS_ADDR_TYPE 4 -#define KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION 5 -#define KVM_VGIC_V3_DIST_SIZE SZ_64K -#define KVM_VGIC_V3_REDIST_SIZE (2 * SZ_64K) -#define KVM_VGIC_V3_ITS_SIZE (2 * SZ_64K) -#define KVM_ARM_VCPU_POWER_OFF 0 -#define KVM_ARM_VCPU_PSCI_0_2 1 -struct kvm_vcpu_init { - __u32 target; - __u32 features[7]; -}; -struct kvm_sregs { -}; -struct kvm_fpu { -}; -struct kvm_guest_debug_arch { -}; -struct kvm_debug_exit_arch { -}; -struct kvm_sync_regs { - - __u64 device_irq_level; -}; -struct kvm_arch_memory_slot { -}; -struct kvm_vcpu_events { - struct { - __u8 serror_pending; - __u8 serror_has_esr; - - __u8 pad[6]; - __u64 serror_esr; - } exception; - __u32 reserved[12]; -}; -#define KVM_REG_ARM_COPROC_MASK 0x000000000FFF0000 -#define KVM_REG_ARM_COPROC_SHIFT 16 -#define KVM_REG_ARM_32_OPC2_MASK 0x0000000000000007 -#define KVM_REG_ARM_32_OPC2_SHIFT 0 -#define KVM_REG_ARM_OPC1_MASK 0x0000000000000078 -#define KVM_REG_ARM_OPC1_SHIFT 3 -#define KVM_REG_ARM_CRM_MASK 0x0000000000000780 -#define KVM_REG_ARM_CRM_SHIFT 7 -#define KVM_REG_ARM_32_CRN_MASK 0x0000000000007800 -#define KVM_REG_ARM_32_CRN_SHIFT 11 -#define KVM_REG_ARM_SECURE_MASK 0x0000000010000000 -#define KVM_REG_ARM_SECURE_SHIFT 28 -#define ARM_CP15_REG_SHIFT_MASK(x,n) \ - (((x) << KVM_REG_ARM_ ## n ## _SHIFT) & KVM_REG_ARM_ ## n ## _MASK) -#define __ARM_CP15_REG(op1,crn,crm,op2) \ - (KVM_REG_ARM | (15 << KVM_REG_ARM_COPROC_SHIFT) | \ - ARM_CP15_REG_SHIFT_MASK(op1, OPC1) | \ - ARM_CP15_REG_SHIFT_MASK(crn, 32_CRN) | \ - ARM_CP15_REG_SHIFT_MASK(crm, CRM) | \ - ARM_CP15_REG_SHIFT_MASK(op2, 32_OPC2)) -#define ARM_CP15_REG32(...) (__ARM_CP15_REG(__VA_ARGS__) | KVM_REG_SIZE_U32) -#define __ARM_CP15_REG64(op1,crm) \ - (__ARM_CP15_REG(op1, 0, crm, 0) | KVM_REG_SIZE_U64) -#define ARM_CP15_REG64(...) __ARM_CP15_REG64(__VA_ARGS__) -#define KVM_REG_ARM_PTIMER_CTL ARM_CP15_REG32(0, 14, 2, 1) -#define KVM_REG_ARM_PTIMER_CNT ARM_CP15_REG64(0, 14) -#define KVM_REG_ARM_PTIMER_CVAL ARM_CP15_REG64(2, 14) -#define KVM_REG_ARM_TIMER_CTL ARM_CP15_REG32(0, 14, 3, 1) -#define KVM_REG_ARM_TIMER_CNT ARM_CP15_REG64(1, 14) -#define KVM_REG_ARM_TIMER_CVAL ARM_CP15_REG64(3, 14) -#define KVM_REG_ARM_CORE (0x0010 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / 4) -#define KVM_REG_ARM_DEMUX (0x0011 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_DEMUX_ID_MASK 0x000000000000FF00 -#define KVM_REG_ARM_DEMUX_ID_SHIFT 8 -#define KVM_REG_ARM_DEMUX_ID_CCSIDR (0x00 << KVM_REG_ARM_DEMUX_ID_SHIFT) -#define KVM_REG_ARM_DEMUX_VAL_MASK 0x00000000000000FF -#define KVM_REG_ARM_DEMUX_VAL_SHIFT 0 -#define KVM_REG_ARM_VFP (0x0012 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_VFP_MASK 0x000000000000FFFF -#define KVM_REG_ARM_VFP_BASE_REG 0x0 -#define KVM_REG_ARM_VFP_FPSID 0x1000 -#define KVM_REG_ARM_VFP_FPSCR 0x1001 -#define KVM_REG_ARM_VFP_MVFR1 0x1006 -#define KVM_REG_ARM_VFP_MVFR0 0x1007 -#define KVM_REG_ARM_VFP_FPEXC 0x1008 -#define KVM_REG_ARM_VFP_FPINST 0x1009 -#define KVM_REG_ARM_VFP_FPINST2 0x100A -#define KVM_REG_ARM_FW (0x0014 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_FW_REG(r) (KVM_REG_ARM | KVM_REG_SIZE_U64 | \ - KVM_REG_ARM_FW | ((r) & 0xffff)) -#define KVM_REG_ARM_PSCI_VERSION KVM_REG_ARM_FW_REG(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 -#define KVM_DEV_ARM_VGIC_CPUID_SHIFT 32 -#define KVM_DEV_ARM_VGIC_CPUID_MASK (0xffULL << KVM_DEV_ARM_VGIC_CPUID_SHIFT) -#define KVM_DEV_ARM_VGIC_V3_MPIDR_SHIFT 32 -#define KVM_DEV_ARM_VGIC_V3_MPIDR_MASK \ - (0xffffffffULL << KVM_DEV_ARM_VGIC_V3_MPIDR_SHIFT) -#define KVM_DEV_ARM_VGIC_OFFSET_SHIFT 0 -#define KVM_DEV_ARM_VGIC_OFFSET_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_OFFSET_SHIFT) -#define KVM_DEV_ARM_VGIC_SYSREG_INSTR_MASK (0xffff) -#define KVM_DEV_ARM_VGIC_GRP_NR_IRQS 3 -#define KVM_DEV_ARM_VGIC_GRP_CTRL 4 -#define KVM_DEV_ARM_VGIC_GRP_REDIST_REGS 5 -#define KVM_DEV_ARM_VGIC_GRP_CPU_SYSREGS 6 -#define KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO 7 -#define KVM_DEV_ARM_VGIC_GRP_ITS_REGS 8 -#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT 10 -#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_MASK \ - (0x3fffffULL << KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT) -#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INTID_MASK 0x3ff -#define VGIC_LEVEL_INFO_LINE_LEVEL 0 -#define KVM_ARM_VCPU_PMU_V3_CTRL 0 -#define KVM_ARM_VCPU_PMU_V3_IRQ 0 -#define KVM_ARM_VCPU_PMU_V3_INIT 1 -#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_DEV_ARM_VGIC_CTRL_INIT 0 -#define KVM_DEV_ARM_ITS_SAVE_TABLES 1 -#define KVM_DEV_ARM_ITS_RESTORE_TABLES 2 -#define KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES 3 -#define KVM_DEV_ARM_ITS_CTRL_RESET 4 -#define KVM_ARM_IRQ_TYPE_SHIFT 24 -#define KVM_ARM_IRQ_TYPE_MASK 0xff -#define KVM_ARM_IRQ_VCPU_SHIFT 16 -#define KVM_ARM_IRQ_VCPU_MASK 0xff -#define KVM_ARM_IRQ_NUM_SHIFT 0 -#define KVM_ARM_IRQ_NUM_MASK 0xffff -#define KVM_ARM_IRQ_TYPE_CPU 0 -#define KVM_ARM_IRQ_TYPE_SPI 1 -#define KVM_ARM_IRQ_TYPE_PPI 2 -#define KVM_ARM_IRQ_CPU_IRQ 0 -#define KVM_ARM_IRQ_CPU_FIQ 1 -#define KVM_ARM_IRQ_GIC_MAX 127 -#define KVM_NR_IRQCHIPS 1 -#define KVM_PSCI_FN_BASE 0x95c1ba5e -#define KVM_PSCI_FN(n) (KVM_PSCI_FN_BASE + (n)) -#define KVM_PSCI_FN_CPU_SUSPEND KVM_PSCI_FN(0) -#define KVM_PSCI_FN_CPU_OFF KVM_PSCI_FN(1) -#define KVM_PSCI_FN_CPU_ON KVM_PSCI_FN(2) -#define KVM_PSCI_FN_MIGRATE KVM_PSCI_FN(3) -#define KVM_PSCI_RET_SUCCESS PSCI_RET_SUCCESS -#define KVM_PSCI_RET_NI PSCI_RET_NOT_SUPPORTED -#define KVM_PSCI_RET_INVAL PSCI_RET_INVALID_PARAMS -#define KVM_PSCI_RET_DENIED PSCI_RET_DENIED -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm_para.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm_para.h index c74c294..e19f7a0 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm_para.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/kvm_para.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/mman.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/mman.h index 65a6a5c..ec9453d 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/mman.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/mman.h @@ -1,8 +1,20 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include -#define arch_mmap_check(addr, len, flags) \ - (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0) +#define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0) diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/msgbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/msgbuf.h index a361e7c..7809e3c 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/msgbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/msgbuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/param.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/param.h index 67e7728..5ccf935 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/param.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/param.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/perf_regs.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/perf_regs.h index 1f7361c..ea2ff81 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/perf_regs.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/perf_regs.h @@ -1,27 +1,40 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_ARM_PERF_REGS_H #define _ASM_ARM_PERF_REGS_H enum perf_event_arm_regs { - PERF_REG_ARM_R0, - PERF_REG_ARM_R1, - PERF_REG_ARM_R2, - PERF_REG_ARM_R3, - PERF_REG_ARM_R4, - PERF_REG_ARM_R5, - PERF_REG_ARM_R6, - PERF_REG_ARM_R7, - PERF_REG_ARM_R8, - PERF_REG_ARM_R9, - PERF_REG_ARM_R10, - PERF_REG_ARM_FP, - PERF_REG_ARM_IP, - PERF_REG_ARM_SP, - PERF_REG_ARM_LR, - PERF_REG_ARM_PC, - PERF_REG_ARM_MAX, + PERF_REG_ARM_R0, + PERF_REG_ARM_R1, + PERF_REG_ARM_R2, + PERF_REG_ARM_R3, + PERF_REG_ARM_R4, + PERF_REG_ARM_R5, + PERF_REG_ARM_R6, + PERF_REG_ARM_R7, + PERF_REG_ARM_R8, + PERF_REG_ARM_R9, + PERF_REG_ARM_R10, + PERF_REG_ARM_FP, + PERF_REG_ARM_IP, + PERF_REG_ARM_SP, + PERF_REG_ARM_LR, + PERF_REG_ARM_PC, + PERF_REG_ARM_MAX, }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/poll.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/poll.h index 93f531d..d7e8adc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/poll.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/poll.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/posix_types.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/posix_types.h index 8ba2dc2..ff5138b 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/posix_types.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/posix_types.h @@ -1,18 +1,31 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ARCH_ARM_POSIX_TYPES_H #define __ARCH_ARM_POSIX_TYPES_H -typedef unsigned short __kernel_mode_t; +typedef unsigned short __kernel_mode_t; #define __kernel_mode_t __kernel_mode_t -typedef unsigned short __kernel_ipc_pid_t; +typedef unsigned short __kernel_ipc_pid_t; #define __kernel_ipc_pid_t __kernel_ipc_pid_t -typedef unsigned short __kernel_uid_t; -typedef unsigned short __kernel_gid_t; +typedef unsigned short __kernel_uid_t; +typedef unsigned short __kernel_gid_t; #define __kernel_uid_t __kernel_uid_t -typedef unsigned short __kernel_old_dev_t; +typedef unsigned short __kernel_old_dev_t; #define __kernel_old_dev_t __kernel_old_dev_t #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ptrace.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ptrace.h index 13fdbe4..b0291dc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/ptrace.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/ptrace.h @@ -1,106 +1,104 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_ARM_PTRACE_H #define _UAPI__ASM_ARM_PTRACE_H #include -#define PTRACE_GETREGS 12 -#define PTRACE_SETREGS 13 -#define PTRACE_GETFPREGS 14 -#define PTRACE_SETFPREGS 15 -#define PTRACE_GETWMMXREGS 18 -#define PTRACE_SETWMMXREGS 19 -#define PTRACE_OLDSETOPTIONS 21 -#define PTRACE_GET_THREAD_AREA 22 -#define PTRACE_SET_SYSCALL 23 -#define PTRACE_GETCRUNCHREGS 25 -#define PTRACE_SETCRUNCHREGS 26 -#define PTRACE_GETVFPREGS 27 -#define PTRACE_SETVFPREGS 28 -#define PTRACE_GETHBPREGS 29 -#define PTRACE_SETHBPREGS 30 -#define PTRACE_GETFDPIC 31 -#define PTRACE_GETFDPIC_EXEC 0 -#define PTRACE_GETFDPIC_INTERP 1 -#define USR26_MODE 0x00000000 -#define FIQ26_MODE 0x00000001 -#define IRQ26_MODE 0x00000002 -#define SVC26_MODE 0x00000003 -#if defined(__KERNEL__) && defined(CONFIG_CPU_V7M) -#define USR_MODE 0x00000000 -#define SVC_MODE 0x00000000 -#else -#define USR_MODE 0x00000010 -#define SVC_MODE 0x00000013 -#endif -#define FIQ_MODE 0x00000011 -#define IRQ_MODE 0x00000012 -#define MON_MODE 0x00000016 -#define ABT_MODE 0x00000017 -#define HYP_MODE 0x0000001a -#define UND_MODE 0x0000001b -#define SYSTEM_MODE 0x0000001f -#define MODE32_BIT 0x00000010 -#define MODE_MASK 0x0000001f -#define V4_PSR_T_BIT 0x00000020 -#define V7M_PSR_T_BIT 0x01000000 -#if defined(__KERNEL__) && defined(CONFIG_CPU_V7M) -#define PSR_T_BIT V7M_PSR_T_BIT -#else -#define PSR_T_BIT V4_PSR_T_BIT -#endif -#define PSR_F_BIT 0x00000040 -#define PSR_I_BIT 0x00000080 -#define PSR_A_BIT 0x00000100 -#define PSR_E_BIT 0x00000200 -#define PSR_J_BIT 0x01000000 -#define PSR_Q_BIT 0x08000000 -#define PSR_V_BIT 0x10000000 -#define PSR_C_BIT 0x20000000 -#define PSR_Z_BIT 0x40000000 -#define PSR_N_BIT 0x80000000 -#define PSR_f 0xff000000 -#define PSR_s 0x00ff0000 -#define PSR_x 0x0000ff00 -#define PSR_c 0x000000ff -#define APSR_MASK 0xf80f0000 -#define PSR_ISET_MASK 0x01000010 -#define PSR_IT_MASK 0x0600fc00 -#define PSR_ENDIAN_MASK 0x00000200 -#ifdef CONFIG_CPU_ENDIAN_BE8 -#define PSR_ENDSTATE PSR_E_BIT -#else -#define PSR_ENDSTATE 0 -#endif -#define PT_TEXT_ADDR 0x10000 -#define PT_DATA_ADDR 0x10004 -#define PT_TEXT_END_ADDR 0x10008 +#define PTRACE_GETREGS 12 +#define PTRACE_SETREGS 13 +#define PTRACE_GETFPREGS 14 +#define PTRACE_SETFPREGS 15 +#define PTRACE_GETWMMXREGS 18 +#define PTRACE_SETWMMXREGS 19 +#define PTRACE_OLDSETOPTIONS 21 +#define PTRACE_GET_THREAD_AREA 22 +#define PTRACE_SET_SYSCALL 23 +#define PTRACE_GETCRUNCHREGS 25 +#define PTRACE_SETCRUNCHREGS 26 +#define PTRACE_GETVFPREGS 27 +#define PTRACE_SETVFPREGS 28 +#define PTRACE_GETHBPREGS 29 +#define PTRACE_SETHBPREGS 30 +#define PTRACE_GETFDPIC 31 +#define PTRACE_GETFDPIC_EXEC 0 +#define PTRACE_GETFDPIC_INTERP 1 +#define USR26_MODE 0x00000000 +#define FIQ26_MODE 0x00000001 +#define IRQ26_MODE 0x00000002 +#define SVC26_MODE 0x00000003 +#define USR_MODE 0x00000010 +#define SVC_MODE 0x00000013 +#define FIQ_MODE 0x00000011 +#define IRQ_MODE 0x00000012 +#define MON_MODE 0x00000016 +#define ABT_MODE 0x00000017 +#define HYP_MODE 0x0000001a +#define UND_MODE 0x0000001b +#define SYSTEM_MODE 0x0000001f +#define MODE32_BIT 0x00000010 +#define MODE_MASK 0x0000001f +#define V4_PSR_T_BIT 0x00000020 +#define V7M_PSR_T_BIT 0x01000000 +#define PSR_T_BIT V4_PSR_T_BIT +#define PSR_F_BIT 0x00000040 +#define PSR_I_BIT 0x00000080 +#define PSR_A_BIT 0x00000100 +#define PSR_E_BIT 0x00000200 +#define PSR_J_BIT 0x01000000 +#define PSR_Q_BIT 0x08000000 +#define PSR_V_BIT 0x10000000 +#define PSR_C_BIT 0x20000000 +#define PSR_Z_BIT 0x40000000 +#define PSR_N_BIT 0x80000000 +#define PSR_f 0xff000000 +#define PSR_s 0x00ff0000 +#define PSR_x 0x0000ff00 +#define PSR_c 0x000000ff +#define APSR_MASK 0xf80f0000 +#define PSR_ISET_MASK 0x01000010 +#define PSR_IT_MASK 0x0600fc00 +#define PSR_ENDIAN_MASK 0x00000200 +#define PSR_ENDSTATE 0 +#define PT_TEXT_ADDR 0x10000 +#define PT_DATA_ADDR 0x10004 +#define PT_TEXT_END_ADDR 0x10008 #ifndef __ASSEMBLY__ -#ifndef __KERNEL__ struct pt_regs { - long uregs[18]; + long uregs[18]; }; -#endif -#define ARM_cpsr uregs[16] -#define ARM_pc uregs[15] -#define ARM_lr uregs[14] -#define ARM_sp uregs[13] -#define ARM_ip uregs[12] -#define ARM_fp uregs[11] -#define ARM_r10 uregs[10] -#define ARM_r9 uregs[9] -#define ARM_r8 uregs[8] -#define ARM_r7 uregs[7] -#define ARM_r6 uregs[6] -#define ARM_r5 uregs[5] -#define ARM_r4 uregs[4] -#define ARM_r3 uregs[3] -#define ARM_r2 uregs[2] -#define ARM_r1 uregs[1] -#define ARM_r0 uregs[0] -#define ARM_ORIG_r0 uregs[17] -#define ARM_VFPREGS_SIZE ( 32 * 8 ) +#define ARM_cpsr uregs[16] +#define ARM_pc uregs[15] +#define ARM_lr uregs[14] +#define ARM_sp uregs[13] +#define ARM_ip uregs[12] +#define ARM_fp uregs[11] +#define ARM_r10 uregs[10] +#define ARM_r9 uregs[9] +#define ARM_r8 uregs[8] +#define ARM_r7 uregs[7] +#define ARM_r6 uregs[6] +#define ARM_r5 uregs[5] +#define ARM_r4 uregs[4] +#define ARM_r3 uregs[3] +#define ARM_r2 uregs[2] +#define ARM_r1 uregs[1] +#define ARM_r0 uregs[0] +#define ARM_ORIG_r0 uregs[17] +#define ARM_VFPREGS_SIZE (32 * 8 + 4) #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/resource.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/resource.h index 728000e..371adb5 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/resource.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/resource.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/sembuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/sembuf.h index 1769cec..6ce6549 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/sembuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/sembuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/setup.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/setup.h index 3af5413..b4da2d1 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/setup.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/setup.h @@ -1,120 +1,128 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASMARM_SETUP_H #define _UAPI__ASMARM_SETUP_H #include -#define COMMAND_LINE_SIZE 1024 -#define ATAG_NONE 0x00000000 +#define COMMAND_LINE_SIZE 2048 +#define ATAG_NONE 0x00000000 struct tag_header { - __u32 size; - __u32 tag; + __u32 size; + __u32 tag; }; -#define ATAG_CORE 0x54410001 +#define ATAG_CORE 0x54410001 struct tag_core { - __u32 flags; - __u32 pagesize; - __u32 rootdev; + __u32 flags; + __u32 pagesize; + __u32 rootdev; }; -#define ATAG_MEM 0x54410002 +#define ATAG_MEM 0x54410002 struct tag_mem32 { - __u32 size; - __u32 start; + __u32 size; + __u32 start; }; -#define ATAG_VIDEOTEXT 0x54410003 +#define ATAG_VIDEOTEXT 0x54410003 struct tag_videotext { - __u8 x; - __u8 y; - __u16 video_page; - __u8 video_mode; - __u8 video_cols; - __u16 video_ega_bx; - __u8 video_lines; - __u8 video_isvga; - __u16 video_points; + __u8 x; + __u8 y; + __u16 video_page; + __u8 video_mode; + __u8 video_cols; + __u16 video_ega_bx; + __u8 video_lines; + __u8 video_isvga; + __u16 video_points; }; -#define ATAG_RAMDISK 0x54410004 +#define ATAG_RAMDISK 0x54410004 struct tag_ramdisk { - __u32 flags; - __u32 size; - __u32 start; + __u32 flags; + __u32 size; + __u32 start; }; -#define ATAG_INITRD 0x54410005 -#define ATAG_INITRD2 0x54420005 +#define ATAG_INITRD 0x54410005 +#define ATAG_INITRD2 0x54420005 struct tag_initrd { - __u32 start; - __u32 size; + __u32 start; + __u32 size; }; -#define ATAG_SERIAL 0x54410006 +#define ATAG_SERIAL 0x54410006 struct tag_serialnr { - __u32 low; - __u32 high; + __u32 low; + __u32 high; }; -#define ATAG_REVISION 0x54410007 +#define ATAG_REVISION 0x54410007 struct tag_revision { - __u32 rev; + __u32 rev; }; -#define ATAG_VIDEOLFB 0x54410008 +#define ATAG_VIDEOLFB 0x54410008 struct tag_videolfb { - __u16 lfb_width; - __u16 lfb_height; - __u16 lfb_depth; - __u16 lfb_linelength; - __u32 lfb_base; - __u32 lfb_size; - __u8 red_size; - __u8 red_pos; - __u8 green_size; - __u8 green_pos; - __u8 blue_size; - __u8 blue_pos; - __u8 rsvd_size; - __u8 rsvd_pos; + __u16 lfb_width; + __u16 lfb_height; + __u16 lfb_depth; + __u16 lfb_linelength; + __u32 lfb_base; + __u32 lfb_size; + __u8 red_size; + __u8 red_pos; + __u8 green_size; + __u8 green_pos; + __u8 blue_size; + __u8 blue_pos; + __u8 rsvd_size; + __u8 rsvd_pos; }; -#define ATAG_CMDLINE 0x54410009 +#define ATAG_CMDLINE 0x54410009 struct tag_cmdline { - char cmdline[1]; + char cmdline[1]; }; -#define ATAG_ACORN 0x41000101 +#define ATAG_ACORN 0x41000101 struct tag_acorn { - __u32 memc_control_reg; - __u32 vram_pages; - __u8 sounddefault; - __u8 adfsdrives; + __u32 memc_control_reg; + __u32 vram_pages; + __u8 sounddefault; + __u8 adfsdrives; }; -#define ATAG_MEMCLK 0x41000402 +#define ATAG_MEMCLK 0x41000402 struct tag_memclk { - __u32 fmemclk; + __u32 fmemclk; }; struct tag { - struct tag_header hdr; - union { - struct tag_core core; - struct tag_mem32 mem; - struct tag_videotext videotext; - struct tag_ramdisk ramdisk; - struct tag_initrd initrd; - struct tag_serialnr serialnr; - struct tag_revision revision; - struct tag_videolfb videolfb; - struct tag_cmdline cmdline; - - struct tag_acorn acorn; - - struct tag_memclk memclk; - } u; + struct tag_header hdr; + union { + struct tag_core core; + struct tag_mem32 mem; + struct tag_videotext videotext; + struct tag_ramdisk ramdisk; + struct tag_initrd initrd; + struct tag_serialnr serialnr; + struct tag_revision revision; + struct tag_videolfb videolfb; + struct tag_cmdline cmdline; + struct tag_acorn acorn; + struct tag_memclk memclk; + } u; }; struct tagtable { - __u32 tag; - int (*parse)(const struct tag *); + __u32 tag; + int(* parse) (const struct tag *); }; -#define tag_member_present(tag,member) \ - ((unsigned long)(&((struct tag *)0L)->member + 1) \ - <= (tag)->hdr.size * 4) -#define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size)) -#define tag_size(type) ((sizeof(struct tag_header) + sizeof(struct type)) >> 2) -#define for_each_tag(t,base) \ - for (t = base; t->hdr.size; t = tag_next(t)) +#define tag_member_present(tag,member) ((unsigned long) (& ((struct tag *) 0L)->member + 1) <= (tag)->hdr.size * 4) +#define tag_next(t) ((struct tag *) ((__u32 *) (t) + (t)->hdr.size)) +#define tag_size(type) ((sizeof(struct tag_header) + sizeof(struct type)) >> 2) +#define for_each_tag(t,base) for(t = base; t->hdr.size; t = tag_next(t)) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/shmbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/shmbuf.h index ada9904..fe8b1be 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/shmbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/shmbuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/sigcontext.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/sigcontext.h index fe3eee7..b7504d6 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/sigcontext.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/sigcontext.h @@ -1,31 +1,44 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASMARM_SIGCONTEXT_H #define _ASMARM_SIGCONTEXT_H struct sigcontext { - unsigned long trap_no; - unsigned long error_code; - unsigned long oldmask; - unsigned long arm_r0; - unsigned long arm_r1; - unsigned long arm_r2; - unsigned long arm_r3; - unsigned long arm_r4; - unsigned long arm_r5; - unsigned long arm_r6; - unsigned long arm_r7; - unsigned long arm_r8; - unsigned long arm_r9; - unsigned long arm_r10; - unsigned long arm_fp; - unsigned long arm_ip; - unsigned long arm_sp; - unsigned long arm_lr; - unsigned long arm_pc; - unsigned long arm_cpsr; - unsigned long fault_address; + unsigned long trap_no; + unsigned long error_code; + unsigned long oldmask; + unsigned long arm_r0; + unsigned long arm_r1; + unsigned long arm_r2; + unsigned long arm_r3; + unsigned long arm_r4; + unsigned long arm_r5; + unsigned long arm_r6; + unsigned long arm_r7; + unsigned long arm_r8; + unsigned long arm_r9; + unsigned long arm_r10; + unsigned long arm_fp; + unsigned long arm_ip; + unsigned long arm_sp; + unsigned long arm_lr; + unsigned long arm_pc; + unsigned long arm_cpsr; + unsigned long fault_address; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/siginfo.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/siginfo.h index 05b664d..a31ebb2 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/siginfo.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/siginfo.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/signal.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/signal.h index 06721bd..51a3022 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/signal.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/signal.h @@ -1,83 +1,92 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASMARM_SIGNAL_H #define _UAPI_ASMARM_SIGNAL_H #include struct siginfo; -#ifndef __KERNEL__ -#define _KERNEL_NSIG 32 +#define _KERNEL_NSIG 32 typedef unsigned long sigset_t; -#endif -#define SIGHUP 1 -#define SIGINT 2 -#define SIGQUIT 3 -#define SIGILL 4 -#define SIGTRAP 5 -#define SIGABRT 6 -#define SIGIOT 6 -#define SIGBUS 7 -#define SIGFPE 8 -#define SIGKILL 9 -#define SIGUSR1 10 -#define SIGSEGV 11 -#define SIGUSR2 12 -#define SIGPIPE 13 -#define SIGALRM 14 -#define SIGTERM 15 -#define SIGSTKFLT 16 -#define SIGCHLD 17 -#define SIGCONT 18 -#define SIGSTOP 19 -#define SIGTSTP 20 -#define SIGTTIN 21 -#define SIGTTOU 22 -#define SIGURG 23 -#define SIGXCPU 24 -#define SIGXFSZ 25 -#define SIGVTALRM 26 -#define SIGPROF 27 -#define SIGWINCH 28 -#define SIGIO 29 -#define SIGPOLL SIGIO -#define SIGPWR 30 -#define SIGSYS 31 -#define SIGUNUSED 31 -#define __SIGRTMIN 32 -#define __SIGRTMAX _KERNEL__NSIG -#define SIGSWI 32 -#define SA_NOCLDSTOP 0x00000001 -#define SA_NOCLDWAIT 0x00000002 -#define SA_SIGINFO 0x00000004 -#define SA_THIRTYTWO 0x02000000 -#define SA_RESTORER 0x04000000 -#define SA_ONSTACK 0x08000000 -#define SA_RESTART 0x10000000 -#define SA_NODEFER 0x40000000 -#define SA_RESETHAND 0x80000000 -#define SA_NOMASK SA_NODEFER -#define SA_ONESHOT SA_RESETHAND -#define MINSIGSTKSZ 2048 -#define SIGSTKSZ 8192 +#define SIGHUP 1 +#define SIGINT 2 +#define SIGQUIT 3 +#define SIGILL 4 +#define SIGTRAP 5 +#define SIGABRT 6 +#define SIGIOT 6 +#define SIGBUS 7 +#define SIGFPE 8 +#define SIGKILL 9 +#define SIGUSR1 10 +#define SIGSEGV 11 +#define SIGUSR2 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGSTKFLT 16 +#define SIGCHLD 17 +#define SIGCONT 18 +#define SIGSTOP 19 +#define SIGTSTP 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGURG 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSED 31 +#define __SIGRTMIN 32 +#define __SIGRTMAX _KERNEL__NSIG +#define SIGSWI 32 +#define SA_NOCLDSTOP 0x00000001 +#define SA_NOCLDWAIT 0x00000002 +#define SA_SIGINFO 0x00000004 +#define SA_THIRTYTWO 0x02000000 +#define SA_RESTORER 0x04000000 +#define SA_ONSTACK 0x08000000 +#define SA_RESTART 0x10000000 +#define SA_NODEFER 0x40000000 +#define SA_RESETHAND 0x80000000 +#define SA_NOMASK SA_NODEFER +#define SA_ONESHOT SA_RESETHAND +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 #include -#ifndef __KERNEL__ struct sigaction { - union { - __sighandler_t _sa_handler; - void (*_sa_sigaction)(int, struct siginfo *, void *); - } _u; - sigset_t sa_mask; - unsigned long sa_flags; - void (*sa_restorer)(void); + union { + __sighandler_t _sa_handler; + void(* _sa_sigaction) (int, struct siginfo *, void *); + } _u; + sigset_t sa_mask; + unsigned long sa_flags; + void(* sa_restorer) (void); }; -#define sa_handler _u._sa_handler -#define sa_sigaction _u._sa_sigaction -#endif +#define sa_handler _u._sa_handler +#define sa_sigaction _u._sa_sigaction typedef struct sigaltstack { - void __user *ss_sp; - int ss_flags; - size_t ss_size; + void __user * ss_sp; + int ss_flags; + size_t ss_size; } stack_t; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/socket.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/socket.h index b61e0f4..50a9874 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/socket.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/socket.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/sockios.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/sockios.h index 9cb632b..710db92 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/sockios.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/sockios.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/stat.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/stat.h index 454abf0..27ec243 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/stat.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/stat.h @@ -1,74 +1,77 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASMARM_STAT_H #define _ASMARM_STAT_H struct __old_kernel_stat { - unsigned short st_dev; - unsigned short st_ino; - unsigned short st_mode; - unsigned short st_nlink; - unsigned short st_uid; - unsigned short st_gid; - unsigned short st_rdev; - unsigned long st_size; - unsigned long st_atime; - unsigned long st_mtime; - unsigned long st_ctime; + unsigned short st_dev; + unsigned short st_ino; + unsigned short st_mode; + unsigned short st_nlink; + unsigned short st_uid; + unsigned short st_gid; + unsigned short st_rdev; + unsigned long st_size; + unsigned long st_atime; + unsigned long st_mtime; + unsigned long st_ctime; }; #define STAT_HAVE_NSEC struct stat { -#if 0 - unsigned short st_dev; - unsigned short __pad1; -#else - unsigned long st_dev; -#endif - unsigned long st_ino; - unsigned short st_mode; - unsigned short st_nlink; - unsigned short st_uid; - unsigned short st_gid; -#if 0 - unsigned short st_rdev; - unsigned short __pad2; -#else - unsigned long st_rdev; -#endif - unsigned long st_size; - unsigned long st_blksize; - unsigned long st_blocks; - unsigned long st_atime; - unsigned long st_atime_nsec; - unsigned long st_mtime; - unsigned long st_mtime_nsec; - unsigned long st_ctime; - unsigned long st_ctime_nsec; - unsigned long __unused4; - unsigned long __unused5; + unsigned long st_dev; + unsigned long st_ino; + unsigned short st_mode; + unsigned short st_nlink; + unsigned short st_uid; + unsigned short st_gid; + unsigned long st_rdev; + unsigned long st_size; + unsigned long st_blksize; + unsigned long st_blocks; + unsigned long st_atime; + unsigned long st_atime_nsec; + unsigned long st_mtime; + unsigned long st_mtime_nsec; + unsigned long st_ctime; + unsigned long st_ctime_nsec; + unsigned long __unused4; + unsigned long __unused5; }; struct stat64 { - unsigned long long st_dev; - unsigned char __pad0[4]; -#define STAT64_HAS_BROKEN_ST_INO 1 - unsigned long __st_ino; - unsigned int st_mode; - unsigned int st_nlink; - unsigned long st_uid; - unsigned long st_gid; - unsigned long long st_rdev; - unsigned char __pad3[4]; - long long st_size; - unsigned long st_blksize; - unsigned long long st_blocks; - unsigned long st_atime; - unsigned long st_atime_nsec; - unsigned long st_mtime; - unsigned long st_mtime_nsec; - unsigned long st_ctime; - unsigned long st_ctime_nsec; - unsigned long long st_ino; + unsigned long long st_dev; + unsigned char __pad0[4]; +#define STAT64_HAS_BROKEN_ST_INO 1 + unsigned long __st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned long st_uid; + unsigned long st_gid; + unsigned long long st_rdev; + unsigned char __pad3[4]; + long long st_size; + unsigned long st_blksize; + unsigned long long st_blocks; + unsigned long st_atime; + unsigned long st_atime_nsec; + unsigned long st_mtime; + unsigned long st_mtime_nsec; + unsigned long st_ctime; + unsigned long st_ctime_nsec; + unsigned long long st_ino; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/statfs.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/statfs.h index 3131a41..7e44ad1 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/statfs.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/statfs.h @@ -1,10 +1,23 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASMARM_STATFS_H #define _ASMARM_STATFS_H -#define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4))) +#define ARCH_PACK_STATFS64 __attribute__((packed, aligned(4))) #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/swab.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/swab.h index 0ba6389..081a76e 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/swab.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/swab.h @@ -1,31 +1,29 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_ARM_SWAB_H #define _UAPI__ASM_ARM_SWAB_H #include #include -#if !defined(__STRICT_ANSI__) || defined(__KERNEL__) -# define __SWAB_64_THRU_32__ +#ifndef __STRICT_ANSI__ +#define __SWAB_64_THRU_32__ #endif -#if !defined(__KERNEL__) || __LINUX_ARM_ARCH__ < 6 -static inline __attribute_const__ __u32 __arch_swab32(__u32 x) -{ - __u32 t; #ifndef __thumb__ - if (!__builtin_constant_p(x)) { - - asm ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x)); - } else #endif - t = x ^ ((x << 16) | (x >> 16)); - x = (x << 24) | (x >> 8); - t &= ~0x00FF0000; - x ^= (t >> 8); - return x; -} #define __arch_swab32 __arch_swab32 #endif -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/termbits.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/termbits.h index a3723de..42af6fe 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/termbits.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/termbits.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/termios.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/termios.h index 0555809..feca4c6 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/termios.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/termios.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/types.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/types.h index 11b0fee..461e485 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/types.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/types.h @@ -1,21 +1,34 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_TYPES_H #define _UAPI_ASM_TYPES_H #include #ifdef __INT32_TYPE__ #undef __INT32_TYPE__ -#define __INT32_TYPE__ int +#define __INT32_TYPE__ int #endif #ifdef __UINT32_TYPE__ #undef __UINT32_TYPE__ -#define __UINT32_TYPE__ unsigned int +#define __UINT32_TYPE__ unsigned int #endif #ifdef __UINTPTR_TYPE__ #undef __UINTPTR_TYPE__ -#define __UINTPTR_TYPE__ unsigned long +#define __UINTPTR_TYPE__ unsigned long #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-common.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-common.h index e1540dd..060d626 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-common.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-common.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_ARM_UNISTD_COMMON_H #define _UAPI_ASM_ARM_UNISTD_COMMON_H 1 #define __NR_restart_syscall (__NR_SYSCALL_BASE + 0) @@ -360,4 +373,43 @@ #define __NR_statx (__NR_SYSCALL_BASE + 397) #define __NR_rseq (__NR_SYSCALL_BASE + 398) #define __NR_io_pgetevents (__NR_SYSCALL_BASE + 399) +#define __NR_migrate_pages (__NR_SYSCALL_BASE + 400) +#define __NR_kexec_file_load (__NR_SYSCALL_BASE + 401) +#define __NR_clock_gettime64 (__NR_SYSCALL_BASE + 403) +#define __NR_clock_settime64 (__NR_SYSCALL_BASE + 404) +#define __NR_clock_adjtime64 (__NR_SYSCALL_BASE + 405) +#define __NR_clock_getres_time64 (__NR_SYSCALL_BASE + 406) +#define __NR_clock_nanosleep_time64 (__NR_SYSCALL_BASE + 407) +#define __NR_timer_gettime64 (__NR_SYSCALL_BASE + 408) +#define __NR_timer_settime64 (__NR_SYSCALL_BASE + 409) +#define __NR_timerfd_gettime64 (__NR_SYSCALL_BASE + 410) +#define __NR_timerfd_settime64 (__NR_SYSCALL_BASE + 411) +#define __NR_utimensat_time64 (__NR_SYSCALL_BASE + 412) +#define __NR_pselect6_time64 (__NR_SYSCALL_BASE + 413) +#define __NR_ppoll_time64 (__NR_SYSCALL_BASE + 414) +#define __NR_io_pgetevents_time64 (__NR_SYSCALL_BASE + 416) +#define __NR_recvmmsg_time64 (__NR_SYSCALL_BASE + 417) +#define __NR_mq_timedsend_time64 (__NR_SYSCALL_BASE + 418) +#define __NR_mq_timedreceive_time64 (__NR_SYSCALL_BASE + 419) +#define __NR_semtimedop_time64 (__NR_SYSCALL_BASE + 420) +#define __NR_rt_sigtimedwait_time64 (__NR_SYSCALL_BASE + 421) +#define __NR_futex_time64 (__NR_SYSCALL_BASE + 422) +#define __NR_sched_rr_get_interval_time64 (__NR_SYSCALL_BASE + 423) +#define __NR_pidfd_send_signal (__NR_SYSCALL_BASE + 424) +#define __NR_io_uring_setup (__NR_SYSCALL_BASE + 425) +#define __NR_io_uring_enter (__NR_SYSCALL_BASE + 426) +#define __NR_io_uring_register (__NR_SYSCALL_BASE + 427) +#define __NR_open_tree (__NR_SYSCALL_BASE + 428) +#define __NR_move_mount (__NR_SYSCALL_BASE + 429) +#define __NR_fsopen (__NR_SYSCALL_BASE + 430) +#define __NR_fsconfig (__NR_SYSCALL_BASE + 431) +#define __NR_fsmount (__NR_SYSCALL_BASE + 432) +#define __NR_fspick (__NR_SYSCALL_BASE + 433) +#define __NR_pidfd_open (__NR_SYSCALL_BASE + 434) +#define __NR_clone3 (__NR_SYSCALL_BASE + 435) +#define __NR_close_range (__NR_SYSCALL_BASE + 436) +#define __NR_openat2 (__NR_SYSCALL_BASE + 437) +#define __NR_pidfd_getfd (__NR_SYSCALL_BASE + 438) +#define __NR_faccessat2 (__NR_SYSCALL_BASE + 439) +#define __NR_process_madvise (__NR_SYSCALL_BASE + 440) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-eabi.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-eabi.h index 95e54d3..54e1867 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-eabi.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-eabi.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_ARM_UNISTD_EABI_H #define _UAPI_ASM_ARM_UNISTD_EABI_H 1 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-oabi.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-oabi.h index 16149e2..d2633e8 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-oabi.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd-oabi.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_ARM_UNISTD_OABI_H #define _UAPI_ASM_ARM_UNISTD_OABI_H 1 #define __NR_time (__NR_SYSCALL_BASE + 13) diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd.h b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd.h index 777a04d..f4b1f3a 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm/asm/unistd.h @@ -1,25 +1,33 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_ARM_UNISTD_H #define _UAPI__ASM_ARM_UNISTD_H -#define __NR_OABI_SYSCALL_BASE 0x900000 -#if defined(__thumb__) || 1 -#define __NR_SYSCALL_BASE 0 +#define __NR_OABI_SYSCALL_BASE 0x900000 +#define __NR_SYSCALL_BASE 0 #include -#else -#define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE -#include -#endif #include -#define __NR_sync_file_range2 __NR_arm_sync_file_range -#define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000) -#define __ARM_NR_breakpoint (__ARM_NR_BASE+1) -#define __ARM_NR_cacheflush (__ARM_NR_BASE+2) -#define __ARM_NR_usr26 (__ARM_NR_BASE+3) -#define __ARM_NR_usr32 (__ARM_NR_BASE+4) -#define __ARM_NR_set_tls (__ARM_NR_BASE+5) -#define __ARM_NR_get_tls (__ARM_NR_BASE+6) +#define __NR_sync_file_range2 __NR_arm_sync_file_range +#define __ARM_NR_BASE (__NR_SYSCALL_BASE + 0x0f0000) +#define __ARM_NR_breakpoint (__ARM_NR_BASE + 1) +#define __ARM_NR_cacheflush (__ARM_NR_BASE + 2) +#define __ARM_NR_usr26 (__ARM_NR_BASE + 3) +#define __ARM_NR_usr32 (__ARM_NR_BASE + 4) +#define __ARM_NR_set_tls (__ARM_NR_BASE + 5) +#define __ARM_NR_get_tls (__ARM_NR_BASE + 6) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd deleted file mode 100644 index b2a83d4..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-common.h.cmd +++ /dev/null @@ -1 +0,0 @@ -cmd_arch/arm/include/generated/uapi/asm/unistd-common.h := sh './arch/arm/tools/syscallhdr.sh' 'arch/arm/tools/syscall.tbl' 'arch/arm/include/generated/uapi/asm/unistd-common.h' 'common' '' '__NR_SYSCALL_BASE' diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd deleted file mode 100644 index 0b00ac8..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-eabi.h.cmd +++ /dev/null @@ -1 +0,0 @@ -cmd_arch/arm/include/generated/uapi/asm/unistd-eabi.h := sh './arch/arm/tools/syscallhdr.sh' 'arch/arm/tools/syscall.tbl' 'arch/arm/include/generated/uapi/asm/unistd-eabi.h' 'eabi' '' '__NR_SYSCALL_BASE' diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd deleted file mode 100644 index fd36745..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/.unistd-oabi.h.cmd +++ /dev/null @@ -1 +0,0 @@ -cmd_arch/arm/include/generated/uapi/asm/unistd-oabi.h := sh './arch/arm/tools/syscallhdr.sh' 'arch/arm/tools/syscall.tbl' 'arch/arm/include/generated/uapi/asm/unistd-oabi.h' 'oabi' '' '__NR_SYSCALL_BASE' diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bitsperlong.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bitsperlong.h deleted file mode 100644 index 3c87a8d..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bitsperlong.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bpf_perf_event.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bpf_perf_event.h deleted file mode 100644 index 5cef26b..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/bpf_perf_event.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/errno.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/errno.h deleted file mode 100644 index c1081c8..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/errno.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ioctl.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ioctl.h deleted file mode 100644 index 32a259f..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ioctl.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ipcbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ipcbuf.h deleted file mode 100644 index d0004a4..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/ipcbuf.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/kvm_para.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/kvm_para.h deleted file mode 100644 index c74c294..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/kvm_para.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/msgbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/msgbuf.h deleted file mode 100644 index a361e7c..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/msgbuf.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/param.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/param.h deleted file mode 100644 index 67e7728..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/param.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/poll.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/poll.h deleted file mode 100644 index 93f531d..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/poll.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/resource.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/resource.h deleted file mode 100644 index 728000e..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/resource.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sembuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sembuf.h deleted file mode 100644 index 1769cec..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sembuf.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/shmbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/shmbuf.h deleted file mode 100644 index ada9904..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/shmbuf.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/siginfo.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/siginfo.h deleted file mode 100644 index 05b664d..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/siginfo.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/socket.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/socket.h deleted file mode 100644 index b61e0f4..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/socket.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sockios.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sockios.h deleted file mode 100644 index 9cb632b..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/sockios.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termbits.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termbits.h deleted file mode 100644 index a3723de..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termbits.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termios.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termios.h deleted file mode 100644 index 0555809..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/termios.h +++ /dev/null @@ -1,6 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-common.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-common.h deleted file mode 100644 index 4ffa8f9..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-common.h +++ /dev/null @@ -1,402 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef _UAPI_ASM_ARM_UNISTD_COMMON_H -#define _UAPI_ASM_ARM_UNISTD_COMMON_H 1 -#define __NR_restart_syscall (__NR_SYSCALL_BASE + 0) -#define __NR_exit (__NR_SYSCALL_BASE + 1) -#define __NR_fork (__NR_SYSCALL_BASE + 2) -#define __NR_read (__NR_SYSCALL_BASE + 3) -#define __NR_write (__NR_SYSCALL_BASE + 4) -#define __NR_open (__NR_SYSCALL_BASE + 5) -#define __NR_close (__NR_SYSCALL_BASE + 6) -#define __NR_creat (__NR_SYSCALL_BASE + 8) -#define __NR_link (__NR_SYSCALL_BASE + 9) -#define __NR_unlink (__NR_SYSCALL_BASE + 10) -#define __NR_execve (__NR_SYSCALL_BASE + 11) -#define __NR_chdir (__NR_SYSCALL_BASE + 12) -#define __NR_mknod (__NR_SYSCALL_BASE + 14) -#define __NR_chmod (__NR_SYSCALL_BASE + 15) -#define __NR_lchown (__NR_SYSCALL_BASE + 16) -#define __NR_lseek (__NR_SYSCALL_BASE + 19) -#define __NR_getpid (__NR_SYSCALL_BASE + 20) -#define __NR_mount (__NR_SYSCALL_BASE + 21) -#define __NR_setuid (__NR_SYSCALL_BASE + 23) -#define __NR_getuid (__NR_SYSCALL_BASE + 24) -#define __NR_ptrace (__NR_SYSCALL_BASE + 26) -#define __NR_pause (__NR_SYSCALL_BASE + 29) -#define __NR_access (__NR_SYSCALL_BASE + 33) -#define __NR_nice (__NR_SYSCALL_BASE + 34) -#define __NR_sync (__NR_SYSCALL_BASE + 36) -#define __NR_kill (__NR_SYSCALL_BASE + 37) -#define __NR_rename (__NR_SYSCALL_BASE + 38) -#define __NR_mkdir (__NR_SYSCALL_BASE + 39) -#define __NR_rmdir (__NR_SYSCALL_BASE + 40) -#define __NR_dup (__NR_SYSCALL_BASE + 41) -#define __NR_pipe (__NR_SYSCALL_BASE + 42) -#define __NR_times (__NR_SYSCALL_BASE + 43) -#define __NR_brk (__NR_SYSCALL_BASE + 45) -#define __NR_setgid (__NR_SYSCALL_BASE + 46) -#define __NR_getgid (__NR_SYSCALL_BASE + 47) -#define __NR_geteuid (__NR_SYSCALL_BASE + 49) -#define __NR_getegid (__NR_SYSCALL_BASE + 50) -#define __NR_acct (__NR_SYSCALL_BASE + 51) -#define __NR_umount2 (__NR_SYSCALL_BASE + 52) -#define __NR_ioctl (__NR_SYSCALL_BASE + 54) -#define __NR_fcntl (__NR_SYSCALL_BASE + 55) -#define __NR_setpgid (__NR_SYSCALL_BASE + 57) -#define __NR_umask (__NR_SYSCALL_BASE + 60) -#define __NR_chroot (__NR_SYSCALL_BASE + 61) -#define __NR_ustat (__NR_SYSCALL_BASE + 62) -#define __NR_dup2 (__NR_SYSCALL_BASE + 63) -#define __NR_getppid (__NR_SYSCALL_BASE + 64) -#define __NR_getpgrp (__NR_SYSCALL_BASE + 65) -#define __NR_setsid (__NR_SYSCALL_BASE + 66) -#define __NR_sigaction (__NR_SYSCALL_BASE + 67) -#define __NR_setreuid (__NR_SYSCALL_BASE + 70) -#define __NR_setregid (__NR_SYSCALL_BASE + 71) -#define __NR_sigsuspend (__NR_SYSCALL_BASE + 72) -#define __NR_sigpending (__NR_SYSCALL_BASE + 73) -#define __NR_sethostname (__NR_SYSCALL_BASE + 74) -#define __NR_setrlimit (__NR_SYSCALL_BASE + 75) -#define __NR_getrusage (__NR_SYSCALL_BASE + 77) -#define __NR_gettimeofday (__NR_SYSCALL_BASE + 78) -#define __NR_settimeofday (__NR_SYSCALL_BASE + 79) -#define __NR_getgroups (__NR_SYSCALL_BASE + 80) -#define __NR_setgroups (__NR_SYSCALL_BASE + 81) -#define __NR_symlink (__NR_SYSCALL_BASE + 83) -#define __NR_readlink (__NR_SYSCALL_BASE + 85) -#define __NR_uselib (__NR_SYSCALL_BASE + 86) -#define __NR_swapon (__NR_SYSCALL_BASE + 87) -#define __NR_reboot (__NR_SYSCALL_BASE + 88) -#define __NR_munmap (__NR_SYSCALL_BASE + 91) -#define __NR_truncate (__NR_SYSCALL_BASE + 92) -#define __NR_ftruncate (__NR_SYSCALL_BASE + 93) -#define __NR_fchmod (__NR_SYSCALL_BASE + 94) -#define __NR_fchown (__NR_SYSCALL_BASE + 95) -#define __NR_getpriority (__NR_SYSCALL_BASE + 96) -#define __NR_setpriority (__NR_SYSCALL_BASE + 97) -#define __NR_statfs (__NR_SYSCALL_BASE + 99) -#define __NR_fstatfs (__NR_SYSCALL_BASE + 100) -#define __NR_syslog (__NR_SYSCALL_BASE + 103) -#define __NR_setitimer (__NR_SYSCALL_BASE + 104) -#define __NR_getitimer (__NR_SYSCALL_BASE + 105) -#define __NR_stat (__NR_SYSCALL_BASE + 106) -#define __NR_lstat (__NR_SYSCALL_BASE + 107) -#define __NR_fstat (__NR_SYSCALL_BASE + 108) -#define __NR_vhangup (__NR_SYSCALL_BASE + 111) -#define __NR_wait4 (__NR_SYSCALL_BASE + 114) -#define __NR_swapoff (__NR_SYSCALL_BASE + 115) -#define __NR_sysinfo (__NR_SYSCALL_BASE + 116) -#define __NR_fsync (__NR_SYSCALL_BASE + 118) -#define __NR_sigreturn (__NR_SYSCALL_BASE + 119) -#define __NR_clone (__NR_SYSCALL_BASE + 120) -#define __NR_setdomainname (__NR_SYSCALL_BASE + 121) -#define __NR_uname (__NR_SYSCALL_BASE + 122) -#define __NR_adjtimex (__NR_SYSCALL_BASE + 124) -#define __NR_mprotect (__NR_SYSCALL_BASE + 125) -#define __NR_sigprocmask (__NR_SYSCALL_BASE + 126) -#define __NR_init_module (__NR_SYSCALL_BASE + 128) -#define __NR_delete_module (__NR_SYSCALL_BASE + 129) -#define __NR_quotactl (__NR_SYSCALL_BASE + 131) -#define __NR_getpgid (__NR_SYSCALL_BASE + 132) -#define __NR_fchdir (__NR_SYSCALL_BASE + 133) -#define __NR_bdflush (__NR_SYSCALL_BASE + 134) -#define __NR_sysfs (__NR_SYSCALL_BASE + 135) -#define __NR_personality (__NR_SYSCALL_BASE + 136) -#define __NR_setfsuid (__NR_SYSCALL_BASE + 138) -#define __NR_setfsgid (__NR_SYSCALL_BASE + 139) -#define __NR__llseek (__NR_SYSCALL_BASE + 140) -#define __NR_getdents (__NR_SYSCALL_BASE + 141) -#define __NR__newselect (__NR_SYSCALL_BASE + 142) -#define __NR_flock (__NR_SYSCALL_BASE + 143) -#define __NR_msync (__NR_SYSCALL_BASE + 144) -#define __NR_readv (__NR_SYSCALL_BASE + 145) -#define __NR_writev (__NR_SYSCALL_BASE + 146) -#define __NR_getsid (__NR_SYSCALL_BASE + 147) -#define __NR_fdatasync (__NR_SYSCALL_BASE + 148) -#define __NR__sysctl (__NR_SYSCALL_BASE + 149) -#define __NR_mlock (__NR_SYSCALL_BASE + 150) -#define __NR_munlock (__NR_SYSCALL_BASE + 151) -#define __NR_mlockall (__NR_SYSCALL_BASE + 152) -#define __NR_munlockall (__NR_SYSCALL_BASE + 153) -#define __NR_sched_setparam (__NR_SYSCALL_BASE + 154) -#define __NR_sched_getparam (__NR_SYSCALL_BASE + 155) -#define __NR_sched_setscheduler (__NR_SYSCALL_BASE + 156) -#define __NR_sched_getscheduler (__NR_SYSCALL_BASE + 157) -#define __NR_sched_yield (__NR_SYSCALL_BASE + 158) -#define __NR_sched_get_priority_max (__NR_SYSCALL_BASE + 159) -#define __NR_sched_get_priority_min (__NR_SYSCALL_BASE + 160) -#define __NR_sched_rr_get_interval (__NR_SYSCALL_BASE + 161) -#define __NR_nanosleep (__NR_SYSCALL_BASE + 162) -#define __NR_mremap (__NR_SYSCALL_BASE + 163) -#define __NR_setresuid (__NR_SYSCALL_BASE + 164) -#define __NR_getresuid (__NR_SYSCALL_BASE + 165) -#define __NR_poll (__NR_SYSCALL_BASE + 168) -#define __NR_nfsservctl (__NR_SYSCALL_BASE + 169) -#define __NR_setresgid (__NR_SYSCALL_BASE + 170) -#define __NR_getresgid (__NR_SYSCALL_BASE + 171) -#define __NR_prctl (__NR_SYSCALL_BASE + 172) -#define __NR_rt_sigreturn (__NR_SYSCALL_BASE + 173) -#define __NR_rt_sigaction (__NR_SYSCALL_BASE + 174) -#define __NR_rt_sigprocmask (__NR_SYSCALL_BASE + 175) -#define __NR_rt_sigpending (__NR_SYSCALL_BASE + 176) -#define __NR_rt_sigtimedwait (__NR_SYSCALL_BASE + 177) -#define __NR_rt_sigqueueinfo (__NR_SYSCALL_BASE + 178) -#define __NR_rt_sigsuspend (__NR_SYSCALL_BASE + 179) -#define __NR_pread64 (__NR_SYSCALL_BASE + 180) -#define __NR_pwrite64 (__NR_SYSCALL_BASE + 181) -#define __NR_chown (__NR_SYSCALL_BASE + 182) -#define __NR_getcwd (__NR_SYSCALL_BASE + 183) -#define __NR_capget (__NR_SYSCALL_BASE + 184) -#define __NR_capset (__NR_SYSCALL_BASE + 185) -#define __NR_sigaltstack (__NR_SYSCALL_BASE + 186) -#define __NR_sendfile (__NR_SYSCALL_BASE + 187) -#define __NR_vfork (__NR_SYSCALL_BASE + 190) -#define __NR_ugetrlimit (__NR_SYSCALL_BASE + 191) -#define __NR_mmap2 (__NR_SYSCALL_BASE + 192) -#define __NR_truncate64 (__NR_SYSCALL_BASE + 193) -#define __NR_ftruncate64 (__NR_SYSCALL_BASE + 194) -#define __NR_stat64 (__NR_SYSCALL_BASE + 195) -#define __NR_lstat64 (__NR_SYSCALL_BASE + 196) -#define __NR_fstat64 (__NR_SYSCALL_BASE + 197) -#define __NR_lchown32 (__NR_SYSCALL_BASE + 198) -#define __NR_getuid32 (__NR_SYSCALL_BASE + 199) -#define __NR_getgid32 (__NR_SYSCALL_BASE + 200) -#define __NR_geteuid32 (__NR_SYSCALL_BASE + 201) -#define __NR_getegid32 (__NR_SYSCALL_BASE + 202) -#define __NR_setreuid32 (__NR_SYSCALL_BASE + 203) -#define __NR_setregid32 (__NR_SYSCALL_BASE + 204) -#define __NR_getgroups32 (__NR_SYSCALL_BASE + 205) -#define __NR_setgroups32 (__NR_SYSCALL_BASE + 206) -#define __NR_fchown32 (__NR_SYSCALL_BASE + 207) -#define __NR_setresuid32 (__NR_SYSCALL_BASE + 208) -#define __NR_getresuid32 (__NR_SYSCALL_BASE + 209) -#define __NR_setresgid32 (__NR_SYSCALL_BASE + 210) -#define __NR_getresgid32 (__NR_SYSCALL_BASE + 211) -#define __NR_chown32 (__NR_SYSCALL_BASE + 212) -#define __NR_setuid32 (__NR_SYSCALL_BASE + 213) -#define __NR_setgid32 (__NR_SYSCALL_BASE + 214) -#define __NR_setfsuid32 (__NR_SYSCALL_BASE + 215) -#define __NR_setfsgid32 (__NR_SYSCALL_BASE + 216) -#define __NR_getdents64 (__NR_SYSCALL_BASE + 217) -#define __NR_pivot_root (__NR_SYSCALL_BASE + 218) -#define __NR_mincore (__NR_SYSCALL_BASE + 219) -#define __NR_madvise (__NR_SYSCALL_BASE + 220) -#define __NR_fcntl64 (__NR_SYSCALL_BASE + 221) -#define __NR_gettid (__NR_SYSCALL_BASE + 224) -#define __NR_readahead (__NR_SYSCALL_BASE + 225) -#define __NR_setxattr (__NR_SYSCALL_BASE + 226) -#define __NR_lsetxattr (__NR_SYSCALL_BASE + 227) -#define __NR_fsetxattr (__NR_SYSCALL_BASE + 228) -#define __NR_getxattr (__NR_SYSCALL_BASE + 229) -#define __NR_lgetxattr (__NR_SYSCALL_BASE + 230) -#define __NR_fgetxattr (__NR_SYSCALL_BASE + 231) -#define __NR_listxattr (__NR_SYSCALL_BASE + 232) -#define __NR_llistxattr (__NR_SYSCALL_BASE + 233) -#define __NR_flistxattr (__NR_SYSCALL_BASE + 234) -#define __NR_removexattr (__NR_SYSCALL_BASE + 235) -#define __NR_lremovexattr (__NR_SYSCALL_BASE + 236) -#define __NR_fremovexattr (__NR_SYSCALL_BASE + 237) -#define __NR_tkill (__NR_SYSCALL_BASE + 238) -#define __NR_sendfile64 (__NR_SYSCALL_BASE + 239) -#define __NR_futex (__NR_SYSCALL_BASE + 240) -#define __NR_sched_setaffinity (__NR_SYSCALL_BASE + 241) -#define __NR_sched_getaffinity (__NR_SYSCALL_BASE + 242) -#define __NR_io_setup (__NR_SYSCALL_BASE + 243) -#define __NR_io_destroy (__NR_SYSCALL_BASE + 244) -#define __NR_io_getevents (__NR_SYSCALL_BASE + 245) -#define __NR_io_submit (__NR_SYSCALL_BASE + 246) -#define __NR_io_cancel (__NR_SYSCALL_BASE + 247) -#define __NR_exit_group (__NR_SYSCALL_BASE + 248) -#define __NR_lookup_dcookie (__NR_SYSCALL_BASE + 249) -#define __NR_epoll_create (__NR_SYSCALL_BASE + 250) -#define __NR_epoll_ctl (__NR_SYSCALL_BASE + 251) -#define __NR_epoll_wait (__NR_SYSCALL_BASE + 252) -#define __NR_remap_file_pages (__NR_SYSCALL_BASE + 253) -#define __NR_set_tid_address (__NR_SYSCALL_BASE + 256) -#define __NR_timer_create (__NR_SYSCALL_BASE + 257) -#define __NR_timer_settime (__NR_SYSCALL_BASE + 258) -#define __NR_timer_gettime (__NR_SYSCALL_BASE + 259) -#define __NR_timer_getoverrun (__NR_SYSCALL_BASE + 260) -#define __NR_timer_delete (__NR_SYSCALL_BASE + 261) -#define __NR_clock_settime (__NR_SYSCALL_BASE + 262) -#define __NR_clock_gettime (__NR_SYSCALL_BASE + 263) -#define __NR_clock_getres (__NR_SYSCALL_BASE + 264) -#define __NR_clock_nanosleep (__NR_SYSCALL_BASE + 265) -#define __NR_statfs64 (__NR_SYSCALL_BASE + 266) -#define __NR_fstatfs64 (__NR_SYSCALL_BASE + 267) -#define __NR_tgkill (__NR_SYSCALL_BASE + 268) -#define __NR_utimes (__NR_SYSCALL_BASE + 269) -#define __NR_arm_fadvise64_64 (__NR_SYSCALL_BASE + 270) -#define __NR_pciconfig_iobase (__NR_SYSCALL_BASE + 271) -#define __NR_pciconfig_read (__NR_SYSCALL_BASE + 272) -#define __NR_pciconfig_write (__NR_SYSCALL_BASE + 273) -#define __NR_mq_open (__NR_SYSCALL_BASE + 274) -#define __NR_mq_unlink (__NR_SYSCALL_BASE + 275) -#define __NR_mq_timedsend (__NR_SYSCALL_BASE + 276) -#define __NR_mq_timedreceive (__NR_SYSCALL_BASE + 277) -#define __NR_mq_notify (__NR_SYSCALL_BASE + 278) -#define __NR_mq_getsetattr (__NR_SYSCALL_BASE + 279) -#define __NR_waitid (__NR_SYSCALL_BASE + 280) -#define __NR_socket (__NR_SYSCALL_BASE + 281) -#define __NR_bind (__NR_SYSCALL_BASE + 282) -#define __NR_connect (__NR_SYSCALL_BASE + 283) -#define __NR_listen (__NR_SYSCALL_BASE + 284) -#define __NR_accept (__NR_SYSCALL_BASE + 285) -#define __NR_getsockname (__NR_SYSCALL_BASE + 286) -#define __NR_getpeername (__NR_SYSCALL_BASE + 287) -#define __NR_socketpair (__NR_SYSCALL_BASE + 288) -#define __NR_send (__NR_SYSCALL_BASE + 289) -#define __NR_sendto (__NR_SYSCALL_BASE + 290) -#define __NR_recv (__NR_SYSCALL_BASE + 291) -#define __NR_recvfrom (__NR_SYSCALL_BASE + 292) -#define __NR_shutdown (__NR_SYSCALL_BASE + 293) -#define __NR_setsockopt (__NR_SYSCALL_BASE + 294) -#define __NR_getsockopt (__NR_SYSCALL_BASE + 295) -#define __NR_sendmsg (__NR_SYSCALL_BASE + 296) -#define __NR_recvmsg (__NR_SYSCALL_BASE + 297) -#define __NR_semop (__NR_SYSCALL_BASE + 298) -#define __NR_semget (__NR_SYSCALL_BASE + 299) -#define __NR_semctl (__NR_SYSCALL_BASE + 300) -#define __NR_msgsnd (__NR_SYSCALL_BASE + 301) -#define __NR_msgrcv (__NR_SYSCALL_BASE + 302) -#define __NR_msgget (__NR_SYSCALL_BASE + 303) -#define __NR_msgctl (__NR_SYSCALL_BASE + 304) -#define __NR_shmat (__NR_SYSCALL_BASE + 305) -#define __NR_shmdt (__NR_SYSCALL_BASE + 306) -#define __NR_shmget (__NR_SYSCALL_BASE + 307) -#define __NR_shmctl (__NR_SYSCALL_BASE + 308) -#define __NR_add_key (__NR_SYSCALL_BASE + 309) -#define __NR_request_key (__NR_SYSCALL_BASE + 310) -#define __NR_keyctl (__NR_SYSCALL_BASE + 311) -#define __NR_semtimedop (__NR_SYSCALL_BASE + 312) -#define __NR_vserver (__NR_SYSCALL_BASE + 313) -#define __NR_ioprio_set (__NR_SYSCALL_BASE + 314) -#define __NR_ioprio_get (__NR_SYSCALL_BASE + 315) -#define __NR_inotify_init (__NR_SYSCALL_BASE + 316) -#define __NR_inotify_add_watch (__NR_SYSCALL_BASE + 317) -#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE + 318) -#define __NR_mbind (__NR_SYSCALL_BASE + 319) -#define __NR_get_mempolicy (__NR_SYSCALL_BASE + 320) -#define __NR_set_mempolicy (__NR_SYSCALL_BASE + 321) -#define __NR_openat (__NR_SYSCALL_BASE + 322) -#define __NR_mkdirat (__NR_SYSCALL_BASE + 323) -#define __NR_mknodat (__NR_SYSCALL_BASE + 324) -#define __NR_fchownat (__NR_SYSCALL_BASE + 325) -#define __NR_futimesat (__NR_SYSCALL_BASE + 326) -#define __NR_fstatat64 (__NR_SYSCALL_BASE + 327) -#define __NR_unlinkat (__NR_SYSCALL_BASE + 328) -#define __NR_renameat (__NR_SYSCALL_BASE + 329) -#define __NR_linkat (__NR_SYSCALL_BASE + 330) -#define __NR_symlinkat (__NR_SYSCALL_BASE + 331) -#define __NR_readlinkat (__NR_SYSCALL_BASE + 332) -#define __NR_fchmodat (__NR_SYSCALL_BASE + 333) -#define __NR_faccessat (__NR_SYSCALL_BASE + 334) -#define __NR_pselect6 (__NR_SYSCALL_BASE + 335) -#define __NR_ppoll (__NR_SYSCALL_BASE + 336) -#define __NR_unshare (__NR_SYSCALL_BASE + 337) -#define __NR_set_robust_list (__NR_SYSCALL_BASE + 338) -#define __NR_get_robust_list (__NR_SYSCALL_BASE + 339) -#define __NR_splice (__NR_SYSCALL_BASE + 340) -#define __NR_arm_sync_file_range (__NR_SYSCALL_BASE + 341) -#define __NR_tee (__NR_SYSCALL_BASE + 342) -#define __NR_vmsplice (__NR_SYSCALL_BASE + 343) -#define __NR_move_pages (__NR_SYSCALL_BASE + 344) -#define __NR_getcpu (__NR_SYSCALL_BASE + 345) -#define __NR_epoll_pwait (__NR_SYSCALL_BASE + 346) -#define __NR_kexec_load (__NR_SYSCALL_BASE + 347) -#define __NR_utimensat (__NR_SYSCALL_BASE + 348) -#define __NR_signalfd (__NR_SYSCALL_BASE + 349) -#define __NR_timerfd_create (__NR_SYSCALL_BASE + 350) -#define __NR_eventfd (__NR_SYSCALL_BASE + 351) -#define __NR_fallocate (__NR_SYSCALL_BASE + 352) -#define __NR_timerfd_settime (__NR_SYSCALL_BASE + 353) -#define __NR_timerfd_gettime (__NR_SYSCALL_BASE + 354) -#define __NR_signalfd4 (__NR_SYSCALL_BASE + 355) -#define __NR_eventfd2 (__NR_SYSCALL_BASE + 356) -#define __NR_epoll_create1 (__NR_SYSCALL_BASE + 357) -#define __NR_dup3 (__NR_SYSCALL_BASE + 358) -#define __NR_pipe2 (__NR_SYSCALL_BASE + 359) -#define __NR_inotify_init1 (__NR_SYSCALL_BASE + 360) -#define __NR_preadv (__NR_SYSCALL_BASE + 361) -#define __NR_pwritev (__NR_SYSCALL_BASE + 362) -#define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE + 363) -#define __NR_perf_event_open (__NR_SYSCALL_BASE + 364) -#define __NR_recvmmsg (__NR_SYSCALL_BASE + 365) -#define __NR_accept4 (__NR_SYSCALL_BASE + 366) -#define __NR_fanotify_init (__NR_SYSCALL_BASE + 367) -#define __NR_fanotify_mark (__NR_SYSCALL_BASE + 368) -#define __NR_prlimit64 (__NR_SYSCALL_BASE + 369) -#define __NR_name_to_handle_at (__NR_SYSCALL_BASE + 370) -#define __NR_open_by_handle_at (__NR_SYSCALL_BASE + 371) -#define __NR_clock_adjtime (__NR_SYSCALL_BASE + 372) -#define __NR_syncfs (__NR_SYSCALL_BASE + 373) -#define __NR_sendmmsg (__NR_SYSCALL_BASE + 374) -#define __NR_setns (__NR_SYSCALL_BASE + 375) -#define __NR_process_vm_readv (__NR_SYSCALL_BASE + 376) -#define __NR_process_vm_writev (__NR_SYSCALL_BASE + 377) -#define __NR_kcmp (__NR_SYSCALL_BASE + 378) -#define __NR_finit_module (__NR_SYSCALL_BASE + 379) -#define __NR_sched_setattr (__NR_SYSCALL_BASE + 380) -#define __NR_sched_getattr (__NR_SYSCALL_BASE + 381) -#define __NR_renameat2 (__NR_SYSCALL_BASE + 382) -#define __NR_seccomp (__NR_SYSCALL_BASE + 383) -#define __NR_getrandom (__NR_SYSCALL_BASE + 384) -#define __NR_memfd_create (__NR_SYSCALL_BASE + 385) -#define __NR_bpf (__NR_SYSCALL_BASE + 386) -#define __NR_execveat (__NR_SYSCALL_BASE + 387) -#define __NR_userfaultfd (__NR_SYSCALL_BASE + 388) -#define __NR_membarrier (__NR_SYSCALL_BASE + 389) -#define __NR_mlock2 (__NR_SYSCALL_BASE + 390) -#define __NR_copy_file_range (__NR_SYSCALL_BASE + 391) -#define __NR_preadv2 (__NR_SYSCALL_BASE + 392) -#define __NR_pwritev2 (__NR_SYSCALL_BASE + 393) -#define __NR_pkey_mprotect (__NR_SYSCALL_BASE + 394) -#define __NR_pkey_alloc (__NR_SYSCALL_BASE + 395) -#define __NR_pkey_free (__NR_SYSCALL_BASE + 396) -#define __NR_statx (__NR_SYSCALL_BASE + 397) -#define __NR_rseq (__NR_SYSCALL_BASE + 398) -#define __NR_io_pgetevents (__NR_SYSCALL_BASE + 399) -#define __NR_migrate_pages (__NR_SYSCALL_BASE + 400) -#define __NR_kexec_file_load (__NR_SYSCALL_BASE + 401) -#define __NR_clock_gettime64 (__NR_SYSCALL_BASE + 403) -#define __NR_clock_settime64 (__NR_SYSCALL_BASE + 404) -#define __NR_clock_adjtime64 (__NR_SYSCALL_BASE + 405) -#define __NR_clock_getres_time64 (__NR_SYSCALL_BASE + 406) -#define __NR_clock_nanosleep_time64 (__NR_SYSCALL_BASE + 407) -#define __NR_timer_gettime64 (__NR_SYSCALL_BASE + 408) -#define __NR_timer_settime64 (__NR_SYSCALL_BASE + 409) -#define __NR_timerfd_gettime64 (__NR_SYSCALL_BASE + 410) -#define __NR_timerfd_settime64 (__NR_SYSCALL_BASE + 411) -#define __NR_utimensat_time64 (__NR_SYSCALL_BASE + 412) -#define __NR_pselect6_time64 (__NR_SYSCALL_BASE + 413) -#define __NR_ppoll_time64 (__NR_SYSCALL_BASE + 414) -#define __NR_io_pgetevents_time64 (__NR_SYSCALL_BASE + 416) -#define __NR_recvmmsg_time64 (__NR_SYSCALL_BASE + 417) -#define __NR_mq_timedsend_time64 (__NR_SYSCALL_BASE + 418) -#define __NR_mq_timedreceive_time64 (__NR_SYSCALL_BASE + 419) -#define __NR_semtimedop_time64 (__NR_SYSCALL_BASE + 420) -#define __NR_rt_sigtimedwait_time64 (__NR_SYSCALL_BASE + 421) -#define __NR_futex_time64 (__NR_SYSCALL_BASE + 422) -#define __NR_sched_rr_get_interval_time64 (__NR_SYSCALL_BASE + 423) -#define __NR_pidfd_send_signal (__NR_SYSCALL_BASE + 424) -#define __NR_io_uring_setup (__NR_SYSCALL_BASE + 425) -#define __NR_io_uring_enter (__NR_SYSCALL_BASE + 426) -#define __NR_io_uring_register (__NR_SYSCALL_BASE + 427) -#define __NR_open_tree (__NR_SYSCALL_BASE + 428) -#define __NR_move_mount (__NR_SYSCALL_BASE + 429) -#define __NR_fsopen (__NR_SYSCALL_BASE + 430) -#define __NR_fsconfig (__NR_SYSCALL_BASE + 431) -#define __NR_fsmount (__NR_SYSCALL_BASE + 432) -#define __NR_fspick (__NR_SYSCALL_BASE + 433) -#define __NR_pidfd_open (__NR_SYSCALL_BASE + 434) -#define __NR_clone3 (__NR_SYSCALL_BASE + 435) -#define __NR_close_range (__NR_SYSCALL_BASE + 436) -#define __NR_openat2 (__NR_SYSCALL_BASE + 437) -#define __NR_pidfd_getfd (__NR_SYSCALL_BASE + 438) -#define __NR_faccessat2 (__NR_SYSCALL_BASE + 439) -#define __NR_process_madvise (__NR_SYSCALL_BASE + 440) -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-eabi.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-eabi.h deleted file mode 100644 index 95e54d3..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-eabi.h +++ /dev/null @@ -1,8 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef _UAPI_ASM_ARM_UNISTD_EABI_H -#define _UAPI_ASM_ARM_UNISTD_EABI_H 1 -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-oabi.h b/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-oabi.h deleted file mode 100644 index 16149e2..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-arm/uapi/asm/unistd-oabi.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef _UAPI_ASM_ARM_UNISTD_OABI_H -#define _UAPI_ASM_ARM_UNISTD_OABI_H 1 -#define __NR_time (__NR_SYSCALL_BASE + 13) -#define __NR_umount (__NR_SYSCALL_BASE + 22) -#define __NR_stime (__NR_SYSCALL_BASE + 25) -#define __NR_alarm (__NR_SYSCALL_BASE + 27) -#define __NR_utime (__NR_SYSCALL_BASE + 30) -#define __NR_getrlimit (__NR_SYSCALL_BASE + 76) -#define __NR_select (__NR_SYSCALL_BASE + 82) -#define __NR_readdir (__NR_SYSCALL_BASE + 89) -#define __NR_mmap (__NR_SYSCALL_BASE + 90) -#define __NR_socketcall (__NR_SYSCALL_BASE + 102) -#define __NR_syscall (__NR_SYSCALL_BASE + 113) -#define __NR_ipc (__NR_SYSCALL_BASE + 117) -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/auxvec.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/auxvec.h index 5d1f0f6..4735fd5 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/auxvec.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/auxvec.h @@ -1,11 +1,24 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_AUXVEC_H #define __ASM_AUXVEC_H -#define AT_SYSINFO_EHDR 33 -#define AT_MINSIGSTKSZ 51 +#define AT_SYSINFO_EHDR 33 +#define AT_MINSIGSTKSZ 51 #define AT_VECTOR_SIZE_ARCH 2 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bitsperlong.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bitsperlong.h index 7975820..c409c19 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bitsperlong.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bitsperlong.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_BITSPERLONG_H #define __ASM_BITSPERLONG_H #define __BITS_PER_LONG 64 diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bpf_perf_event.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bpf_perf_event.h index 89078f7..cad04bf 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bpf_perf_event.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/bpf_perf_event.h @@ -1,10 +1,23 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_BPF_PERF_EVENT_H__ -#define __ASM_BPF_PERF_EVENT_H__ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_BPF_PERF_EVENT_H__ +#define _UAPI__ASM_BPF_PERF_EVENT_H__ #include typedef struct user_pt_regs bpf_user_pt_regs_t; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/byteorder.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/byteorder.h index 7e11d24..c3174b1 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/byteorder.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/byteorder.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_BYTEORDER_H #define __ASM_BYTEORDER_H #ifdef __AARCH64EB__ diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/errno.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/errno.h index c1081c8..392cd94 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/errno.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/errno.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/fcntl.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/fcntl.h index 173f434..e9e0e01 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/fcntl.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/fcntl.h @@ -1,13 +1,26 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_FCNTL_H #define __ASM_FCNTL_H -#define O_DIRECTORY 040000 -#define O_NOFOLLOW 0100000 -#define O_DIRECT 0200000 -#define O_LARGEFILE 0400000 +#define O_DIRECTORY 040000 +#define O_NOFOLLOW 0100000 +#define O_DIRECT 0200000 +#define O_LARGEFILE 0400000 #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/hwcap.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/hwcap.h index dd212fc..8a70a52 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/hwcap.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/hwcap.h @@ -1,37 +1,72 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_HWCAP_H -#define __ASM_HWCAP_H -#define HWCAP_FP (1 << 0) -#define HWCAP_ASIMD (1 << 1) -#define HWCAP_EVTSTRM (1 << 2) -#define HWCAP_AES (1 << 3) -#define HWCAP_PMULL (1 << 4) -#define HWCAP_SHA1 (1 << 5) -#define HWCAP_SHA2 (1 << 6) -#define HWCAP_CRC32 (1 << 7) -#define HWCAP_ATOMICS (1 << 8) -#define HWCAP_FPHP (1 << 9) -#define HWCAP_ASIMDHP (1 << 10) -#define HWCAP_CPUID (1 << 11) -#define HWCAP_ASIMDRDM (1 << 12) -#define HWCAP_JSCVT (1 << 13) -#define HWCAP_FCMA (1 << 14) -#define HWCAP_LRCPC (1 << 15) -#define HWCAP_DCPOP (1 << 16) -#define HWCAP_SHA3 (1 << 17) -#define HWCAP_SM3 (1 << 18) -#define HWCAP_SM4 (1 << 19) -#define HWCAP_ASIMDDP (1 << 20) -#define HWCAP_SHA512 (1 << 21) -#define HWCAP_SVE (1 << 22) -#define HWCAP_ASIMDFHM (1 << 23) -#define HWCAP_DIT (1 << 24) -#define HWCAP_USCAT (1 << 25) -#define HWCAP_ILRCPC (1 << 26) -#define HWCAP_FLAGM (1 << 27) -#define HWCAP_SSBS (1 << 28) +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_HWCAP_H +#define _UAPI__ASM_HWCAP_H +#define HWCAP_FP (1 << 0) +#define HWCAP_ASIMD (1 << 1) +#define HWCAP_EVTSTRM (1 << 2) +#define HWCAP_AES (1 << 3) +#define HWCAP_PMULL (1 << 4) +#define HWCAP_SHA1 (1 << 5) +#define HWCAP_SHA2 (1 << 6) +#define HWCAP_CRC32 (1 << 7) +#define HWCAP_ATOMICS (1 << 8) +#define HWCAP_FPHP (1 << 9) +#define HWCAP_ASIMDHP (1 << 10) +#define HWCAP_CPUID (1 << 11) +#define HWCAP_ASIMDRDM (1 << 12) +#define HWCAP_JSCVT (1 << 13) +#define HWCAP_FCMA (1 << 14) +#define HWCAP_LRCPC (1 << 15) +#define HWCAP_DCPOP (1 << 16) +#define HWCAP_SHA3 (1 << 17) +#define HWCAP_SM3 (1 << 18) +#define HWCAP_SM4 (1 << 19) +#define HWCAP_ASIMDDP (1 << 20) +#define HWCAP_SHA512 (1 << 21) +#define HWCAP_SVE (1 << 22) +#define HWCAP_ASIMDFHM (1 << 23) +#define HWCAP_DIT (1 << 24) +#define HWCAP_USCAT (1 << 25) +#define HWCAP_ILRCPC (1 << 26) +#define HWCAP_FLAGM (1 << 27) +#define HWCAP_SSBS (1 << 28) +#define HWCAP_SB (1 << 29) +#define HWCAP_PACA (1 << 30) +#define HWCAP_PACG (1UL << 31) +#define HWCAP2_DCPODP (1 << 0) +#define HWCAP2_SVE2 (1 << 1) +#define HWCAP2_SVEAES (1 << 2) +#define HWCAP2_SVEPMULL (1 << 3) +#define HWCAP2_SVEBITPERM (1 << 4) +#define HWCAP2_SVESHA3 (1 << 5) +#define HWCAP2_SVESM4 (1 << 6) +#define HWCAP2_FLAGM2 (1 << 7) +#define HWCAP2_FRINT (1 << 8) +#define HWCAP2_SVEI8MM (1 << 9) +#define HWCAP2_SVEF32MM (1 << 10) +#define HWCAP2_SVEF64MM (1 << 11) +#define HWCAP2_SVEBF16 (1 << 12) +#define HWCAP2_I8MM (1 << 13) +#define HWCAP2_BF16 (1 << 14) +#define HWCAP2_DGH (1 << 15) +#define HWCAP2_RNG (1 << 16) +#define HWCAP2_BTI (1 << 17) +#define HWCAP2_MTE (1 << 18) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctl.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctl.h index 32a259f..7b7bd37 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctl.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctl.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctls.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctls.h index 58a92e2..0c66935 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctls.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ioctls.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ipcbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ipcbuf.h index d0004a4..0021f14 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ipcbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ipcbuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm.h index 486e60b..32b6a2b 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm.h @@ -1,65 +1,81 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ARM_KVM_H__ #define __ARM_KVM_H__ -#define KVM_SPSR_EL1 0 -#define KVM_SPSR_SVC KVM_SPSR_EL1 -#define KVM_SPSR_ABT 1 -#define KVM_SPSR_UND 2 -#define KVM_SPSR_IRQ 3 -#define KVM_SPSR_FIQ 4 -#define KVM_NR_SPSR 5 +#define KVM_SPSR_EL1 0 +#define KVM_SPSR_SVC KVM_SPSR_EL1 +#define KVM_SPSR_ABT 1 +#define KVM_SPSR_UND 2 +#define KVM_SPSR_IRQ 3 +#define KVM_SPSR_FIQ 4 +#define KVM_NR_SPSR 5 #ifndef __ASSEMBLY__ #include #include #include +#include #define __KVM_HAVE_GUEST_DEBUG #define __KVM_HAVE_IRQ_LINE #define __KVM_HAVE_READONLY_MEM #define __KVM_HAVE_VCPU_EVENTS #define KVM_COALESCED_MMIO_PAGE_OFFSET 1 -#define KVM_REG_SIZE(id) \ - (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) +#define KVM_REG_SIZE(id) (1U << (((id) & KVM_REG_SIZE_MASK) >> KVM_REG_SIZE_SHIFT)) struct kvm_regs { - struct user_pt_regs regs; - __u64 sp_el1; - __u64 elr_el1; - __u64 spsr[KVM_NR_SPSR]; - struct user_fpsimd_state fp_regs; + struct user_pt_regs regs; + __u64 sp_el1; + __u64 elr_el1; + __u64 spsr[KVM_NR_SPSR]; + struct user_fpsimd_state fp_regs; }; -#define KVM_ARM_TARGET_AEM_V8 0 -#define KVM_ARM_TARGET_FOUNDATION_V8 1 -#define KVM_ARM_TARGET_CORTEX_A57 2 -#define KVM_ARM_TARGET_XGENE_POTENZA 3 -#define KVM_ARM_TARGET_CORTEX_A53 4 -#define KVM_ARM_TARGET_GENERIC_V8 5 -#define KVM_ARM_NUM_TARGETS 6 -#define KVM_ARM_DEVICE_TYPE_SHIFT 0 -#define KVM_ARM_DEVICE_TYPE_MASK (0xffff << KVM_ARM_DEVICE_TYPE_SHIFT) -#define KVM_ARM_DEVICE_ID_SHIFT 16 -#define KVM_ARM_DEVICE_ID_MASK (0xffff << KVM_ARM_DEVICE_ID_SHIFT) -#define KVM_ARM_DEVICE_VGIC_V2 0 -#define KVM_VGIC_V2_ADDR_TYPE_DIST 0 -#define KVM_VGIC_V2_ADDR_TYPE_CPU 1 -#define KVM_VGIC_V2_DIST_SIZE 0x1000 -#define KVM_VGIC_V2_CPU_SIZE 0x2000 -#define KVM_VGIC_V3_ADDR_TYPE_DIST 2 -#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3 -#define KVM_VGIC_ITS_ADDR_TYPE 4 -#define KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION 5 -#define KVM_VGIC_V3_DIST_SIZE SZ_64K -#define KVM_VGIC_V3_REDIST_SIZE (2 * SZ_64K) -#define KVM_VGIC_V3_ITS_SIZE (2 * SZ_64K) -#define KVM_ARM_VCPU_POWER_OFF 0 -#define KVM_ARM_VCPU_EL1_32BIT 1 -#define KVM_ARM_VCPU_PSCI_0_2 2 -#define KVM_ARM_VCPU_PMU_V3 3 +#define KVM_ARM_TARGET_AEM_V8 0 +#define KVM_ARM_TARGET_FOUNDATION_V8 1 +#define KVM_ARM_TARGET_CORTEX_A57 2 +#define KVM_ARM_TARGET_XGENE_POTENZA 3 +#define KVM_ARM_TARGET_CORTEX_A53 4 +#define KVM_ARM_TARGET_GENERIC_V8 5 +#define KVM_ARM_NUM_TARGETS 6 +#define KVM_ARM_DEVICE_TYPE_SHIFT 0 +#define KVM_ARM_DEVICE_TYPE_MASK (0xffff << KVM_ARM_DEVICE_TYPE_SHIFT) +#define KVM_ARM_DEVICE_ID_SHIFT 16 +#define KVM_ARM_DEVICE_ID_MASK (0xffff << KVM_ARM_DEVICE_ID_SHIFT) +#define KVM_ARM_DEVICE_VGIC_V2 0 +#define KVM_VGIC_V2_ADDR_TYPE_DIST 0 +#define KVM_VGIC_V2_ADDR_TYPE_CPU 1 +#define KVM_VGIC_V2_DIST_SIZE 0x1000 +#define KVM_VGIC_V2_CPU_SIZE 0x2000 +#define KVM_VGIC_V3_ADDR_TYPE_DIST 2 +#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3 +#define KVM_VGIC_ITS_ADDR_TYPE 4 +#define KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION 5 +#define KVM_VGIC_V3_DIST_SIZE SZ_64K +#define KVM_VGIC_V3_REDIST_SIZE (2 * SZ_64K) +#define KVM_VGIC_V3_ITS_SIZE (2 * SZ_64K) +#define KVM_ARM_VCPU_POWER_OFF 0 +#define KVM_ARM_VCPU_EL1_32BIT 1 +#define KVM_ARM_VCPU_PSCI_0_2 2 +#define KVM_ARM_VCPU_PMU_V3 3 +#define KVM_ARM_VCPU_SVE 4 +#define KVM_ARM_VCPU_PTRAUTH_ADDRESS 5 +#define KVM_ARM_VCPU_PTRAUTH_GENERIC 6 struct kvm_vcpu_init { - __u32 target; - __u32 features[7]; + __u32 target; + __u32 features[7]; }; struct kvm_sregs { }; @@ -67,130 +83,155 @@ struct kvm_fpu { }; #define KVM_ARM_MAX_DBG_REGS 16 struct kvm_guest_debug_arch { - __u64 dbg_bcr[KVM_ARM_MAX_DBG_REGS]; - __u64 dbg_bvr[KVM_ARM_MAX_DBG_REGS]; - __u64 dbg_wcr[KVM_ARM_MAX_DBG_REGS]; - __u64 dbg_wvr[KVM_ARM_MAX_DBG_REGS]; + __u64 dbg_bcr[KVM_ARM_MAX_DBG_REGS]; + __u64 dbg_bvr[KVM_ARM_MAX_DBG_REGS]; + __u64 dbg_wcr[KVM_ARM_MAX_DBG_REGS]; + __u64 dbg_wvr[KVM_ARM_MAX_DBG_REGS]; }; struct kvm_debug_exit_arch { - __u32 hsr; - __u64 far; + __u32 hsr; + __u64 far; }; -#define KVM_GUESTDBG_USE_SW_BP (1 << 16) -#define KVM_GUESTDBG_USE_HW (1 << 17) +#define KVM_GUESTDBG_USE_SW_BP (1 << 16) +#define KVM_GUESTDBG_USE_HW (1 << 17) struct kvm_sync_regs { - - __u64 device_irq_level; + __u64 device_irq_level; }; struct kvm_arch_memory_slot { }; +struct kvm_pmu_event_filter { + __u16 base_event; + __u16 nevents; +#define KVM_PMU_EVENT_ALLOW 0 +#define KVM_PMU_EVENT_DENY 1 + __u8 action; + __u8 pad[3]; +}; struct kvm_vcpu_events { - struct { - __u8 serror_pending; - __u8 serror_has_esr; - - __u8 pad[6]; - __u64 serror_esr; - } exception; - __u32 reserved[12]; + struct { + __u8 serror_pending; + __u8 serror_has_esr; + __u8 ext_dabt_pending; + __u8 pad[5]; + __u64 serror_esr; + } exception; + __u32 reserved[12]; }; -#define KVM_REG_ARM_COPROC_MASK 0x000000000FFF0000 -#define KVM_REG_ARM_COPROC_SHIFT 16 -#define KVM_REG_ARM_CORE (0x0010 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32)) -#define KVM_REG_ARM_DEMUX (0x0011 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_DEMUX_ID_MASK 0x000000000000FF00 -#define KVM_REG_ARM_DEMUX_ID_SHIFT 8 -#define KVM_REG_ARM_DEMUX_ID_CCSIDR (0x00 << KVM_REG_ARM_DEMUX_ID_SHIFT) -#define KVM_REG_ARM_DEMUX_VAL_MASK 0x00000000000000FF -#define KVM_REG_ARM_DEMUX_VAL_SHIFT 0 -#define KVM_REG_ARM64_SYSREG (0x0013 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM64_SYSREG_OP0_MASK 0x000000000000c000 -#define KVM_REG_ARM64_SYSREG_OP0_SHIFT 14 -#define KVM_REG_ARM64_SYSREG_OP1_MASK 0x0000000000003800 -#define KVM_REG_ARM64_SYSREG_OP1_SHIFT 11 -#define KVM_REG_ARM64_SYSREG_CRN_MASK 0x0000000000000780 -#define KVM_REG_ARM64_SYSREG_CRN_SHIFT 7 -#define KVM_REG_ARM64_SYSREG_CRM_MASK 0x0000000000000078 -#define KVM_REG_ARM64_SYSREG_CRM_SHIFT 3 -#define KVM_REG_ARM64_SYSREG_OP2_MASK 0x0000000000000007 -#define KVM_REG_ARM64_SYSREG_OP2_SHIFT 0 -#define ARM64_SYS_REG_SHIFT_MASK(x,n) \ - (((x) << KVM_REG_ARM64_SYSREG_ ## n ## _SHIFT) & \ - KVM_REG_ARM64_SYSREG_ ## n ## _MASK) -#define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ - (KVM_REG_ARM64 | KVM_REG_ARM64_SYSREG | \ - ARM64_SYS_REG_SHIFT_MASK(op0, OP0) | \ - ARM64_SYS_REG_SHIFT_MASK(op1, OP1) | \ - ARM64_SYS_REG_SHIFT_MASK(crn, CRN) | \ - ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | \ - ARM64_SYS_REG_SHIFT_MASK(op2, OP2)) +#define KVM_REG_ARM_COPROC_MASK 0x000000000FFF0000 +#define KVM_REG_ARM_COPROC_SHIFT 16 +#define KVM_REG_ARM_CORE (0x0010 << KVM_REG_ARM_COPROC_SHIFT) +#define KVM_REG_ARM_CORE_REG(name) (offsetof(struct kvm_regs, name) / sizeof(__u32)) +#define KVM_REG_ARM_DEMUX (0x0011 << KVM_REG_ARM_COPROC_SHIFT) +#define KVM_REG_ARM_DEMUX_ID_MASK 0x000000000000FF00 +#define KVM_REG_ARM_DEMUX_ID_SHIFT 8 +#define KVM_REG_ARM_DEMUX_ID_CCSIDR (0x00 << KVM_REG_ARM_DEMUX_ID_SHIFT) +#define KVM_REG_ARM_DEMUX_VAL_MASK 0x00000000000000FF +#define KVM_REG_ARM_DEMUX_VAL_SHIFT 0 +#define KVM_REG_ARM64_SYSREG (0x0013 << KVM_REG_ARM_COPROC_SHIFT) +#define KVM_REG_ARM64_SYSREG_OP0_MASK 0x000000000000c000 +#define KVM_REG_ARM64_SYSREG_OP0_SHIFT 14 +#define KVM_REG_ARM64_SYSREG_OP1_MASK 0x0000000000003800 +#define KVM_REG_ARM64_SYSREG_OP1_SHIFT 11 +#define KVM_REG_ARM64_SYSREG_CRN_MASK 0x0000000000000780 +#define KVM_REG_ARM64_SYSREG_CRN_SHIFT 7 +#define KVM_REG_ARM64_SYSREG_CRM_MASK 0x0000000000000078 +#define KVM_REG_ARM64_SYSREG_CRM_SHIFT 3 +#define KVM_REG_ARM64_SYSREG_OP2_MASK 0x0000000000000007 +#define KVM_REG_ARM64_SYSREG_OP2_SHIFT 0 +#define ARM64_SYS_REG_SHIFT_MASK(x,n) (((x) << KVM_REG_ARM64_SYSREG_ ##n ##_SHIFT) & KVM_REG_ARM64_SYSREG_ ##n ##_MASK) +#define __ARM64_SYS_REG(op0,op1,crn,crm,op2) (KVM_REG_ARM64 | KVM_REG_ARM64_SYSREG | ARM64_SYS_REG_SHIFT_MASK(op0, OP0) | ARM64_SYS_REG_SHIFT_MASK(op1, OP1) | ARM64_SYS_REG_SHIFT_MASK(crn, CRN) | ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | ARM64_SYS_REG_SHIFT_MASK(op2, OP2)) #define ARM64_SYS_REG(...) (__ARM64_SYS_REG(__VA_ARGS__) | KVM_REG_SIZE_U64) -#define KVM_REG_ARM_PTIMER_CTL ARM64_SYS_REG(3, 3, 14, 2, 1) -#define KVM_REG_ARM_PTIMER_CVAL ARM64_SYS_REG(3, 3, 14, 2, 2) -#define KVM_REG_ARM_PTIMER_CNT ARM64_SYS_REG(3, 3, 14, 0, 1) -#define KVM_REG_ARM_TIMER_CTL ARM64_SYS_REG(3, 3, 14, 3, 1) -#define KVM_REG_ARM_TIMER_CNT ARM64_SYS_REG(3, 3, 14, 3, 2) -#define KVM_REG_ARM_TIMER_CVAL ARM64_SYS_REG(3, 3, 14, 0, 2) -#define KVM_REG_ARM_FW (0x0014 << KVM_REG_ARM_COPROC_SHIFT) -#define KVM_REG_ARM_FW_REG(r) (KVM_REG_ARM64 | KVM_REG_SIZE_U64 | \ - KVM_REG_ARM_FW | ((r) & 0xffff)) -#define KVM_REG_ARM_PSCI_VERSION KVM_REG_ARM_FW_REG(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 -#define KVM_DEV_ARM_VGIC_CPUID_SHIFT 32 -#define KVM_DEV_ARM_VGIC_CPUID_MASK (0xffULL << KVM_DEV_ARM_VGIC_CPUID_SHIFT) -#define KVM_DEV_ARM_VGIC_V3_MPIDR_SHIFT 32 -#define KVM_DEV_ARM_VGIC_V3_MPIDR_MASK \ - (0xffffffffULL << KVM_DEV_ARM_VGIC_V3_MPIDR_SHIFT) -#define KVM_DEV_ARM_VGIC_OFFSET_SHIFT 0 -#define KVM_DEV_ARM_VGIC_OFFSET_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_OFFSET_SHIFT) -#define KVM_DEV_ARM_VGIC_SYSREG_INSTR_MASK (0xffff) -#define KVM_DEV_ARM_VGIC_GRP_NR_IRQS 3 -#define KVM_DEV_ARM_VGIC_GRP_CTRL 4 +#define KVM_REG_ARM_PTIMER_CTL ARM64_SYS_REG(3, 3, 14, 2, 1) +#define KVM_REG_ARM_PTIMER_CVAL ARM64_SYS_REG(3, 3, 14, 2, 2) +#define KVM_REG_ARM_PTIMER_CNT ARM64_SYS_REG(3, 3, 14, 0, 1) +#define KVM_REG_ARM_TIMER_CTL ARM64_SYS_REG(3, 3, 14, 3, 1) +#define KVM_REG_ARM_TIMER_CVAL ARM64_SYS_REG(3, 3, 14, 0, 2) +#define KVM_REG_ARM_TIMER_CNT ARM64_SYS_REG(3, 3, 14, 3, 2) +#define KVM_REG_ARM_FW (0x0014 << KVM_REG_ARM_COPROC_SHIFT) +#define KVM_REG_ARM_FW_REG(r) (KVM_REG_ARM64 | KVM_REG_SIZE_U64 | KVM_REG_ARM_FW | ((r) & 0xffff)) +#define KVM_REG_ARM_PSCI_VERSION KVM_REG_ARM_FW_REG(0) +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1 KVM_REG_ARM_FW_REG(1) +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1_NOT_AVAIL 0 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1_AVAIL 1 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1_NOT_REQUIRED 2 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2 KVM_REG_ARM_FW_REG(2) +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_NOT_AVAIL 0 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_UNKNOWN 1 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_AVAIL 2 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_NOT_REQUIRED 3 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_ENABLED (1U << 4) +#define KVM_REG_ARM64_SVE (0x15 << KVM_REG_ARM_COPROC_SHIFT) +#define KVM_REG_ARM64_SVE_ZREG_BASE 0 +#define KVM_REG_ARM64_SVE_PREG_BASE 0x400 +#define KVM_REG_ARM64_SVE_FFR_BASE 0x600 +#define KVM_ARM64_SVE_NUM_ZREGS __SVE_NUM_ZREGS +#define KVM_ARM64_SVE_NUM_PREGS __SVE_NUM_PREGS +#define KVM_ARM64_SVE_MAX_SLICES 32 +#define KVM_REG_ARM64_SVE_ZREG(n,i) (KVM_REG_ARM64 | KVM_REG_ARM64_SVE | KVM_REG_ARM64_SVE_ZREG_BASE | KVM_REG_SIZE_U2048 | (((n) & (KVM_ARM64_SVE_NUM_ZREGS - 1)) << 5) | ((i) & (KVM_ARM64_SVE_MAX_SLICES - 1))) +#define KVM_REG_ARM64_SVE_PREG(n,i) (KVM_REG_ARM64 | KVM_REG_ARM64_SVE | KVM_REG_ARM64_SVE_PREG_BASE | KVM_REG_SIZE_U256 | (((n) & (KVM_ARM64_SVE_NUM_PREGS - 1)) << 5) | ((i) & (KVM_ARM64_SVE_MAX_SLICES - 1))) +#define KVM_REG_ARM64_SVE_FFR(i) (KVM_REG_ARM64 | KVM_REG_ARM64_SVE | KVM_REG_ARM64_SVE_FFR_BASE | KVM_REG_SIZE_U256 | ((i) & (KVM_ARM64_SVE_MAX_SLICES - 1))) +#define KVM_ARM64_SVE_VQ_MIN __SVE_VQ_MIN +#define KVM_ARM64_SVE_VQ_MAX __SVE_VQ_MAX +#define KVM_REG_ARM64_SVE_VLS (KVM_REG_ARM64 | KVM_REG_ARM64_SVE | KVM_REG_SIZE_U512 | 0xffff) +#define KVM_ARM64_SVE_VLS_WORDS ((KVM_ARM64_SVE_VQ_MAX - KVM_ARM64_SVE_VQ_MIN) / 64 + 1) +#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 +#define KVM_DEV_ARM_VGIC_CPUID_SHIFT 32 +#define KVM_DEV_ARM_VGIC_CPUID_MASK (0xffULL << KVM_DEV_ARM_VGIC_CPUID_SHIFT) +#define KVM_DEV_ARM_VGIC_V3_MPIDR_SHIFT 32 +#define KVM_DEV_ARM_VGIC_V3_MPIDR_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_V3_MPIDR_SHIFT) +#define KVM_DEV_ARM_VGIC_OFFSET_SHIFT 0 +#define KVM_DEV_ARM_VGIC_OFFSET_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_OFFSET_SHIFT) +#define KVM_DEV_ARM_VGIC_SYSREG_INSTR_MASK (0xffff) +#define KVM_DEV_ARM_VGIC_GRP_NR_IRQS 3 +#define KVM_DEV_ARM_VGIC_GRP_CTRL 4 #define KVM_DEV_ARM_VGIC_GRP_REDIST_REGS 5 #define KVM_DEV_ARM_VGIC_GRP_CPU_SYSREGS 6 -#define KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO 7 +#define KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO 7 #define KVM_DEV_ARM_VGIC_GRP_ITS_REGS 8 -#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT 10 -#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_MASK \ - (0x3fffffULL << KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT) -#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INTID_MASK 0x3ff -#define VGIC_LEVEL_INFO_LINE_LEVEL 0 -#define KVM_DEV_ARM_VGIC_CTRL_INIT 0 -#define KVM_DEV_ARM_ITS_SAVE_TABLES 1 -#define KVM_DEV_ARM_ITS_RESTORE_TABLES 2 -#define KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES 3 -#define KVM_DEV_ARM_ITS_CTRL_RESET 4 -#define KVM_ARM_VCPU_PMU_V3_CTRL 0 -#define KVM_ARM_VCPU_PMU_V3_IRQ 0 -#define KVM_ARM_VCPU_PMU_V3_INIT 1 -#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_IRQ_TYPE_SHIFT 24 -#define KVM_ARM_IRQ_TYPE_MASK 0xff -#define KVM_ARM_IRQ_VCPU_SHIFT 16 -#define KVM_ARM_IRQ_VCPU_MASK 0xff -#define KVM_ARM_IRQ_NUM_SHIFT 0 -#define KVM_ARM_IRQ_NUM_MASK 0xffff -#define KVM_ARM_IRQ_TYPE_CPU 0 -#define KVM_ARM_IRQ_TYPE_SPI 1 -#define KVM_ARM_IRQ_TYPE_PPI 2 -#define KVM_ARM_IRQ_CPU_IRQ 0 -#define KVM_ARM_IRQ_CPU_FIQ 1 -#define KVM_ARM_IRQ_GIC_MAX 127 -#define KVM_NR_IRQCHIPS 1 -#define KVM_PSCI_FN_BASE 0x95c1ba5e -#define KVM_PSCI_FN(n) (KVM_PSCI_FN_BASE + (n)) -#define KVM_PSCI_FN_CPU_SUSPEND KVM_PSCI_FN(0) -#define KVM_PSCI_FN_CPU_OFF KVM_PSCI_FN(1) -#define KVM_PSCI_FN_CPU_ON KVM_PSCI_FN(2) -#define KVM_PSCI_FN_MIGRATE KVM_PSCI_FN(3) -#define KVM_PSCI_RET_SUCCESS PSCI_RET_SUCCESS -#define KVM_PSCI_RET_NI PSCI_RET_NOT_SUPPORTED -#define KVM_PSCI_RET_INVAL PSCI_RET_INVALID_PARAMS -#define KVM_PSCI_RET_DENIED PSCI_RET_DENIED +#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT 10 +#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_MASK (0x3fffffULL << KVM_DEV_ARM_VGIC_LINE_LEVEL_INFO_SHIFT) +#define KVM_DEV_ARM_VGIC_LINE_LEVEL_INTID_MASK 0x3ff +#define VGIC_LEVEL_INFO_LINE_LEVEL 0 +#define KVM_DEV_ARM_VGIC_CTRL_INIT 0 +#define KVM_DEV_ARM_ITS_SAVE_TABLES 1 +#define KVM_DEV_ARM_ITS_RESTORE_TABLES 2 +#define KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES 3 +#define KVM_DEV_ARM_ITS_CTRL_RESET 4 +#define KVM_ARM_VCPU_PMU_V3_CTRL 0 +#define KVM_ARM_VCPU_PMU_V3_IRQ 0 +#define KVM_ARM_VCPU_PMU_V3_INIT 1 +#define KVM_ARM_VCPU_PMU_V3_FILTER 2 +#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_PVTIME_CTRL 2 +#define KVM_ARM_VCPU_PVTIME_IPA 0 +#define KVM_ARM_IRQ_VCPU2_SHIFT 28 +#define KVM_ARM_IRQ_VCPU2_MASK 0xf +#define KVM_ARM_IRQ_TYPE_SHIFT 24 +#define KVM_ARM_IRQ_TYPE_MASK 0xf +#define KVM_ARM_IRQ_VCPU_SHIFT 16 +#define KVM_ARM_IRQ_VCPU_MASK 0xff +#define KVM_ARM_IRQ_NUM_SHIFT 0 +#define KVM_ARM_IRQ_NUM_MASK 0xffff +#define KVM_ARM_IRQ_TYPE_CPU 0 +#define KVM_ARM_IRQ_TYPE_SPI 1 +#define KVM_ARM_IRQ_TYPE_PPI 2 +#define KVM_ARM_IRQ_CPU_IRQ 0 +#define KVM_ARM_IRQ_CPU_FIQ 1 +#define KVM_ARM_IRQ_GIC_MAX 127 +#define KVM_NR_IRQCHIPS 1 +#define KVM_PSCI_FN_BASE 0x95c1ba5e +#define KVM_PSCI_FN(n) (KVM_PSCI_FN_BASE + (n)) +#define KVM_PSCI_FN_CPU_SUSPEND KVM_PSCI_FN(0) +#define KVM_PSCI_FN_CPU_OFF KVM_PSCI_FN(1) +#define KVM_PSCI_FN_CPU_ON KVM_PSCI_FN(2) +#define KVM_PSCI_FN_MIGRATE KVM_PSCI_FN(3) +#define KVM_PSCI_RET_SUCCESS PSCI_RET_SUCCESS +#define KVM_PSCI_RET_NI PSCI_RET_NOT_SUPPORTED +#define KVM_PSCI_RET_INVAL PSCI_RET_INVALID_PARAMS +#define KVM_PSCI_RET_DENIED PSCI_RET_DENIED #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm_para.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm_para.h index c74c294..e19f7a0 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm_para.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/kvm_para.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/mman.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/mman.h index 4324326..98f72cf 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/mman.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/mman.h @@ -1,6 +1,24 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_MMAN_H +#define _UAPI__ASM_MMAN_H #include +#define PROT_BTI 0x10 +#define PROT_MTE 0x20 +#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/msgbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/msgbuf.h index a361e7c..7809e3c 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/msgbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/msgbuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/param.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/param.h index 3346751..3bd70ed 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/param.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/param.h @@ -1,10 +1,23 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_PARAM_H #define __ASM_PARAM_H -#define EXEC_PAGESIZE 65536 +#define EXEC_PAGESIZE 65536 #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/perf_regs.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/perf_regs.h index 4d62572..71d496f 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/perf_regs.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/perf_regs.h @@ -1,44 +1,57 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_ARM64_PERF_REGS_H #define _ASM_ARM64_PERF_REGS_H enum perf_event_arm_regs { - PERF_REG_ARM64_X0, - PERF_REG_ARM64_X1, - PERF_REG_ARM64_X2, - PERF_REG_ARM64_X3, - PERF_REG_ARM64_X4, - PERF_REG_ARM64_X5, - PERF_REG_ARM64_X6, - PERF_REG_ARM64_X7, - PERF_REG_ARM64_X8, - PERF_REG_ARM64_X9, - PERF_REG_ARM64_X10, - PERF_REG_ARM64_X11, - PERF_REG_ARM64_X12, - PERF_REG_ARM64_X13, - PERF_REG_ARM64_X14, - PERF_REG_ARM64_X15, - PERF_REG_ARM64_X16, - PERF_REG_ARM64_X17, - PERF_REG_ARM64_X18, - PERF_REG_ARM64_X19, - PERF_REG_ARM64_X20, - PERF_REG_ARM64_X21, - PERF_REG_ARM64_X22, - PERF_REG_ARM64_X23, - PERF_REG_ARM64_X24, - PERF_REG_ARM64_X25, - PERF_REG_ARM64_X26, - PERF_REG_ARM64_X27, - PERF_REG_ARM64_X28, - PERF_REG_ARM64_X29, - PERF_REG_ARM64_LR, - PERF_REG_ARM64_SP, - PERF_REG_ARM64_PC, - PERF_REG_ARM64_MAX, + PERF_REG_ARM64_X0, + PERF_REG_ARM64_X1, + PERF_REG_ARM64_X2, + PERF_REG_ARM64_X3, + PERF_REG_ARM64_X4, + PERF_REG_ARM64_X5, + PERF_REG_ARM64_X6, + PERF_REG_ARM64_X7, + PERF_REG_ARM64_X8, + PERF_REG_ARM64_X9, + PERF_REG_ARM64_X10, + PERF_REG_ARM64_X11, + PERF_REG_ARM64_X12, + PERF_REG_ARM64_X13, + PERF_REG_ARM64_X14, + PERF_REG_ARM64_X15, + PERF_REG_ARM64_X16, + PERF_REG_ARM64_X17, + PERF_REG_ARM64_X18, + PERF_REG_ARM64_X19, + PERF_REG_ARM64_X20, + PERF_REG_ARM64_X21, + PERF_REG_ARM64_X22, + PERF_REG_ARM64_X23, + PERF_REG_ARM64_X24, + PERF_REG_ARM64_X25, + PERF_REG_ARM64_X26, + PERF_REG_ARM64_X27, + PERF_REG_ARM64_X28, + PERF_REG_ARM64_X29, + PERF_REG_ARM64_LR, + PERF_REG_ARM64_SP, + PERF_REG_ARM64_PC, + PERF_REG_ARM64_MAX, }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/poll.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/poll.h index 93f531d..d7e8adc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/poll.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/poll.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/posix_types.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/posix_types.h index a5d7eda..9ae7bfc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/posix_types.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/posix_types.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_POSIX_TYPES_H #define __ASM_POSIX_TYPES_H typedef unsigned short __kernel_old_uid_t; diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ptrace.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ptrace.h index 3d3a53a..480efcf 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ptrace.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ptrace.h @@ -1,114 +1,129 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_PTRACE_H -#define __ASM_PTRACE_H +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_PTRACE_H +#define _UAPI__ASM_PTRACE_H #include #include -#include -#define PSR_MODE_EL0t 0x00000000 -#define PSR_MODE_EL1t 0x00000004 -#define PSR_MODE_EL1h 0x00000005 -#define PSR_MODE_EL2t 0x00000008 -#define PSR_MODE_EL2h 0x00000009 -#define PSR_MODE_EL3t 0x0000000c -#define PSR_MODE_EL3h 0x0000000d -#define PSR_MODE_MASK 0x0000000f -#define PSR_MODE32_BIT 0x00000010 -#define PSR_F_BIT 0x00000040 -#define PSR_I_BIT 0x00000080 -#define PSR_A_BIT 0x00000100 -#define PSR_D_BIT 0x00000200 -#define PSR_SSBS_BIT 0x00001000 -#define PSR_PAN_BIT 0x00400000 -#define PSR_UAO_BIT 0x00800000 -#define PSR_DIT_BIT 0x01000000 -#define PSR_V_BIT 0x10000000 -#define PSR_C_BIT 0x20000000 -#define PSR_Z_BIT 0x40000000 -#define PSR_N_BIT 0x80000000 -#define PSR_f 0xff000000 -#define PSR_s 0x00ff0000 -#define PSR_x 0x0000ff00 -#define PSR_c 0x000000ff +#include +#define PSR_MODE_EL0t 0x00000000 +#define PSR_MODE_EL1t 0x00000004 +#define PSR_MODE_EL1h 0x00000005 +#define PSR_MODE_EL2t 0x00000008 +#define PSR_MODE_EL2h 0x00000009 +#define PSR_MODE_EL3t 0x0000000c +#define PSR_MODE_EL3h 0x0000000d +#define PSR_MODE_MASK 0x0000000f +#define PSR_MODE32_BIT 0x00000010 +#define PSR_F_BIT 0x00000040 +#define PSR_I_BIT 0x00000080 +#define PSR_A_BIT 0x00000100 +#define PSR_D_BIT 0x00000200 +#define PSR_BTYPE_MASK 0x00000c00 +#define PSR_SSBS_BIT 0x00001000 +#define PSR_PAN_BIT 0x00400000 +#define PSR_UAO_BIT 0x00800000 +#define PSR_DIT_BIT 0x01000000 +#define PSR_TCO_BIT 0x02000000 +#define PSR_V_BIT 0x10000000 +#define PSR_C_BIT 0x20000000 +#define PSR_Z_BIT 0x40000000 +#define PSR_N_BIT 0x80000000 +#define PSR_BTYPE_SHIFT 10 +#define PSR_f 0xff000000 +#define PSR_s 0x00ff0000 +#define PSR_x 0x0000ff00 +#define PSR_c 0x000000ff +#define PSR_BTYPE_NONE (0b00 << PSR_BTYPE_SHIFT) +#define PSR_BTYPE_JC (0b01 << PSR_BTYPE_SHIFT) +#define PSR_BTYPE_C (0b10 << PSR_BTYPE_SHIFT) +#define PSR_BTYPE_J (0b11 << PSR_BTYPE_SHIFT) +#define PTRACE_SYSEMU 31 +#define PTRACE_SYSEMU_SINGLESTEP 32 +#define PTRACE_PEEKMTETAGS 33 +#define PTRACE_POKEMTETAGS 34 #ifndef __ASSEMBLY__ struct user_pt_regs { - __u64 regs[31]; - __u64 sp; - __u64 pc; - __u64 pstate; + __u64 regs[31]; + __u64 sp; + __u64 pc; + __u64 pstate; }; struct user_fpsimd_state { - __uint128_t vregs[32]; - __u32 fpsr; - __u32 fpcr; - __u32 __reserved[2]; + __uint128_t vregs[32]; + __u32 fpsr; + __u32 fpcr; + __u32 __reserved[2]; }; struct user_hwdebug_state { - __u32 dbg_info; - __u32 pad; - struct { - __u64 addr; - __u32 ctrl; - __u32 pad; - } dbg_regs[16]; + __u32 dbg_info; + __u32 pad; + struct { + __u64 addr; + __u32 ctrl; + __u32 pad; + } dbg_regs[16]; }; struct user_sve_header { - __u32 size; - __u32 max_size; - __u16 vl; - __u16 max_vl; - __u16 flags; - __u16 __reserved; + __u32 size; + __u32 max_size; + __u16 vl; + __u16 max_vl; + __u16 flags; + __u16 __reserved; +}; +#define SVE_PT_REGS_MASK (1 << 0) +#define SVE_PT_REGS_FPSIMD 0 +#define SVE_PT_REGS_SVE SVE_PT_REGS_MASK +#define SVE_PT_VL_INHERIT ((1 << 17) >> 16) +#define SVE_PT_VL_ONEXEC ((1 << 18) >> 16) +#define SVE_PT_REGS_OFFSET ((sizeof(struct user_sve_header) + (__SVE_VQ_BYTES - 1)) / __SVE_VQ_BYTES * __SVE_VQ_BYTES) +#define SVE_PT_FPSIMD_OFFSET SVE_PT_REGS_OFFSET +#define SVE_PT_FPSIMD_SIZE(vq,flags) (sizeof(struct user_fpsimd_state)) +#define SVE_PT_SVE_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) +#define SVE_PT_SVE_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) +#define SVE_PT_SVE_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) +#define SVE_PT_SVE_FPSR_SIZE sizeof(__u32) +#define SVE_PT_SVE_FPCR_SIZE sizeof(__u32) +#define SVE_PT_SVE_OFFSET SVE_PT_REGS_OFFSET +#define SVE_PT_SVE_ZREGS_OFFSET (SVE_PT_REGS_OFFSET + __SVE_ZREGS_OFFSET) +#define SVE_PT_SVE_ZREG_OFFSET(vq,n) (SVE_PT_REGS_OFFSET + __SVE_ZREG_OFFSET(vq, n)) +#define SVE_PT_SVE_ZREGS_SIZE(vq) (SVE_PT_SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - SVE_PT_SVE_ZREGS_OFFSET) +#define SVE_PT_SVE_PREGS_OFFSET(vq) (SVE_PT_REGS_OFFSET + __SVE_PREGS_OFFSET(vq)) +#define SVE_PT_SVE_PREG_OFFSET(vq,n) (SVE_PT_REGS_OFFSET + __SVE_PREG_OFFSET(vq, n)) +#define SVE_PT_SVE_PREGS_SIZE(vq) (SVE_PT_SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - SVE_PT_SVE_PREGS_OFFSET(vq)) +#define SVE_PT_SVE_FFR_OFFSET(vq) (SVE_PT_REGS_OFFSET + __SVE_FFR_OFFSET(vq)) +#define SVE_PT_SVE_FPSR_OFFSET(vq) ((SVE_PT_SVE_FFR_OFFSET(vq) + SVE_PT_SVE_FFR_SIZE(vq) + (__SVE_VQ_BYTES - 1)) / __SVE_VQ_BYTES * __SVE_VQ_BYTES) +#define SVE_PT_SVE_FPCR_OFFSET(vq) (SVE_PT_SVE_FPSR_OFFSET(vq) + SVE_PT_SVE_FPSR_SIZE) +#define SVE_PT_SVE_SIZE(vq,flags) ((SVE_PT_SVE_FPCR_OFFSET(vq) + SVE_PT_SVE_FPCR_SIZE - SVE_PT_SVE_OFFSET + (__SVE_VQ_BYTES - 1)) / __SVE_VQ_BYTES * __SVE_VQ_BYTES) +#define SVE_PT_SIZE(vq,flags) (((flags) & SVE_PT_REGS_MASK) == SVE_PT_REGS_SVE ? SVE_PT_SVE_OFFSET + SVE_PT_SVE_SIZE(vq, flags) : SVE_PT_FPSIMD_OFFSET + SVE_PT_FPSIMD_SIZE(vq, flags)) +struct user_pac_mask { + __u64 data_mask; + __u64 insn_mask; +}; +struct user_pac_address_keys { + __uint128_t apiakey; + __uint128_t apibkey; + __uint128_t apdakey; + __uint128_t apdbkey; +}; +struct user_pac_generic_keys { + __uint128_t apgakey; }; -#define SVE_PT_REGS_MASK (1 << 0) -#define SVE_PT_REGS_FPSIMD 0 -#define SVE_PT_REGS_SVE SVE_PT_REGS_MASK -#define SVE_PT_VL_INHERIT ((1 << 17) >> 16) -#define SVE_PT_VL_ONEXEC ((1 << 18) >> 16) -#define SVE_PT_REGS_OFFSET \ - ((sizeof(struct user_sve_header) + (SVE_VQ_BYTES - 1)) \ - / SVE_VQ_BYTES * SVE_VQ_BYTES) -#define SVE_PT_FPSIMD_OFFSET SVE_PT_REGS_OFFSET -#define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state)) -#define SVE_PT_SVE_ZREG_SIZE(vq) SVE_SIG_ZREG_SIZE(vq) -#define SVE_PT_SVE_PREG_SIZE(vq) SVE_SIG_PREG_SIZE(vq) -#define SVE_PT_SVE_FFR_SIZE(vq) SVE_SIG_FFR_SIZE(vq) -#define SVE_PT_SVE_FPSR_SIZE sizeof(__u32) -#define SVE_PT_SVE_FPCR_SIZE sizeof(__u32) -#define __SVE_SIG_TO_PT(offset) \ - ((offset) - SVE_SIG_REGS_OFFSET + SVE_PT_REGS_OFFSET) -#define SVE_PT_SVE_OFFSET SVE_PT_REGS_OFFSET -#define SVE_PT_SVE_ZREGS_OFFSET \ - __SVE_SIG_TO_PT(SVE_SIG_ZREGS_OFFSET) -#define SVE_PT_SVE_ZREG_OFFSET(vq, n) \ - __SVE_SIG_TO_PT(SVE_SIG_ZREG_OFFSET(vq, n)) -#define SVE_PT_SVE_ZREGS_SIZE(vq) \ - (SVE_PT_SVE_ZREG_OFFSET(vq, SVE_NUM_ZREGS) - SVE_PT_SVE_ZREGS_OFFSET) -#define SVE_PT_SVE_PREGS_OFFSET(vq) \ - __SVE_SIG_TO_PT(SVE_SIG_PREGS_OFFSET(vq)) -#define SVE_PT_SVE_PREG_OFFSET(vq, n) \ - __SVE_SIG_TO_PT(SVE_SIG_PREG_OFFSET(vq, n)) -#define SVE_PT_SVE_PREGS_SIZE(vq) \ - (SVE_PT_SVE_PREG_OFFSET(vq, SVE_NUM_PREGS) - \ - SVE_PT_SVE_PREGS_OFFSET(vq)) -#define SVE_PT_SVE_FFR_OFFSET(vq) \ - __SVE_SIG_TO_PT(SVE_SIG_FFR_OFFSET(vq)) -#define SVE_PT_SVE_FPSR_OFFSET(vq) \ - ((SVE_PT_SVE_FFR_OFFSET(vq) + SVE_PT_SVE_FFR_SIZE(vq) + \ - (SVE_VQ_BYTES - 1)) \ - / SVE_VQ_BYTES * SVE_VQ_BYTES) -#define SVE_PT_SVE_FPCR_OFFSET(vq) \ - (SVE_PT_SVE_FPSR_OFFSET(vq) + SVE_PT_SVE_FPSR_SIZE) -#define SVE_PT_SVE_SIZE(vq, flags) \ - ((SVE_PT_SVE_FPCR_OFFSET(vq) + SVE_PT_SVE_FPCR_SIZE \ - - SVE_PT_SVE_OFFSET + (SVE_VQ_BYTES - 1)) \ - / SVE_VQ_BYTES * SVE_VQ_BYTES) -#define SVE_PT_SIZE(vq, flags) \ - (((flags) & SVE_PT_REGS_MASK) == SVE_PT_REGS_SVE ? \ - SVE_PT_SVE_OFFSET + SVE_PT_SVE_SIZE(vq, flags) \ - : SVE_PT_FPSIMD_OFFSET + SVE_PT_FPSIMD_SIZE(vq, flags)) #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/resource.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/resource.h index 728000e..371adb5 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/resource.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/resource.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sembuf.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sembuf.h index 1769cec..6ce6549 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sembuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sembuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/setup.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/setup.h index 8a38565..eac94e0 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/setup.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/setup.h @@ -1,10 +1,23 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_SETUP_H #define __ASM_SETUP_H #include -#define COMMAND_LINE_SIZE 2048 +#define COMMAND_LINE_SIZE 2048 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/shmbuf.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/shmbuf.h index ada9904..fe8b1be 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/shmbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/shmbuf.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sigcontext.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sigcontext.h index e01162e..518079d 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sigcontext.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sigcontext.h @@ -1,83 +1,85 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_SIGCONTEXT_H -#define __ASM_SIGCONTEXT_H +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_SIGCONTEXT_H +#define _UAPI__ASM_SIGCONTEXT_H #ifndef __ASSEMBLY__ #include struct sigcontext { - __u64 fault_address; - - __u64 regs[31]; - __u64 sp; - __u64 pc; - __u64 pstate; - - __u8 __reserved[4096] __attribute__((__aligned__(16))); + __u64 fault_address; + __u64 regs[31]; + __u64 sp; + __u64 pc; + __u64 pstate; + __u8 __reserved[4096] __attribute__((__aligned__(16))); }; struct _aarch64_ctx { - __u32 magic; - __u32 size; + __u32 magic; + __u32 size; }; -#define FPSIMD_MAGIC 0x46508001 +#define FPSIMD_MAGIC 0x46508001 struct fpsimd_context { - struct _aarch64_ctx head; - __u32 fpsr; - __u32 fpcr; - __uint128_t vregs[32]; + struct _aarch64_ctx head; + __u32 fpsr; + __u32 fpcr; + __uint128_t vregs[32]; }; -#define ESR_MAGIC 0x45535201 +#define ESR_MAGIC 0x45535201 struct esr_context { - struct _aarch64_ctx head; - __u64 esr; + struct _aarch64_ctx head; + __u64 esr; }; -#define EXTRA_MAGIC 0x45585401 +#define EXTRA_MAGIC 0x45585401 struct extra_context { - struct _aarch64_ctx head; - __u64 datap; - __u32 size; - __u32 __reserved[3]; + struct _aarch64_ctx head; + __u64 datap; + __u32 size; + __u32 __reserved[3]; }; -#define SVE_MAGIC 0x53564501 +#define SVE_MAGIC 0x53564501 struct sve_context { - struct _aarch64_ctx head; - __u16 vl; - __u16 __reserved[3]; + struct _aarch64_ctx head; + __u16 vl; + __u16 __reserved[3]; }; #endif -#define SVE_VQ_BYTES 16 -#define SVE_VQ_MIN 1 -#define SVE_VQ_MAX 512 -#define SVE_VL_MIN (SVE_VQ_MIN * SVE_VQ_BYTES) -#define SVE_VL_MAX (SVE_VQ_MAX * SVE_VQ_BYTES) -#define SVE_NUM_ZREGS 32 -#define SVE_NUM_PREGS 16 -#define sve_vl_valid(vl) \ - ((vl) % SVE_VQ_BYTES == 0 && (vl) >= SVE_VL_MIN && (vl) <= SVE_VL_MAX) -#define sve_vq_from_vl(vl) ((vl) / SVE_VQ_BYTES) -#define sve_vl_from_vq(vq) ((vq) * SVE_VQ_BYTES) -#define SVE_SIG_ZREG_SIZE(vq) ((__u32)(vq) * SVE_VQ_BYTES) -#define SVE_SIG_PREG_SIZE(vq) ((__u32)(vq) * (SVE_VQ_BYTES / 8)) -#define SVE_SIG_FFR_SIZE(vq) SVE_SIG_PREG_SIZE(vq) -#define SVE_SIG_REGS_OFFSET \ - ((sizeof(struct sve_context) + (SVE_VQ_BYTES - 1)) \ - / SVE_VQ_BYTES * SVE_VQ_BYTES) -#define SVE_SIG_ZREGS_OFFSET SVE_SIG_REGS_OFFSET -#define SVE_SIG_ZREG_OFFSET(vq, n) \ - (SVE_SIG_ZREGS_OFFSET + SVE_SIG_ZREG_SIZE(vq) * (n)) -#define SVE_SIG_ZREGS_SIZE(vq) \ - (SVE_SIG_ZREG_OFFSET(vq, SVE_NUM_ZREGS) - SVE_SIG_ZREGS_OFFSET) -#define SVE_SIG_PREGS_OFFSET(vq) \ - (SVE_SIG_ZREGS_OFFSET + SVE_SIG_ZREGS_SIZE(vq)) -#define SVE_SIG_PREG_OFFSET(vq, n) \ - (SVE_SIG_PREGS_OFFSET(vq) + SVE_SIG_PREG_SIZE(vq) * (n)) -#define SVE_SIG_PREGS_SIZE(vq) \ - (SVE_SIG_PREG_OFFSET(vq, SVE_NUM_PREGS) - SVE_SIG_PREGS_OFFSET(vq)) -#define SVE_SIG_FFR_OFFSET(vq) \ - (SVE_SIG_PREGS_OFFSET(vq) + SVE_SIG_PREGS_SIZE(vq)) -#define SVE_SIG_REGS_SIZE(vq) \ - (SVE_SIG_FFR_OFFSET(vq) + SVE_SIG_FFR_SIZE(vq) - SVE_SIG_REGS_OFFSET) +#include +#define SVE_VQ_BYTES __SVE_VQ_BYTES +#define SVE_VQ_MIN __SVE_VQ_MIN +#define SVE_VQ_MAX __SVE_VQ_MAX +#define SVE_VL_MIN __SVE_VL_MIN +#define SVE_VL_MAX __SVE_VL_MAX +#define SVE_NUM_ZREGS __SVE_NUM_ZREGS +#define SVE_NUM_PREGS __SVE_NUM_PREGS +#define sve_vl_valid(vl) __sve_vl_valid(vl) +#define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) +#define sve_vl_from_vq(vq) __sve_vl_from_vq(vq) +#define SVE_SIG_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) +#define SVE_SIG_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) +#define SVE_SIG_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) +#define SVE_SIG_REGS_OFFSET ((sizeof(struct sve_context) + (__SVE_VQ_BYTES - 1)) / __SVE_VQ_BYTES * __SVE_VQ_BYTES) +#define SVE_SIG_ZREGS_OFFSET (SVE_SIG_REGS_OFFSET + __SVE_ZREGS_OFFSET) +#define SVE_SIG_ZREG_OFFSET(vq,n) (SVE_SIG_REGS_OFFSET + __SVE_ZREG_OFFSET(vq, n)) +#define SVE_SIG_ZREGS_SIZE(vq) __SVE_ZREGS_SIZE(vq) +#define SVE_SIG_PREGS_OFFSET(vq) (SVE_SIG_REGS_OFFSET + __SVE_PREGS_OFFSET(vq)) +#define SVE_SIG_PREG_OFFSET(vq,n) (SVE_SIG_REGS_OFFSET + __SVE_PREG_OFFSET(vq, n)) +#define SVE_SIG_PREGS_SIZE(vq) __SVE_PREGS_SIZE(vq) +#define SVE_SIG_FFR_OFFSET(vq) (SVE_SIG_REGS_OFFSET + __SVE_FFR_OFFSET(vq)) +#define SVE_SIG_REGS_SIZE(vq) (__SVE_FFR_OFFSET(vq) + __SVE_FFR_SIZE(vq)) #define SVE_SIG_CONTEXT_SIZE(vq) (SVE_SIG_REGS_OFFSET + SVE_SIG_REGS_SIZE(vq)) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/siginfo.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/siginfo.h index a1f3c60..a31ebb2 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/siginfo.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/siginfo.h @@ -1,10 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_SIGINFO_H -#define __ASM_SIGINFO_H -#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/signal.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/signal.h index 92cecc0..7630b75 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/signal.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/signal.h @@ -1,12 +1,25 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_SIGNAL_H #define __ASM_SIGNAL_H -#define SA_RESTORER 0x04000000 +#define SA_RESTORER 0x04000000 #define MINSIGSTKSZ 5120 -#define SIGSTKSZ 16384 +#define SIGSTKSZ 16384 #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/socket.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/socket.h index b61e0f4..50a9874 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/socket.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/socket.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sockios.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sockios.h index 9cb632b..710db92 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sockios.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sockios.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/stat.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/stat.h index ca7a369..af7ebfc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/stat.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/stat.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/statfs.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/statfs.h index 8575142..4a96c7e 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/statfs.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/statfs.h @@ -1,10 +1,23 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_STATFS_H #define __ASM_STATFS_H -#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) +#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed, aligned(4))) #include #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sve_context.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sve_context.h new file mode 100644 index 0000000..ff0063e --- /dev/null +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/sve_context.h @@ -0,0 +1,42 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_SVE_CONTEXT_H +#define _UAPI__ASM_SVE_CONTEXT_H +#include +#define __SVE_VQ_BYTES 16 +#define __SVE_VQ_MIN 1 +#define __SVE_VQ_MAX 512 +#define __SVE_VL_MIN (__SVE_VQ_MIN * __SVE_VQ_BYTES) +#define __SVE_VL_MAX (__SVE_VQ_MAX * __SVE_VQ_BYTES) +#define __SVE_NUM_ZREGS 32 +#define __SVE_NUM_PREGS 16 +#define __sve_vl_valid(vl) ((vl) % __SVE_VQ_BYTES == 0 && (vl) >= __SVE_VL_MIN && (vl) <= __SVE_VL_MAX) +#define __sve_vq_from_vl(vl) ((vl) / __SVE_VQ_BYTES) +#define __sve_vl_from_vq(vq) ((vq) * __SVE_VQ_BYTES) +#define __SVE_ZREG_SIZE(vq) ((__u32) (vq) * __SVE_VQ_BYTES) +#define __SVE_PREG_SIZE(vq) ((__u32) (vq) * (__SVE_VQ_BYTES / 8)) +#define __SVE_FFR_SIZE(vq) __SVE_PREG_SIZE(vq) +#define __SVE_ZREGS_OFFSET 0 +#define __SVE_ZREG_OFFSET(vq,n) (__SVE_ZREGS_OFFSET + __SVE_ZREG_SIZE(vq) * (n)) +#define __SVE_ZREGS_SIZE(vq) (__SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - __SVE_ZREGS_OFFSET) +#define __SVE_PREGS_OFFSET(vq) (__SVE_ZREGS_OFFSET + __SVE_ZREGS_SIZE(vq)) +#define __SVE_PREG_OFFSET(vq,n) (__SVE_PREGS_OFFSET(vq) + __SVE_PREG_SIZE(vq) * (n)) +#define __SVE_PREGS_SIZE(vq) (__SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - __SVE_PREGS_OFFSET(vq)) +#define __SVE_FFR_OFFSET(vq) (__SVE_PREGS_OFFSET(vq) + __SVE_PREGS_SIZE(vq)) +#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/swab.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/swab.h index 5a26646..0049f53 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/swab.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/swab.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termbits.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termbits.h index a3723de..42af6fe 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termbits.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termbits.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termios.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termios.h index 0555809..feca4c6 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termios.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/termios.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/types.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/types.h index f65195e..8250f43 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/types.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/types.h @@ -1,6 +1,19 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ucontext.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ucontext.h index 273ff97..24dc60a 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ucontext.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ucontext.h @@ -1,19 +1,30 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_UCONTEXT_H -#define __ASM_UCONTEXT_H +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_UCONTEXT_H +#define _UAPI__ASM_UCONTEXT_H #include struct ucontext { - unsigned long uc_flags; - struct ucontext *uc_link; - stack_t uc_stack; - sigset_t uc_sigmask; - - __u8 __linux_unused[1024 / 8 - sizeof(sigset_t)]; - - struct sigcontext uc_mcontext; + unsigned long uc_flags; + struct ucontext * uc_link; + stack_t uc_stack; + sigset_t uc_sigmask; + __u8 __linux_unused[1024 / 8 - sizeof(sigset_t)]; + struct sigcontext uc_mcontext; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/unistd.h b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/unistd.h index 61a6d66..e93f3f1 100644 --- a/linux-5.10/prebuilts/usr/include/asm-arm64/asm/unistd.h +++ b/linux-5.10/prebuilts/usr/include/asm-arm64/asm/unistd.h @@ -1,7 +1,24 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ARCH_WANT_RENAMEAT +#define __ARCH_WANT_NEW_STAT +#define __ARCH_WANT_SET_GET_RLIMIT +#define __ARCH_WANT_TIME32_SYSCALLS +#define __ARCH_WANT_SYS_CLONE3 #include diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/Kbuild b/linux-5.10/prebuilts/usr/include/asm-generic/Kbuild deleted file mode 100644 index ebb180a..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-generic/Kbuild +++ /dev/null @@ -1,36 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Headers that are mandatory in usr/include/asm/ -# (This file is not included when SRCARCH=um since UML does not support UAPI.) - -mandatory-y += auxvec.h -mandatory-y += bitsperlong.h -mandatory-y += bpf_perf_event.h -mandatory-y += byteorder.h -mandatory-y += errno.h -mandatory-y += fcntl.h -mandatory-y += ioctl.h -mandatory-y += ioctls.h -mandatory-y += ipcbuf.h -mandatory-y += mman.h -mandatory-y += msgbuf.h -mandatory-y += param.h -mandatory-y += poll.h -mandatory-y += posix_types.h -mandatory-y += ptrace.h -mandatory-y += resource.h -mandatory-y += sembuf.h -mandatory-y += setup.h -mandatory-y += shmbuf.h -mandatory-y += sigcontext.h -mandatory-y += siginfo.h -mandatory-y += signal.h -mandatory-y += socket.h -mandatory-y += sockios.h -mandatory-y += stat.h -mandatory-y += statfs.h -mandatory-y += swab.h -mandatory-y += termbits.h -mandatory-y += termios.h -mandatory-y += types.h -mandatory-y += unistd.h diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/auxvec.h b/linux-5.10/prebuilts/usr/include/asm-generic/auxvec.h index 8c5c600..fad637b 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/auxvec.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/auxvec.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_AUXVEC_H #define __ASM_GENERIC_AUXVEC_H #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/bitsperlong.h b/linux-5.10/prebuilts/usr/include/asm-generic/bitsperlong.h index 6e1e108..8fb379f 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/bitsperlong.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/bitsperlong.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_GENERIC_BITS_PER_LONG #define _UAPI__ASM_GENERIC_BITS_PER_LONG #ifndef __BITS_PER_LONG diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/bpf_perf_event.h b/linux-5.10/prebuilts/usr/include/asm-generic/bpf_perf_event.h index cdabc70..794927b 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/bpf_perf_event.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/bpf_perf_event.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_GENERIC_BPF_PERF_EVENT_H__ #define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ #include diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/errno-base.h b/linux-5.10/prebuilts/usr/include/asm-generic/errno-base.h index 8a5e61f..bdfb811 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/errno-base.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/errno-base.h @@ -1,42 +1,55 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_GENERIC_ERRNO_BASE_H #define _ASM_GENERIC_ERRNO_BASE_H -#define EPERM 1 -#define ENOENT 2 -#define ESRCH 3 -#define EINTR 4 -#define EIO 5 -#define ENXIO 6 -#define E2BIG 7 -#define ENOEXEC 8 -#define EBADF 9 -#define ECHILD 10 -#define EAGAIN 11 -#define ENOMEM 12 -#define EACCES 13 -#define EFAULT 14 -#define ENOTBLK 15 -#define EBUSY 16 -#define EEXIST 17 -#define EXDEV 18 -#define ENODEV 19 -#define ENOTDIR 20 -#define EISDIR 21 -#define EINVAL 22 -#define ENFILE 23 -#define EMFILE 24 -#define ENOTTY 25 -#define ETXTBSY 26 -#define EFBIG 27 -#define ENOSPC 28 -#define ESPIPE 29 -#define EROFS 30 -#define EMLINK 31 -#define EPIPE 32 -#define EDOM 33 -#define ERANGE 34 +#define EPERM 1 +#define ENOENT 2 +#define ESRCH 3 +#define EINTR 4 +#define EIO 5 +#define ENXIO 6 +#define E2BIG 7 +#define ENOEXEC 8 +#define EBADF 9 +#define ECHILD 10 +#define EAGAIN 11 +#define ENOMEM 12 +#define EACCES 13 +#define EFAULT 14 +#define ENOTBLK 15 +#define EBUSY 16 +#define EEXIST 17 +#define EXDEV 18 +#define ENODEV 19 +#define ENOTDIR 20 +#define EISDIR 21 +#define EINVAL 22 +#define ENFILE 23 +#define EMFILE 24 +#define ENOTTY 25 +#define ETXTBSY 26 +#define EFBIG 27 +#define ENOSPC 28 +#define ESPIPE 29 +#define EROFS 30 +#define EMLINK 31 +#define EPIPE 32 +#define EDOM 33 +#define ERANGE 34 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/errno.h b/linux-5.10/prebuilts/usr/include/asm-generic/errno.h index c6f7a49..6a2c285 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/errno.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/errno.h @@ -1,108 +1,121 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_GENERIC_ERRNO_H #define _ASM_GENERIC_ERRNO_H #include -#define EDEADLK 35 -#define ENAMETOOLONG 36 -#define ENOLCK 37 -#define ENOSYS 38 -#define ENOTEMPTY 39 -#define ELOOP 40 -#define EWOULDBLOCK EAGAIN -#define ENOMSG 42 -#define EIDRM 43 -#define ECHRNG 44 -#define EL2NSYNC 45 -#define EL3HLT 46 -#define EL3RST 47 -#define ELNRNG 48 -#define EUNATCH 49 -#define ENOCSI 50 -#define EL2HLT 51 -#define EBADE 52 -#define EBADR 53 -#define EXFULL 54 -#define ENOANO 55 -#define EBADRQC 56 -#define EBADSLT 57 -#define EDEADLOCK EDEADLK -#define EBFONT 59 -#define ENOSTR 60 -#define ENODATA 61 -#define ETIME 62 -#define ENOSR 63 -#define ENONET 64 -#define ENOPKG 65 -#define EREMOTE 66 -#define ENOLINK 67 -#define EADV 68 -#define ESRMNT 69 -#define ECOMM 70 -#define EPROTO 71 -#define EMULTIHOP 72 -#define EDOTDOT 73 -#define EBADMSG 74 -#define EOVERFLOW 75 -#define ENOTUNIQ 76 -#define EBADFD 77 -#define EREMCHG 78 -#define ELIBACC 79 -#define ELIBBAD 80 -#define ELIBSCN 81 -#define ELIBMAX 82 -#define ELIBEXEC 83 -#define EILSEQ 84 -#define ERESTART 85 -#define ESTRPIPE 86 -#define EUSERS 87 -#define ENOTSOCK 88 -#define EDESTADDRREQ 89 -#define EMSGSIZE 90 -#define EPROTOTYPE 91 -#define ENOPROTOOPT 92 -#define EPROTONOSUPPORT 93 -#define ESOCKTNOSUPPORT 94 -#define EOPNOTSUPP 95 -#define EPFNOSUPPORT 96 -#define EAFNOSUPPORT 97 -#define EADDRINUSE 98 -#define EADDRNOTAVAIL 99 -#define ENETDOWN 100 -#define ENETUNREACH 101 -#define ENETRESET 102 -#define ECONNABORTED 103 -#define ECONNRESET 104 -#define ENOBUFS 105 -#define EISCONN 106 -#define ENOTCONN 107 -#define ESHUTDOWN 108 -#define ETOOMANYREFS 109 -#define ETIMEDOUT 110 -#define ECONNREFUSED 111 -#define EHOSTDOWN 112 -#define EHOSTUNREACH 113 -#define EALREADY 114 -#define EINPROGRESS 115 -#define ESTALE 116 -#define EUCLEAN 117 -#define ENOTNAM 118 -#define ENAVAIL 119 -#define EISNAM 120 -#define EREMOTEIO 121 -#define EDQUOT 122 -#define ENOMEDIUM 123 -#define EMEDIUMTYPE 124 -#define ECANCELED 125 -#define ENOKEY 126 -#define EKEYEXPIRED 127 -#define EKEYREVOKED 128 -#define EKEYREJECTED 129 -#define EOWNERDEAD 130 -#define ENOTRECOVERABLE 131 -#define ERFKILL 132 -#define EHWPOISON 133 +#define EDEADLK 35 +#define ENAMETOOLONG 36 +#define ENOLCK 37 +#define ENOSYS 38 +#define ENOTEMPTY 39 +#define ELOOP 40 +#define EWOULDBLOCK EAGAIN +#define ENOMSG 42 +#define EIDRM 43 +#define ECHRNG 44 +#define EL2NSYNC 45 +#define EL3HLT 46 +#define EL3RST 47 +#define ELNRNG 48 +#define EUNATCH 49 +#define ENOCSI 50 +#define EL2HLT 51 +#define EBADE 52 +#define EBADR 53 +#define EXFULL 54 +#define ENOANO 55 +#define EBADRQC 56 +#define EBADSLT 57 +#define EDEADLOCK EDEADLK +#define EBFONT 59 +#define ENOSTR 60 +#define ENODATA 61 +#define ETIME 62 +#define ENOSR 63 +#define ENONET 64 +#define ENOPKG 65 +#define EREMOTE 66 +#define ENOLINK 67 +#define EADV 68 +#define ESRMNT 69 +#define ECOMM 70 +#define EPROTO 71 +#define EMULTIHOP 72 +#define EDOTDOT 73 +#define EBADMSG 74 +#define EOVERFLOW 75 +#define ENOTUNIQ 76 +#define EBADFD 77 +#define EREMCHG 78 +#define ELIBACC 79 +#define ELIBBAD 80 +#define ELIBSCN 81 +#define ELIBMAX 82 +#define ELIBEXEC 83 +#define EILSEQ 84 +#define ERESTART 85 +#define ESTRPIPE 86 +#define EUSERS 87 +#define ENOTSOCK 88 +#define EDESTADDRREQ 89 +#define EMSGSIZE 90 +#define EPROTOTYPE 91 +#define ENOPROTOOPT 92 +#define EPROTONOSUPPORT 93 +#define ESOCKTNOSUPPORT 94 +#define EOPNOTSUPP 95 +#define EPFNOSUPPORT 96 +#define EAFNOSUPPORT 97 +#define EADDRINUSE 98 +#define EADDRNOTAVAIL 99 +#define ENETDOWN 100 +#define ENETUNREACH 101 +#define ENETRESET 102 +#define ECONNABORTED 103 +#define ECONNRESET 104 +#define ENOBUFS 105 +#define EISCONN 106 +#define ENOTCONN 107 +#define ESHUTDOWN 108 +#define ETOOMANYREFS 109 +#define ETIMEDOUT 110 +#define ECONNREFUSED 111 +#define EHOSTDOWN 112 +#define EHOSTUNREACH 113 +#define EALREADY 114 +#define EINPROGRESS 115 +#define ESTALE 116 +#define EUCLEAN 117 +#define ENOTNAM 118 +#define ENAVAIL 119 +#define EISNAM 120 +#define EREMOTEIO 121 +#define EDQUOT 122 +#define ENOMEDIUM 123 +#define EMEDIUMTYPE 124 +#define ECANCELED 125 +#define ENOKEY 126 +#define EKEYEXPIRED 127 +#define EKEYREVOKED 128 +#define EKEYREJECTED 129 +#define EOWNERDEAD 130 +#define ENOTRECOVERABLE 131 +#define ERFKILL 132 +#define EHWPOISON 133 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/fcntl.h b/linux-5.10/prebuilts/usr/include/asm-generic/fcntl.h index add4feb..0afcf06 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/fcntl.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/fcntl.h @@ -1,137 +1,152 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_GENERIC_FCNTL_H #define _ASM_GENERIC_FCNTL_H + #include -#define O_ACCMODE 00000003 -#define O_RDONLY 00000000 -#define O_WRONLY 00000001 -#define O_RDWR 00000002 +#define O_ACCMODE 00000003 +#define O_RDONLY 00000000 +#define O_WRONLY 00000001 +#define O_RDWR 00000002 #ifndef O_CREAT -#define O_CREAT 00000100 +#define O_CREAT 00000100 #endif #ifndef O_EXCL -#define O_EXCL 00000200 +#define O_EXCL 00000200 #endif #ifndef O_NOCTTY -#define O_NOCTTY 00000400 +#define O_NOCTTY 00000400 #endif #ifndef O_TRUNC -#define O_TRUNC 00001000 +#define O_TRUNC 00001000 #endif #ifndef O_APPEND -#define O_APPEND 00002000 +#define O_APPEND 00002000 #endif #ifndef O_NONBLOCK -#define O_NONBLOCK 00004000 +#define O_NONBLOCK 00004000 #endif #ifndef O_DSYNC -#define O_DSYNC 00010000 +#define O_DSYNC 00010000 #endif #ifndef FASYNC -#define FASYNC 00020000 +#define FASYNC 00020000 #endif #ifndef O_DIRECT -#define O_DIRECT 00040000 +#define O_DIRECT 00040000 #endif #ifndef O_LARGEFILE -#define O_LARGEFILE 00100000 +#define O_LARGEFILE 00100000 #endif #ifndef O_DIRECTORY -#define O_DIRECTORY 00200000 +#define O_DIRECTORY 00200000 #endif #ifndef O_NOFOLLOW -#define O_NOFOLLOW 00400000 +#define O_NOFOLLOW 00400000 #endif #ifndef O_NOATIME -#define O_NOATIME 01000000 +#define O_NOATIME 01000000 #endif #ifndef O_CLOEXEC -#define O_CLOEXEC 02000000 +#define O_CLOEXEC 02000000 #endif #ifndef O_SYNC -#define __O_SYNC 04000000 -#define O_SYNC (__O_SYNC|O_DSYNC) +#define __O_SYNC 04000000 +#define O_SYNC (__O_SYNC | O_DSYNC) #endif #ifndef O_PATH -#define O_PATH 010000000 +#define O_PATH 010000000 #endif #ifndef __O_TMPFILE -#define __O_TMPFILE 020000000 +#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 +#define O_NDELAY O_NONBLOCK #endif -#define F_DUPFD 0 -#define F_GETFD 1 -#define F_SETFD 2 -#define F_GETFL 3 -#define F_SETFL 4 +#define F_DUPFD 0 +#define F_GETFD 1 +#define F_SETFD 2 +#define F_GETFL 3 +#define F_SETFL 4 #ifndef F_GETLK -#define F_GETLK 5 -#define F_SETLK 6 -#define F_SETLKW 7 +#define F_GETLK 5 +#define F_SETLK 6 +#define F_SETLKW 7 #endif #ifndef F_SETOWN -#define F_SETOWN 8 -#define F_GETOWN 9 +#define F_SETOWN 8 +#define F_GETOWN 9 #endif #ifndef F_SETSIG -#define F_SETSIG 10 -#define F_GETSIG 11 +#define F_SETSIG 10 +#define F_GETSIG 11 #endif #ifndef __LP64__ #ifndef F_GETLK64 -#define F_GETLK64 12 -#define F_SETLK64 13 -#define F_SETLKW64 14 +#define F_GETLK64 12 +#define F_SETLK64 13 +#define F_SETLKW64 14 #endif #endif #ifndef F_SETOWN_EX -#define F_SETOWN_EX 15 -#define F_GETOWN_EX 16 +#define F_SETOWN_EX 15 +#define F_GETOWN_EX 16 #endif #ifndef F_GETOWNER_UIDS -#define F_GETOWNER_UIDS 17 -#endif -#define F_OFD_GETLK 36 -#define F_OFD_SETLK 37 -#define F_OFD_SETLKW 38 -#define F_OWNER_TID 0 -#define F_OWNER_PID 1 -#define F_OWNER_PGRP 2 +#define F_GETOWNER_UIDS 17 +#endif +#define F_OFD_GETLK 36 +#define F_OFD_SETLK 37 +#define F_OFD_SETLKW 38 +#define F_OWNER_TID 0 +#define F_OWNER_PID 1 +#define F_OWNER_PGRP 2 struct f_owner_ex { - int type; - __kernel_pid_t pid; + int type; + __kernel_pid_t pid; }; -#define FD_CLOEXEC 1 +#define FD_CLOEXEC 1 #ifndef F_RDLCK -#define F_RDLCK 0 -#define F_WRLCK 1 -#define F_UNLCK 2 +#define F_RDLCK 0 +#define F_WRLCK 1 +#define F_UNLCK 2 #endif #ifndef F_EXLCK -#define F_EXLCK 4 -#define F_SHLCK 8 -#endif -#define LOCK_SH 1 -#define LOCK_EX 2 -#define LOCK_NB 4 -#define LOCK_UN 8 -#define LOCK_MAND 32 -#define LOCK_READ 64 -#define LOCK_WRITE 128 -#define LOCK_RW 192 -#define F_LINUX_SPECIFIC_BASE 1024 +#define F_EXLCK 4 +#define F_SHLCK 8 +#endif +#define LOCK_SH 1 +#define LOCK_EX 2 +#define LOCK_NB 4 +#define LOCK_UN 8 +#define LOCK_MAND 32 +#define LOCK_READ 64 +#define LOCK_WRITE 128 +#define LOCK_RW 192 +#define F_LINUX_SPECIFIC_BASE 1024 #ifndef HAVE_ARCH_STRUCT_FLOCK #ifndef __ARCH_FLOCK_PAD #define __ARCH_FLOCK_PAD #endif + struct flock { short l_type; short l_whence; @@ -145,6 +160,7 @@ struct flock { #ifndef __ARCH_FLOCK64_PAD #define __ARCH_FLOCK64_PAD #endif + struct flock64 { short l_type; short l_whence; diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/hugetlb_encode.h b/linux-5.10/prebuilts/usr/include/asm-generic/hugetlb_encode.h index 4b73617..73d8180 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/hugetlb_encode.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/hugetlb_encode.h @@ -1,23 +1,36 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_GENERIC_HUGETLB_ENCODE_H_ #define _ASM_GENERIC_HUGETLB_ENCODE_H_ -#define HUGETLB_FLAG_ENCODE_SHIFT 26 -#define HUGETLB_FLAG_ENCODE_MASK 0x3f -#define HUGETLB_FLAG_ENCODE_16KB (14 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_64KB (16 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_512KB (19 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_1MB (20 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_2MB (21 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_8MB (23 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_16MB (24 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_32MB (25 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_256MB (28 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_512MB (29 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_1GB (30 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_2GB (31 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_16GB (34 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_SHIFT 26 +#define HUGETLB_FLAG_ENCODE_MASK 0x3f +#define HUGETLB_FLAG_ENCODE_16KB (14 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_64KB (16 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_512KB (19 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_1MB (20 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_2MB (21 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_8MB (23 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_16MB (24 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_32MB (25 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_256MB (28 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_512MB (29 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_1GB (30 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_2GB (31 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_16GB (34 << HUGETLB_FLAG_ENCODE_SHIFT) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/int-l64.h b/linux-5.10/prebuilts/usr/include/asm-generic/int-l64.h index 39adb2d..6ddf740 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/int-l64.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/int-l64.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_GENERIC_INT_L64_H #define _UAPI_ASM_GENERIC_INT_L64_H #include diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/int-ll64.h b/linux-5.10/prebuilts/usr/include/asm-generic/int-ll64.h index 668470e..dcad2eb 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/int-ll64.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/int-ll64.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_GENERIC_INT_LL64_H #define _UAPI_ASM_GENERIC_INT_LL64_H #include diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/ioctl.h b/linux-5.10/prebuilts/usr/include/asm-generic/ioctl.h index bcf57f4..84c2ec8 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/ioctl.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/ioctl.h @@ -1,57 +1,64 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_GENERIC_IOCTL_H #define _UAPI_ASM_GENERIC_IOCTL_H -#define _IOC_NRBITS 8 -#define _IOC_TYPEBITS 8 +#define _IOC_NRBITS 8 +#define _IOC_TYPEBITS 8 #ifndef _IOC_SIZEBITS -# define _IOC_SIZEBITS 14 +#define _IOC_SIZEBITS 14 #endif #ifndef _IOC_DIRBITS -# define _IOC_DIRBITS 2 +#define _IOC_DIRBITS 2 #endif -#define _IOC_NRMASK ((1 << _IOC_NRBITS)-1) -#define _IOC_TYPEMASK ((1 << _IOC_TYPEBITS)-1) -#define _IOC_SIZEMASK ((1 << _IOC_SIZEBITS)-1) -#define _IOC_DIRMASK ((1 << _IOC_DIRBITS)-1) -#define _IOC_NRSHIFT 0 -#define _IOC_TYPESHIFT (_IOC_NRSHIFT+_IOC_NRBITS) -#define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) -#define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS) +#define _IOC_NRMASK ((1 << _IOC_NRBITS) - 1) +#define _IOC_TYPEMASK ((1 << _IOC_TYPEBITS) - 1) +#define _IOC_SIZEMASK ((1 << _IOC_SIZEBITS) - 1) +#define _IOC_DIRMASK ((1 << _IOC_DIRBITS) - 1) +#define _IOC_NRSHIFT 0 +#define _IOC_TYPESHIFT (_IOC_NRSHIFT + _IOC_NRBITS) +#define _IOC_SIZESHIFT (_IOC_TYPESHIFT + _IOC_TYPEBITS) +#define _IOC_DIRSHIFT (_IOC_SIZESHIFT + _IOC_SIZEBITS) #ifndef _IOC_NONE -# define _IOC_NONE 0U +#define _IOC_NONE 0U #endif #ifndef _IOC_WRITE -# define _IOC_WRITE 1U +#define _IOC_WRITE 1U #endif #ifndef _IOC_READ -# define _IOC_READ 2U +#define _IOC_READ 2U #endif -#define _IOC(dir,type,nr,size) \ - (((dir) << _IOC_DIRSHIFT) | \ - ((type) << _IOC_TYPESHIFT) | \ - ((nr) << _IOC_NRSHIFT) | \ - ((size) << _IOC_SIZESHIFT)) -#ifndef __KERNEL__ +#define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT)) #define _IOC_TYPECHECK(t) (sizeof(t)) -#endif -#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) -#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) -#define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) -#define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) -#define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) -#define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) -#define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) -#define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) -#define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) -#define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) -#define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) -#define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) -#define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT) -#define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT) -#define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT) -#define IOCSIZE_SHIFT (_IOC_SIZESHIFT) +#define _IO(type,nr) _IOC(_IOC_NONE, (type), (nr), 0) +#define _IOR(type,nr,size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) +#define _IOW(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) +#define _IOWR(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) +#define _IOR_BAD(type,nr,size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) +#define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) +#define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) +#define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) +#define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) +#define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) +#define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK) +#define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT) +#define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT) +#define IOC_INOUT ((_IOC_WRITE | _IOC_READ) << _IOC_DIRSHIFT) +#define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT) +#define IOCSIZE_SHIFT (_IOC_SIZESHIFT) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/ioctls.h b/linux-5.10/prebuilts/usr/include/asm-generic/ioctls.h index 046f1b3..f8a4357 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/ioctls.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/ioctls.h @@ -1,99 +1,112 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_IOCTLS_H #define __ASM_GENERIC_IOCTLS_H #include -#define TCGETS 0x5401 -#define TCSETS 0x5402 -#define TCSETSW 0x5403 -#define TCSETSF 0x5404 -#define TCGETA 0x5405 -#define TCSETA 0x5406 -#define TCSETAW 0x5407 -#define TCSETAF 0x5408 -#define TCSBRK 0x5409 -#define TCXONC 0x540A -#define TCFLSH 0x540B -#define TIOCEXCL 0x540C -#define TIOCNXCL 0x540D -#define TIOCSCTTY 0x540E -#define TIOCGPGRP 0x540F -#define TIOCSPGRP 0x5410 -#define TIOCOUTQ 0x5411 -#define TIOCSTI 0x5412 -#define TIOCGWINSZ 0x5413 -#define TIOCSWINSZ 0x5414 -#define TIOCMGET 0x5415 -#define TIOCMBIS 0x5416 -#define TIOCMBIC 0x5417 -#define TIOCMSET 0x5418 -#define TIOCGSOFTCAR 0x5419 -#define TIOCSSOFTCAR 0x541A -#define FIONREAD 0x541B -#define TIOCINQ FIONREAD -#define TIOCLINUX 0x541C -#define TIOCCONS 0x541D -#define TIOCGSERIAL 0x541E -#define TIOCSSERIAL 0x541F -#define TIOCPKT 0x5420 -#define FIONBIO 0x5421 -#define TIOCNOTTY 0x5422 -#define TIOCSETD 0x5423 -#define TIOCGETD 0x5424 -#define TCSBRKP 0x5425 -#define TIOCSBRK 0x5427 -#define TIOCCBRK 0x5428 -#define TIOCGSID 0x5429 -#define TCGETS2 _IOR('T', 0x2A, struct termios2) -#define TCSETS2 _IOW('T', 0x2B, struct termios2) -#define TCSETSW2 _IOW('T', 0x2C, struct termios2) -#define TCSETSF2 _IOW('T', 0x2D, struct termios2) -#define TIOCGRS485 0x542E +#define TCGETS 0x5401 +#define TCSETS 0x5402 +#define TCSETSW 0x5403 +#define TCSETSF 0x5404 +#define TCGETA 0x5405 +#define TCSETA 0x5406 +#define TCSETAW 0x5407 +#define TCSETAF 0x5408 +#define TCSBRK 0x5409 +#define TCXONC 0x540A +#define TCFLSH 0x540B +#define TIOCEXCL 0x540C +#define TIOCNXCL 0x540D +#define TIOCSCTTY 0x540E +#define TIOCGPGRP 0x540F +#define TIOCSPGRP 0x5410 +#define TIOCOUTQ 0x5411 +#define TIOCSTI 0x5412 +#define TIOCGWINSZ 0x5413 +#define TIOCSWINSZ 0x5414 +#define TIOCMGET 0x5415 +#define TIOCMBIS 0x5416 +#define TIOCMBIC 0x5417 +#define TIOCMSET 0x5418 +#define TIOCGSOFTCAR 0x5419 +#define TIOCSSOFTCAR 0x541A +#define FIONREAD 0x541B +#define TIOCINQ FIONREAD +#define TIOCLINUX 0x541C +#define TIOCCONS 0x541D +#define TIOCGSERIAL 0x541E +#define TIOCSSERIAL 0x541F +#define TIOCPKT 0x5420 +#define FIONBIO 0x5421 +#define TIOCNOTTY 0x5422 +#define TIOCSETD 0x5423 +#define TIOCGETD 0x5424 +#define TCSBRKP 0x5425 +#define TIOCSBRK 0x5427 +#define TIOCCBRK 0x5428 +#define TIOCGSID 0x5429 +#define TCGETS2 _IOR('T', 0x2A, struct termios2) +#define TCSETS2 _IOW('T', 0x2B, struct termios2) +#define TCSETSW2 _IOW('T', 0x2C, struct termios2) +#define TCSETSF2 _IOW('T', 0x2D, struct termios2) +#define TIOCGRS485 0x542E #ifndef TIOCSRS485 -#define TIOCSRS485 0x542F +#define TIOCSRS485 0x542F #endif -#define TIOCGPTN _IOR('T', 0x30, unsigned int) -#define TIOCSPTLCK _IOW('T', 0x31, int) -#define TIOCGDEV _IOR('T', 0x32, unsigned int) -#define TCGETX 0x5432 -#define TCSETX 0x5433 -#define TCSETXF 0x5434 -#define TCSETXW 0x5435 -#define TIOCSIG _IOW('T', 0x36, int) -#define TIOCVHANGUP 0x5437 -#define TIOCGPKT _IOR('T', 0x38, int) -#define TIOCGPTLCK _IOR('T', 0x39, int) -#define TIOCGEXCL _IOR('T', 0x40, int) -#define TIOCGPTPEER _IO('T', 0x41) -#define TIOCGISO7816 _IOR('T', 0x42, struct serial_iso7816) -#define TIOCSISO7816 _IOWR('T', 0x43, struct serial_iso7816) -#define FIONCLEX 0x5450 -#define FIOCLEX 0x5451 -#define FIOASYNC 0x5452 -#define TIOCSERCONFIG 0x5453 -#define TIOCSERGWILD 0x5454 -#define TIOCSERSWILD 0x5455 -#define TIOCGLCKTRMIOS 0x5456 -#define TIOCSLCKTRMIOS 0x5457 -#define TIOCSERGSTRUCT 0x5458 -#define TIOCSERGETLSR 0x5459 +#define TIOCGPTN _IOR('T', 0x30, unsigned int) +#define TIOCSPTLCK _IOW('T', 0x31, int) +#define TIOCGDEV _IOR('T', 0x32, unsigned int) +#define TCGETX 0x5432 +#define TCSETX 0x5433 +#define TCSETXF 0x5434 +#define TCSETXW 0x5435 +#define TIOCSIG _IOW('T', 0x36, int) +#define TIOCVHANGUP 0x5437 +#define TIOCGPKT _IOR('T', 0x38, int) +#define TIOCGPTLCK _IOR('T', 0x39, int) +#define TIOCGEXCL _IOR('T', 0x40, int) +#define TIOCGPTPEER _IO('T', 0x41) +#define TIOCGISO7816 _IOR('T', 0x42, struct serial_iso7816) +#define TIOCSISO7816 _IOWR('T', 0x43, struct serial_iso7816) +#define FIONCLEX 0x5450 +#define FIOCLEX 0x5451 +#define FIOASYNC 0x5452 +#define TIOCSERCONFIG 0x5453 +#define TIOCSERGWILD 0x5454 +#define TIOCSERSWILD 0x5455 +#define TIOCGLCKTRMIOS 0x5456 +#define TIOCSLCKTRMIOS 0x5457 +#define TIOCSERGSTRUCT 0x5458 +#define TIOCSERGETLSR 0x5459 #define TIOCSERGETMULTI 0x545A #define TIOCSERSETMULTI 0x545B -#define TIOCMIWAIT 0x545C -#define TIOCGICOUNT 0x545D +#define TIOCMIWAIT 0x545C +#define TIOCGICOUNT 0x545D #ifndef FIOQSIZE -# define FIOQSIZE 0x5460 +#define FIOQSIZE 0x5460 #endif -#define TIOCPKT_DATA 0 -#define TIOCPKT_FLUSHREAD 1 -#define TIOCPKT_FLUSHWRITE 2 -#define TIOCPKT_STOP 4 -#define TIOCPKT_START 8 -#define TIOCPKT_NOSTOP 16 -#define TIOCPKT_DOSTOP 32 -#define TIOCPKT_IOCTL 64 -#define TIOCSER_TEMT 0x01 +#define TIOCPKT_DATA 0 +#define TIOCPKT_FLUSHREAD 1 +#define TIOCPKT_FLUSHWRITE 2 +#define TIOCPKT_STOP 4 +#define TIOCPKT_START 8 +#define TIOCPKT_NOSTOP 16 +#define TIOCPKT_DOSTOP 32 +#define TIOCPKT_IOCTL 64 +#define TIOCSER_TEMT 0x01 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/ipcbuf.h b/linux-5.10/prebuilts/usr/include/asm-generic/ipcbuf.h index 06abd1d..40c45ab 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/ipcbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/ipcbuf.h @@ -1,23 +1,35 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_IPCBUF_H #define __ASM_GENERIC_IPCBUF_H #include struct ipc64_perm { - __kernel_key_t key; - __kernel_uid32_t uid; - __kernel_gid32_t gid; - __kernel_uid32_t cuid; - __kernel_gid32_t cgid; - __kernel_mode_t mode; - - unsigned char __pad1[4 - sizeof(__kernel_mode_t)]; - unsigned short seq; - unsigned short __pad2; - __kernel_ulong_t __unused1; - __kernel_ulong_t __unused2; + __kernel_key_t key; + __kernel_uid32_t uid; + __kernel_gid32_t gid; + __kernel_uid32_t cuid; + __kernel_gid32_t cgid; + __kernel_mode_t mode; + unsigned char __pad1[4 - sizeof(__kernel_mode_t)]; + unsigned short seq; + unsigned short __pad2; + __kernel_ulong_t __unused1; + __kernel_ulong_t __unused2; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/kvm_para.h b/linux-5.10/prebuilts/usr/include/asm-generic/kvm_para.h index 4d42150..878419c 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/kvm_para.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/kvm_para.h @@ -1,5 +1,18 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/mman-common.h b/linux-5.10/prebuilts/usr/include/asm-generic/mman-common.h index b538432..a088ce5 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/mman-common.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/mman-common.h @@ -1,55 +1,67 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_MMAN_COMMON_H #define __ASM_GENERIC_MMAN_COMMON_H -#define PROT_READ 0x1 -#define PROT_WRITE 0x2 -#define PROT_EXEC 0x4 -#define PROT_SEM 0x8 -#define PROT_NONE 0x0 -#define PROT_GROWSDOWN 0x01000000 -#define PROT_GROWSUP 0x02000000 -#define MAP_TYPE 0x0f -#define MAP_FIXED 0x10 -#define MAP_ANONYMOUS 0x20 -#define MAP_POPULATE 0x008000 -#define MAP_NONBLOCK 0x010000 -#define MAP_STACK 0x020000 -#define MAP_HUGETLB 0x040000 -#define MAP_SYNC 0x080000 -#define MAP_FIXED_NOREPLACE 0x100000 +#define PROT_READ 0x1 +#define PROT_WRITE 0x2 +#define PROT_EXEC 0x4 +#define PROT_SEM 0x8 +#define PROT_NONE 0x0 +#define PROT_GROWSDOWN 0x01000000 +#define PROT_GROWSUP 0x02000000 +#define MAP_TYPE 0x0f +#define MAP_FIXED 0x10 +#define MAP_ANONYMOUS 0x20 +#define MAP_POPULATE 0x008000 +#define MAP_NONBLOCK 0x010000 +#define MAP_STACK 0x020000 +#define MAP_HUGETLB 0x040000 +#define MAP_SYNC 0x080000 +#define MAP_FIXED_NOREPLACE 0x100000 #define MAP_UNINITIALIZED 0x4000000 -#define MLOCK_ONFAULT 0x01 -#define MS_ASYNC 1 -#define MS_INVALIDATE 2 -#define MS_SYNC 4 -#define MADV_NORMAL 0 -#define MADV_RANDOM 1 -#define MADV_SEQUENTIAL 2 -#define MADV_WILLNEED 3 -#define MADV_DONTNEED 4 -#define MADV_FREE 8 -#define MADV_REMOVE 9 -#define MADV_DONTFORK 10 -#define MADV_DOFORK 11 -#define MADV_HWPOISON 100 +#define MLOCK_ONFAULT 0x01 +#define MS_ASYNC 1 +#define MS_INVALIDATE 2 +#define MS_SYNC 4 +#define MADV_NORMAL 0 +#define MADV_RANDOM 1 +#define MADV_SEQUENTIAL 2 +#define MADV_WILLNEED 3 +#define MADV_DONTNEED 4 +#define MADV_FREE 8 +#define MADV_REMOVE 9 +#define MADV_DONTFORK 10 +#define MADV_DOFORK 11 +#define MADV_HWPOISON 100 #define MADV_SOFT_OFFLINE 101 -#define MADV_MERGEABLE 12 +#define MADV_MERGEABLE 12 #define MADV_UNMERGEABLE 13 -#define MADV_HUGEPAGE 14 -#define MADV_NOHUGEPAGE 15 -#define MADV_DONTDUMP 16 -#define MADV_DODUMP 17 +#define MADV_HUGEPAGE 14 +#define MADV_NOHUGEPAGE 15 +#define MADV_DONTDUMP 16 +#define MADV_DODUMP 17 #define MADV_WIPEONFORK 18 #define MADV_KEEPONFORK 19 -#define MADV_COLD 20 -#define MADV_PAGEOUT 21 -#define MAP_FILE 0 -#define PKEY_DISABLE_ACCESS 0x1 -#define PKEY_DISABLE_WRITE 0x2 -#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\ - PKEY_DISABLE_WRITE) +#define MADV_COLD 20 +#define MADV_PAGEOUT 21 +#define MAP_FILE 0 +#define PKEY_DISABLE_ACCESS 0x1 +#define PKEY_DISABLE_WRITE 0x2 +#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE) #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/mman.h b/linux-5.10/prebuilts/usr/include/asm-generic/mman.h index e52d887..33d43f7 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/mman.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/mman.h @@ -1,17 +1,30 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_MMAN_H #define __ASM_GENERIC_MMAN_H #include -#define MAP_GROWSDOWN 0x0100 -#define MAP_DENYWRITE 0x0800 -#define MAP_EXECUTABLE 0x1000 -#define MAP_LOCKED 0x2000 -#define MAP_NORESERVE 0x4000 -#define MCL_CURRENT 1 -#define MCL_FUTURE 2 -#define MCL_ONFAULT 4 +#define MAP_GROWSDOWN 0x0100 +#define MAP_DENYWRITE 0x0800 +#define MAP_EXECUTABLE 0x1000 +#define MAP_LOCKED 0x2000 +#define MAP_NORESERVE 0x4000 +#define MCL_CURRENT 1 +#define MCL_FUTURE 2 +#define MCL_ONFAULT 4 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/msgbuf.h b/linux-5.10/prebuilts/usr/include/asm-generic/msgbuf.h index 5643045..827d050 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/msgbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/msgbuf.h @@ -1,32 +1,45 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_MSGBUF_H #define __ASM_GENERIC_MSGBUF_H #include #include struct msqid64_ds { - struct ipc64_perm msg_perm; + struct ipc64_perm msg_perm; #if __BITS_PER_LONG == 64 - long msg_stime; - long msg_rtime; - long msg_ctime; + long msg_stime; + long msg_rtime; + long msg_ctime; #else - unsigned long msg_stime; - unsigned long msg_stime_high; - unsigned long msg_rtime; - unsigned long msg_rtime_high; - unsigned long msg_ctime; - unsigned long msg_ctime_high; + unsigned long msg_stime; + unsigned long msg_stime_high; + unsigned long msg_rtime; + unsigned long msg_rtime_high; + unsigned long msg_ctime; + unsigned long msg_ctime_high; #endif - unsigned long msg_cbytes; - unsigned long msg_qnum; - unsigned long msg_qbytes; - __kernel_pid_t msg_lspid; - __kernel_pid_t msg_lrpid; - unsigned long __unused4; - unsigned long __unused5; + unsigned long msg_cbytes; + unsigned long msg_qnum; + unsigned long msg_qbytes; + __kernel_pid_t msg_lspid; + __kernel_pid_t msg_lrpid; + unsigned long __unused4; + unsigned long __unused5; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/param.h b/linux-5.10/prebuilts/usr/include/asm-generic/param.h index eef41a7..7897799 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/param.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/param.h @@ -1,18 +1,31 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_GENERIC_PARAM_H #define _UAPI__ASM_GENERIC_PARAM_H #ifndef HZ #define HZ 100 #endif #ifndef EXEC_PAGESIZE -#define EXEC_PAGESIZE 4096 +#define EXEC_PAGESIZE 4096 #endif #ifndef NOGROUP -#define NOGROUP (-1) +#define NOGROUP (- 1) #endif -#define MAXHOSTNAMELEN 64 +#define MAXHOSTNAMELEN 64 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/poll.h b/linux-5.10/prebuilts/usr/include/asm-generic/poll.h index 345be72..372bc77 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/poll.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/poll.h @@ -1,38 +1,51 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_POLL_H #define __ASM_GENERIC_POLL_H -#define POLLIN 0x0001 -#define POLLPRI 0x0002 -#define POLLOUT 0x0004 -#define POLLERR 0x0008 -#define POLLHUP 0x0010 -#define POLLNVAL 0x0020 -#define POLLRDNORM 0x0040 -#define POLLRDBAND 0x0080 +#define POLLIN 0x0001 +#define POLLPRI 0x0002 +#define POLLOUT 0x0004 +#define POLLERR 0x0008 +#define POLLHUP 0x0010 +#define POLLNVAL 0x0020 +#define POLLRDNORM 0x0040 +#define POLLRDBAND 0x0080 #ifndef POLLWRNORM -#define POLLWRNORM 0x0100 +#define POLLWRNORM 0x0100 #endif #ifndef POLLWRBAND -#define POLLWRBAND 0x0200 +#define POLLWRBAND 0x0200 #endif #ifndef POLLMSG -#define POLLMSG 0x0400 +#define POLLMSG 0x0400 #endif #ifndef POLLREMOVE -#define POLLREMOVE 0x1000 +#define POLLREMOVE 0x1000 #endif #ifndef POLLRDHUP -#define POLLRDHUP 0x2000 +#define POLLRDHUP 0x2000 #endif -#define POLLFREE (__force __poll_t)0x4000 -#define POLL_BUSY_LOOP (__force __poll_t)0x8000 +#define POLLFREE (__force __poll_t) 0x4000 +#define POLL_BUSY_LOOP (__force __poll_t) 0x8000 struct pollfd { - int fd; - short events; - short revents; + int fd; + short events; + short revents; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/posix_types.h b/linux-5.10/prebuilts/usr/include/asm-generic/posix_types.h index 74b30a6..4045127 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/posix_types.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/posix_types.h @@ -1,75 +1,86 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_POSIX_TYPES_H #define __ASM_GENERIC_POSIX_TYPES_H #include #ifndef __kernel_long_t -typedef long __kernel_long_t; -typedef unsigned long __kernel_ulong_t; +typedef long __kernel_long_t; +typedef unsigned long __kernel_ulong_t; #endif #ifndef __kernel_ino_t typedef __kernel_ulong_t __kernel_ino_t; #endif #ifndef __kernel_mode_t -typedef unsigned int __kernel_mode_t; +typedef unsigned int __kernel_mode_t; #endif #ifndef __kernel_pid_t -typedef int __kernel_pid_t; +typedef int __kernel_pid_t; #endif #ifndef __kernel_ipc_pid_t -typedef int __kernel_ipc_pid_t; +typedef int __kernel_ipc_pid_t; #endif #ifndef __kernel_uid_t -typedef unsigned int __kernel_uid_t; -typedef unsigned int __kernel_gid_t; +typedef unsigned int __kernel_uid_t; +typedef unsigned int __kernel_gid_t; #endif #ifndef __kernel_suseconds_t -typedef __kernel_long_t __kernel_suseconds_t; +typedef __kernel_long_t __kernel_suseconds_t; #endif #ifndef __kernel_daddr_t -typedef int __kernel_daddr_t; +typedef int __kernel_daddr_t; #endif #ifndef __kernel_uid32_t -typedef unsigned int __kernel_uid32_t; -typedef unsigned int __kernel_gid32_t; +typedef unsigned int __kernel_uid32_t; +typedef unsigned int __kernel_gid32_t; #endif #ifndef __kernel_old_uid_t -typedef __kernel_uid_t __kernel_old_uid_t; -typedef __kernel_gid_t __kernel_old_gid_t; +typedef __kernel_uid_t __kernel_old_uid_t; +typedef __kernel_gid_t __kernel_old_gid_t; #endif #ifndef __kernel_old_dev_t -typedef unsigned int __kernel_old_dev_t; +typedef unsigned int __kernel_old_dev_t; #endif #ifndef __kernel_size_t #if __BITS_PER_LONG != 64 -typedef unsigned int __kernel_size_t; -typedef int __kernel_ssize_t; -typedef int __kernel_ptrdiff_t; +typedef unsigned int __kernel_size_t; +typedef int __kernel_ssize_t; +typedef int __kernel_ptrdiff_t; #else typedef __kernel_ulong_t __kernel_size_t; -typedef __kernel_long_t __kernel_ssize_t; -typedef __kernel_long_t __kernel_ptrdiff_t; +typedef __kernel_long_t __kernel_ssize_t; +typedef __kernel_long_t __kernel_ptrdiff_t; #endif #endif #ifndef __kernel_fsid_t typedef struct { - int val[2]; + int val[2]; } __kernel_fsid_t; #endif -typedef __kernel_long_t __kernel_off_t; -typedef long long __kernel_loff_t; -typedef __kernel_long_t __kernel_old_time_t; -#ifndef __KERNEL__ -typedef __kernel_long_t __kernel_time_t; -#endif +typedef __kernel_long_t __kernel_off_t; +typedef long long __kernel_loff_t; +typedef __kernel_long_t __kernel_old_time_t; +typedef __kernel_long_t __kernel_time_t; typedef long long __kernel_time64_t; -typedef __kernel_long_t __kernel_clock_t; -typedef int __kernel_timer_t; -typedef int __kernel_clockid_t; -typedef char * __kernel_caddr_t; -typedef unsigned short __kernel_uid16_t; -typedef unsigned short __kernel_gid16_t; +typedef __kernel_long_t __kernel_clock_t; +typedef int __kernel_timer_t; +typedef int __kernel_clockid_t; +typedef char * __kernel_caddr_t; +typedef unsigned short __kernel_uid16_t; +typedef unsigned short __kernel_gid16_t; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/resource.h b/linux-5.10/prebuilts/usr/include/asm-generic/resource.h index c50de8c..843910b 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/resource.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/resource.h @@ -1,38 +1,51 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_GENERIC_RESOURCE_H #define _UAPI_ASM_GENERIC_RESOURCE_H -#define RLIMIT_CPU 0 -#define RLIMIT_FSIZE 1 -#define RLIMIT_DATA 2 -#define RLIMIT_STACK 3 -#define RLIMIT_CORE 4 +#define RLIMIT_CPU 0 +#define RLIMIT_FSIZE 1 +#define RLIMIT_DATA 2 +#define RLIMIT_STACK 3 +#define RLIMIT_CORE 4 #ifndef RLIMIT_RSS -# define RLIMIT_RSS 5 +#define RLIMIT_RSS 5 #endif #ifndef RLIMIT_NPROC -# define RLIMIT_NPROC 6 +#define RLIMIT_NPROC 6 #endif #ifndef RLIMIT_NOFILE -# define RLIMIT_NOFILE 7 +#define RLIMIT_NOFILE 7 #endif #ifndef RLIMIT_MEMLOCK -# define RLIMIT_MEMLOCK 8 +#define RLIMIT_MEMLOCK 8 #endif #ifndef RLIMIT_AS -# define RLIMIT_AS 9 +#define RLIMIT_AS 9 #endif -#define RLIMIT_LOCKS 10 -#define RLIMIT_SIGPENDING 11 -#define RLIMIT_MSGQUEUE 12 -#define RLIMIT_NICE 13 -#define RLIMIT_RTPRIO 14 -#define RLIMIT_RTTIME 15 -#define RLIM_NLIMITS 16 +#define RLIMIT_LOCKS 10 +#define RLIMIT_SIGPENDING 11 +#define RLIMIT_MSGQUEUE 12 +#define RLIMIT_NICE 13 +#define RLIMIT_RTPRIO 14 +#define RLIMIT_RTTIME 15 +#define RLIM_NLIMITS 16 #ifndef RLIM_INFINITY -# define RLIM_INFINITY (~0UL) +#define RLIM_INFINITY (~0UL) #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/sembuf.h b/linux-5.10/prebuilts/usr/include/asm-generic/sembuf.h index 2ad4893..46306f7 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/sembuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/sembuf.h @@ -1,25 +1,38 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_SEMBUF_H #define __ASM_GENERIC_SEMBUF_H #include #include struct semid64_ds { - struct ipc64_perm sem_perm; + struct ipc64_perm sem_perm; #if __BITS_PER_LONG == 64 - long sem_otime; - long sem_ctime; + long sem_otime; + long sem_ctime; #else - unsigned long sem_otime; - unsigned long sem_otime_high; - unsigned long sem_ctime; - unsigned long sem_ctime_high; + unsigned long sem_otime; + unsigned long sem_otime_high; + unsigned long sem_ctime; + unsigned long sem_ctime_high; #endif - unsigned long sem_nsems; - unsigned long __unused3; - unsigned long __unused4; + unsigned long sem_nsems; + unsigned long __unused3; + unsigned long __unused4; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/setup.h b/linux-5.10/prebuilts/usr/include/asm-generic/setup.h index 9a3cf37..f44a6dd 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/setup.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/setup.h @@ -1,9 +1,22 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_SETUP_H #define __ASM_GENERIC_SETUP_H -#define COMMAND_LINE_SIZE 512 +#define COMMAND_LINE_SIZE 512 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/shmbuf.h b/linux-5.10/prebuilts/usr/include/asm-generic/shmbuf.h index dd013a8..067ffbc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/shmbuf.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/shmbuf.h @@ -1,41 +1,54 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_SHMBUF_H #define __ASM_GENERIC_SHMBUF_H #include struct shmid64_ds { - struct ipc64_perm shm_perm; - size_t shm_segsz; + struct ipc64_perm shm_perm; + size_t shm_segsz; #if __BITS_PER_LONG == 64 - long shm_atime; - long shm_dtime; - long shm_ctime; + long shm_atime; + long shm_dtime; + long shm_ctime; #else - unsigned long shm_atime; - unsigned long shm_atime_high; - unsigned long shm_dtime; - unsigned long shm_dtime_high; - unsigned long shm_ctime; - unsigned long shm_ctime_high; + unsigned long shm_atime; + unsigned long shm_atime_high; + unsigned long shm_dtime; + unsigned long shm_dtime_high; + unsigned long shm_ctime; + unsigned long shm_ctime_high; #endif - __kernel_pid_t shm_cpid; - __kernel_pid_t shm_lpid; - unsigned long shm_nattch; - unsigned long __unused4; - unsigned long __unused5; + __kernel_pid_t shm_cpid; + __kernel_pid_t shm_lpid; + unsigned long shm_nattch; + unsigned long __unused4; + unsigned long __unused5; }; struct shminfo64 { - unsigned long shmmax; - unsigned long shmmin; - unsigned long shmmni; - unsigned long shmseg; - unsigned long shmall; - unsigned long __unused1; - unsigned long __unused2; - unsigned long __unused3; - unsigned long __unused4; + unsigned long shmmax; + unsigned long shmmin; + unsigned long shmmni; + unsigned long shmseg; + unsigned long shmall; + unsigned long __unused1; + unsigned long __unused2; + unsigned long __unused3; + unsigned long __unused4; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/shmparam.h b/linux-5.10/prebuilts/usr/include/asm-generic/shmparam.h deleted file mode 100644 index c98928a..0000000 --- a/linux-5.10/prebuilts/usr/include/asm-generic/shmparam.h +++ /dev/null @@ -1,9 +0,0 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ -#ifndef __ASM_GENERIC_SHMPARAM_H -#define __ASM_GENERIC_SHMPARAM_H -#define SHMLBA PAGE_SIZE -#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/siginfo.h b/linux-5.10/prebuilts/usr/include/asm-generic/siginfo.h index 438ee19..16a85c3 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/siginfo.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/siginfo.h @@ -1,17 +1,30 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_GENERIC_SIGINFO_H #define _UAPI_ASM_GENERIC_SIGINFO_H #include #include typedef union sigval { - int sival_int; - void __user *sival_ptr; + int sival_int; + void __user * sival_ptr; } sigval_t; -#define SI_MAX_SIZE 128 +#define SI_MAX_SIZE 128 #ifndef __ARCH_SI_BAND_T #define __ARCH_SI_BAND_T long #endif @@ -22,228 +35,206 @@ typedef union sigval { #define __ARCH_SI_ATTRIBUTES #endif union __sifields { - - struct { - __kernel_pid_t _pid; - __kernel_uid32_t _uid; - } _kill; - - struct { - __kernel_timer_t _tid; - int _overrun; - sigval_t _sigval; - int _sys_private; - } _timer; - - struct { - __kernel_pid_t _pid; - __kernel_uid32_t _uid; - sigval_t _sigval; - } _rt; - - struct { - __kernel_pid_t _pid; - __kernel_uid32_t _uid; - int _status; - __ARCH_SI_CLOCK_T _utime; - __ARCH_SI_CLOCK_T _stime; - } _sigchld; - - struct { - void __user *_addr; + struct { + __kernel_pid_t _pid; + __kernel_uid32_t _uid; + } _kill; + struct { + __kernel_timer_t _tid; + int _overrun; + sigval_t _sigval; + int _sys_private; + } _timer; + struct { + __kernel_pid_t _pid; + __kernel_uid32_t _uid; + sigval_t _sigval; + } _rt; + struct { + __kernel_pid_t _pid; + __kernel_uid32_t _uid; + int _status; + __ARCH_SI_CLOCK_T _utime; + __ARCH_SI_CLOCK_T _stime; + } _sigchld; + struct { + void __user * _addr; #ifdef __ARCH_SI_TRAPNO - int _trapno; + int _trapno; #endif #ifdef __ia64__ - int _imm; - unsigned int _flags; - unsigned long _isr; + int _imm; + unsigned int _flags; + unsigned long _isr; #endif -#define __ADDR_BND_PKEY_PAD (__alignof__(void *) < sizeof(short) ? \ - sizeof(short) : __alignof__(void *)) - union { - - short _addr_lsb; - - struct { - char _dummy_bnd[__ADDR_BND_PKEY_PAD]; - void __user *_lower; - void __user *_upper; - } _addr_bnd; - - struct { - char _dummy_pkey[__ADDR_BND_PKEY_PAD]; - __u32 _pkey; - } _addr_pkey; - }; - } _sigfault; - - struct { - __ARCH_SI_BAND_T _band; - int _fd; - } _sigpoll; - - struct { - void __user *_call_addr; - int _syscall; - unsigned int _arch; - } _sigsys; +#define __ADDR_BND_PKEY_PAD (__alignof__(void *) < sizeof(short) ? sizeof(short) : __alignof__(void *)) + union { + short _addr_lsb; + struct { + char _dummy_bnd[__ADDR_BND_PKEY_PAD]; + void __user * _lower; + void __user * _upper; + } _addr_bnd; + struct { + char _dummy_pkey[__ADDR_BND_PKEY_PAD]; + __u32 _pkey; + } _addr_pkey; + }; + } _sigfault; + struct { + __ARCH_SI_BAND_T _band; + int _fd; + } _sigpoll; + struct { + void __user * _call_addr; + int _syscall; + unsigned int _arch; + } _sigsys; }; #ifndef __ARCH_HAS_SWAPPED_SIGINFO -#define __SIGINFO \ -struct { \ - int si_signo; \ - int si_errno; \ - int si_code; \ - union __sifields _sifields; \ +#define __SIGINFO struct { int si_signo; int si_errno; int si_code; union __sifields _sifields; \ } #else -#define __SIGINFO \ -struct { \ - int si_signo; \ - int si_code; \ - int si_errno; \ - union __sifields _sifields; \ +#define __SIGINFO struct { int si_signo; int si_code; int si_errno; union __sifields _sifields; \ } #endif typedef struct siginfo { - union { - __SIGINFO; - int _si_pad[SI_MAX_SIZE/sizeof(int)]; - }; + union { + __SIGINFO; + int _si_pad[SI_MAX_SIZE / sizeof(int)]; + }; } __ARCH_SI_ATTRIBUTES siginfo_t; -#define si_pid _sifields._kill._pid -#define si_uid _sifields._kill._uid -#define si_tid _sifields._timer._tid -#define si_overrun _sifields._timer._overrun -#define si_sys_private _sifields._timer._sys_private -#define si_status _sifields._sigchld._status -#define si_utime _sifields._sigchld._utime -#define si_stime _sifields._sigchld._stime -#define si_value _sifields._rt._sigval -#define si_int _sifields._rt._sigval.sival_int -#define si_ptr _sifields._rt._sigval.sival_ptr -#define si_addr _sifields._sigfault._addr +#define si_pid _sifields._kill._pid +#define si_uid _sifields._kill._uid +#define si_tid _sifields._timer._tid +#define si_overrun _sifields._timer._overrun +#define si_sys_private _sifields._timer._sys_private +#define si_status _sifields._sigchld._status +#define si_utime _sifields._sigchld._utime +#define si_stime _sifields._sigchld._stime +#define si_value _sifields._rt._sigval +#define si_int _sifields._rt._sigval.sival_int +#define si_ptr _sifields._rt._sigval.sival_ptr +#define si_addr _sifields._sigfault._addr #ifdef __ARCH_SI_TRAPNO -#define si_trapno _sifields._sigfault._trapno +#define si_trapno _sifields._sigfault._trapno #endif -#define si_addr_lsb _sifields._sigfault._addr_lsb -#define si_lower _sifields._sigfault._addr_bnd._lower -#define si_upper _sifields._sigfault._addr_bnd._upper -#define si_pkey _sifields._sigfault._addr_pkey._pkey -#define si_band _sifields._sigpoll._band -#define si_fd _sifields._sigpoll._fd -#define si_call_addr _sifields._sigsys._call_addr -#define si_syscall _sifields._sigsys._syscall -#define si_arch _sifields._sigsys._arch -#define SI_USER 0 -#define SI_KERNEL 0x80 -#define SI_QUEUE -1 -#define SI_TIMER -2 -#define SI_MESGQ -3 -#define SI_ASYNCIO -4 -#define SI_SIGIO -5 -#define SI_TKILL -6 -#define SI_DETHREAD -7 -#define SI_ASYNCNL -60 -#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0) -#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0) -#define ILL_ILLOPC 1 -#define ILL_ILLOPN 2 -#define ILL_ILLADR 3 -#define ILL_ILLTRP 4 -#define ILL_PRVOPC 5 -#define ILL_PRVREG 6 -#define ILL_COPROC 7 -#define ILL_BADSTK 8 -#define ILL_BADIADDR 9 -#define __ILL_BREAK 10 -#define __ILL_BNDMOD 11 -#define NSIGILL 11 -#define FPE_INTDIV 1 -#define FPE_INTOVF 2 -#define FPE_FLTDIV 3 -#define FPE_FLTOVF 4 -#define FPE_FLTUND 5 -#define FPE_FLTRES 6 -#define FPE_FLTINV 7 -#define FPE_FLTSUB 8 -#define __FPE_DECOVF 9 -#define __FPE_DECDIV 10 -#define __FPE_DECERR 11 -#define __FPE_INVASC 12 -#define __FPE_INVDEC 13 -#define FPE_FLTUNK 14 -#define FPE_CONDTRAP 15 -#define NSIGFPE 15 -#define SEGV_MAPERR 1 -#define SEGV_ACCERR 2 -#define SEGV_BNDERR 3 +#define si_addr_lsb _sifields._sigfault._addr_lsb +#define si_lower _sifields._sigfault._addr_bnd._lower +#define si_upper _sifields._sigfault._addr_bnd._upper +#define si_pkey _sifields._sigfault._addr_pkey._pkey +#define si_band _sifields._sigpoll._band +#define si_fd _sifields._sigpoll._fd +#define si_call_addr _sifields._sigsys._call_addr +#define si_syscall _sifields._sigsys._syscall +#define si_arch _sifields._sigsys._arch +#define SI_USER 0 +#define SI_KERNEL 0x80 +#define SI_QUEUE - 1 +#define SI_TIMER - 2 +#define SI_MESGQ - 3 +#define SI_ASYNCIO - 4 +#define SI_SIGIO - 5 +#define SI_TKILL - 6 +#define SI_DETHREAD - 7 +#define SI_ASYNCNL - 60 +#define SI_FROMUSER(siptr) ((siptr)->si_code <= 0) +#define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0) +#define ILL_ILLOPC 1 +#define ILL_ILLOPN 2 +#define ILL_ILLADR 3 +#define ILL_ILLTRP 4 +#define ILL_PRVOPC 5 +#define ILL_PRVREG 6 +#define ILL_COPROC 7 +#define ILL_BADSTK 8 +#define ILL_BADIADDR 9 +#define __ILL_BREAK 10 +#define __ILL_BNDMOD 11 +#define NSIGILL 11 +#define FPE_INTDIV 1 +#define FPE_INTOVF 2 +#define FPE_FLTDIV 3 +#define FPE_FLTOVF 4 +#define FPE_FLTUND 5 +#define FPE_FLTRES 6 +#define FPE_FLTINV 7 +#define FPE_FLTSUB 8 +#define __FPE_DECOVF 9 +#define __FPE_DECDIV 10 +#define __FPE_DECERR 11 +#define __FPE_INVASC 12 +#define __FPE_INVDEC 13 +#define FPE_FLTUNK 14 +#define FPE_CONDTRAP 15 +#define NSIGFPE 15 +#define SEGV_MAPERR 1 +#define SEGV_ACCERR 2 +#define SEGV_BNDERR 3 #ifdef __ia64__ -# define __SEGV_PSTKOVF 4 +#define __SEGV_PSTKOVF 4 #else -# define SEGV_PKUERR 4 +#define SEGV_PKUERR 4 #endif -#define SEGV_ACCADI 5 -#define SEGV_ADIDERR 6 -#define SEGV_ADIPERR 7 -#define SEGV_MTEAERR 8 -#define SEGV_MTESERR 9 -#define NSIGSEGV 9 -#define BUS_ADRALN 1 -#define BUS_ADRERR 2 -#define BUS_OBJERR 3 -#define BUS_MCEERR_AR 4 -#define BUS_MCEERR_AO 5 -#define NSIGBUS 5 -#define TRAP_BRKPT 1 -#define TRAP_TRACE 2 -#define TRAP_BRANCH 3 -#define TRAP_HWBKPT 4 -#define TRAP_UNK 5 -#define NSIGTRAP 5 -#define CLD_EXITED 1 -#define CLD_KILLED 2 -#define CLD_DUMPED 3 -#define CLD_TRAPPED 4 -#define CLD_STOPPED 5 -#define CLD_CONTINUED 6 -#define NSIGCHLD 6 -#define POLL_IN 1 -#define POLL_OUT 2 -#define POLL_MSG 3 -#define POLL_ERR 4 -#define POLL_PRI 5 -#define POLL_HUP 6 -#define NSIGPOLL 6 -#define SYS_SECCOMP 1 -#define NSIGSYS 1 -#define EMT_TAGOVF 1 -#define NSIGEMT 1 -#define SIGEV_SIGNAL 0 -#define SIGEV_NONE 1 -#define SIGEV_THREAD 2 +#define SEGV_ACCADI 5 +#define SEGV_ADIDERR 6 +#define SEGV_ADIPERR 7 +#define SEGV_MTEAERR 8 +#define SEGV_MTESERR 9 +#define NSIGSEGV 9 +#define BUS_ADRALN 1 +#define BUS_ADRERR 2 +#define BUS_OBJERR 3 +#define BUS_MCEERR_AR 4 +#define BUS_MCEERR_AO 5 +#define NSIGBUS 5 +#define TRAP_BRKPT 1 +#define TRAP_TRACE 2 +#define TRAP_BRANCH 3 +#define TRAP_HWBKPT 4 +#define TRAP_UNK 5 +#define NSIGTRAP 5 +#define CLD_EXITED 1 +#define CLD_KILLED 2 +#define CLD_DUMPED 3 +#define CLD_TRAPPED 4 +#define CLD_STOPPED 5 +#define CLD_CONTINUED 6 +#define NSIGCHLD 6 +#define POLL_IN 1 +#define POLL_OUT 2 +#define POLL_MSG 3 +#define POLL_ERR 4 +#define POLL_PRI 5 +#define POLL_HUP 6 +#define NSIGPOLL 6 +#define SYS_SECCOMP 1 +#define NSIGSYS 1 +#define EMT_TAGOVF 1 +#define NSIGEMT 1 +#define SIGEV_SIGNAL 0 +#define SIGEV_NONE 1 +#define SIGEV_THREAD 2 #define SIGEV_THREAD_ID 4 #ifndef __ARCH_SIGEV_PREAMBLE_SIZE -#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(int) * 2 + sizeof(sigval_t)) +#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(int) * 2 + sizeof(sigval_t)) #endif -#define SIGEV_MAX_SIZE 64 -#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) \ - / sizeof(int)) +#define SIGEV_MAX_SIZE 64 +#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) / sizeof(int)) typedef struct sigevent { - sigval_t sigev_value; - int sigev_signo; - int sigev_notify; - union { - int _pad[SIGEV_PAD_SIZE]; - int _tid; - struct { - void (*_function)(sigval_t); - void *_attribute; - } _sigev_thread; - } _sigev_un; + sigval_t sigev_value; + int sigev_signo; + int sigev_notify; + union { + int _pad[SIGEV_PAD_SIZE]; + int _tid; + struct { + void(* _function) (sigval_t); + void * _attribute; + } _sigev_thread; + } _sigev_un; } sigevent_t; -#define sigev_notify_function _sigev_un._sigev_thread._function -#define sigev_notify_attributes _sigev_un._sigev_thread._attribute -#define sigev_notify_thread_id _sigev_un._tid +#define sigev_notify_function _sigev_un._sigev_thread._function +#define sigev_notify_attributes _sigev_un._sigev_thread._attribute +#define sigev_notify_thread_id _sigev_un._tid #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/signal-defs.h b/linux-5.10/prebuilts/usr/include/asm-generic/signal-defs.h index 6cde6c0..a6de2e4 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/signal-defs.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/signal-defs.h @@ -1,27 +1,40 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_SIGNAL_DEFS_H #define __ASM_GENERIC_SIGNAL_DEFS_H #include #ifndef SIG_BLOCK -#define SIG_BLOCK 0 +#define SIG_BLOCK 0 #endif #ifndef SIG_UNBLOCK -#define SIG_UNBLOCK 1 +#define SIG_UNBLOCK 1 #endif #ifndef SIG_SETMASK -#define SIG_SETMASK 2 +#define SIG_SETMASK 2 #endif #ifndef __ASSEMBLY__ typedef void __signalfn_t(int); -typedef __signalfn_t __user *__sighandler_t; +typedef __signalfn_t __user * __sighandler_t; typedef void __restorefn_t(void); -typedef __restorefn_t __user *__sigrestore_t; -#define SIG_DFL ((__force __sighandler_t)0) -#define SIG_IGN ((__force __sighandler_t)1) -#define SIG_ERR ((__force __sighandler_t)-1) +typedef __restorefn_t __user * __sigrestore_t; +#define SIG_DFL ((__force __sighandler_t) 0) +#define SIG_IGN ((__force __sighandler_t) 1) +#define SIG_ERR ((__force __sighandler_t) - 1) #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/signal.h b/linux-5.10/prebuilts/usr/include/asm-generic/signal.h index 30d3768..1210cbc 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/signal.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/signal.h @@ -1,88 +1,99 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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__ASM_GENERIC_SIGNAL_H #define _UAPI__ASM_GENERIC_SIGNAL_H #include -#define _KERNEL__NSIG 64 -#define _NSIG_BPW __BITS_PER_LONG -#define _NSIG_WORDS (_KERNEL__NSIG / _NSIG_BPW) -#define SIGHUP 1 -#define SIGINT 2 -#define SIGQUIT 3 -#define SIGILL 4 -#define SIGTRAP 5 -#define SIGABRT 6 -#define SIGIOT 6 -#define SIGBUS 7 -#define SIGFPE 8 -#define SIGKILL 9 -#define SIGUSR1 10 -#define SIGSEGV 11 -#define SIGUSR2 12 -#define SIGPIPE 13 -#define SIGALRM 14 -#define SIGTERM 15 -#define SIGSTKFLT 16 -#define SIGCHLD 17 -#define SIGCONT 18 -#define SIGSTOP 19 -#define SIGTSTP 20 -#define SIGTTIN 21 -#define SIGTTOU 22 -#define SIGURG 23 -#define SIGXCPU 24 -#define SIGXFSZ 25 -#define SIGVTALRM 26 -#define SIGPROF 27 -#define SIGWINCH 28 -#define SIGIO 29 -#define SIGPOLL SIGIO -#define SIGPWR 30 -#define SIGSYS 31 -#define SIGUNUSED 31 -#define __SIGRTMIN 32 +#define _KERNEL__NSIG 64 +#define _NSIG_BPW __BITS_PER_LONG +#define _NSIG_WORDS (_KERNEL__NSIG / _NSIG_BPW) +#define SIGHUP 1 +#define SIGINT 2 +#define SIGQUIT 3 +#define SIGILL 4 +#define SIGTRAP 5 +#define SIGABRT 6 +#define SIGIOT 6 +#define SIGBUS 7 +#define SIGFPE 8 +#define SIGKILL 9 +#define SIGUSR1 10 +#define SIGSEGV 11 +#define SIGUSR2 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGSTKFLT 16 +#define SIGCHLD 17 +#define SIGCONT 18 +#define SIGSTOP 19 +#define SIGTSTP 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGURG 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSED 31 +#define __SIGRTMIN 32 #ifndef __SIGRTMAX -#define __SIGRTMAX _KERNEL__NSIG +#define __SIGRTMAX _KERNEL__NSIG #endif -#define SA_NOCLDSTOP 0x00000001 -#define SA_NOCLDWAIT 0x00000002 -#define SA_SIGINFO 0x00000004 -#define SA_ONSTACK 0x08000000 -#define SA_RESTART 0x10000000 -#define SA_NODEFER 0x40000000 -#define SA_RESETHAND 0x80000000 -#define SA_NOMASK SA_NODEFER -#define SA_ONESHOT SA_RESETHAND -#if !defined MINSIGSTKSZ || !defined SIGSTKSZ -#define MINSIGSTKSZ 2048 -#define SIGSTKSZ 8192 +#define SA_NOCLDSTOP 0x00000001 +#define SA_NOCLDWAIT 0x00000002 +#define SA_SIGINFO 0x00000004 +#define SA_ONSTACK 0x08000000 +#define SA_RESTART 0x10000000 +#define SA_NODEFER 0x40000000 +#define SA_RESETHAND 0x80000000 +#define SA_NOMASK SA_NODEFER +#define SA_ONESHOT SA_RESETHAND +#if !defined(MINSIGSTKSZ) || !defined(SIGSTKSZ) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 #endif #ifndef __ASSEMBLY__ typedef struct { - unsigned long sig[_NSIG_WORDS]; + unsigned long sig[_NSIG_WORDS]; } sigset_t; typedef unsigned long old_sigset_t; #include #ifdef SA_RESTORER #define __ARCH_HAS_SA_RESTORER #endif -#ifndef __KERNEL__ struct sigaction { - __sighandler_t sa_handler; - unsigned long sa_flags; + __sighandler_t sa_handler; + unsigned long sa_flags; #ifdef SA_RESTORER - __sigrestore_t sa_restorer; + __sigrestore_t sa_restorer; #endif - sigset_t sa_mask; + sigset_t sa_mask; }; -#endif typedef struct sigaltstack { - void __user *ss_sp; - int ss_flags; - size_t ss_size; + void __user * ss_sp; + int ss_flags; + size_t ss_size; } stack_t; #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/socket.h b/linux-5.10/prebuilts/usr/include/asm-generic/socket.h index 41abdc3..11557aa 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/socket.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/socket.h @@ -1,94 +1,106 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_SOCKET_H #define __ASM_GENERIC_SOCKET_H #include #include -#define SOL_SOCKET 1 -#define SO_DEBUG 1 -#define SO_REUSEADDR 2 -#define SO_TYPE 3 -#define SO_ERROR 4 -#define SO_DONTROUTE 5 -#define SO_BROADCAST 6 -#define SO_SNDBUF 7 -#define SO_RCVBUF 8 -#define SO_SNDBUFFORCE 32 -#define SO_RCVBUFFORCE 33 -#define SO_KEEPALIVE 9 -#define SO_OOBINLINE 10 -#define SO_NO_CHECK 11 -#define SO_PRIORITY 12 -#define SO_LINGER 13 -#define SO_BSDCOMPAT 14 -#define SO_REUSEPORT 15 +#define SOL_SOCKET 1 +#define SO_DEBUG 1 +#define SO_REUSEADDR 2 +#define SO_TYPE 3 +#define SO_ERROR 4 +#define SO_DONTROUTE 5 +#define SO_BROADCAST 6 +#define SO_SNDBUF 7 +#define SO_RCVBUF 8 +#define SO_SNDBUFFORCE 32 +#define SO_RCVBUFFORCE 33 +#define SO_KEEPALIVE 9 +#define SO_OOBINLINE 10 +#define SO_NO_CHECK 11 +#define SO_PRIORITY 12 +#define SO_LINGER 13 +#define SO_BSDCOMPAT 14 +#define SO_REUSEPORT 15 #ifndef SO_PASSCRED -#define SO_PASSCRED 16 -#define SO_PEERCRED 17 -#define SO_RCVLOWAT 18 -#define SO_SNDLOWAT 19 -#define SO_RCVTIMEO_OLD 20 -#define SO_SNDTIMEO_OLD 21 +#define SO_PASSCRED 16 +#define SO_PEERCRED 17 +#define SO_RCVLOWAT 18 +#define SO_SNDLOWAT 19 +#define SO_RCVTIMEO_OLD 20 +#define SO_SNDTIMEO_OLD 21 #endif -#define SO_SECURITY_AUTHENTICATION 22 -#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 -#define SO_SECURITY_ENCRYPTION_NETWORK 24 -#define SO_BINDTODEVICE 25 -#define SO_ATTACH_FILTER 26 -#define SO_DETACH_FILTER 27 -#define SO_GET_FILTER SO_ATTACH_FILTER -#define SO_PEERNAME 28 -#define SO_ACCEPTCONN 30 -#define SO_PEERSEC 31 -#define SO_PASSSEC 34 -#define SO_MARK 36 -#define SO_PROTOCOL 38 -#define SO_DOMAIN 39 -#define SO_RXQ_OVFL 40 -#define SO_WIFI_STATUS 41 -#define SCM_WIFI_STATUS SO_WIFI_STATUS -#define SO_PEEK_OFF 42 -#define SO_NOFCS 43 -#define SO_LOCK_FILTER 44 -#define SO_SELECT_ERR_QUEUE 45 -#define SO_BUSY_POLL 46 -#define SO_MAX_PACING_RATE 47 -#define SO_BPF_EXTENSIONS 48 -#define SO_INCOMING_CPU 49 -#define SO_ATTACH_BPF 50 -#define SO_DETACH_BPF SO_DETACH_FILTER -#define SO_ATTACH_REUSEPORT_CBPF 51 -#define SO_ATTACH_REUSEPORT_EBPF 52 -#define SO_CNX_ADVICE 53 -#define SCM_TIMESTAMPING_OPT_STATS 54 -#define SO_MEMINFO 55 -#define SO_INCOMING_NAPI_ID 56 -#define SO_COOKIE 57 -#define SCM_TIMESTAMPING_PKTINFO 58 -#define SO_PEERGROUPS 59 -#define SO_ZEROCOPY 60 -#define SO_TXTIME 61 -#define SCM_TXTIME SO_TXTIME -#define SO_BINDTOIFINDEX 62 -#define SO_TIMESTAMP_OLD 29 -#define SO_TIMESTAMPNS_OLD 35 -#define SO_TIMESTAMPING_OLD 37 -#define SO_TIMESTAMP_NEW 63 -#define SO_TIMESTAMPNS_NEW 64 -#define SO_TIMESTAMPING_NEW 65 -#define SO_RCVTIMEO_NEW 66 -#define SO_SNDTIMEO_NEW 67 +#define SO_SECURITY_AUTHENTICATION 22 +#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 +#define SO_SECURITY_ENCRYPTION_NETWORK 24 +#define SO_BINDTODEVICE 25 +#define SO_ATTACH_FILTER 26 +#define SO_DETACH_FILTER 27 +#define SO_GET_FILTER SO_ATTACH_FILTER +#define SO_PEERNAME 28 +#define SO_ACCEPTCONN 30 +#define SO_PEERSEC 31 +#define SO_PASSSEC 34 +#define SO_MARK 36 +#define SO_PROTOCOL 38 +#define SO_DOMAIN 39 +#define SO_RXQ_OVFL 40 +#define SO_WIFI_STATUS 41 +#define SCM_WIFI_STATUS SO_WIFI_STATUS +#define SO_PEEK_OFF 42 +#define SO_NOFCS 43 +#define SO_LOCK_FILTER 44 +#define SO_SELECT_ERR_QUEUE 45 +#define SO_BUSY_POLL 46 +#define SO_MAX_PACING_RATE 47 +#define SO_BPF_EXTENSIONS 48 +#define SO_INCOMING_CPU 49 +#define SO_ATTACH_BPF 50 +#define SO_DETACH_BPF SO_DETACH_FILTER +#define SO_ATTACH_REUSEPORT_CBPF 51 +#define SO_ATTACH_REUSEPORT_EBPF 52 +#define SO_CNX_ADVICE 53 +#define SCM_TIMESTAMPING_OPT_STATS 54 +#define SO_MEMINFO 55 +#define SO_INCOMING_NAPI_ID 56 +#define SO_COOKIE 57 +#define SCM_TIMESTAMPING_PKTINFO 58 +#define SO_PEERGROUPS 59 +#define SO_ZEROCOPY 60 +#define SO_TXTIME 61 +#define SCM_TXTIME SO_TXTIME +#define SO_BINDTOIFINDEX 62 +#define SO_TIMESTAMP_OLD 29 +#define SO_TIMESTAMPNS_OLD 35 +#define SO_TIMESTAMPING_OLD 37 +#define SO_TIMESTAMP_NEW 63 +#define SO_TIMESTAMPNS_NEW 64 +#define SO_TIMESTAMPING_NEW 65 +#define SO_RCVTIMEO_NEW 66 +#define SO_SNDTIMEO_NEW 67 #define SO_DETACH_REUSEPORT_BPF 68 -#if !defined(__KERNEL__) -#if __BITS_PER_LONG == 64 || (defined(__x86_64__) && defined(__ILP32__)) -#define SO_TIMESTAMP SO_TIMESTAMP_OLD -#define SO_TIMESTAMPNS SO_TIMESTAMPNS_OLD -#define SO_TIMESTAMPING SO_TIMESTAMPING_OLD -#define SO_RCVTIMEO SO_RCVTIMEO_OLD -#define SO_SNDTIMEO SO_SNDTIMEO_OLD +#if __BITS_PER_LONG == 64 || defined(__x86_64__) && defined(__ILP32__) +#define SO_TIMESTAMP SO_TIMESTAMP_OLD +#define SO_TIMESTAMPNS SO_TIMESTAMPNS_OLD +#define SO_TIMESTAMPING SO_TIMESTAMPING_OLD +#define SO_RCVTIMEO SO_RCVTIMEO_OLD +#define SO_SNDTIMEO SO_SNDTIMEO_OLD #else #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_NEW) #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTAMPNS_NEW) @@ -96,8 +108,7 @@ #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW) #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW) #endif -#define SCM_TIMESTAMP SO_TIMESTAMP -#define SCM_TIMESTAMPNS SO_TIMESTAMPNS -#define SCM_TIMESTAMPING SO_TIMESTAMPING -#endif +#define SCM_TIMESTAMP SO_TIMESTAMP +#define SCM_TIMESTAMPNS SO_TIMESTAMPNS +#define SCM_TIMESTAMPING SO_TIMESTAMPING #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/sockios.h b/linux-5.10/prebuilts/usr/include/asm-generic/sockios.h index b0b968a..afbc6ad 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/sockios.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/sockios.h @@ -1,15 +1,28 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_SOCKIOS_H #define __ASM_GENERIC_SOCKIOS_H -#define FIOSETOWN 0x8901 -#define SIOCSPGRP 0x8902 -#define FIOGETOWN 0x8903 -#define SIOCGPGRP 0x8904 -#define SIOCATMARK 0x8905 -#define SIOCGSTAMP_OLD 0x8906 +#define FIOSETOWN 0x8901 +#define SIOCSPGRP 0x8902 +#define FIOGETOWN 0x8903 +#define SIOCGPGRP 0x8904 +#define SIOCATMARK 0x8905 +#define SIOCGSTAMP_OLD 0x8906 #define SIOCGSTAMPNS_OLD 0x8907 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/stat.h b/linux-5.10/prebuilts/usr/include/asm-generic/stat.h index f8accc3..9cc00f2 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/stat.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/stat.h @@ -1,56 +1,69 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_STAT_H #define __ASM_GENERIC_STAT_H #include #define STAT_HAVE_NSEC 1 struct stat { - unsigned long st_dev; - unsigned long st_ino; - unsigned int st_mode; - unsigned int st_nlink; - unsigned int st_uid; - unsigned int st_gid; - unsigned long st_rdev; - unsigned long __pad1; - long st_size; - int st_blksize; - int __pad2; - long st_blocks; - long st_atime; - unsigned long st_atime_nsec; - long st_mtime; - unsigned long st_mtime_nsec; - long st_ctime; - unsigned long st_ctime_nsec; - unsigned int __unused4; - unsigned int __unused5; + unsigned long st_dev; + unsigned long st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned int st_uid; + unsigned int st_gid; + unsigned long st_rdev; + unsigned long __pad1; + long st_size; + int st_blksize; + int __pad2; + long st_blocks; + long st_atime; + unsigned long st_atime_nsec; + long st_mtime; + unsigned long st_mtime_nsec; + long st_ctime; + unsigned long st_ctime_nsec; + unsigned int __unused4; + unsigned int __unused5; }; #if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64) struct stat64 { - unsigned long long st_dev; - unsigned long long st_ino; - unsigned int st_mode; - unsigned int st_nlink; - unsigned int st_uid; - unsigned int st_gid; - unsigned long long st_rdev; - unsigned long long __pad1; - long long st_size; - int st_blksize; - int __pad2; - long long st_blocks; - int st_atime; - unsigned int st_atime_nsec; - int st_mtime; - unsigned int st_mtime_nsec; - int st_ctime; - unsigned int st_ctime_nsec; - unsigned int __unused4; - unsigned int __unused5; + unsigned long long st_dev; + unsigned long long st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned int st_uid; + unsigned int st_gid; + unsigned long long st_rdev; + unsigned long long __pad1; + long long st_size; + int st_blksize; + int __pad2; + long long st_blocks; + int st_atime; + unsigned int st_atime_nsec; + int st_mtime; + unsigned int st_mtime_nsec; + int st_ctime; + unsigned int st_ctime_nsec; + unsigned int __unused4; + unsigned int __unused5; }; #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/statfs.h b/linux-5.10/prebuilts/usr/include/asm-generic/statfs.h index 0a095cd..7184ce9 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/statfs.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/statfs.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_GENERIC_STATFS_H #define _UAPI_GENERIC_STATFS_H #include @@ -14,51 +27,51 @@ #endif #endif struct statfs { - __statfs_word f_type; - __statfs_word f_bsize; - __statfs_word f_blocks; - __statfs_word f_bfree; - __statfs_word f_bavail; - __statfs_word f_files; - __statfs_word f_ffree; - __kernel_fsid_t f_fsid; - __statfs_word f_namelen; - __statfs_word f_frsize; - __statfs_word f_flags; - __statfs_word f_spare[4]; + __statfs_word f_type; + __statfs_word f_bsize; + __statfs_word f_blocks; + __statfs_word f_bfree; + __statfs_word f_bavail; + __statfs_word f_files; + __statfs_word f_ffree; + __kernel_fsid_t f_fsid; + __statfs_word f_namelen; + __statfs_word f_frsize; + __statfs_word f_flags; + __statfs_word f_spare[4]; }; #ifndef ARCH_PACK_STATFS64 #define ARCH_PACK_STATFS64 #endif struct statfs64 { - __statfs_word f_type; - __statfs_word f_bsize; - __u64 f_blocks; - __u64 f_bfree; - __u64 f_bavail; - __u64 f_files; - __u64 f_ffree; - __kernel_fsid_t f_fsid; - __statfs_word f_namelen; - __statfs_word f_frsize; - __statfs_word f_flags; - __statfs_word f_spare[4]; + __statfs_word f_type; + __statfs_word f_bsize; + __u64 f_blocks; + __u64 f_bfree; + __u64 f_bavail; + __u64 f_files; + __u64 f_ffree; + __kernel_fsid_t f_fsid; + __statfs_word f_namelen; + __statfs_word f_frsize; + __statfs_word f_flags; + __statfs_word f_spare[4]; } ARCH_PACK_STATFS64; #ifndef ARCH_PACK_COMPAT_STATFS64 #define ARCH_PACK_COMPAT_STATFS64 #endif struct compat_statfs64 { - __u32 f_type; - __u32 f_bsize; - __u64 f_blocks; - __u64 f_bfree; - __u64 f_bavail; - __u64 f_files; - __u64 f_ffree; - __kernel_fsid_t f_fsid; - __u32 f_namelen; - __u32 f_frsize; - __u32 f_flags; - __u32 f_spare[4]; + __u32 f_type; + __u32 f_bsize; + __u64 f_blocks; + __u64 f_bfree; + __u64 f_bavail; + __u64 f_files; + __u64 f_ffree; + __kernel_fsid_t f_fsid; + __u32 f_namelen; + __u32 f_frsize; + __u32 f_flags; + __u32 f_spare[4]; } ARCH_PACK_COMPAT_STATFS64; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/swab.h b/linux-5.10/prebuilts/usr/include/asm-generic/swab.h index 69a9004..b6119db 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/swab.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/swab.h @@ -1,13 +1,26 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_GENERIC_SWAB_H #define _ASM_GENERIC_SWAB_H #include #if __BITS_PER_LONG == 32 -#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__) +#if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define __SWAB_64_THRU_32__ #endif #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/termbits.h b/linux-5.10/prebuilts/usr/include/asm-generic/termbits.h index 216c4e5..b592964 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/termbits.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/termbits.h @@ -1,42 +1,55 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_TERMBITS_H #define __ASM_GENERIC_TERMBITS_H #include -typedef unsigned char cc_t; -typedef unsigned int speed_t; -typedef unsigned int tcflag_t; +typedef unsigned char cc_t; +typedef unsigned int speed_t; +typedef unsigned int tcflag_t; #define NCCS 19 struct termios { - tcflag_t c_iflag; - tcflag_t c_oflag; - tcflag_t c_cflag; - tcflag_t c_lflag; - cc_t c_line; - cc_t c_cc[NCCS]; + tcflag_t c_iflag; + tcflag_t c_oflag; + tcflag_t c_cflag; + tcflag_t c_lflag; + cc_t c_line; + cc_t c_cc[NCCS]; }; struct termios2 { - tcflag_t c_iflag; - tcflag_t c_oflag; - tcflag_t c_cflag; - tcflag_t c_lflag; - cc_t c_line; - cc_t c_cc[NCCS]; - speed_t c_ispeed; - speed_t c_ospeed; + tcflag_t c_iflag; + tcflag_t c_oflag; + tcflag_t c_cflag; + tcflag_t c_lflag; + cc_t c_line; + cc_t c_cc[NCCS]; + speed_t c_ispeed; + speed_t c_ospeed; }; struct ktermios { - tcflag_t c_iflag; - tcflag_t c_oflag; - tcflag_t c_cflag; - tcflag_t c_lflag; - cc_t c_line; - cc_t c_cc[NCCS]; - speed_t c_ispeed; - speed_t c_ospeed; + tcflag_t c_iflag; + tcflag_t c_oflag; + tcflag_t c_cflag; + tcflag_t c_lflag; + cc_t c_line; + cc_t c_cc[NCCS]; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 #define VQUIT 1 @@ -55,127 +68,127 @@ struct ktermios { #define VWERASE 14 #define VLNEXT 15 #define VEOL2 16 -#define IGNBRK 0000001 -#define BRKINT 0000002 -#define IGNPAR 0000004 -#define PARMRK 0000010 -#define INPCK 0000020 -#define ISTRIP 0000040 -#define INLCR 0000100 -#define IGNCR 0000200 -#define ICRNL 0000400 -#define IUCLC 0001000 -#define IXON 0002000 -#define IXANY 0004000 -#define IXOFF 0010000 -#define IMAXBEL 0020000 -#define IUTF8 0040000 -#define OPOST 0000001 -#define OLCUC 0000002 -#define ONLCR 0000004 -#define OCRNL 0000010 -#define ONOCR 0000020 -#define ONLRET 0000040 -#define OFILL 0000100 -#define OFDEL 0000200 -#define NLDLY 0000400 -#define NL0 0000000 -#define NL1 0000400 -#define CRDLY 0003000 -#define CR0 0000000 -#define CR1 0001000 -#define CR2 0002000 -#define CR3 0003000 -#define TABDLY 0014000 -#define TAB0 0000000 -#define TAB1 0004000 -#define TAB2 0010000 -#define TAB3 0014000 -#define XTABS 0014000 -#define BSDLY 0020000 -#define BS0 0000000 -#define BS1 0020000 -#define VTDLY 0040000 -#define VT0 0000000 -#define VT1 0040000 -#define FFDLY 0100000 -#define FF0 0000000 -#define FF1 0100000 -#define CBAUD 0010017 -#define B0 0000000 -#define B50 0000001 -#define B75 0000002 -#define B110 0000003 -#define B134 0000004 -#define B150 0000005 -#define B200 0000006 -#define B300 0000007 -#define B600 0000010 -#define B1200 0000011 -#define B1800 0000012 -#define B2400 0000013 -#define B4800 0000014 -#define B9600 0000015 -#define B19200 0000016 -#define B38400 0000017 +#define IGNBRK 0000001 +#define BRKINT 0000002 +#define IGNPAR 0000004 +#define PARMRK 0000010 +#define INPCK 0000020 +#define ISTRIP 0000040 +#define INLCR 0000100 +#define IGNCR 0000200 +#define ICRNL 0000400 +#define IUCLC 0001000 +#define IXON 0002000 +#define IXANY 0004000 +#define IXOFF 0010000 +#define IMAXBEL 0020000 +#define IUTF8 0040000 +#define OPOST 0000001 +#define OLCUC 0000002 +#define ONLCR 0000004 +#define OCRNL 0000010 +#define ONOCR 0000020 +#define ONLRET 0000040 +#define OFILL 0000100 +#define OFDEL 0000200 +#define NLDLY 0000400 +#define NL0 0000000 +#define NL1 0000400 +#define CRDLY 0003000 +#define CR0 0000000 +#define CR1 0001000 +#define CR2 0002000 +#define CR3 0003000 +#define TABDLY 0014000 +#define TAB0 0000000 +#define TAB1 0004000 +#define TAB2 0010000 +#define TAB3 0014000 +#define XTABS 0014000 +#define BSDLY 0020000 +#define BS0 0000000 +#define BS1 0020000 +#define VTDLY 0040000 +#define VT0 0000000 +#define VT1 0040000 +#define FFDLY 0100000 +#define FF0 0000000 +#define FF1 0100000 +#define CBAUD 0010017 +#define B0 0000000 +#define B50 0000001 +#define B75 0000002 +#define B110 0000003 +#define B134 0000004 +#define B150 0000005 +#define B200 0000006 +#define B300 0000007 +#define B600 0000010 +#define B1200 0000011 +#define B1800 0000012 +#define B2400 0000013 +#define B4800 0000014 +#define B9600 0000015 +#define B19200 0000016 +#define B38400 0000017 #define EXTA B19200 #define EXTB B38400 -#define CSIZE 0000060 -#define CS5 0000000 -#define CS6 0000020 -#define CS7 0000040 -#define CS8 0000060 -#define CSTOPB 0000100 -#define CREAD 0000200 -#define PARENB 0000400 -#define PARODD 0001000 -#define HUPCL 0002000 -#define CLOCAL 0004000 +#define CSIZE 0000060 +#define CS5 0000000 +#define CS6 0000020 +#define CS7 0000040 +#define CS8 0000060 +#define CSTOPB 0000100 +#define CREAD 0000200 +#define PARENB 0000400 +#define PARODD 0001000 +#define HUPCL 0002000 +#define CLOCAL 0004000 #define CBAUDEX 0010000 -#define BOTHER 0010000 -#define B57600 0010001 -#define B115200 0010002 -#define B230400 0010003 -#define B460800 0010004 -#define B500000 0010005 -#define B576000 0010006 -#define B921600 0010007 -#define B1000000 0010010 -#define B1152000 0010011 -#define B1500000 0010012 -#define B2000000 0010013 -#define B2500000 0010014 -#define B3000000 0010015 -#define B3500000 0010016 -#define B4000000 0010017 -#define CIBAUD 002003600000 -#define CMSPAR 010000000000 -#define CRTSCTS 020000000000 -#define IBSHIFT 16 -#define ISIG 0000001 -#define ICANON 0000002 -#define XCASE 0000004 -#define ECHO 0000010 -#define ECHOE 0000020 -#define ECHOK 0000040 -#define ECHONL 0000100 -#define NOFLSH 0000200 -#define TOSTOP 0000400 -#define ECHOCTL 0001000 -#define ECHOPRT 0002000 -#define ECHOKE 0004000 -#define FLUSHO 0010000 -#define PENDIN 0040000 -#define IEXTEN 0100000 -#define EXTPROC 0200000 -#define TCOOFF 0 -#define TCOON 1 -#define TCIOFF 2 -#define TCION 3 -#define TCIFLUSH 0 -#define TCOFLUSH 1 -#define TCIOFLUSH 2 -#define TCSANOW 0 -#define TCSADRAIN 1 -#define TCSAFLUSH 2 +#define BOTHER 0010000 +#define B57600 0010001 +#define B115200 0010002 +#define B230400 0010003 +#define B460800 0010004 +#define B500000 0010005 +#define B576000 0010006 +#define B921600 0010007 +#define B1000000 0010010 +#define B1152000 0010011 +#define B1500000 0010012 +#define B2000000 0010013 +#define B2500000 0010014 +#define B3000000 0010015 +#define B3500000 0010016 +#define B4000000 0010017 +#define CIBAUD 002003600000 +#define CMSPAR 010000000000 +#define CRTSCTS 020000000000 +#define IBSHIFT 16 +#define ISIG 0000001 +#define ICANON 0000002 +#define XCASE 0000004 +#define ECHO 0000010 +#define ECHOE 0000020 +#define ECHOK 0000040 +#define ECHONL 0000100 +#define NOFLSH 0000200 +#define TOSTOP 0000400 +#define ECHOCTL 0001000 +#define ECHOPRT 0002000 +#define ECHOKE 0004000 +#define FLUSHO 0010000 +#define PENDIN 0040000 +#define IEXTEN 0100000 +#define EXTPROC 0200000 +#define TCOOFF 0 +#define TCOON 1 +#define TCIOFF 2 +#define TCION 3 +#define TCIFLUSH 0 +#define TCOFLUSH 1 +#define TCIOFLUSH 2 +#define TCSANOW 0 +#define TCSADRAIN 1 +#define TCSAFLUSH 2 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/termios.h b/linux-5.10/prebuilts/usr/include/asm-generic/termios.h index e98ad87..77b260b 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/termios.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/termios.h @@ -1,39 +1,52 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_GENERIC_TERMIOS_H #define _UAPI_ASM_GENERIC_TERMIOS_H #include #include struct winsize { - unsigned short ws_row; - unsigned short ws_col; - unsigned short ws_xpixel; - unsigned short ws_ypixel; + unsigned short ws_row; + unsigned short ws_col; + unsigned short ws_xpixel; + unsigned short ws_ypixel; }; #define NCC 8 struct termio { - unsigned short c_iflag; - unsigned short c_oflag; - unsigned short c_cflag; - unsigned short c_lflag; - unsigned char c_line; - unsigned char c_cc[NCC]; + unsigned short c_iflag; + unsigned short c_oflag; + unsigned short c_cflag; + unsigned short c_lflag; + unsigned char c_line; + unsigned char c_cc[NCC]; }; -#define TIOCM_LE 0x001 -#define TIOCM_DTR 0x002 -#define TIOCM_RTS 0x004 -#define TIOCM_ST 0x008 -#define TIOCM_SR 0x010 -#define TIOCM_CTS 0x020 -#define TIOCM_CAR 0x040 -#define TIOCM_RNG 0x080 -#define TIOCM_DSR 0x100 -#define TIOCM_CD TIOCM_CAR -#define TIOCM_RI TIOCM_RNG -#define TIOCM_OUT1 0x2000 -#define TIOCM_OUT2 0x4000 -#define TIOCM_LOOP 0x8000 +#define TIOCM_LE 0x001 +#define TIOCM_DTR 0x002 +#define TIOCM_RTS 0x004 +#define TIOCM_ST 0x008 +#define TIOCM_SR 0x010 +#define TIOCM_CTS 0x020 +#define TIOCM_CAR 0x040 +#define TIOCM_RNG 0x080 +#define TIOCM_DSR 0x100 +#define TIOCM_CD TIOCM_CAR +#define TIOCM_RI TIOCM_RNG +#define TIOCM_OUT1 0x2000 +#define TIOCM_OUT2 0x4000 +#define TIOCM_LOOP 0x8000 #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/types.h b/linux-5.10/prebuilts/usr/include/asm-generic/types.h index 3d2f299..ea6e7df 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/types.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/types.h @@ -1,8 +1,21 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_GENERIC_TYPES_H #define _ASM_GENERIC_TYPES_H #include diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/ucontext.h b/linux-5.10/prebuilts/usr/include/asm-generic/ucontext.h index 537a301..17d8f70 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/ucontext.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/ucontext.h @@ -1,15 +1,28 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_GENERIC_UCONTEXT_H #define __ASM_GENERIC_UCONTEXT_H struct ucontext { - unsigned long uc_flags; - struct ucontext *uc_link; - stack_t uc_stack; - struct sigcontext uc_mcontext; - sigset_t uc_sigmask; + unsigned long uc_flags; + struct ucontext * uc_link; + stack_t uc_stack; + struct sigcontext uc_mcontext; + sigset_t uc_sigmask; }; #endif diff --git a/linux-5.10/prebuilts/usr/include/asm-generic/unistd.h b/linux-5.10/prebuilts/usr/include/asm-generic/unistd.h index 0c45eb3..412e751 100644 --- a/linux-5.10/prebuilts/usr/include/asm-generic/unistd.h +++ b/linux-5.10/prebuilts/usr/include/asm-generic/unistd.h @@ -1,728 +1,406 @@ -/* - * This header was generated from the Linux kernel headers by update_headers.py, - * to provide necessary information from kernel to userspace, such as constants, - * structures, and macros, and thus, contains no copyrightable information. - */ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ #include #ifndef __SYSCALL -#define __SYSCALL(x, y) +#define __SYSCALL(x,y) #endif #if __BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT) -#define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _32) +#define __SC_3264(_nr,_32,_64) __SYSCALL(_nr, _32) #else -#define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _64) +#define __SC_3264(_nr,_32,_64) __SYSCALL(_nr, _64) #endif #ifdef __SYSCALL_COMPAT -#define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _comp) -#define __SC_COMP_3264(_nr, _32, _64, _comp) __SYSCALL(_nr, _comp) +#define __SC_COMP(_nr,_sys,_comp) __SYSCALL(_nr, _comp) +#define __SC_COMP_3264(_nr,_32,_64,_comp) __SYSCALL(_nr, _comp) #else -#define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys) -#define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64) +#define __SC_COMP(_nr,_sys,_comp) __SYSCALL(_nr, _sys) +#define __SC_COMP_3264(_nr,_32,_64,_comp) __SC_3264(_nr, _32, _64) #endif #define __NR_io_setup 0 -__SC_COMP(__NR_io_setup, sys_io_setup, compat_sys_io_setup) #define __NR_io_destroy 1 -__SYSCALL(__NR_io_destroy, sys_io_destroy) #define __NR_io_submit 2 -__SC_COMP(__NR_io_submit, sys_io_submit, compat_sys_io_submit) #define __NR_io_cancel 3 -__SYSCALL(__NR_io_cancel, sys_io_cancel) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_io_getevents 4 -__SC_3264(__NR_io_getevents, sys_io_getevents_time32, sys_io_getevents) #endif #define __NR_setxattr 5 -__SYSCALL(__NR_setxattr, sys_setxattr) #define __NR_lsetxattr 6 -__SYSCALL(__NR_lsetxattr, sys_lsetxattr) #define __NR_fsetxattr 7 -__SYSCALL(__NR_fsetxattr, sys_fsetxattr) #define __NR_getxattr 8 -__SYSCALL(__NR_getxattr, sys_getxattr) #define __NR_lgetxattr 9 -__SYSCALL(__NR_lgetxattr, sys_lgetxattr) #define __NR_fgetxattr 10 -__SYSCALL(__NR_fgetxattr, sys_fgetxattr) #define __NR_listxattr 11 -__SYSCALL(__NR_listxattr, sys_listxattr) #define __NR_llistxattr 12 -__SYSCALL(__NR_llistxattr, sys_llistxattr) #define __NR_flistxattr 13 -__SYSCALL(__NR_flistxattr, sys_flistxattr) #define __NR_removexattr 14 -__SYSCALL(__NR_removexattr, sys_removexattr) #define __NR_lremovexattr 15 -__SYSCALL(__NR_lremovexattr, sys_lremovexattr) #define __NR_fremovexattr 16 -__SYSCALL(__NR_fremovexattr, sys_fremovexattr) #define __NR_getcwd 17 -__SYSCALL(__NR_getcwd, sys_getcwd) #define __NR_lookup_dcookie 18 -__SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie) #define __NR_eventfd2 19 -__SYSCALL(__NR_eventfd2, sys_eventfd2) #define __NR_epoll_create1 20 -__SYSCALL(__NR_epoll_create1, sys_epoll_create1) #define __NR_epoll_ctl 21 -__SYSCALL(__NR_epoll_ctl, sys_epoll_ctl) #define __NR_epoll_pwait 22 -__SC_COMP(__NR_epoll_pwait, sys_epoll_pwait, compat_sys_epoll_pwait) #define __NR_dup 23 -__SYSCALL(__NR_dup, sys_dup) #define __NR_dup3 24 -__SYSCALL(__NR_dup3, sys_dup3) #define __NR3264_fcntl 25 -__SC_COMP_3264(__NR3264_fcntl, sys_fcntl64, sys_fcntl, compat_sys_fcntl64) #define __NR_inotify_init1 26 -__SYSCALL(__NR_inotify_init1, sys_inotify_init1) #define __NR_inotify_add_watch 27 -__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch) #define __NR_inotify_rm_watch 28 -__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch) #define __NR_ioctl 29 -__SC_COMP(__NR_ioctl, sys_ioctl, compat_sys_ioctl) #define __NR_ioprio_set 30 -__SYSCALL(__NR_ioprio_set, sys_ioprio_set) #define __NR_ioprio_get 31 -__SYSCALL(__NR_ioprio_get, sys_ioprio_get) #define __NR_flock 32 -__SYSCALL(__NR_flock, sys_flock) #define __NR_mknodat 33 -__SYSCALL(__NR_mknodat, sys_mknodat) #define __NR_mkdirat 34 -__SYSCALL(__NR_mkdirat, sys_mkdirat) #define __NR_unlinkat 35 -__SYSCALL(__NR_unlinkat, sys_unlinkat) #define __NR_symlinkat 36 -__SYSCALL(__NR_symlinkat, sys_symlinkat) #define __NR_linkat 37 -__SYSCALL(__NR_linkat, sys_linkat) #ifdef __ARCH_WANT_RENAMEAT #define __NR_renameat 38 -__SYSCALL(__NR_renameat, sys_renameat) #endif #define __NR_umount2 39 -__SYSCALL(__NR_umount2, sys_umount) #define __NR_mount 40 -__SYSCALL(__NR_mount, sys_mount) #define __NR_pivot_root 41 -__SYSCALL(__NR_pivot_root, sys_pivot_root) #define __NR_nfsservctl 42 -__SYSCALL(__NR_nfsservctl, sys_ni_syscall) #define __NR3264_statfs 43 -__SC_COMP_3264(__NR3264_statfs, sys_statfs64, sys_statfs, \ - compat_sys_statfs64) #define __NR3264_fstatfs 44 -__SC_COMP_3264(__NR3264_fstatfs, sys_fstatfs64, sys_fstatfs, \ - compat_sys_fstatfs64) #define __NR3264_truncate 45 -__SC_COMP_3264(__NR3264_truncate, sys_truncate64, sys_truncate, \ - compat_sys_truncate64) #define __NR3264_ftruncate 46 -__SC_COMP_3264(__NR3264_ftruncate, sys_ftruncate64, sys_ftruncate, \ - compat_sys_ftruncate64) #define __NR_fallocate 47 -__SC_COMP(__NR_fallocate, sys_fallocate, compat_sys_fallocate) #define __NR_faccessat 48 -__SYSCALL(__NR_faccessat, sys_faccessat) #define __NR_chdir 49 -__SYSCALL(__NR_chdir, sys_chdir) #define __NR_fchdir 50 -__SYSCALL(__NR_fchdir, sys_fchdir) #define __NR_chroot 51 -__SYSCALL(__NR_chroot, sys_chroot) #define __NR_fchmod 52 -__SYSCALL(__NR_fchmod, sys_fchmod) #define __NR_fchmodat 53 -__SYSCALL(__NR_fchmodat, sys_fchmodat) #define __NR_fchownat 54 -__SYSCALL(__NR_fchownat, sys_fchownat) #define __NR_fchown 55 -__SYSCALL(__NR_fchown, sys_fchown) #define __NR_openat 56 -__SYSCALL(__NR_openat, sys_openat) #define __NR_close 57 -__SYSCALL(__NR_close, sys_close) #define __NR_vhangup 58 -__SYSCALL(__NR_vhangup, sys_vhangup) #define __NR_pipe2 59 -__SYSCALL(__NR_pipe2, sys_pipe2) #define __NR_quotactl 60 -__SYSCALL(__NR_quotactl, sys_quotactl) #define __NR_getdents64 61 -__SYSCALL(__NR_getdents64, sys_getdents64) #define __NR3264_lseek 62 -__SC_3264(__NR3264_lseek, sys_llseek, sys_lseek) #define __NR_read 63 -__SYSCALL(__NR_read, sys_read) #define __NR_write 64 -__SYSCALL(__NR_write, sys_write) #define __NR_readv 65 -__SC_COMP(__NR_readv, sys_readv, sys_readv) #define __NR_writev 66 -__SC_COMP(__NR_writev, sys_writev, sys_writev) #define __NR_pread64 67 -__SC_COMP(__NR_pread64, sys_pread64, compat_sys_pread64) #define __NR_pwrite64 68 -__SC_COMP(__NR_pwrite64, sys_pwrite64, compat_sys_pwrite64) #define __NR_preadv 69 -__SC_COMP(__NR_preadv, sys_preadv, compat_sys_preadv) #define __NR_pwritev 70 -__SC_COMP(__NR_pwritev, sys_pwritev, compat_sys_pwritev) #define __NR3264_sendfile 71 -__SYSCALL(__NR3264_sendfile, sys_sendfile64) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_pselect6 72 -__SC_COMP_3264(__NR_pselect6, sys_pselect6_time32, sys_pselect6, compat_sys_pselect6_time32) #define __NR_ppoll 73 -__SC_COMP_3264(__NR_ppoll, sys_ppoll_time32, sys_ppoll, compat_sys_ppoll_time32) #endif #define __NR_signalfd4 74 -__SC_COMP(__NR_signalfd4, sys_signalfd4, compat_sys_signalfd4) #define __NR_vmsplice 75 -__SYSCALL(__NR_vmsplice, sys_vmsplice) #define __NR_splice 76 -__SYSCALL(__NR_splice, sys_splice) #define __NR_tee 77 -__SYSCALL(__NR_tee, sys_tee) #define __NR_readlinkat 78 -__SYSCALL(__NR_readlinkat, sys_readlinkat) #if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) #define __NR3264_fstatat 79 -__SC_3264(__NR3264_fstatat, sys_fstatat64, sys_newfstatat) #define __NR3264_fstat 80 -__SC_3264(__NR3264_fstat, sys_fstat64, sys_newfstat) #endif #define __NR_sync 81 -__SYSCALL(__NR_sync, sys_sync) #define __NR_fsync 82 -__SYSCALL(__NR_fsync, sys_fsync) #define __NR_fdatasync 83 -__SYSCALL(__NR_fdatasync, sys_fdatasync) #ifdef __ARCH_WANT_SYNC_FILE_RANGE2 #define __NR_sync_file_range2 84 -__SC_COMP(__NR_sync_file_range2, sys_sync_file_range2, \ - compat_sys_sync_file_range2) #else #define __NR_sync_file_range 84 -__SC_COMP(__NR_sync_file_range, sys_sync_file_range, \ - compat_sys_sync_file_range) #endif #define __NR_timerfd_create 85 -__SYSCALL(__NR_timerfd_create, sys_timerfd_create) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_timerfd_settime 86 -__SC_3264(__NR_timerfd_settime, sys_timerfd_settime32, \ - sys_timerfd_settime) #define __NR_timerfd_gettime 87 -__SC_3264(__NR_timerfd_gettime, sys_timerfd_gettime32, \ - sys_timerfd_gettime) #endif #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_utimensat 88 -__SC_3264(__NR_utimensat, sys_utimensat_time32, sys_utimensat) #endif #define __NR_acct 89 -__SYSCALL(__NR_acct, sys_acct) #define __NR_capget 90 -__SYSCALL(__NR_capget, sys_capget) #define __NR_capset 91 -__SYSCALL(__NR_capset, sys_capset) #define __NR_personality 92 -__SYSCALL(__NR_personality, sys_personality) #define __NR_exit 93 -__SYSCALL(__NR_exit, sys_exit) #define __NR_exit_group 94 -__SYSCALL(__NR_exit_group, sys_exit_group) #define __NR_waitid 95 -__SC_COMP(__NR_waitid, sys_waitid, compat_sys_waitid) #define __NR_set_tid_address 96 -__SYSCALL(__NR_set_tid_address, sys_set_tid_address) #define __NR_unshare 97 -__SYSCALL(__NR_unshare, sys_unshare) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_futex 98 -__SC_3264(__NR_futex, sys_futex_time32, sys_futex) #endif #define __NR_set_robust_list 99 -__SC_COMP(__NR_set_robust_list, sys_set_robust_list, \ - compat_sys_set_robust_list) #define __NR_get_robust_list 100 -__SC_COMP(__NR_get_robust_list, sys_get_robust_list, \ - compat_sys_get_robust_list) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_nanosleep 101 -__SC_3264(__NR_nanosleep, sys_nanosleep_time32, sys_nanosleep) #endif #define __NR_getitimer 102 -__SC_COMP(__NR_getitimer, sys_getitimer, compat_sys_getitimer) #define __NR_setitimer 103 -__SC_COMP(__NR_setitimer, sys_setitimer, compat_sys_setitimer) #define __NR_kexec_load 104 -__SC_COMP(__NR_kexec_load, sys_kexec_load, compat_sys_kexec_load) #define __NR_init_module 105 -__SYSCALL(__NR_init_module, sys_init_module) #define __NR_delete_module 106 -__SYSCALL(__NR_delete_module, sys_delete_module) #define __NR_timer_create 107 -__SC_COMP(__NR_timer_create, sys_timer_create, compat_sys_timer_create) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_timer_gettime 108 -__SC_3264(__NR_timer_gettime, sys_timer_gettime32, sys_timer_gettime) #endif #define __NR_timer_getoverrun 109 -__SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_timer_settime 110 -__SC_3264(__NR_timer_settime, sys_timer_settime32, sys_timer_settime) #endif #define __NR_timer_delete 111 -__SYSCALL(__NR_timer_delete, sys_timer_delete) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_clock_settime 112 -__SC_3264(__NR_clock_settime, sys_clock_settime32, sys_clock_settime) #define __NR_clock_gettime 113 -__SC_3264(__NR_clock_gettime, sys_clock_gettime32, sys_clock_gettime) #define __NR_clock_getres 114 -__SC_3264(__NR_clock_getres, sys_clock_getres_time32, sys_clock_getres) #define __NR_clock_nanosleep 115 -__SC_3264(__NR_clock_nanosleep, sys_clock_nanosleep_time32, \ - sys_clock_nanosleep) #endif #define __NR_syslog 116 -__SYSCALL(__NR_syslog, sys_syslog) #define __NR_ptrace 117 -__SYSCALL(__NR_ptrace, sys_ptrace) #define __NR_sched_setparam 118 -__SYSCALL(__NR_sched_setparam, sys_sched_setparam) #define __NR_sched_setscheduler 119 -__SYSCALL(__NR_sched_setscheduler, sys_sched_setscheduler) #define __NR_sched_getscheduler 120 -__SYSCALL(__NR_sched_getscheduler, sys_sched_getscheduler) #define __NR_sched_getparam 121 -__SYSCALL(__NR_sched_getparam, sys_sched_getparam) #define __NR_sched_setaffinity 122 -__SC_COMP(__NR_sched_setaffinity, sys_sched_setaffinity, \ - compat_sys_sched_setaffinity) #define __NR_sched_getaffinity 123 -__SC_COMP(__NR_sched_getaffinity, sys_sched_getaffinity, \ - compat_sys_sched_getaffinity) #define __NR_sched_yield 124 -__SYSCALL(__NR_sched_yield, sys_sched_yield) #define __NR_sched_get_priority_max 125 -__SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max) #define __NR_sched_get_priority_min 126 -__SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_sched_rr_get_interval 127 -__SC_3264(__NR_sched_rr_get_interval, sys_sched_rr_get_interval_time32, \ - sys_sched_rr_get_interval) #endif #define __NR_restart_syscall 128 -__SYSCALL(__NR_restart_syscall, sys_restart_syscall) #define __NR_kill 129 -__SYSCALL(__NR_kill, sys_kill) #define __NR_tkill 130 -__SYSCALL(__NR_tkill, sys_tkill) #define __NR_tgkill 131 -__SYSCALL(__NR_tgkill, sys_tgkill) #define __NR_sigaltstack 132 -__SC_COMP(__NR_sigaltstack, sys_sigaltstack, compat_sys_sigaltstack) #define __NR_rt_sigsuspend 133 -__SC_COMP(__NR_rt_sigsuspend, sys_rt_sigsuspend, compat_sys_rt_sigsuspend) #define __NR_rt_sigaction 134 -__SC_COMP(__NR_rt_sigaction, sys_rt_sigaction, compat_sys_rt_sigaction) #define __NR_rt_sigprocmask 135 -__SC_COMP(__NR_rt_sigprocmask, sys_rt_sigprocmask, compat_sys_rt_sigprocmask) #define __NR_rt_sigpending 136 -__SC_COMP(__NR_rt_sigpending, sys_rt_sigpending, compat_sys_rt_sigpending) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_rt_sigtimedwait 137 -__SC_COMP_3264(__NR_rt_sigtimedwait, sys_rt_sigtimedwait_time32, \ - sys_rt_sigtimedwait, compat_sys_rt_sigtimedwait_time32) #endif #define __NR_rt_sigqueueinfo 138 -__SC_COMP(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo, \ - compat_sys_rt_sigqueueinfo) #define __NR_rt_sigreturn 139 -__SC_COMP(__NR_rt_sigreturn, sys_rt_sigreturn, compat_sys_rt_sigreturn) #define __NR_setpriority 140 -__SYSCALL(__NR_setpriority, sys_setpriority) #define __NR_getpriority 141 -__SYSCALL(__NR_getpriority, sys_getpriority) #define __NR_reboot 142 -__SYSCALL(__NR_reboot, sys_reboot) #define __NR_setregid 143 -__SYSCALL(__NR_setregid, sys_setregid) #define __NR_setgid 144 -__SYSCALL(__NR_setgid, sys_setgid) #define __NR_setreuid 145 -__SYSCALL(__NR_setreuid, sys_setreuid) #define __NR_setuid 146 -__SYSCALL(__NR_setuid, sys_setuid) #define __NR_setresuid 147 -__SYSCALL(__NR_setresuid, sys_setresuid) #define __NR_getresuid 148 -__SYSCALL(__NR_getresuid, sys_getresuid) #define __NR_setresgid 149 -__SYSCALL(__NR_setresgid, sys_setresgid) #define __NR_getresgid 150 -__SYSCALL(__NR_getresgid, sys_getresgid) #define __NR_setfsuid 151 -__SYSCALL(__NR_setfsuid, sys_setfsuid) #define __NR_setfsgid 152 -__SYSCALL(__NR_setfsgid, sys_setfsgid) #define __NR_times 153 -__SC_COMP(__NR_times, sys_times, compat_sys_times) #define __NR_setpgid 154 -__SYSCALL(__NR_setpgid, sys_setpgid) #define __NR_getpgid 155 -__SYSCALL(__NR_getpgid, sys_getpgid) #define __NR_getsid 156 -__SYSCALL(__NR_getsid, sys_getsid) #define __NR_setsid 157 -__SYSCALL(__NR_setsid, sys_setsid) #define __NR_getgroups 158 -__SYSCALL(__NR_getgroups, sys_getgroups) #define __NR_setgroups 159 -__SYSCALL(__NR_setgroups, sys_setgroups) #define __NR_uname 160 -__SYSCALL(__NR_uname, sys_newuname) #define __NR_sethostname 161 -__SYSCALL(__NR_sethostname, sys_sethostname) #define __NR_setdomainname 162 -__SYSCALL(__NR_setdomainname, sys_setdomainname) #ifdef __ARCH_WANT_SET_GET_RLIMIT #define __NR_getrlimit 163 -__SC_COMP(__NR_getrlimit, sys_getrlimit, compat_sys_getrlimit) #define __NR_setrlimit 164 -__SC_COMP(__NR_setrlimit, sys_setrlimit, compat_sys_setrlimit) #endif #define __NR_getrusage 165 -__SC_COMP(__NR_getrusage, sys_getrusage, compat_sys_getrusage) #define __NR_umask 166 -__SYSCALL(__NR_umask, sys_umask) #define __NR_prctl 167 -__SYSCALL(__NR_prctl, sys_prctl) #define __NR_getcpu 168 -__SYSCALL(__NR_getcpu, sys_getcpu) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_gettimeofday 169 -__SC_COMP(__NR_gettimeofday, sys_gettimeofday, compat_sys_gettimeofday) #define __NR_settimeofday 170 -__SC_COMP(__NR_settimeofday, sys_settimeofday, compat_sys_settimeofday) #define __NR_adjtimex 171 -__SC_3264(__NR_adjtimex, sys_adjtimex_time32, sys_adjtimex) #endif #define __NR_getpid 172 -__SYSCALL(__NR_getpid, sys_getpid) #define __NR_getppid 173 -__SYSCALL(__NR_getppid, sys_getppid) #define __NR_getuid 174 -__SYSCALL(__NR_getuid, sys_getuid) #define __NR_geteuid 175 -__SYSCALL(__NR_geteuid, sys_geteuid) #define __NR_getgid 176 -__SYSCALL(__NR_getgid, sys_getgid) #define __NR_getegid 177 -__SYSCALL(__NR_getegid, sys_getegid) #define __NR_gettid 178 -__SYSCALL(__NR_gettid, sys_gettid) #define __NR_sysinfo 179 -__SC_COMP(__NR_sysinfo, sys_sysinfo, compat_sys_sysinfo) #define __NR_mq_open 180 -__SC_COMP(__NR_mq_open, sys_mq_open, compat_sys_mq_open) #define __NR_mq_unlink 181 -__SYSCALL(__NR_mq_unlink, sys_mq_unlink) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_mq_timedsend 182 -__SC_3264(__NR_mq_timedsend, sys_mq_timedsend_time32, sys_mq_timedsend) #define __NR_mq_timedreceive 183 -__SC_3264(__NR_mq_timedreceive, sys_mq_timedreceive_time32, \ - sys_mq_timedreceive) #endif #define __NR_mq_notify 184 -__SC_COMP(__NR_mq_notify, sys_mq_notify, compat_sys_mq_notify) #define __NR_mq_getsetattr 185 -__SC_COMP(__NR_mq_getsetattr, sys_mq_getsetattr, compat_sys_mq_getsetattr) #define __NR_msgget 186 -__SYSCALL(__NR_msgget, sys_msgget) #define __NR_msgctl 187 -__SC_COMP(__NR_msgctl, sys_msgctl, compat_sys_msgctl) #define __NR_msgrcv 188 -__SC_COMP(__NR_msgrcv, sys_msgrcv, compat_sys_msgrcv) #define __NR_msgsnd 189 -__SC_COMP(__NR_msgsnd, sys_msgsnd, compat_sys_msgsnd) #define __NR_semget 190 -__SYSCALL(__NR_semget, sys_semget) #define __NR_semctl 191 -__SC_COMP(__NR_semctl, sys_semctl, compat_sys_semctl) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_semtimedop 192 -__SC_3264(__NR_semtimedop, sys_semtimedop_time32, sys_semtimedop) #endif #define __NR_semop 193 -__SYSCALL(__NR_semop, sys_semop) #define __NR_shmget 194 -__SYSCALL(__NR_shmget, sys_shmget) #define __NR_shmctl 195 -__SC_COMP(__NR_shmctl, sys_shmctl, compat_sys_shmctl) #define __NR_shmat 196 -__SC_COMP(__NR_shmat, sys_shmat, compat_sys_shmat) #define __NR_shmdt 197 -__SYSCALL(__NR_shmdt, sys_shmdt) #define __NR_socket 198 -__SYSCALL(__NR_socket, sys_socket) #define __NR_socketpair 199 -__SYSCALL(__NR_socketpair, sys_socketpair) #define __NR_bind 200 -__SYSCALL(__NR_bind, sys_bind) #define __NR_listen 201 -__SYSCALL(__NR_listen, sys_listen) #define __NR_accept 202 -__SYSCALL(__NR_accept, sys_accept) #define __NR_connect 203 -__SYSCALL(__NR_connect, sys_connect) #define __NR_getsockname 204 -__SYSCALL(__NR_getsockname, sys_getsockname) #define __NR_getpeername 205 -__SYSCALL(__NR_getpeername, sys_getpeername) #define __NR_sendto 206 -__SYSCALL(__NR_sendto, sys_sendto) #define __NR_recvfrom 207 -__SC_COMP(__NR_recvfrom, sys_recvfrom, compat_sys_recvfrom) #define __NR_setsockopt 208 -__SC_COMP(__NR_setsockopt, sys_setsockopt, sys_setsockopt) #define __NR_getsockopt 209 -__SC_COMP(__NR_getsockopt, sys_getsockopt, sys_getsockopt) #define __NR_shutdown 210 -__SYSCALL(__NR_shutdown, sys_shutdown) #define __NR_sendmsg 211 -__SC_COMP(__NR_sendmsg, sys_sendmsg, compat_sys_sendmsg) #define __NR_recvmsg 212 -__SC_COMP(__NR_recvmsg, sys_recvmsg, compat_sys_recvmsg) #define __NR_readahead 213 -__SC_COMP(__NR_readahead, sys_readahead, compat_sys_readahead) #define __NR_brk 214 -__SYSCALL(__NR_brk, sys_brk) #define __NR_munmap 215 -__SYSCALL(__NR_munmap, sys_munmap) #define __NR_mremap 216 -__SYSCALL(__NR_mremap, sys_mremap) #define __NR_add_key 217 -__SYSCALL(__NR_add_key, sys_add_key) #define __NR_request_key 218 -__SYSCALL(__NR_request_key, sys_request_key) #define __NR_keyctl 219 -__SC_COMP(__NR_keyctl, sys_keyctl, compat_sys_keyctl) #define __NR_clone 220 -__SYSCALL(__NR_clone, sys_clone) #define __NR_execve 221 -__SC_COMP(__NR_execve, sys_execve, compat_sys_execve) #define __NR3264_mmap 222 -__SC_3264(__NR3264_mmap, sys_mmap2, sys_mmap) #define __NR3264_fadvise64 223 -__SC_COMP(__NR3264_fadvise64, sys_fadvise64_64, compat_sys_fadvise64_64) #ifndef __ARCH_NOMMU #define __NR_swapon 224 -__SYSCALL(__NR_swapon, sys_swapon) #define __NR_swapoff 225 -__SYSCALL(__NR_swapoff, sys_swapoff) #define __NR_mprotect 226 -__SYSCALL(__NR_mprotect, sys_mprotect) #define __NR_msync 227 -__SYSCALL(__NR_msync, sys_msync) #define __NR_mlock 228 -__SYSCALL(__NR_mlock, sys_mlock) #define __NR_munlock 229 -__SYSCALL(__NR_munlock, sys_munlock) #define __NR_mlockall 230 -__SYSCALL(__NR_mlockall, sys_mlockall) #define __NR_munlockall 231 -__SYSCALL(__NR_munlockall, sys_munlockall) #define __NR_mincore 232 -__SYSCALL(__NR_mincore, sys_mincore) #define __NR_madvise 233 -__SYSCALL(__NR_madvise, sys_madvise) #define __NR_remap_file_pages 234 -__SYSCALL(__NR_remap_file_pages, sys_remap_file_pages) #define __NR_mbind 235 -__SC_COMP(__NR_mbind, sys_mbind, compat_sys_mbind) #define __NR_get_mempolicy 236 -__SC_COMP(__NR_get_mempolicy, sys_get_mempolicy, compat_sys_get_mempolicy) #define __NR_set_mempolicy 237 -__SC_COMP(__NR_set_mempolicy, sys_set_mempolicy, compat_sys_set_mempolicy) #define __NR_migrate_pages 238 -__SC_COMP(__NR_migrate_pages, sys_migrate_pages, compat_sys_migrate_pages) #define __NR_move_pages 239 -__SC_COMP(__NR_move_pages, sys_move_pages, compat_sys_move_pages) #endif #define __NR_rt_tgsigqueueinfo 240 -__SC_COMP(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, \ - compat_sys_rt_tgsigqueueinfo) #define __NR_perf_event_open 241 -__SYSCALL(__NR_perf_event_open, sys_perf_event_open) #define __NR_accept4 242 -__SYSCALL(__NR_accept4, sys_accept4) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_recvmmsg 243 -__SC_COMP_3264(__NR_recvmmsg, sys_recvmmsg_time32, sys_recvmmsg, compat_sys_recvmmsg_time32) #endif #define __NR_arch_specific_syscall 244 #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_wait4 260 -__SC_COMP(__NR_wait4, sys_wait4, compat_sys_wait4) #endif #define __NR_prlimit64 261 -__SYSCALL(__NR_prlimit64, sys_prlimit64) #define __NR_fanotify_init 262 -__SYSCALL(__NR_fanotify_init, sys_fanotify_init) #define __NR_fanotify_mark 263 -__SYSCALL(__NR_fanotify_mark, sys_fanotify_mark) -#define __NR_name_to_handle_at 264 -__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) -#define __NR_open_by_handle_at 265 -__SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at) +#define __NR_name_to_handle_at 264 +#define __NR_open_by_handle_at 265 #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_clock_adjtime 266 -__SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime) #endif #define __NR_syncfs 267 -__SYSCALL(__NR_syncfs, sys_syncfs) #define __NR_setns 268 -__SYSCALL(__NR_setns, sys_setns) #define __NR_sendmmsg 269 -__SC_COMP(__NR_sendmmsg, sys_sendmmsg, compat_sys_sendmmsg) #define __NR_process_vm_readv 270 -__SYSCALL(__NR_process_vm_readv, sys_process_vm_readv) #define __NR_process_vm_writev 271 -__SYSCALL(__NR_process_vm_writev, sys_process_vm_writev) #define __NR_kcmp 272 -__SYSCALL(__NR_kcmp, sys_kcmp) #define __NR_finit_module 273 -__SYSCALL(__NR_finit_module, sys_finit_module) #define __NR_sched_setattr 274 -__SYSCALL(__NR_sched_setattr, sys_sched_setattr) #define __NR_sched_getattr 275 -__SYSCALL(__NR_sched_getattr, sys_sched_getattr) #define __NR_renameat2 276 -__SYSCALL(__NR_renameat2, sys_renameat2) #define __NR_seccomp 277 -__SYSCALL(__NR_seccomp, sys_seccomp) #define __NR_getrandom 278 -__SYSCALL(__NR_getrandom, sys_getrandom) #define __NR_memfd_create 279 -__SYSCALL(__NR_memfd_create, sys_memfd_create) #define __NR_bpf 280 -__SYSCALL(__NR_bpf, sys_bpf) #define __NR_execveat 281 -__SC_COMP(__NR_execveat, sys_execveat, compat_sys_execveat) #define __NR_userfaultfd 282 -__SYSCALL(__NR_userfaultfd, sys_userfaultfd) #define __NR_membarrier 283 -__SYSCALL(__NR_membarrier, sys_membarrier) #define __NR_mlock2 284 -__SYSCALL(__NR_mlock2, sys_mlock2) #define __NR_copy_file_range 285 -__SYSCALL(__NR_copy_file_range, sys_copy_file_range) #define __NR_preadv2 286 -__SC_COMP(__NR_preadv2, sys_preadv2, compat_sys_preadv2) #define __NR_pwritev2 287 -__SC_COMP(__NR_pwritev2, sys_pwritev2, compat_sys_pwritev2) #define __NR_pkey_mprotect 288 -__SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect) #define __NR_pkey_alloc 289 -__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc) #define __NR_pkey_free 290 -__SYSCALL(__NR_pkey_free, sys_pkey_free) #define __NR_statx 291 -__SYSCALL(__NR_statx, sys_statx) #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_io_pgetevents 292 -__SC_COMP_3264(__NR_io_pgetevents, sys_io_pgetevents_time32, sys_io_pgetevents, compat_sys_io_pgetevents) #endif #define __NR_rseq 293 -__SYSCALL(__NR_rseq, sys_rseq) #define __NR_kexec_file_load 294 -__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) #if __BITS_PER_LONG == 32 #define __NR_clock_gettime64 403 -__SYSCALL(__NR_clock_gettime64, sys_clock_gettime) #define __NR_clock_settime64 404 -__SYSCALL(__NR_clock_settime64, sys_clock_settime) #define __NR_clock_adjtime64 405 -__SYSCALL(__NR_clock_adjtime64, sys_clock_adjtime) #define __NR_clock_getres_time64 406 -__SYSCALL(__NR_clock_getres_time64, sys_clock_getres) #define __NR_clock_nanosleep_time64 407 -__SYSCALL(__NR_clock_nanosleep_time64, sys_clock_nanosleep) #define __NR_timer_gettime64 408 -__SYSCALL(__NR_timer_gettime64, sys_timer_gettime) #define __NR_timer_settime64 409 -__SYSCALL(__NR_timer_settime64, sys_timer_settime) #define __NR_timerfd_gettime64 410 -__SYSCALL(__NR_timerfd_gettime64, sys_timerfd_gettime) #define __NR_timerfd_settime64 411 -__SYSCALL(__NR_timerfd_settime64, sys_timerfd_settime) #define __NR_utimensat_time64 412 -__SYSCALL(__NR_utimensat_time64, sys_utimensat) #define __NR_pselect6_time64 413 -__SC_COMP(__NR_pselect6_time64, sys_pselect6, compat_sys_pselect6_time64) #define __NR_ppoll_time64 414 -__SC_COMP(__NR_ppoll_time64, sys_ppoll, compat_sys_ppoll_time64) #define __NR_io_pgetevents_time64 416 -__SYSCALL(__NR_io_pgetevents_time64, sys_io_pgetevents) #define __NR_recvmmsg_time64 417 -__SC_COMP(__NR_recvmmsg_time64, sys_recvmmsg, compat_sys_recvmmsg_time64) #define __NR_mq_timedsend_time64 418 -__SYSCALL(__NR_mq_timedsend_time64, sys_mq_timedsend) #define __NR_mq_timedreceive_time64 419 -__SYSCALL(__NR_mq_timedreceive_time64, sys_mq_timedreceive) #define __NR_semtimedop_time64 420 -__SYSCALL(__NR_semtimedop_time64, sys_semtimedop) #define __NR_rt_sigtimedwait_time64 421 -__SC_COMP(__NR_rt_sigtimedwait_time64, sys_rt_sigtimedwait, compat_sys_rt_sigtimedwait_time64) #define __NR_futex_time64 422 -__SYSCALL(__NR_futex_time64, sys_futex) #define __NR_sched_rr_get_interval_time64 423 -__SYSCALL(__NR_sched_rr_get_interval_time64, sys_sched_rr_get_interval) #endif #define __NR_pidfd_send_signal 424 -__SYSCALL(__NR_pidfd_send_signal, sys_pidfd_send_signal) #define __NR_io_uring_setup 425 -__SYSCALL(__NR_io_uring_setup, sys_io_uring_setup) #define __NR_io_uring_enter 426 -__SYSCALL(__NR_io_uring_enter, sys_io_uring_enter) #define __NR_io_uring_register 427 -__SYSCALL(__NR_io_uring_register, sys_io_uring_register) #define __NR_open_tree 428 -__SYSCALL(__NR_open_tree, sys_open_tree) #define __NR_move_mount 429 -__SYSCALL(__NR_move_mount, sys_move_mount) #define __NR_fsopen 430 -__SYSCALL(__NR_fsopen, sys_fsopen) #define __NR_fsconfig 431 -__SYSCALL(__NR_fsconfig, sys_fsconfig) #define __NR_fsmount 432 -__SYSCALL(__NR_fsmount, sys_fsmount) #define __NR_fspick 433 -__SYSCALL(__NR_fspick, sys_fspick) #define __NR_pidfd_open 434 -__SYSCALL(__NR_pidfd_open, sys_pidfd_open) #ifdef __ARCH_WANT_SYS_CLONE3 #define __NR_clone3 435 -__SYSCALL(__NR_clone3, sys_clone3) #endif #define __NR_close_range 436 -__SYSCALL(__NR_close_range, sys_close_range) #define __NR_openat2 437 -__SYSCALL(__NR_openat2, sys_openat2) #define __NR_pidfd_getfd 438 -__SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd) #define __NR_faccessat2 439 -__SYSCALL(__NR_faccessat2, sys_faccessat2) #define __NR_process_madvise 440 -__SYSCALL(__NR_process_madvise, sys_process_madvise) #undef __NR_syscalls #define __NR_syscalls 441 #if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT) diff --git a/linux-5.10/prebuilts/usr/include/asm-x86/asm/a.out.h b/linux-5.10/prebuilts/usr/include/asm-x86/asm/a.out.h new file mode 100644 index 0000000..3a1b845 --- /dev/null +++ b/linux-5.10/prebuilts/usr/include/asm-x86/asm/a.out.h @@ -0,0 +1,34 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_X86_A_OUT_H +#define _ASM_X86_A_OUT_H +struct exec { + unsigned int a_info; + unsigned a_text; + unsigned a_data; + unsigned a_bss; + unsigned a_syms; + unsigned a_entry; + unsigned a_trsize; + unsigned a_drsize; +}; +#define N_TRSIZE(a) ((a).a_trsize) +#define N_DRSIZE(a) ((a).a_drsize) +#define N_SYMSIZE(a) ((a).a_syms) +#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-x86/asm/auxvec.h b/linux-5.10/prebuilts/usr/include/asm-x86/asm/auxvec.h new file mode 100644 index 0000000..4fd53f0 --- /dev/null +++ b/linux-5.10/prebuilts/usr/include/asm-x86/asm/auxvec.h @@ -0,0 +1,26 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_X86_AUXVEC_H +#define _ASM_X86_AUXVEC_H +#ifdef __i386__ +#define AT_SYSINFO 32 +#endif +#define AT_SYSINFO_EHDR 33 +#define AT_VECTOR_SIZE_ARCH 2 +#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-x86/asm/bitsperlong.h b/linux-5.10/prebuilts/usr/include/asm-x86/asm/bitsperlong.h new file mode 100644 index 0000000..7eca377 --- /dev/null +++ b/linux-5.10/prebuilts/usr/include/asm-x86/asm/bitsperlong.h @@ -0,0 +1,27 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 __ASM_X86_BITSPERLONG_H +#define __ASM_X86_BITSPERLONG_H +#if defined(__x86_64__) && !defined(__ILP32__) +#define __BITS_PER_LONG 64 +#else +#define __BITS_PER_LONG 32 +#endif +#include +#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-x86/asm/boot.h b/linux-5.10/prebuilts/usr/include/asm-x86/asm/boot.h new file mode 100644 index 0000000..7cbb691 --- /dev/null +++ b/linux-5.10/prebuilts/usr/include/asm-x86/asm/boot.h @@ -0,0 +1,24 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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_ASM_X86_BOOT_H +#define _UAPI_ASM_X86_BOOT_H +#define NORMAL_VGA 0xffff +#define EXTENDED_VGA 0xfffe +#define ASK_VGA 0xfffd +#endif diff --git a/linux-5.10/prebuilts/usr/include/asm-x86/asm/bootparam.h b/linux-5.10/prebuilts/usr/include/asm-x86/asm/bootparam.h new file mode 100644 index 0000000..7401135 --- /dev/null +++ b/linux-5.10/prebuilts/usr/include/asm-x86/asm/bootparam.h @@ -0,0 +1,195 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/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 _ASM_X86_BOOTPARAM_H +#define _ASM_X86_BOOTPARAM_H +#define SETUP_NONE 0 +#define SETUP_E820_EXT 1 +#define SETUP_DTB 2 +#define SETUP_PCI 3 +#define SETUP_EFI 4 +#define SETUP_APPLE_PROPERTIES 5 +#define SETUP_JAILHOUSE 6 +#define SETUP_INDIRECT (1 << 31) +#define SETUP_TYPE_MAX (SETUP_INDIRECT | SETUP_JAILHOUSE) +#define RAMDISK_IMAGE_START_MASK 0x07FF +#define RAMDISK_PROMPT_FLAG 0x8000 +#define RAMDISK_LOAD_FLAG 0x4000 +#define LOADED_HIGH (1 << 0) +#define KASLR_FLAG (1 << 1) +#define QUIET_FLAG (1 << 5) +#define KEEP_SEGMENTS (1 << 6) +#define CAN_USE_HEAP (1 << 7) +#define XLF_KERNEL_64 (1 << 0) +#define XLF_CAN_BE_LOADED_ABOVE_4G (1 << 1) +#define XLF_EFI_HANDOVER_32 (1 << 2) +#define XLF_EFI_HANDOVER_64 (1 << 3) +#define XLF_EFI_KEXEC (1 << 4) +#define XLF_5LEVEL (1 << 5) +#define XLF_5LEVEL_ENABLED (1 << 6) +#ifndef __ASSEMBLY__ +#include +#include +#include +#include +#include +#include