ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Im new to C and i have to make a OS simulator using C. I definetly have to build some librairies that mimic CPU, scheduler, dispatcher, etc , but the thing is i dont know how under C. I would be glad if someone could help me out or at least point me to a tutorial on the web
I also know that IBM was the first people to build a virtual machine. In theory I think that a virtual machine runs ontop of the hardware architecture - underneath the operating system kernel, so you might need to know about your microprocessors (Intel X86) hardware specification. The other part of the virtual machine runs in user mode. It simulates processes of the kernel in user mode. The processes are called virtual kernel and virtual user mode.
One good book about the theory is Operating System Concepts 6th edition. I read about half the book before I was distracted by something and had to quit but it talked about things like CPU sceduling, wait queues, signals, etc.
I would be interested in working on something like this myself but I would need to read more books.
Id suggest for reading: Modern operating systems by Tanenbaum (im not sure if its spelled right). This gay is a former professor of Mr. Linux hismelf... the book is pretty complete.
I have pretty all the details to build the project i just dont know how to make librairies... i would not have this problem using objet-oriented programming but i dont have time to learn c++ and there is no pointer in java...
Btw thanks for the tip... if i understand correctly i only type the function prototypes in the .h files and the complete definitions in the .c files...
do i need both files to compile so the compiler can verifiy the integrety of the definittions??
Thanks for the offer.. but im a student too... thats a project i have to finish in one month... and i have a partner already but if you want i can post the project requirements just for fun... or maybe youd want me to post the code?