OpenCores
URL https://opencores.org/ocsvn/minsoc/minsoc/trunk

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [jsp/] [jsp.c] - Blame information for rev 159

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 rfajardo
#include <interconnect.h>
2
#include <support.h>
3
#include <or1200.h>
4
#include <int.h>
5
 
6
#include <uart.h>
7
 
8
int main()
9
{
10
        uart_init(JSP_BASE);
11
 
12
        int_init();
13
        int_add(JSP_IRQ, &uart_interrupt, NULL);
14
 
15
        /* We can't use printf because in this simple example
16
           we don't link C library. */
17
        uart_print_str("Hello World.\n");
18
 
19
        report(0xdeaddead);
20
        or32_exit(0);
21
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.