13,809 questions
Advice
0
votes
1
replies
52
views
Deadlock avoidance question: When can a thread have only claim edges?
I was reading Operating System Concepts by Galvin, and in the deadlock avoidance (Resource-Allocation Graph) section I found this statement:
"Note that the resources must be claimed a priori in ...
Advice
0
votes
2
replies
75
views
Request for Review of "Random" Driver Failures Report
Request for Review of "Random" Driver Failures Report
I'm looking for feedback from people who work with Windows drivers, UMDF, HVCI/Core Isolation, or platform security.
Summary
We’ve been ...
0
votes
0
answers
150
views
Why does my program run perfectly fine in QEMU, but crashes in bare metal?
What I have
I have the beginning of a kernel that runs fine in QEMU from an ISO file that I custom made, but when booting that same ISO file in bare metal from Ventoy, the program crashes at mov cr0, ...
Advice
1
vote
1
replies
92
views
Is OsDev a good Web-Site to learn how Operating Systems Works?
I am currently working on an operating System using x86,
I don't know much about operating systems, so I'm looking for a way to learn how they work.
I'm curious if OS dev is a good place to learn how ...
Advice
0
votes
0
replies
38
views
Does Adaptive Autosar prefer Microkernel OS?
In Adaptive Autosar does anyone use is monolithic architecture? if not why only mikrokernel architecture for OS?
2
votes
0
answers
78
views
GDB examine command shows different value than value loaded from the same address
I tried to make a function that finds all existing PCIe device's functions and saves the physical address of their config space to an allocated memory for my os, but I noticed that I got WAY too much ...
0
votes
0
answers
153
views
Make seeking inside sub circular buffer lock free in Producer Consumer
I've a class which is a QIODevice that wraps a background producer thread. It consumes data from a source QIODevice in a producer thread and provides it via the standard QIODevice API (read, seek, etc....
0
votes
2
answers
162
views
Parsing /proc/meminfo using read() in C gives incorrect RAM values
I am trying to extract MemTotal and MemFree from /proc/meminfo using open() and read() (not using fgets() or scanf()).
However, the values are sometimes incorrect or extremely large.
Total Memory in ...
Advice
0
votes
9
replies
113
views
Does an interrupt occur when a process goes from running -> terminated?
I'm reading the 9th Edition of Silberschatz' OS Concepts book and couldn't find a sufficient answer to my question. My first instinct is to say no but then again, the kernel has to be handed control ...
1
vote
0
answers
92
views
x64 Bootloader with C-Kernel
I'm currently working on an x64 Bootloader for a school project, but can't get it to run my Kernel.
Bootloader.asm
;###################################
; Real Mode
;##########################...
Advice
1
vote
1
replies
82
views
How does UEFI pass RAM information from bootloader (like GRUB) to different operating systems?
I have a question regarding the UEFI boot process and how it handles memory information:
UEFI reads the Serial Presence Detect (SPD) data from RAM chips and "knows" the available physical ...
Advice
0
votes
6
replies
121
views
What are the technical advantages of using Linux over Windows?
I'm considering switching from Windows to Linux for my software development environment and would like to understand the performance and security benefits of making this change.
Specifically, I'm ...
1
vote
4
answers
249
views
Is exit syscall invoked implicitly?
Is exit syscall actually invoked even if it is not called by a library function explicitly in the case a program terminates correctly by reaching the return statement in the main function?
0
votes
2
answers
117
views
What is the system call interface?
I am still unclear on this concept. As far as I know,system calls are invoked by library functions known as wrapper functions that typically have the same name. For example,open() in the standard C ...
Advice
1
vote
9
replies
120
views
Are system calls actually APIs?
I'm studying Operating systems concepts from books, I'm on system calls topic.
From what I have understand so far is that system calls are basically some special functions allowing user program to ...