Mercurial > ecos
annotate packages/hal/mips/jmr3904/current/include/plf_stub.h @ 62:7a6ac9edc838 ecos-sw-2000-01-24
Merge from eCos master repository on 2000-01-24-19:43:49-GMT
| author | jlarmour |
|---|---|
| date | Mon, 24 Jan 2000 21:43:17 +0000 |
| parents | 443894e2e912 |
| children | c38311975d4f |
| rev | line source |
|---|---|
| 2 | 1 #ifndef CYGONCE_HAL_PLF_STUB_H |
| 2 #define CYGONCE_HAL_PLF_STUB_H | |
| 3 | |
| 4 //============================================================================= | |
| 5 // | |
| 6 // plf_stub.h | |
| 7 // | |
| 8 // Platform header for GDB stub support. | |
| 9 // | |
| 10 //============================================================================= | |
| 11 //####COPYRIGHTBEGIN#### | |
| 12 // | |
| 13 // ------------------------------------------- | |
| 14 // The contents of this file are subject to the Cygnus eCos Public License | |
| 15 // Version 1.0 (the "License"); you may not use this file except in | |
| 16 // compliance with the License. You may obtain a copy of the License at | |
| 17 // http://sourceware.cygnus.com/ecos | |
| 18 // | |
| 19 // Software distributed under the License is distributed on an "AS IS" | |
| 20 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 21 // License for the specific language governing rights and limitations under | |
| 22 // the License. | |
| 23 // | |
| 24 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 25 // September 30, 1998. | |
| 26 // | |
| 27 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 28 // by Cygnus are Copyright (C) 1998, 1999 Cygnus Solutions. | |
| 29 // All Rights Reserved. | |
| 30 // ------------------------------------------- | |
| 31 // | |
| 32 //####COPYRIGHTEND#### | |
| 33 //============================================================================= | |
| 34 //#####DESCRIPTIONBEGIN#### | |
| 35 // | |
| 36 // Author(s): jskov | |
| 37 // Contributors:jskov | |
| 38 // Date: 1999-02-12 | |
| 39 // Purpose: Platform HAL stub support for MIPS/JMR3904 boards. | |
| 40 // Usage: #include <cyg/hal/plf_stub.h> | |
| 41 // | |
| 42 //####DESCRIPTIONEND#### | |
| 43 // | |
| 44 //============================================================================= | |
| 45 | |
| 46 #include <pkgconf/hal.h> | |
|
62
7a6ac9edc838
Merge from eCos master repository on 2000-01-24-19:43:49-GMT
jlarmour
parents:
2
diff
changeset
|
47 #include <pkgconf/hal_mips_tx39_jmr3904.h> |
| 2 | 48 |
| 49 #ifdef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | |
| 50 | |
| 51 #include <cyg/infra/cyg_type.h> // CYG_UNUSED_PARAM | |
| 52 | |
| 53 #include <cyg/hal/mips-stub.h> // architecture stub support | |
| 54 | |
| 55 //---------------------------------------------------------------------------- | |
| 56 // Define serial stuff. | |
| 57 extern void hal_jmr_init_serial( void ); | |
| 58 extern int hal_jmr_get_char( void ); | |
| 59 extern void hal_jmr_put_char( int c ); | |
| 60 | |
| 61 #define HAL_STUB_PLATFORM_INIT_SERIAL() hal_jmr_init_serial() | |
| 62 #define HAL_STUB_PLATFORM_GET_CHAR() hal_jmr_get_char() | |
| 63 #define HAL_STUB_PLATFORM_PUT_CHAR(c) hal_jmr_put_char((c)) | |
| 64 #define HAL_STUB_PLATFORM_SET_BAUD_RATE(baud) CYG_UNUSED_PARAM(int, (baud)) | |
| 65 #define HAL_STUB_PLATFORM_INTERRUPTIBLE 0 | |
| 66 #define HAL_STUB_PLATFORM_INIT_BREAK_IRQ() CYG_EMPTY_STATEMENT | |
| 67 | |
| 68 //---------------------------------------------------------------------------- | |
| 69 // Stub initializer. | |
| 70 #define HAL_STUB_PLATFORM_STUBS_INIT() CYG_EMPTY_STATEMENT | |
| 71 | |
| 72 //---------------------------------------------------------------------------- | |
| 73 // Reset. | |
| 74 #define HAL_STUB_PLATFORM_RESET() CYG_EMPTY_STATEMENT | |
| 75 | |
| 76 #endif // ifdef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | |
| 77 | |
| 78 //----------------------------------------------------------------------------- | |
| 79 #endif // CYGONCE_HAL_PLF_STUB_H | |
| 80 // End of plf_stub.h |
