Harvard-PRINCESS / Guppy

A very adaptable fish.
Other
1 stars 3 forks source link

why doesn't ARM turn off interrupts during boot? child of #33 #39

Open marikgoldstein opened 7 years ago

penlu commented 7 years ago

ARM interrupts are presumably off during boot (assuming GIC starts out uninitialized). They are enabled early in CPU driver setup at this point. The definition of gic_init may be found here.

It should be safe to enable interrupts at that time because the CPU driver was loaded by earlier stages and the exception vector has already been installed previously. The installer code is here and the installed vector is here.

If that addresses the question please close ticket---but I might be missing something!