Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FPiki-00086A-Pc for mharc-grub-devel@gnu.org; Sat, 01 Apr 2006 11:15:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPikg-00085e-8h for grub-devel@gnu.org; Sat, 01 Apr 2006 11:15:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPike-000851-PV for grub-devel@gnu.org; Sat, 01 Apr 2006 11:15:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPike-00084y-Hv for grub-devel@gnu.org; Sat, 01 Apr 2006 11:15:00 -0500 Received: from [194.109.24.32] (helo=smtp-vbr12.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPinI-0000fm-GW for grub-devel@gnu.org; Sat, 01 Apr 2006 11:17:44 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr12.xs4all.nl (8.13.6/8.13.6) with ESMTP id k31GEwCU032609 for ; Sat, 1 Apr 2006 18:14:59 +0200 (CEST) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB From: Marco Gerards Date: Sat, 01 Apr 2006 18:15:43 +0200 Message-ID: <87y7yp8e6o.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: TCP timers and telnet X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 16:15:02 -0000 Hi, Lately I have been reading a bit about Open Firmware and that it has TCP support and support to telnet into an Open firmware box: http://developer.apple.com/technotes/tn/tn2004.html So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda... My idea is that we use the timer interrupt to regularly schedule time for the TCP timers and the incoming telnet connections. It will not be very hard to implement, but we have to think about how to do proper locking. We will at least need locking in disk access and for the loaders. So only in a small part of GRUB. What do you guys think? I think it is not as hard as it sounds now... Thanks, Marco