summaryrefslogtreecommitdiff
path: root/firmware/src/os/main.c
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-01 21:45:43 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-01 21:45:43 +0000
commitbfff30bfec74c508e3f8904f8732799f30e6829d (patch)
treec104e38c808859adf0c7edcfd76873ce07b75f3b /firmware/src/os/main.c
parent2b55faec5a6e3a4d2130ad341f01cd55116b64c3 (diff)
- add proper system interrupt (shared) demultiplexing code
- port debug unit, watchdog timer, periodic interval timer to system_irq.c git-svn-id: https://svn.openpcd.org:2342/trunk@252 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/os/main.c')
-rw-r--r--firmware/src/os/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/src/os/main.c b/firmware/src/os/main.c
index b9ed4dc..f39234b 100644
--- a/firmware/src/os/main.c
+++ b/firmware/src/os/main.c
@@ -41,11 +41,12 @@ int main(void)
{
/* initialize LED and debug unit */
led_init();
+ sysirq_init();
AT91F_DBGU_Init();
AT91F_PIOA_CfgPMC();
-
wdt_init();
+ pit_init();
/* initialize USB */
req_ctx_init();
personal git repositories of Harald Welte. Your mileage may vary