OSDev.org

The Place to Start for Operating System Developers
It is currently Sun May 12, 2024 7:17 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Reading from files at kernel level
PostPosted: Mon Feb 26, 2001 12:00 am 
Hello,

I am wondering if it would be possible to modify some simple
asm code to read from a file at the kernel level. Also, is
it possible to read files at the kernel level, file system
notwithstanding? Can this be done?

Collin


Top
  
 
 Post subject: RE:eading from files at kernel level
PostPosted: Wed Feb 28, 2001 12:00 am 
>On 2001-02-26 17:56:14, Collin wrote:
>Hello,
>
>I am wondering if it would be possible to modify some simple
>asm code to read from a file at the kernel level.
You sure can.

>Also, is it possible to read files at the kernel level, file system
>notwithstanding? Can this be done?

It all depends on your kernel design. If you have your file handling
(reading, writing, deleting, etc...) code in your kernel then you can.
Linux *CAN* do this since it is a monolithic kernel, and all it's
functions (including the file system) are inside the kernel.


--Nick


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group