|
From: Julian S. <js...@ac...> - 2005-06-20 17:55:55
|
Paul
Hi. Lots of ppc32 stuff got folded into the 3 line today.
My apologies for how long it all took. Thanks for providing
2.4.0-ppc as a base, and for your patience. I'm sure a ppc build
right now won't do anything much, but all the infrastructure is
in place and I hope it will be up to flying speed pretty shortly.
-----
Some questions (there may be many more):
- in m_main.c, there's a bunch of stuff for finding (the?) vdso
address and various address-space-mashing stuff as a result.
Is this needed? Neither the x86-linux nor amd64-linux code
has anything similar, and it seems to work fine on all tested
x86-linux and amd64-linux distros.
- I see that you also extract both the cache_line_size and the
hardware_capabilities from the aux vector passed to V, and
pass those onwards to the client.
* cache_line_size is needed for implementing dcbz I see.
Is there a reliable way to get that same info without
asking the kernel? eg, on x86/amd64 one can do "cpuid"
in userspace and get all that stuff. Does ppc have something
similar?
* hardware_capabilities. Hmm. What's that used for? Is there
any significance to the fact that neither the x86 nor amd64
code read that auxv entry?
Thanks
J
|