Re: cpu_rnd_messybits() for hppa

2020-06-12 Thread Theo de Raadt
I'm running this, seems to be working correctly. Christian Weisgerber wrote: > Here's a cpu_rnd_messybits() for hppa. This just steals from > itmr_get_timecount(). If we want to use the mfctl() macro, we need > to include into cpu.h. I don't know if we want > tha

cpu_rnd_messybits() for hppa

2020-06-12 Thread Christian Weisgerber
Here's a cpu_rnd_messybits() for hppa. This just steals from itmr_get_timecount(). If we want to use the mfctl() macro, we need to include into cpu.h. I don't know if we want that, so I went with the explicit asm() instead. Completely untested. Index: sys/arch/hppa/hppa/machdep.c