Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bzero.S and assym.h (Re: CVS commit: syssrc/sys/lib/libkern/arch/powerpc)



|  If powerpc/bzero.S is the only asm source which requires assym.h,
|  my patch would be OK, but I think this should be MI and
|  sys/lib/libkern/Makefile.inc should have this dependency.

  It's only needed because bzero needs to know the cache line
size for optimized bzeroing. As this is a PPC specificum, I'm
not sure it is worth the bother to invent a MI mechanism for it.

|  for kernel, but how about libkern for standalone programs?
|  If libkern for SA programs also requires CACHELINESIZE,
|  we have to prepare another method..

  I wasn't aware that libkern is (can be) used outside of kernel
source. Is it? If so, then yes, we'd need to think about some
way to get at that number.

        mjl



Home | Main Index | Thread Index | Old Index