Revision e96e2044 hw/sh_intc.h

b/hw/sh_intc.h
35 35
    unsigned short vect;
36 36
    intc_enum next_enum_id;
37 37

  
38
    int asserted;
38
    int asserted; /* emulates the interrupt signal line from device to intc */
39 39
    int enable_count;
40 40
    int enable_max;
41
    int pending; /* emulates the result of signal and masking */
42
    struct intc_desc *parent;
41 43
};
42 44

  
43 45
struct intc_desc {
......
49 51
    int nr_prio_regs;
50 52

  
51 53
    int iomemtype;
54
    int pending; /* number of interrupt sources that has pending set */
52 55
};
53 56

  
57
int sh_intc_get_pending_vector(struct intc_desc *desc, int imask);
54 58
struct intc_source *sh_intc_source(struct intc_desc *desc, intc_enum id);
59
void sh_intc_toggle_source(struct intc_source *source,
60
			   int enable_adj, int assert_adj);
55 61

  
56 62
void sh_intc_register_sources(struct intc_desc *desc,
57 63
			      struct intc_vect *vectors,

Also available in: Unified diff