checkpoint
[slipway.git] / src / edu / berkeley / slipway / Board.java
1 package edu.berkeley.slipway;
2
3 import edu.berkeley.obits.*;
4 import org.ibex.util.Log;
5 import java.io.*;
6 import java.util.*;
7 import gnu.io.*;
8
9 public interface Board {
10
11     /** boot the board using an md4 configuration stream */
12     public abstract void boot(Reader r) throws Exception;
13
14     /** reset the board */
15     public abstract void reset() throws IOException;
16
17     /** the UART inputstream (after loading initial config) */
18     public abstract InputStream getInputStream();
19
20     /** the UART inputstream (after loading initial config) */
21     public abstract OutputStream getOutputStream();
22
23 }