• Michal Simek's avatar
    microblaze: Fix microblaze init vectors · 626afa35
    Michal Simek authored
    
    
    Microblaze vector table stores several vectors (reset, user exception,
    interrupt, debug exception and hardware exception).
    All these functions can be below address 0x10000. If they are, wrong
    vector table is genarated because jump is not setup from two instructions
    (imm upper 16bit and brai lower 16bit).
    Adding specific offset prevent problem if address is below 0x10000.
    For this case only brai instruction is used.
    Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
    626afa35
entry.S 29.8 KB