Mercurial > ecos
comparison packages/hal/sh/cq7708/current/include/plf_intr.h @ 151:25e238959bae
Merge from eCos master repository on 2001-02-12-23:44:24-GMT
| author | jlarmour |
|---|---|
| date | Tue, 13 Feb 2001 01:23:16 +0000 |
| parents | d2f49caf9e38 |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 150:f0e3fb000de8 | 151:25e238959bae |
|---|---|
| 49 // | 49 // |
| 50 //========================================================================== | 50 //========================================================================== |
| 51 | 51 |
| 52 #include <pkgconf/hal.h> | 52 #include <pkgconf/hal.h> |
| 53 | 53 |
| 54 //-------------------------------------------------------------------------- | |
| 55 | 54 |
| 56 // No platform specific stuff at present. | 55 //---------------------------------------------------------------------------- |
| 56 // Reset. | |
| 57 // Block interrupts and cause an exception. This forces a reset. | |
| 58 #define HAL_PLATFORM_RESET() \ | |
| 59 asm volatile ("ldc %0,sr;trapa #0x00;" : : "r" (CYGARC_REG_SR_BL)) | |
| 60 | |
| 61 #define HAL_PLATFORM_RESET_ENTRY 0xa0000000 | |
| 57 | 62 |
| 58 //-------------------------------------------------------------------------- | 63 //-------------------------------------------------------------------------- |
| 59 #endif // ifndef CYGONCE_HAL_PLF_INTR_H | 64 #endif // ifndef CYGONCE_HAL_PLF_INTR_H |
| 60 // End of plf_intr.h | 65 // End of plf_intr.h |
