Skip to content
Advertisement

Tag: linux-kernel

Why do system calls use a different stack?

Here is a question about the details happening during system call. However, one thing surprises me that the TSS maintains different stacks for different priviliges. That is, codes running in user mode and system mode are using different stack context. Since system call is actually a function call, why couldn’t we just reuse the user stack and just create a

modifying u-boot environment in kernel init

I’m trying to modify a u-boot env arg within the kernel code. I’ve found boot_command_line var in main.c and setup.c, which contains an arg, so that made me think it is possible, however, I coudn’t find where this var is being updated with the u-boot env arg value, or how to get a different arg and then write it back

How are memory regions on ARM Cortex A denoted as “device” or “strongly ordered” under Linux

On the ARM Cortex-A9 that comprises part of the Zynq SoC I’m using, regions of memory are labelled as “normal”, “device” or “strongly ordered”. This is described in the Zynq technical reference manual, but I understand it is a property of ARMs more generally. Obviously, the ability to have strongly ordered memory accesses for memory mapped devices (which includes many

The vboxdrv kernel module is not loaded (Unknown rela relocation – debian buster) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

TheFatRat Installation Issues mingw-32 →NOT OK mingw-w64 → NOT OK [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Advertisement