Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/ohos5.0/base/hiviewdfx/hitrace/cmd/config/
H A Dhitrace_user.cfg6 "mount tracefs /sys/kernel/tracing /sys/kernel/tracing mode=755"
12 "write /proc/sys/kernel/sched_schedstats 1",
13 "write /sys/kernel/tracing/tracing_on 0",
14 "chmod 0666 /sys/kernel/tracing/buffer_size_kb",
15 "chmod 0666 /sys/kernel/tracing/current_tracer",
17 "chmod 0666 /sys/kernel/tracing/trace",
18 "chmod 0666 /sys/kernel/tracing/snapshot",
19 "chmod 0666 /sys/kernel/tracing/trace_clock",
20 "chmod 0222 /sys/kernel/tracing/trace_marker",
21 "chmod 0666 /sys/kernel/tracing/tracing_on",
[all …]
H A Dhitrace.cfg5 "mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755",
6 "mount tracefs /sys/kernel/tracing /sys/kernel/tracing mode=755"
11 "write /proc/sys/kernel/sched_schedstats 1",
12 "write /sys/kernel/debug/tracing/tracing_on 0",
16 "chmod 0666 /sys/kernel/debug/tracing/trace",
17 "chmod 0666 /sys/kernel/debug/tracing/snapshot",
21 "chmod 0755 /sys/kernel/debug/tracing/events",
335 "write /sys/kernel/tracing/tracing_on 0",
339 "chmod 0666 /sys/kernel/tracing/trace",
340 "chmod 0666 /sys/kernel/tracing/snapshot",
[all …]
H A Dhitrace.rc15 write /proc/sys/kernel/sched_schedstats 1
17 write /sys/kernel/debug/tracing/tracing_on 0
20 chmod 0666 /sys/kernel/debug/tracing/trace
21 chmod 0666 /sys/kernel/debug/tracing/trace_clock
22 chmod 0222 /sys/kernel/debug/tracing/trace_marker
23 chmod 0666 /sys/kernel/debug/tracing/tracing_on
122 write /sys/kernel/tracing/tracing_on 0
125 chmod 0666 /sys/kernel/tracing/trace
126 chmod 0666 /sys/kernel/tracing/trace_clock
127 chmod 0222 /sys/kernel/tracing/trace_marker
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A DReadme-CN.md3 - [内核概述](kernel-overview.md)
5 - [轻量系统内核概述](kernel-mini-overview.md)
7 - [中断管理](kernel-mini-basic-interrupt.md)
8 - [任务管理](kernel-mini-basic-task.md)
9 - [内存管理](kernel-mini-basic-memory.md)
15 - [时间管理](kernel-mini-basic-time.md)
16 - [软件定时器](kernel-mini-basic-soft.md)
17 - [双向链表](kernel-mini-basic-list.md)
22 - [文件系统](kernel-mini-extend-file.md)
31 - [标准库支持](kernel-mini-appx-lib.md)
[all …]
H A Dkernel-overview.md78 LiteOS-M使用指导请参见LiteOS-M[内核概述](kernel-mini-overview.md)的“使用说明”章节。
113 LiteOS-A使用指导请参见LiteOS-A[内核概述](kernel-small-overview.md)的“使用说明”章节。
123 - Linux社区LTS 4.19.y分支信息请查看[kernel官网](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.g…
125 - Linux社区LTS 5.10.y分支信息请查看[kernel官网](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.g…
150kernel/linux/build仓中,按照kernel.mk中HDF的补丁合入方法,合入不同内核版本对应的HDF内核补丁:
159kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件patch放到对应路径下:
162 … DEVICE_PATCH_DIR := $(OHOS_BUILD_HOME)/kernel/linux/patches/${KERNEL_VERSION}/$(DEVICE_NAME)_patch
167kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件config放到对应路径下:
170 …KERNEL_CONFIG_PATH := $(OHOS_BUILD_HOME)/kernel/linux/config/${KERNEL_VERSION}DEFCONFIG_FILE := $(…
174 …> 由于OpenHarmony工程的编译构建流程中会拷贝kernel/linux/linux-\*.\*的代码环境后进行打补丁动作,在使用OpenHarmony的版本级编译命令前,需要kernel
[all …]
H A Dkernel-standard-patch.md4 …按照[kernel.mk](https://gitee.com/openharmony/kernel_linux_build/blob/master/kernel.mk)中HDF的补丁合入方法,合…
10 …按照[kernel.mk](https://gitee.com/openharmony/kernel_linux_build/blob/master/kernel.mk)中的芯片组件所对应的pat…
12 … DEVICE_PATCH_DIR := $(OHOS_BUILD_HOME)/kernel/linux/patches/${KERNEL_VERSION}/$(DEVICE_NAME)_patch
17 …按照[kernel.mk](https://gitee.com/openharmony/kernel_linux_build/blob/master/kernel.mk)中的芯片组件所对应的pat…
19 KERNEL_CONFIG_PATH := $(OHOS_BUILD_HOME)/kernel/linux/config/${KERNEL_VERSION}
24 …> 由于OpenHarmony工程的编译构建流程中会拷贝kernel/linux/linux-\*.\*的代码环境后进行打补丁动作,在使用OpenHarmony的版本级编译命令前,需要kernel
26 …> 根据不同系统工程,编译完成后会在out目录下的kernel目录中生成对应实际编译的内核,基于此目录的内核,进行对应平台的config修改,将最后生成的.config文件cp到config仓对应…
/ohos5.0/docs/en/device-dev/kernel/
H A DReadme-EN.md3 - [Kernel Overview](kernel-overview.md)
5 - [LiteOS-M Overview](kernel-mini-overview.md)
20 - [CPUP](kernel-mini-extend-cpup.md)
26 - [Trace](kernel-mini-memory-trace.md)
27 - [LMS](kernel-mini-memory-lms.md)
28 - [Shell](kernel-mini-debug-shell.md)
35 - [Startup in Kernel Space](kernel-small-start-kernel.md)
139 - [Perf](kernel-small-debug-perf.md)
140 - [LMS](kernel-small-memory-lms.md)
160 - [HCK](kernel-standard-hck.md)
[all …]
H A Dkernel-small-bundles-system.md6kernel space. User-mode programs cannot directly access kernel resources. System calls provide a c…
10kernel resources and interacts with the kernel. An SVC/SWI exception is triggered inside the POSIX…
19kernel for the user mode, see **kernel/liteos\_a/syscall/syscall\_lookup.h**. For details about t…
29 …em call number and the declaration of the corresponding kernel processing function to the kernel s…
30 4. Add the kernel processing function corresponding to the system call to the kernel.
82 3. Add the system call number to the kernel system call header file.
129 4. Add a function corresponding to the new system call to the kernel.
131 …In **kernel/liteos\_a/syscall/los\_syscall.h**, **SysNewSyscallSample** is the declaration of t…
147 The newly added kernel processing function is implemented as follows:
155 PRINTK("kernel mode: num = %d\n", num);
[all …]
H A Dkernel-overview.md32kernel subsystem is located at the lower layer of OpenHarmony. Since OpenHarmony is oriented to de…
70kernel designed for the IoT field. It features small footprint, low power consumption, and high pe…
76 ![](figures/Liteos-m-architecture.png "kernel-architecture")
93 - Diversified kernel mechanisms
105 - Decoupling between the kernel and hardware
109 **Figure 4** LiteOS-A kernel architecture
124kernel LTS 4.19.y and 5.10.y, the OpenHarmony Linux kernel has incorporated CVE patches and OpenHa…
126 …on about Linux LTS 4.19.y, visit the [official kernel website](https://git.kernel.org/pub/scm/linu…
128 …on about Linux LTS 5.10.y, visit the [official kernel website](https://git.kernel.org/pub/scm/linu…
154 …Apply the HDF kernel patches matching your kernel version. For details, see the method in **kernel
[all …]
H A Dkernel-standard-patch.md4 …atches based on the kernel version. For details, see [kernel.mk](https://gitee.com/openharmony/ker…
10 …tch directory and naming rules, see [kernel.mk](https://gitee.com/openharmony/kernel_linux_build/b…
12 … DEVICE_PATCH_DIR := $(OHOS_BUILD_HOME)/kernel/linux/patches/${KERNEL_VERSION}/$(DEVICE_NAME)_patch
17 …tch directory and naming rules, see [kernel.mk](https://gitee.com/openharmony/kernel_linux_build/b…
19 KERNEL_CONFIG_PATH := $(OHOS_BUILD_HOME)/kernel/linux/config/${KERNEL_VERSION}
24 …nstalled after "kernel/linux/linux-\*.\*" is copied. Before using the version-level build command …
26 …, the kernel is generated in the kernel directory in the **out** directory. Modify the **config** …
H A Dkernel-small-start-kernel.md6 The kernel startup process consists of the assembly startup and C language startup, as shown in **F…
12kernel initialization and architecture- and board-level initialization. The kernel startup framewo…
16 ![](figures/kernel-startup-process-2.png "kernel-startup-process-2")
30 …_BASIC | Initialization of the kernel basic modules.<br>Initialize the basic modules that can be d…
31 …DED | Initialization of the kernel extended modules.<br>Initialize the extended modules that can b…
32 | LOS_INIT_LEVEL_KMOD_TASK | Kernel task creation.<br>Create kernel tasks (kernel tasks and softwar…
33 | LOS_INIT_LEVEL_FINISH | Complete of the kernel initialization.|
40kernel module and register the initialization function of the module to the kernel startup process…
42 You can compile and verify the sample code in **kernel/liteos_a/testsuites/kernel/src/osTest.c**.
47 /* Header file of the kernel startup framework */
[all …]
H A Dkernel-small-overview.md5kernel is a next-generation kernel that evolved from the kernel of Huawei LiteOS, a lightweight Io…
8 …t applies to the LiteOS-A kernel. For details about operations related to the Linux kernel, see […
12 - Diversified kernel mechanisms
24 - Decoupling between the kernel and hardware
26 …The lightweight kernel is highly decoupled from the hardware. New board can be added without modif…
31kernel consists of the basic kernel, extended components, HDF, and POSIX APIs. Different from the …
36 - The basic kernel implements basic kernel mechanisms, such as scheduling, memory management, and…
43 The basic kernel implements the following mechanisms:
79 - Multi-kernel platform
98 /kernel/liteos_a
[all …]
/ohos5.0/docs/en/device-dev/
H A Dwebsite.md112 - [Kernel Overview](kernel/kernel-overview.md)
129 - [CPUP](kernel/kernel-mini-extend-cpup.md)
135 - [Trace](kernel/kernel-mini-memory-trace.md)
136 - [LMS](kernel/kernel-mini-memory-lms.md)
137 - [Shell](kernel/kernel-mini-debug-shell.md)
144 - [Startup in Kernel Mode](kernel/kernel-small-start-kernel.md)
172 - [LiteIPC](kernel/kernel-small-bundles-ipc.md)
178 - [plimits](kernel/kernel-small-plimits.md)
247 - [Trace](kernel/kernel-small-debug-trace.md)
248 - [perf](kernel/kernel-small-debug-perf.md)
[all …]
/ohos5.0/docs/en/readme/
H A Dkernel.md44kernel&#92;\_liteos&#92;\_a** and **kernel&#92;\_liteos&#92;\_m** repositories. The **kernel&#92;\…
51kernel LTS 4.19.y, 5.10.y and 6.6.y, the OpenHarmony Linux kernel has incorporated CVE patches and…
53 …on about Linux LTS 4.19.y, visit the [official kernel website](https://git.kernel.org/pub/scm/linu…
55 …on about Linux LTS 5.10.y, visit the [official kernel website](https://git.kernel.org/pub/scm/linu…
57 …ion about Linux LTS 6.6.y, visit the [official kernel website](https://git.kernel.org/pub/scm/linu…
64 kernel/
68 │ ├── linux-6.6 # OpenHarmony linux-6.6 common kernel
71 │ │ ├── kernel.mk # Kernel build file
85 │ │ │   ├── kernel.patch # linux-5.10 rk3568 SOC patches
89 │ │    ├── kernel.patch # linux-6.6 rk3568 SOC patches
[all …]
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-linux-kernel.md17kernel mode layer is the OpenHarmony kernel layer \(purple part in the figure\). It consists of th…
27 OpenHarmony kernel mode layer = OpenHarmony Linux kernel + OpenHarmony kernel-mode features \(manda…
33 - Standard LTS Linux kernel
35 - OpenHarmony basic kernel-mode code
42 - OpenHarmony kernel mode layer = Third-party Linux kernel + OpenHarmony basic kernel-mode code +…
44 …se, the OpenHarmony kernel mode layer consists of the third-party Linux kernel and OpenHarmony bas…
47 - OpenHarmony kernel mode layer = OpenHarmony Linux kernel + OpenHarmony kernel-mode features \(s…
49 …n this case, the OpenHarmony kernel mode layer consists of OpenHarmony kernel and features. Howeve…
75 cp -r oh-rpi3b-kernel $PROJ_ROOT/out/KERNEL_OBJ/kernel/src_tmp/linux-rpi3b
150 …PROJ_ROOT/out/KERNEL_OBJ/kernel/src_tmp/linux-rpi3b # Specify the kernel directory for applying th…
[all …]
H A Dporting-smallchip-kernel-linux.md6kernel porting involves basic kernel compilation, building, and verification after third-party ch…
11kernel baseline evolves based on the Linux LTS version 5.10 and incorporates the CVE and bugfix pa…
21 1. Prepare the kernel configuration files, especially the chipset-related configuration files.
23 Source code directory of the configuration files: **kernel/linux/config/**
29 Source code directory of the patch files: **kernel/linux/patches/linux-5.10**
35kernel/linux/patches/**, after version-level build commands are passed to the **kernel_module_buil…
41 …(2) The build fails due to kernel version mismatch. In this case, kernel adaptation is required, i…
44kernel.mk** file, patches are applied after the code environment of **kernel/linux-5.10** is copie…
46 …> - You can modify the patches in **out/&lt;\*\*\*&gt;/kernel/linux-5.10**, to which the code envi…
62 **Figure 1** OS image structure and user-space program startup process based on the Linux kernel
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/base/te/
H A Dkernel.te15 allow kernel data_log:dir { add_name create search setattr write };
17 allow kernel dev_bbox:chr_file { open write };
18 allow kernel device:chr_file { create getattr setattr unlink };
20 allow kernel init:process { dyntransition };
21 allow kernel kernel:capability { mknod };
22 allow kernel kernel:process { setcurrent };
23 allow kernel pstorefs:dir { open read remove_name search write };
24 allow kernel pstorefs:file { open read unlink };
25 allow kernel softbus_server:tcp_socket { read write };
26 allow kernel sys_file:dir { open read };
[all …]
/ohos5.0/docs/zh-cn/readme/
H A D内核子系统.md55kernel\_liteos\_a 和 kernel\_liteos\_m 这2个代码仓库,其中kernel\_liteos\_a主要针对小型系统(small system)和标准系统(stand…
64 Linux社区LTS 4.19.y分支信息请查看[kernel官网](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git…
66 Linux社区LTS 5.10.y分支信息请查看[kernel官网](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git…
68 Linux社区LTS 6.6.y分支信息请查看[kernel官网](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/…
75 kernel/
83 │ │ ├── kernel.mk # 内核编译文件
145 ├── kernel # 进程、内存、IPC等模块
179kernel/linux/build仓中,按照kernel.mk中HDF的补丁合入方法,合入不同内核版本对应的HDF内核补丁:
189kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件patch放到对应路径下:
198kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件config放到对应路径下:
[all …]
/ohos5.0/docs/zh-cn/device-dev/
H A Dwebsite.md113 - [内核概述](kernel/kernel-overview.md)
115 - [轻量系统内核概述](kernel/kernel-mini-overview.md)
118 - [任务管理](kernel/kernel-mini-basic-task.md)
125 - [时间管理](kernel/kernel-mini-basic-time.md)
126 - [软件定时器](kernel/kernel-mini-basic-soft.md)
127 - [双向链表](kernel/kernel-mini-basic-list.md)
132 - [文件系统](kernel/kernel-mini-extend-file.md)
137 - [LMS调测](kernel/kernel-mini-memory-lms.md)
140 - [内核编码规范](kernel/kernel-mini-appx-code.md)
141 - [标准库支持](kernel/kernel-mini-appx-lib.md)
[all …]
/ohos5.0/foundation/communication/dsoftbus/adapter/
H A DBUILD.gn56 include_dirs += [ "//kernel/liteos_m/kal/cmsis" ]
69 "//kernel/liteos_m/components/net/lwip-2.1/porting/include",
85 "$softbus_adapter_common/kernel/liteos_m/softbus_adapter_mem.c",
87 "$softbus_adapter_common/kernel/posix/softbus_adapter_socket.c",
160 "$softbus_adapter_common/kernel/posix/lnn_ip_utils_adapter.c",
161 "$softbus_adapter_common/kernel/posix/softbus_adapter_file.c",
162 "$softbus_adapter_common/kernel/posix/softbus_adapter_mem.c",
239 "$softbus_adapter_common/kernel/posix/lnn_ip_utils_adapter.c",
240 "$softbus_adapter_common/kernel/posix/softbus_adapter_file.c",
241 "$softbus_adapter_common/kernel/posix/softbus_adapter_mem.c",
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/kernel/linux/system/
H A Dkernel.te14 #domain_auto_transition_pattern(kernel, init_exec, init)
16 #allow kernel tmpfs:chr_file read_file_perms;
17 #allow kernel kernel:process setsched;
18 allow kernel debugfs_usb:dir { search };
19 allow kernel device:dir { create };
20 allow kernel sys_file:dir { open };
21 allow kernel vendor_etc_file:dir { open read search };
22 allow kernel vendor_etc_file:file { open read };
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A D_avg_pool_fusion_v10.md32 … [kernelSize](#kernelsize) | 用来取平均值的kernel大小,是一个长度为2的int数组[kernel_height,kernel_weight], 第一个数表示ker…
33 | long[] [strides](#strides) | kernel移动的距离,是一个长度为2的int数组[stride_height,stride_weight], 第一个数表示高度上的移动…
82 用来取平均值的kernel大小,是一个长度为2的int数组[kernel_height,kernel_weight], 第一个数表示kernel高度,第二个数表示kernel宽度。
122 kernel移动的距离,是一个长度为2的int数组[stride_height,stride_weight], 第一个数表示高度上的移动步幅,第二个数表示宽度上的移动步幅。
H A D_avg_pool_fusion_v20.md32 … [kernelSize](#kernelsize) | 用来取平均值的kernel大小,是一个长度为2的int数组[kernel_height,kernel_weight], 第一个数表示ker…
33 | long[] [strides](#strides) | kernel移动的距离,是一个长度为2的int数组[stride_height,stride_weight], 第一个数表示高度上的移动…
82 用来取平均值的kernel大小,是一个长度为2的int数组[kernel_height,kernel_weight], 第一个数表示kernel高度,第二个数表示kernel宽度。
122 kernel移动的距离,是一个长度为2的int数组[stride_height,stride_weight], 第一个数表示高度上的移动步幅,第二个数表示宽度上的移动步幅。
/ohos5.0/docs/zh-cn/device-dev/porting/
H A Dporting-smallchip-kernel-linux.md11 …ix补丁。具体信息参考[代码库](https://gitee.com/openharmony/kernel_linux_5.10),对应repo工程代码路径为`kernel/linux-5.10`。
23 config文件所在源码目录:`kernel/linux/config/`
29 补丁文件所在源码目录:`kernel/linux/patches/linux-5.10`
35 …具体内核编译入口脚本位于工程目录`kernel/linux/patches/`下面,版本级整编命令会通过BUILD.gn进入`kernel_module_build.sh`和`kernel.mk`…
45 …> - 参考`kernel.mk`,在OpenHarmony工程的编译构建流程中会拷贝kernel/linux-5.10的代码环境后进行打补丁动作,在使用版本级编译命令前,需要kernel/lin…
47 > - 对应拷贝后的目录位于:`out/<***>/kernel/linux-5.10`,可以在该目录下进行补丁的修改适配。
55 …ev/mmcblk0p3 ro rootfstype=ext4 rootwait blkdevparts=mmcblk0:1M(boot),9M(kernel),50M(rootfs),50M(u…
/ohos5.0/docs/zh-cn/device-dev/faqs/
H A Dfaqs-overview.md80 - [LiteOS-A和LiteOS-M内核对外API的差异](../faqs/faqs-kernel.md)
82 - [如何分析线程栈溢出](../faqs/faqs-kernel.md)
87 - [Hi3516开源板以写的模式打开同一个文件失败(LiteOS-A)](../faqs/faqs-kernel.md)
92 - [LiteOS内核已支持哪些硬件平台](../faqs/faqs-kernel.md)
94 - [LiteOS内核已支持哪几款芯片架构](../faqs/faqs-kernel.md)
99 - [OpenHarmony已支持哪些三方组件](../faqs/faqs-kernel.md)
101 - [在OpenHarmony上使用OpenSSL,出现秘钥长度校验不正确](../faqs/faqs-kernel.md)
103 - [setsockopt是否支持SO_RCVBUF和SO_SNDBUF选项](../faqs/faqs-kernel.md)
108 - [Arm Linux开发的应用程序,OpenHarmony如何在LiteOS-A上运行](../faqs/faqs-kernel.md)
110 - [OpenHarmony在什么系统下编译,使用什么编译器](../faqs/faqs-kernel.md)
[all …]

12345678910>>...28