mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-04-03 17:17:10 +02:00
kernel: always pull the INTC driver
Some very trivial applications might not require its symbols explicitly, thus the need to force a dependency (otherwise OS interrupts such as the KEYSC are not disabled and crash the handler very quickly).
This commit is contained in:
parent
2c2d1513f9
commit
ad6c108dfc
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
|||
|
||||
static void kinit_cpu(void);
|
||||
|
||||
/* Forcefully pull in the INTC driver which gint cannot run without */
|
||||
extern gint_driver_t drv_intc;
|
||||
GUNUSED gint_driver_t *gint_required_intc = &drv_intc;
|
||||
|
||||
//---
|
||||
// Context for the CPU and registers not directly managed by a driver
|
||||
//---
|
||||
|
|
Loading…
Add table
Reference in a new issue