[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [patch #6831] Remove superfluous cycle list logic
From: |
Onno Kortmann |
Subject: |
[Simulavr-devel] [patch #6831] Remove superfluous cycle list logic |
Date: |
Sun, 17 May 2009 21:50:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.19) Gecko/20081202 Iceweasel/2.0.0.19 (Debian-2.0.0.19-0etch1) |
URL:
<http://savannah.nongnu.org/patch/?6831>
Summary: Remove superfluous cycle list logic
Project: Simulavr: an AVR simulator
Submitted by: onnokort
Submitted on: So 17 Mai 2009 23:50:54 CEST
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavrxx
_______________________________________________________
Details:
This patch simplifies the logic for adding to/removing from the CycleList.
(See current ML posts about the SPI interface, the timer etc, to see how much
headache this may cause).
The current code gives an 'internal error' when any object is added twice to
the cycle list. This behaviour needs state-keeping code in the various
objects.
A much simpler solution, proposed with this patch, is to simply ensure that
an object is in or out of the cycle list with the avrdevice method calls. All
the state-keeping code becomes superfluous.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: So 17 Mai 2009 23:50:54 CEST Name: cyclelist-sanity.patch Size: 6kB
By: onnokort
<http://savannah.nongnu.org/patch/download.php?file_id=18157>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6831>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [Simulavr-devel] [patch #6831] Remove superfluous cycle list logic,
Onno Kortmann <=