Initial commit: Linux kernel 4.19 for Unplugged OS

This commit is contained in:
ziv committed 2025-10-06 13:52:42 +00:00
commit d30235b04c
80519 files changed
+35800681

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm
generic-y += bpf_perf_event.h
generic-y += errno.h
generic-y += ioctl.h
generic-y += ioctls.h
generic-y += ipcbuf.h
generic-y += shmbuf.h
generic-y += bitsperlong.h
generic-y += fcntl.h
generic-y += stat.h
generic-y += mman.h
generic-y += msgbuf.h
generic-y += poll.h
generic-y += posix_types.h
generic-y += resource.h
generic-y += sembuf.h
generic-y += setup.h
generic-y += siginfo.h
generic-y += signal.h
generic-y += socket.h
generic-y += sockios.h
generic-y += swab.h
generic-y += statfs.h
generic-y += termbits.h
generic-y += termios.h
generic-y += types.h
generic-y += ucontext.h
+12
View File
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef __ASM_AUXVEC_H
#define __ASM_AUXVEC_H
/* VDSO location */
#define AT_SYSINFO_EHDR 33
#define AT_VECTOR_SIZE_ARCH 1
#endif
+13
View File
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef __NDS32_BYTEORDER_H__
#define __NDS32_BYTEORDER_H__
#ifdef __NDS32_EB__
#include <linux/byteorder/big_endian.h>
#else
#include <linux/byteorder/little_endian.h>
#endif
#endif /* __NDS32_BYTEORDER_H__ */
+14
View File
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 1994, 1995, 1996 by Ralf Baechle
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef _ASM_CACHECTL
#define _ASM_CACHECTL
/*
* Options for cacheflush system call
*/
#define ICACHE 0 /* flush instruction cache */
#define DCACHE 1 /* writeback and flush data cache */
#define BCACHE 2 /* flush instruction cache + writeback and flush data cache */
#endif /* _ASM_CACHECTL */
+11
View File
@@ -0,0 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef __ASM_NDS32_PARAM_H
#define __ASM_NDS32_PARAM_H
#define EXEC_PAGESIZE 8192
#include <asm-generic/param.h>
#endif /* __ASM_NDS32_PARAM_H */
+25
View File
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef __UAPI_ASM_NDS32_PTRACE_H
#define __UAPI_ASM_NDS32_PTRACE_H
#ifndef __ASSEMBLY__
/*
* User structures for general purpose register.
*/
struct user_pt_regs {
long uregs[26];
long fp;
long gp;
long lp;
long sp;
long ipc;
long lb;
long le;
long lc;
long syscallno;
};
#endif
#endif
+60
View File
@@ -0,0 +1,60 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef _ASMNDS32_SIGCONTEXT_H
#define _ASMNDS32_SIGCONTEXT_H
/*
* Signal context structure - contains all info to do with the state
* before the signal handler was invoked. Note: only add new entries
* to the end of the structure.
*/
struct zol_struct {
unsigned long nds32_lc; /* $LC */
unsigned long nds32_le; /* $LE */
unsigned long nds32_lb; /* $LB */
};
struct sigcontext {
unsigned long trap_no;
unsigned long error_code;
unsigned long oldmask;
unsigned long nds32_r0;
unsigned long nds32_r1;
unsigned long nds32_r2;
unsigned long nds32_r3;
unsigned long nds32_r4;
unsigned long nds32_r5;
unsigned long nds32_r6;
unsigned long nds32_r7;
unsigned long nds32_r8;
unsigned long nds32_r9;
unsigned long nds32_r10;
unsigned long nds32_r11;
unsigned long nds32_r12;
unsigned long nds32_r13;
unsigned long nds32_r14;
unsigned long nds32_r15;
unsigned long nds32_r16;
unsigned long nds32_r17;
unsigned long nds32_r18;
unsigned long nds32_r19;
unsigned long nds32_r20;
unsigned long nds32_r21;
unsigned long nds32_r22;
unsigned long nds32_r23;
unsigned long nds32_r24;
unsigned long nds32_r25;
unsigned long nds32_fp; /* $r28 */
unsigned long nds32_gp; /* $r29 */
unsigned long nds32_lp; /* $r30 */
unsigned long nds32_sp; /* $r31 */
unsigned long nds32_ipc;
unsigned long fault_address;
unsigned long used_math_flag;
/* FPU Registers */
struct zol_struct zol;
};
#endif
+11
View File
@@ -0,0 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#define __ARCH_WANT_SYNC_FILE_RANGE2
/* Use the standard ABI for syscalls */
#include <asm-generic/unistd.h>
/* Additional NDS32 specific syscalls. */
#define __NR_cacheflush (__NR_arch_specific_syscall)
__SYSCALL(__NR_cacheflush, sys_cacheflush)