SVC_Table.s 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ;/*----------------------------------------------------------------------------
  2. ; * CMSIS-RTOS - RTX
  3. ; *----------------------------------------------------------------------------
  4. ; * Name: SVC_TABLE.S
  5. ; * Purpose: Pre-defined SVC Table for Cortex-M
  6. ; * Rev.: V4.70
  7. ; *----------------------------------------------------------------------------
  8. ; *
  9. ; * Copyright (c) 1999-2009 KEIL, 2009-2017 ARM Germany GmbH
  10. ; * All rights reserved.
  11. ; *
  12. ; * SPDX-License-Identifier: Apache-2.0
  13. ; *
  14. ; * Licensed under the Apache License, Version 2.0 (the License); you may
  15. ; * not use this file except in compliance with the License.
  16. ; * You may obtain a copy of the License at
  17. ; *
  18. ; * www.apache.org/licenses/LICENSE-2.0
  19. ; *
  20. ; * Unless required by applicable law or agreed to in writing, software
  21. ; * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  22. ; * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. ; * See the License for the specific language governing permissions and
  24. ; * limitations under the License.
  25. ; *---------------------------------------------------------------------------*/
  26. NAME SVC_TABLE
  27. SECTION .text:CONST (2)
  28. PUBLIC SVC_Count
  29. SVC_Cnt EQU (SVC_End-SVC_Table)/4
  30. SVC_Count DCD SVC_Cnt
  31. ; Import user SVC functions here.
  32. ; IMPORT __SVC_1
  33. PUBLIC SVC_Table
  34. SVC_Table
  35. ; Insert user SVC functions here. SVC 0 used by RTL Kernel.
  36. ; DCD __SVC_1 ; user SVC function
  37. SVC_End
  38. END
  39. /*----------------------------------------------------------------------------
  40. * end of file
  41. *---------------------------------------------------------------------------*/