Skip to contentSkip to conversation

MIPS: question about start.S

U-Boot-Users wangjiankun820624 2 participants 2 messages May 13, 2008 – May 14, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

I want to know the function of the section following below in cpu\mips\start.S. Thank you!

RVECENT(romReserved,3)
RVECENT(romReserved,4)
RVECENT(romReserved,5)
RVECENT(romReserved,6)
RVECENT(romReserved,7)
RVECENT(romReserved,8)
RVECENT(romReserved,9)
RVECENT(romReserved,10)
RVECENT(romReserved,11)
RVECENT(romReserved,12)
RVECENT(romReserved,13)
RVECENT(romReserved,14)
RVECENT(romReserved,15)
RVECENT(romReserved,16)
RVECENT(romReserved,17)
RVECENT(romReserved,18)
RVECENT(romReserved,19)
RVECENT(romReserved,20)
RVECENT(romReserved,21)
RVECENT(romReserved,22)
RVECENT(romReserved,23)
RVECENT(romReserved,24)
RVECENT(romReserved,25)
RVECENT(romReserved,26)
RVECENT(romReserved,27)
RVECENT(romReserved,28)
RVECENT(romReserved,29)
RVECENT(romReserved,30)
RVECENT(romReserved,31)
RVECENT(romReserved,32)
RVECENT(romReserved,33)
RVECENT(romReserved,34)
RVECENT(romReserved,35)
RVECENT(romReserved,36)
RVECENT(romReserved,37)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080513/cb97c4aa/attachment.htm

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

2008/5/13 <[email protected]>:

Quoted 11 lines

I am sorry for my three times of posting the same question! It is the first
time for me to post question here, so I don't know some rules! Sorry!

It is the define of RVECENT whiche has two arguments f and n, but only f is used in the code, n is not used.
I want to know the function of the argument n, since it is not used in the code.
Thank you very much!
#define RVECENT(f,n) \
b f; nop

You answered your own question, it has no function.

Assuming each jump vector is x words long, it could be used to generate an address to locate the code in the case where you didn't want to explicitly fill each jump vector.

Signature · 2 lines
Hardware, n.:
 The parts of a computer system that can be kicked.