Subversion Repositories HelenOS

Rev

Rev 1849 | Rev 1910 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1849 Rev 1909
Line 34... Line 34...
34
 
34
 
35
#ifndef KERN_sparc64_FHC_H_
35
#ifndef KERN_sparc64_FHC_H_
36
#define KERN_sparc64_FHC_H_
36
#define KERN_sparc64_FHC_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
-
 
39
#include <genarch/ofw/ofw_tree.h>
39
 
40
 
-
 
41
typedef struct {
40
extern volatile uint32_t *fhc;
42
    volatile uint32_t *uart_imap;
-
 
43
} fhc_t;
41
 
44
 
42
extern void fhc_init(void);
45
extern fhc_t *central_fhc;
-
 
46
 
43
extern void fhc_uart_reset(void);
47
extern fhc_t *fhc_init(ofw_tree_node_t *node);
-
 
48
extern void fhc_enable_interrupt(fhc_t *fhc, int ino);
-
 
49
extern void fhc_clear_interrupt(fhc_t *fhc, int ino);
44
 
50
 
45
#endif
51
#endif
46
 
52
 
47
/** @}
53
/** @}
48
 */
54
 */