Wyatt Hepler | 0fbcdfc | 2020-01-02 07:53:39 -0800 | [diff] [blame] | 1 | # Copyright 2020 The Pigweed Authors |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | # use this file except in compliance with the License. You may obtain a copy of |
| 5 | # the License at |
| 6 | # |
| 7 | # https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations under |
| 13 | # the License. |
| 14 | |
Wyatt Hepler | 0a6f763 | 2020-10-29 09:08:19 -0700 | [diff] [blame] | 15 | include($ENV{PW_ROOT}/pw_build/pigweed.cmake) |
| 16 | |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 17 | pw_add_facade(pw_cpu_exception.entry |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 18 | HEADERS |
| 19 | public/pw_cpu_exception/entry.h |
| 20 | public/pw_cpu_exception/state.h |
Ewout van Bekkum | 8806040 | 2022-01-20 08:33:49 -0800 | [diff] [blame] | 21 | PUBLIC_INCLUDES |
| 22 | public |
| 23 | PUBLIC_DEPS |
| 24 | pw_preprocessor |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 25 | ) |
| 26 | |
| 27 | pw_add_facade(pw_cpu_exception.handler |
Ewout van Bekkum | 8806040 | 2022-01-20 08:33:49 -0800 | [diff] [blame] | 28 | HEADERS |
| 29 | public/pw_cpu_exception/handler.h |
| 30 | PUBLIC_INCLUDES |
| 31 | public |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 32 | PUBLIC_DEPS |
| 33 | pw_cpu_exception.entry |
| 34 | pw_preprocessor |
| 35 | SOURCES |
| 36 | start_exception_handler.cc |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 37 | ) |
| 38 | |
| 39 | pw_add_facade(pw_cpu_exception.support |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 40 | HEADERS |
| 41 | public/pw_cpu_exception/support.h |
Ewout van Bekkum | 8806040 | 2022-01-20 08:33:49 -0800 | [diff] [blame] | 42 | PUBLIC_INCLUDES |
| 43 | public |
| 44 | PUBLIC_DEPS |
| 45 | pw_cpu_exception.entry |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 46 | ) |
| 47 | |
| 48 | pw_add_module_library(pw_cpu_exception.basic_handler |
Ewout van Bekkum | 5401d40 | 2021-12-14 11:28:11 -0800 | [diff] [blame] | 49 | SOURCES |
| 50 | basic_handler.cc |
Ewout van Bekkum | 8806040 | 2022-01-20 08:33:49 -0800 | [diff] [blame] | 51 | PRIVATE_DEPS |
| 52 | pw_cpu_exception.entry |
| 53 | pw_log |
Wyatt Hepler | 0fbcdfc | 2020-01-02 07:53:39 -0800 | [diff] [blame] | 54 | ) |