CONFIG_INTRHOOK(9): Port to RTEMS

Some device drivers (e.g. MMC) need a complex intialization with working
callouts.  Remove the dummy CONFIG_INTRHOOK() implementation and replace
it with the real one from FreeBSD.  Make sure TIMEOUT(9) services work
at this point.

Update #3525.
This commit is contained in:
Sebastian Huber
2018-09-25 09:27:50 +02:00
parent 6c51e62964
commit b42dea9e51
5 changed files with 297 additions and 61 deletions

View File

@@ -250,7 +250,6 @@ class rtems(builder.Module):
'rtems/rtems-kernel-bus-root.c',
'rtems/rtems-kernel-cam.c',
'rtems/rtems-kernel-chunk.c',
'rtems/rtems-kernel-configintrhook.c',
'rtems/rtems-kernel-delay.c',
'rtems/rtems-kernel-epoch.c',
'rtems/rtems-kernel-get-file.c',
@@ -536,6 +535,7 @@ class base(builder.Module):
'sys/kern/kern_time.c',
'sys/kern/kern_timeout.c',
'sys/kern/kern_uuid.c',
'sys/kern/subr_autoconf.c',
'sys/kern/subr_blist.c',
'sys/kern/subr_bufring.c',
'sys/kern/subr_bus.c',