The kernel tag has no wiki summary.
0
votes
0answers
8 views
GRUB says Error 13: Invalid or unsupported executable format [migrated]
I wrote a kernel. Here is my kernel start up file:
.text
.globl start
start:
jmp main
mboot:
.set ALIGN, 1<<0
.set MEMINFO, 1<<1
.set FLAGS, ALIGN | MEMINFO
.set MAGIC, ...
1
vote
2answers
124 views
Best way to learn “under the bonnet” Linux? [closed]
Are there any alternative methods for understanding how Linux works which don't involve just staring aimlessly at 100MB of Linux Kernel source code?
Related question- is there any sort of ...
0
votes
1answer
140 views
How does a linked library combined with the main executable program file interact with a kernel? [on hold]
I was attempting to find an answer to this, and I did to some degree, but definitely not anywhere good enough to form a respectable, sensible and clear answer.
If I am using Windows, Mac, Linux, or ...
6
votes
1answer
487 views
Does change the license under which Linux is released need the permission of all the copyright holders?
As far as I know Linus holds the copyright to Linux.
While looking around in the kernel sources, I see that almost every file has it's own copyright holders. For example the file module.c in the ...
2
votes
2answers
145 views
Hardware running gpl code
Let's say I am selling hardware that uses the linux kernel. Do I have to state somewhere that it is running linux(or other gpl code)?
The reason I am asking this is because I bought a television, ...
4
votes
1answer
196 views
unseen/unknown function definition in linux source
Can any one please explain this piece of code I found in the linux kernel source. I see a lots of code like this in linux and minix kernel but dont seem to find what it does (even if C compilers ...
11
votes
12answers
2k views
Why do operating systems do low level stuff in C and C++? Why not just C++?
On the Wikipedia page for Windows, it states the Windows is written in Assembly for the bootloader and task switcher, and C and C++ for kernel routines.
IIRC, you can call C++ functions from an ...
0
votes
2answers
184 views
Are monolith and microkernel design patterns or strategies?
What's the difference between a design pattern and a strategy?
Is the monolith actually an anti-pattern?
120
votes
11answers
9k views
How do operating systems… run… without having an OS to run in?
I'm really curious right now. I'm a Python programmer, and this question just boggled me: You write an OS. How do you run it? It has to be run somehow, and that way is within another OS?
How can an ...
1
vote
1answer
105 views
Kernel module implementation estimate [closed]
I have a very abstract question about a kernel module writing estimate. How much dev-hours/months may required to write or, especially, port an existant kernel driver for a new PCI HBA from one ...
2
votes
1answer
355 views
Are there similarities between operating system kernels and programming language kernels?
I know very little about Smalltalk but I noticed that there's a frequent mention of the "kernel". Dan Ingalls prime maintainer of several implementations of Smalltalk also worked on a Javascript ...
3
votes
4answers
3k views
Why does ARM processors dominate Mobile platforms while x86 dominates Desktop/Server platforms
Almost all of the mobile phones, except the ones being produced by Intel, use ARM based processors while desktop/server industry is dominated x86 processors.
What features does one provide over the ...
188
votes
15answers
46k views
Why was Tanenbaum wrong in the Tanenbaum-Torvalds debates?
I was recently assigned reading from the Tanenbaum-Torvalds debates in my OS class. In the debates, Tanenbaum makes some predictions:
Microkernels are the future
x86 will die out and RISC ...
3
votes
2answers
587 views
Low Level vs High Level Development
I really want to start working in OS development, particularly kernel development, with the Open Source Darwin Project - building my own Mac-like operating system, however I am simply not experienced ...
13
votes
4answers
2k views
Is Assembly still relevant?
Are there major differences between assembly language and higher level languages when it comes to coding and/or managing projects? Obviously it takes more statements in assembly language to carry out ...