* Made QueueCommands::Write() and MakeSpace() public.

* Implemented MakeSpace() (not yet tested).
* Changed intel_wait_engine_idle() to spin() between reads and to timeout
  after 1 second of waiting (could probably be done way earlier).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-12-13 14:56:28 +00:00
parent 216310852f
commit 8818c50507
3 changed files with 74 additions and 35 deletions
@@ -49,6 +49,7 @@ struct ring_buffer {
uint32 offset;
uint32 size;
uint32 position;
uint32 space_left;
uint8 *base;
};