[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] reboot function



When I asked about this on the linux systems development newsgroup, here's
the answer I got:




   find /usr/src -name '*.c' | xargs grep reboot

The watch dog timer driver (drivers/char/wdt.c) is a great example of
how to reboot the system.

--
----- Original Message -----
From: MAIXY <maixy@mcm.com.cn>
To: rtl <rtl@rtlinux.org>
Cc: <rtl@fsmlabs.com>
Sent: Wednesday, June 20, 2001 9:14 PM
Subject: [rtl] reboot function


> Hi,
> I want to reboot the operating system in my device driver module,if anyone
can tell me which function which can reboot the system and it can be used in
the linux kernel?
>
> If anyone could clarify this for me, I'd appreciate it!
> Thanks a lot!
>
> Michael
> maixy@mcm.com.cn
>
> ----- End of forwarded message from owner-rtl@fsmlabs.com -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
>