Date: Tue, 17 Oct 1995 00:11:44 -0700 (PDT) From: Julian Elischer <julian@ref.tfs.com> To: hackers@freeBSD.org Subject: netisr code.. Message-ID: <199510170711.AAA17450@ref.tfs.com>
next in thread | raw e-mail | index | archive | help
Why is it done like this?
swi_net:
MCOUNT
bsfl _netisr,%eax
je swi_net_done
swi_net_more:
btrl %eax,_netisr
jnc swi_net_next <------should never happen
call *_netisrs(,%eax,4)
swi_net_next:
bsfl _netisr,%eax
jne swi_net_more
swi_net_done:
ret
casual inspection suggests that the following would be as good..
swi_net:
MCOUNT
swi_net_next:
bsfl _netisr,%eax
je swi_net_done
btrl %eax,_netisr
call *_netisrs(,%eax,4)
jmp swi_net_next
swi_net_done:
ret
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510170711.AAA17450>
