Mercurial > ecos-v2_0-branch
comparison packages/infra/current/src/buffer.cxx @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | 02ea4320376c |
| children | f62680ef1804 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 743 // HAL_RESTORE_INTERRUPTS(old_ints); | 743 // HAL_RESTORE_INTERRUPTS(old_ints); |
| 744 }; | 744 }; |
| 745 | 745 |
| 746 extern "C" | 746 extern "C" |
| 747 { | 747 { |
| 748 extern unsigned long CYG_LABEL_NAME(stext); | 748 extern unsigned long _stext; |
| 749 extern unsigned long CYG_LABEL_NAME(etext); | 749 extern unsigned long _etext; |
| 750 | 750 |
| 751 unsigned long stext_addr = (unsigned long)&CYG_LABEL_NAME(stext); | 751 unsigned long stext_addr = (unsigned long)&_stext; |
| 752 unsigned long etext_addr = (unsigned long)&CYG_LABEL_NAME(etext); | 752 unsigned long etext_addr = (unsigned long)&_etext; |
| 753 }; | 753 }; |
| 754 | 754 |
| 755 externC cyg_bool cyg_check_data_ptr(void *ptr) | 755 externC cyg_bool cyg_check_data_ptr(void *ptr) |
| 756 { | 756 { |
| 757 unsigned long p = (unsigned long)ptr; | 757 unsigned long p = (unsigned long)ptr; |
