How to get system time from c kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
boygiandi
Posts: 2
Joined: Mon Feb 21, 2011 5:29 am

How to get system time from c kernel

Post by boygiandi »

Hi.

I try to write a simple OS. It can boot and jump to c kernel.

And now, How can I get the system time from my kernel

Thanks

( sorry for my english ^^ )
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: How to get system time from c kernel

Post by Combuster »

"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply