Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-os/features/FEATURE_UVISOR/includes/uvisor/api/inc/disabled.h@3:6fe17b8a6d62, 2021-03-09 (annotated)
- Committer:
- boro
- Date:
- Tue Mar 09 13:10:40 2021 +0000
- Revision:
- 3:6fe17b8a6d62
- Parent:
- 0:4beb2ea291ec
SDBlockDevice added
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
boro | 0:4beb2ea291ec | 1 | /* |
boro | 0:4beb2ea291ec | 2 | * Copyright (c) 2016, ARM Limited, All Rights Reserved |
boro | 0:4beb2ea291ec | 3 | * SPDX-License-Identifier: Apache-2.0 |
boro | 0:4beb2ea291ec | 4 | * |
boro | 0:4beb2ea291ec | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
boro | 0:4beb2ea291ec | 6 | * not use this file except in compliance with the License. |
boro | 0:4beb2ea291ec | 7 | * You may obtain a copy of the License at |
boro | 0:4beb2ea291ec | 8 | * |
boro | 0:4beb2ea291ec | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
boro | 0:4beb2ea291ec | 10 | * |
boro | 0:4beb2ea291ec | 11 | * Unless required by applicable law or agreed to in writing, software |
boro | 0:4beb2ea291ec | 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
boro | 0:4beb2ea291ec | 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
boro | 0:4beb2ea291ec | 14 | * See the License for the specific language governing permissions and |
boro | 0:4beb2ea291ec | 15 | * limitations under the License. |
boro | 0:4beb2ea291ec | 16 | */ |
boro | 0:4beb2ea291ec | 17 | #ifndef __UVISOR_API_DISABLED_H__ |
boro | 0:4beb2ea291ec | 18 | #define __UVISOR_API_DISABLED_H__ |
boro | 0:4beb2ea291ec | 19 | |
boro | 0:4beb2ea291ec | 20 | #include "api/inc/uvisor_exports.h" |
boro | 0:4beb2ea291ec | 21 | #include <stdint.h> |
boro | 0:4beb2ea291ec | 22 | |
boro | 0:4beb2ea291ec | 23 | UVISOR_EXTERN void uvisor_disabled_switch_in(const uint32_t *dst_box_cfgtbl_ptr); |
boro | 0:4beb2ea291ec | 24 | UVISOR_EXTERN void uvisor_disabled_switch_out(void); |
boro | 0:4beb2ea291ec | 25 | |
boro | 0:4beb2ea291ec | 26 | /* The host OS can override the implementations of these functions in case a |
boro | 0:4beb2ea291ec | 27 | * different handling of IRQs is required when uVisor is disabled. */ |
boro | 0:4beb2ea291ec | 28 | UVISOR_EXTERN void uvisor_disabled_set_vector(uint32_t irqn, uint32_t vector); |
boro | 0:4beb2ea291ec | 29 | UVISOR_EXTERN uint32_t uvisor_disabled_get_vector(uint32_t irqn); |
boro | 0:4beb2ea291ec | 30 | |
boro | 0:4beb2ea291ec | 31 | #endif /* __UVISOR_API_DISABLED_H__ */ |