Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 09:59:14 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        Jon Brawn <jon@brawn.org>, freebsd-arm@freebsd.org, FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: INTRNG
Message-ID:  <177301ca-b1aa-da15-4554-32a4bed9b226@madpilot.net>
In-Reply-To: <401A33BD-F3AE-4139-9D47-6F85C8333022@brawn.org>
References:  <401A33BD-F3AE-4139-9D47-6F85C8333022@brawn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/23/18 07:25, Jon Brawn wrote:
> Wotcha Gang!
> 
> In my travels through the arm64 GENERIC config file I came across the option ‘INTRNG’, and wondered what it was:
> 
> INTeRrupt Next Generation?
> INTeger Random Number Generator?
> IN TRaiNinG?
> INTerrupt Random Number Generator?
> INdependent TRaiNinG?
> 
> So, please put me out of my misery, what does INTRNG stand for, and what are its implications when selected vs not selected?
> 

A quick grep in src/sys gave me this:

MALLOC_DEFINE(M_INTRNG, "intr", "intr interrupt handling");

Also:

arm/arm/machdep.c:#if __ARM_ARCH >= 6 && !defined(INTRNG)
arm/arm/machdep.c:#error armv6 requires INTRNG

So it's about interrupts and mandatory for arm processors, I suspect
it's and arm (and mips too, since I found grep hits there too) specific
interrupts handling method.

this looks like the original RFC for this code:

https://lists.freebsd.org/pipermail/freebsd-arm/2014-April/007915.html

-- 
Guido Falsi <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?177301ca-b1aa-da15-4554-32a4bed9b226>