123456789101112131415161718192021222324252627282930313233343536373839 |
- our %consts = (
- '_PC_RESET' => 0x10,
- '_PC_IRQ' => 0x20,
- 'SRAM_ADDR' => 0,
- 'SRAM_BITS' => 15,
- 'SDRAM_ADDR' => 0x40000000,
- 'SDRAM_BITS' => 25,
- 'SYS_MAGIC_MAX80' => unpack('V', 'MAX8'),
- 'TIMER_SHIFT' => 5
- );
- our $xdev_addr_bits = 2;
- our $xdev_addr_shift = 28;
- our $iodev_addr_bits = 4;
- our $iodev_addr_shift = 7;
- our @sysirqs = ('timer', 'ebreak', 'buserr');
- our @iodevs = (
- { -name => 'sys' },
- { -name => 'sysclock', -irq => 'e' },
- { -name => 'console', -irq => 'l' },
- { -name => 'romcopy', -irq => 'l' },
- { -name => 'sdcard', -irq => 'l' },
- { -name => 'i2c', -irq => 'l' },
- { -name => 'esp', -irq => 'l' },
- { -name => 'abc', -irq => 'l' },
- { -name => 'abcmemmap', -xdev => 1 },
- );
|