Kacper Słomiński

Results 35 comments of Kacper Słomiński

[managarm](https://github.com/managarm/managarm) linker scripts: prekernel (eir): [x86 generic 32-bit](https://github.com/managarm/managarm/blob/master/kernel/eir/arch/x86/generic32_link.x), [aarch64 raspi4](https://github.com/managarm/managarm/blob/master/kernel/eir/arch/arm/raspi4/link.x), [riscv64 allwinner d1](https://github.com/managarm/managarm/blob/master/kernel/eir/arch/riscv/platform/allwinner-d1/link.x) - These set up an executable image intended to be loaded at a fixed point in RAM...

Also, not strictly an OS, but an embedded MCU SDK that uses features like LOADADDR, custom memory regions, etc.: https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_standard_link/memmap_default.ld

The struct is defined here: https://github.com/managarm/mlibc/blob/a53280ab5fa0a851b62abcbf77bf0c41707199a1/abis/mlibc/signal.h#L160-L168 AArch64 has 31 GPRs, PC (in this case stored in LR, aka X30), SP, 32 vector registers (which are 128 bits wide each), and...

Perhaps we should place concrete limitations on when sysdeps may use thread-locals? Also worth noting is that sysdeps can disable parts of code depending on whether ld.so or libc.so is...

Can you try using clang-cl instead of clang (set CXX env var before running meson)? See mesonbuild/meson#4232

The problem is that even if we have `escape` or whatever, we still have no way to conditionally break out of recursion (due to no conditional support).

Looking further, this happens here, when the requested module (`hl.dll` in this case) is not loaded already: https://github.com/YaLTeR/SPTLib/blob/8645fba2ee6bda129323aa4e68042a9ac1074f5f/Linux/MemUtils_linux.cpp#L158-L159

Hmm, it would appear we somehow triggered a hypervisor error in the PCI code. Could you check whether this happens on a [more recent build](https://ci.managarm.org/repos/files/managarm/2021-02-07T16:22:14/image.xz)? (the image linked in the...

Presumably related to the discussion in #451.

Can you please show the error (a photo for example) that the EHCI driver reported?