Why are Linux libraries needed when writing a driver? Aren't they supposed to work without any help from the operating system?
>reinventing the wheel
Seriously tho, how the fuck is your driver supposed to communicate with the OS without a standardized API?
>>53655077
Why would it l need to do that when it can just provide it's own custom interface that was built for interacting with the device? I wouldn't it be much more efficient.
>>53654944
Well, how else are you going to call into the kernel for stuff like printk or registering devices?
>>53656002
They aren't needed, and it can just use it's own interface.
A buddy of mine wrote his own TCP stack for example, but really...why would you need to do that and why would you want to?
>>53656045
>>53656117
But the BIOS knows what kind of information to send to the monitor during startup without any system calls or any OS interfacing for than matter. Why can't Linux do the same?
>>53656328
The driver is useless without providing its functionality to OS.
>>53656328
Linux is the kernel but most drivers run better with Arch Linux than windballz. Arhc Linxu, ti juts wersk!
wtf OP