Address error exception

Alexey S. Fadeyev alexey at vocord.com
Fri Apr 21 13:54:56 UTC 2000


Hello.
Can anyone suggest why RTEMS throw exception as soon as I put packet in
ether_input?
Target - mips64orionel
CPU    - p4650

/*
* Check our list of addresses, to see if the packet is for us.
*/
for (ia = in_ifaddr; ia; ia = ia->ia_next) {
    9f04b338: 3c069f07 lui $a2,0x9f07
    9f04b33c: 8cc63638 lw $a2,13880($a2)
    9f04b340: 8fa80028 lw $t0,40($sp)
    9f04b344: 10c00017 beqz $a2,9f04b3a4 <ip_input+0x348>
    9f04b348: 00c0182d 0xc0182d
    9f04b34c: 8d040010 lw $a0,16($t0)
#define satosin(sa) ((struct sockaddr_in *)(sa))

Cause Register
    00007810 i.e.  0111  1000  0(001  00)00  Exc Code equals 4 - Address
Error Exception
EPC
    9f04b34c

Regards
Alexey






More information about the users mailing list