source: trunk/softs/tsar_boot/tty.h @ 286

Last change on this file since 286 was 276, checked in by bouyer, 12 years ago

A boot loader to be stored in ROM of a TSAR platform.
Based on Cesar FUGUET's work.
Platform-specific files are in a subdirectory, e.g. platform_fpga_de2-115,
so the same code can be targetted to different platforms.
The platform is selected with the PLATFORM_DIR environnement variable.
The supported variant are soclib and fpga, the later being the default
and the former selected by defining the SOCLIB environnement variable.
The boot loader embeds a binary device tree describing the platform,
to be used by the loaded software.

File size: 412 bytes
Line 
1#ifndef TTY_REGS_H
2#define TTY_REGS_H
3
4enum SoclibTtyRegisters {
5    TTY_WRITE   = 0,
6    TTY_STATUS  = 1,
7    TTY_READ    = 2,
8    TTY_CONFIG  = 3,
9    /**/
10    TTY_SPAN    = 4,
11};
12
13#endif
14
15// Local Variables:
16// tab-width: 4;
17// c-basic-offset: 4;
18// c-file-offsets:((innamespace . 0)(inline-open . 0));
19// indent-tabs-mode: nil;
20// End:
21//
22// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
23
Note: See TracBrowser for help on using the repository browser.