8

From what I understand you are asking what are the technical benefits of zircon over linux? First of all zircon is a micro kernel as opposed to the linux monolithic kernel. So lets look at some of the advantages of an microkernel over a monolith: Segmentation, a micro kernel has a very segmented model and drivers live outside of the kernel. That means you ...


2

Can anything change in a computer without the user modifying something, also while not having internet connection? Yes, definitely - computers update their own states all the time, and some of these changes will be persistent from one boot cycle to the next. The computer itself is a complex piece of hardware, and the operating system is a complex piece of ...


1

The interrupt has nothing to do with a process. On a multi- processor system, a process can be killed five nanoseconds after starting to process an interrupt, and the PCB is gone. And with it, all the information about the interrupt that you stored. You don’t want to mix up interrupts and switching between processes. They are independent.


1

The operating system cannot continue using user-accessible memory when it is handling an interrupt, that program may be buggy, malicious, or worse. It may overwrite any part of its address space at any time. That includes the stack. The stack is often a critical part of the execution of a program, so the operating system has no choice other than to switch ...


1

This is architecture specific so the following might not be true for all architectures. Normally there is a special hardware in the CPU called interrupt controller that will react to interrupts. You usually program this hardware on boot time by writing a handler for each interrupt (called interrupt service routine) and giving the interrupt controller a ...


1

Computations on general-purpose registers ((a), (b), (d)) doesn't require any privileges. Input/output requires privileges, to access a peripheral or to communicate with the part of the system that manages files. So (c) does generally require going to kernel mode. It's possible for some printf calls to remain entirely within the calling process, for example ...


1

The link you provided has a clear definition: This tutorial discusses how to correctly invoke global constructors, such as those on global C++ objects. These are supposed to have run before your main function, which is why the program entry point is normally a function called _start. In most OSs, there is a step where the process' memory is filled with ...


Only top voted, non community-wiki answers of a minimum length are eligible