Skip to contentSkip to conversation

pflash_register question

Qemu-devel Armin 2 participants 3 messages Nov 25, 2007

lore
Share & tools
lore

Armin

author
#0 lore raw

Hello,

I see there are two instances of pflash_register() , one for pflash_cfi01.c and the other in pflash_cfi02.c. In order to get the proper one, I assume we use link order?

- Armin

#1 lore raw
Quoted 3 lines · Armin

I see there are two instances of pflash_register() , one for pflash_cfi01.c and the other in pflash_cfi02.c. In order to get the proper one, I assume we use link order?

No, ofcourse we will need to rename one of them. To be honest, I missed the fact that the functions collide when I merged pflash_cfi01.c.
Regards

author
#2 lore raw
Quoted 11 lines · andrzej zaborowski
Quoted 4 lines · Armin

I see there are two instances of pflash_register() , one for pflash_cfi01.c and the other in pflash_cfi02.c. In order to get the proper one, I assume we use link order?

No, ofcourse we will need to rename one of them. To be honest, I missed the fact that the functions collide when I merged pflash_cfi01.c.
Regards

Many thanks