swap.c (552c69b36ebd966186573b9c7a286b390935cce1) swap.c (f0553ca9ceb5ff403623e31b7501d33ec84ce1fa)
1// SPDX-License-Identifier: ISC
1/*
2 * Copyright (c) 2015-2016 Qualcomm Atheros, Inc.
2/*
3 * Copyright (c) 2015-2016 Qualcomm Atheros, Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
16
17/* This file has implementation for code swap logic. With code swap feature,
18 * target can run the fw binary with even smaller IRAM size by using host
19 * memory to store some of the code segments.
20 */
21
22#include "core.h"

--- 186 unchanged lines hidden ---
4 */
5
6/* This file has implementation for code swap logic. With code swap feature,
7 * target can run the fw binary with even smaller IRAM size by using host
8 * memory to store some of the code segments.
9 */
10
11#include "core.h"

--- 186 unchanged lines hidden ---