SVC_Table.S 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. All rights reserved.
  10. ; *
  11. ; * SPDX-License-Identifier: Apache-2.0
  12. ; *
  13. ; * Licensed under the Apache License, Version 2.0 (the License); you may
  14. ; * not use this file except in compliance with the License.
  15. ; * You may obtain a copy of the License at
  16. ; *
  17. ; * www.apache.org/licenses/LICENSE-2.0
  18. ; *
  19. ; * Unless required by applicable law or agreed to in writing, software
  20. ; * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  21. ; * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. ; * See the License for the specific language governing permissions and
  23. ; * limitations under the License.
  24. ; *---------------------------------------------------------------------------*/
  25. .section ".svc_table"
  26. .global SVC_Table
  27. SVC_Table:
  28. /* Insert user SVC functions here. SVC 0 used by RTL Kernel. */
  29. # .long __SVC_1 /* user SVC function */
  30. SVC_End:
  31. .global SVC_Count
  32. SVC_Count:
  33. .long (SVC_End-SVC_Table)/4
  34. .end
  35. /*----------------------------------------------------------------------------
  36. * end of file
  37. *---------------------------------------------------------------------------*/