Kernel
A kernel is the heart of almost every operating system. It is always loaded in memory at any time and deals with the hardware to provide an interface for the software. It also manages peripherals, memory, interrupts, and processes. Examples of widely used kernels include Windows NT and Linux.
Here are 3,286 public repositories matching this topic...
-
Updated
Jun 16, 2021 - C
Now that we have the checklocks analyzer, we should annotate values that are lock-protected with an appropriate checklocks attribute.
-
Updated
May 23, 2022 - Go
-
Updated
Feb 16, 2022 - C
-
Updated
Jan 12, 2022 - C
-
Updated
May 23, 2022 - Rust
https://github.com/RT-Thread/rt-thread/blob/master/include/rtservice.h
/**
* rt_container_of - return the member address of ptr, if the type of ptr is the
* struct type.
*/
#define rt_container_of(ptr, type, member) \
((type *)((char *)(ptr) - (unsigned long)(&((type *)0)->member)))按照英文,应该是说如果 ptr 的类型是 struct 类型,返回ptr的成员(member)的地址
但实际上,ptr 应该是某个 struct (type)的一个
-
Updated
May 17, 2022 - C
-
Updated
May 23, 2022 - C
-
Updated
May 21, 2022 - TeX
-
Updated
May 23, 2022 - Go
-
Updated
Apr 26, 2022 - Shell
- The
set_mode_X()HIL functions need to support returning an error if hardware does not support that mode or if the implementation cannot put the hardware in to that mode at that time. See for an example where panic is used instead of returning an error https://github.com/tock/tock/pull/2629/files.
-
Updated
Mar 13, 2022 - Go
-
Updated
May 23, 2022 - Shell
Describe the bug
the bzimage package can't unpack kernels compress with xz. This is because when I wrote it I was not sure how to find
the compressed part and used a simple minded search.
To Reproduce
create a bzImage but enable XZ compression in the kernel (yep, it's still called a bzimage)
use the kexec command with debug and note you see this:
2022/02/02 21:13:15 Failed to unpa
-
Updated
May 20, 2022 - Rust
-
Updated
Apr 25, 2022 - C
-
Updated
May 20, 2022 - Jupyter Notebook
-
Updated
Apr 8, 2022
- Wikipedia
- Wikipedia
This came up during the discussion on #13640, which specifically only adds single character/code point/code unit display for three common text encodings. A nice feature would be to decode and display the entire user selection as a string. Right now, the length of the user selection is not considered for value inspector data, just the starting position is used to read the next 8-bit number, 16-bit