close
Skip to main content

Question list filters

Filter by
Sorted by
Tagged with
Score of 2
0 answers
93 views

I'm writing a kernel in Rust for the Raspberry Pi 3b+ hardware which uses Mini UART for I/O. And so far it had been working wonderfully on QEMU. However, when I finally got access to real hardware to ...
Score of 0
0 answers
140 views

I am currently writing a small bare-metal OS for Raspberry Pi 4b for the AArch64/Arm64 architecture. Unfortunately the OS hangs after enabling the MMU on real hardware. When testing the OS in QEMU ...
Score of 2
2 answers
115 views

I'm currently making an AArch32 emulator, and I'm trying to make an MMU. While I got most of the descriptor logic, access permissions, and address translation mechanisms set up, I still have doubts ...
Score of 3
1 answer
246 views

I am trying to write some containers in C++ that are supposed to handle big amounts of data. However I've encountered a bit of a block. My vector implementation would fall back to being a stable ...
Score of 1
1 answer
99 views

I have looked at the recommendations for both my question and searched for my question's headline but did not find anything related. The line I am confused about is below the comments in mmu.c. I want ...
user avatar
Score of 4
0 answers
271 views

(I'm relatively new to aarch64 and to ARM in general, so sorry if this is a dumb question.) When handling a Data Abort exception (raised in EL1, and taken to EL2 where my hypervisor is running) I need ...
Score of 2
1 answer
374 views

Introduction I have been trying to evaluate the MMU functionality for the Xilinx zynq7000 soc that contains 2 A9-Cortex processors. Firstly I have tried using the xil_mmu.h library, however after ...
Score of 1
1 answer
277 views

I found the mmio access api in arm-tf/include/lib/mmio.h, it access the addr to perform I/O operations like many other privileged softwares (linux, optee-os, etc.): static inline void mmio_write_32(...
Score of 1
0 answers
212 views

I am writing an MMU Fault exception handler for my dual-core Cortex-A76 CPU, AArch64 architecture. The OS is ThreadX RTOS, so all code runs at EL1 level. When an MMU fault is triggered, the ESR_EL1 ...
Score of 0
0 answers
981 views

I'm trying to understand the differences between VMID (Virtual Machine Identifier) and ASID (Address Space Identifier) in the context of virtualization and operating systems. Refer the (ARM ...
Score of 0
1 answer
335 views

If multi-core CPUs have a dedicated MMU for each core, multiple processes can run in parallel.I want to know what will happen if multi-core CPUs share the MMU. I guess,if multi-core CPUs share the MMU,...
Score of 4
1 answer
639 views

Assume we are on an hart with M, S and U modes support and we currently are in S mode with virtual address enabled and satp pointing to the current PTE table (the kernel PTE table). Now assume we want ...
Score of 0
0 answers
64 views

https://github.com/torvalds/linux/commit/6ce64428d62026a10cb5d80138ff2f90cc21d367: cpu0 cpu1 cpu2 ---- ---- ---- [ ...
Score of 1
0 answers
230 views

I'm trying to create some static-pie programs to run in a no-MMU environment. As far as I can tell static-pie programs are encoded in the ELF format, but use the ET_DYN e_type in their ELF header. ...
Score of 1
0 answers
859 views

Im trying to understand how memory works inside a virtual machine, QEMU in particular. I see there are virtual memory, used in a context by CPU and a physical memory, the actual RAM memory. But i dont ...

15 30 50 per page
1
2 3 4 5
18