Let me clarify. I am porting an ethernet driver from Linux to an embedded OS 
which does not have memset. So yeh, its in kernel space (not linux kernel) and 
I need some software mechanism to zero fill the memory. Also the platform is 
MIPS. 

- Meraj

Thomas Petazzoni <[EMAIL PROTECTED]> wrote: Le Thu, 8 Nov 2007 22:25:29 -0800 
(PST),
Mohammad M Molla  a écrit :

> How can I zero out a large chunk of allocated memory given I don't
> have access to memset/bzero? Is there any efficient way to do that in
> software?

Your question looks strange: why wouldn't you have access to memset()
or bzero() ?

In the Linux kernel, memset() is available, so you can use it.

Sincerly,

Thomas
-- 
Thomas Petazzoni - [EMAIL PROTECTED]
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to