Skip to contentSkip to conversation

Patch: Sparc system support

Qemu-devel Blue Swirl 2 participants 2 messages Oct 2, 2004

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Most of your changes are ok, except for the DHCP one. It's idea is to respond to BOOTP clients which use no extensions added by DHCP.

The magic address-banging loader is a quick & dirty hack anyway, I'm thinking of a better way to initialise Proll and implement kernel loading.

What are you planning for env->access_type? Sparc MMU needs to know whether the memory access is for data or instructions, did the access come from user or kernel code and is it read or write.

I'll send updates etc. soonish.

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

#1 lore raw
Quoted 3 lines · Blue Swirl

Most of your changes are ok, except for the DHCP one. It's idea is to respond to BOOTP clients which use no extensions added by DHCP.

The magic address-banging loader is a quick & dirty hack anyway, I'm thinking of a better way to initialise Proll and implement kernel loading.

OK. So you mean I must reverse your patch in bootp.c or implement a correct bootp server ?

Quoted 1 line

What are you planning for env->access_type? Sparc MMU needs to know whether the memory access is for data or instructions, did the access come from user or kernel code and is it read or write.

rw == 2 in cpu_handle_mmu_fault() will mean 'code access'. I made the patch in my repository for i386 and PowerPC, but I need to test it more before commiting.

Fabrice.