Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/mach/testarm/testarm.h

    recf083dd ra71c158  
    3737 */
    3838
    39 #ifndef KERN_arm32_testarm_H_
    40 #define KERN_arm32_testarm_H_
     39#ifndef KERN_arm32_MACHINE_H_
     40#define KERN_arm32_MACHINE_H_
    4141
    4242#include <arch/machine_func.h>
    4343
    44 /** Size of GXemul IRQ number range (starting from 0) */
    45 #define GXEMUL_IRQ_COUNT        32
    46 #define GXEMUL_KBD_IRQ          2
    47 #define GXEMUL_TIMER_IRQ        4
     44/** Last interrupt number (beginning from 0) whose status is probed
     45 * from interrupt controller
     46 */
     47#define GXEMUL_IRQC_MAX_IRQ  8
     48#define GXEMUL_KBD_IRQ       2
     49#define GXEMUL_TIMER_IRQ     4
    4850
    4951/** Timer frequency */
     
    7072extern void gxemul_timer_irq_start(void);
    7173extern void gxemul_cpu_halt(void);
    72 extern void gxemul_irq_exception(unsigned int, istate_t *);
    73 extern void gxemul_get_memory_extents(uintptr_t *, uintptr_t *);
     74extern void gxemul_irq_exception(int exc_no, istate_t *istate);
     75extern uintptr_t gxemul_get_memory_size(void);
    7476extern void gxemul_frame_init(void);
    75 extern size_t gxemul_get_irq_count(void);
    7677
    77 extern struct arm_machine_ops gxemul_machine_ops;
    7878
    7979#endif
Note: See TracChangeset for help on using the changeset viewer.