source: trunk/softs/tsar_boot/include/mcc.h @ 704

Last change on this file since 704 was 568, checked in by cfuguet, 11 years ago

Adding support for TSAR platforms using the vci_io_bridge component.

In this case (USE_IOB=1), when a block is read from the disk controller,
the buffer containing the read data must be invalidated in the Memory
Cache as the transfer is done between the disk controller and the RAM.

File size: 488 bytes
Line 
1#ifndef MCC_H
2#define MCC_H
3
4enum MccRegisters
5{
6    MCC_LOCK      = 0,
7    MCC_ADDR_LO   = 1,
8    MCC_ADDR_HI   = 2,
9    MCC_LENGTH    = 3,
10    MCC_CMD       = 4
11};
12
13enum MccConfigCmd
14{
15    MCC_CMD_NOP   = 0,
16    MCC_CMD_INVAL = 1,
17    MCC_CMD_SYNC  = 2
18};
19
20#endif
21
22// Local Variables:
23// tab-width: 4;
24// c-basic-offset: 4;
25// c-file-offsets:((innamespace . 0)(inline-open . 0));
26// indent-tabs-mode: nil;
27// End:
28//
29// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
30
Note: See TracBrowser for help on using the repository browser.