| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> |
|---|
| 3 | 4 | * Copyright (C) 2008-2009 PetaLogix |
|---|
| 4 | 5 | * Copyright (C) 2006 Atmark Techno, Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 7 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 8 | | - * for more details. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #ifndef _ASM_MICROBLAZE_PROCESSOR_H |
|---|
| .. | .. |
|---|
| 44 | 41 | * physical memory. thus, we set TASK_SIZE == amount of total memory. |
|---|
| 45 | 42 | */ |
|---|
| 46 | 43 | # define TASK_SIZE (0x81000000 - 0x80000000) |
|---|
| 47 | | - |
|---|
| 48 | | -/* |
|---|
| 49 | | - * Default implementation of macro that returns current |
|---|
| 50 | | - * instruction pointer ("program counter"). |
|---|
| 51 | | - */ |
|---|
| 52 | | -# define current_text_addr() ({ __label__ _l; _l: &&_l; }) |
|---|
| 53 | 44 | |
|---|
| 54 | 45 | /* |
|---|
| 55 | 46 | * This decides where the kernel will search for a free chunk of vm |
|---|
| .. | .. |
|---|
| 91 | 82 | # define THREAD_KSP 0 |
|---|
| 92 | 83 | |
|---|
| 93 | 84 | # ifndef __ASSEMBLY__ |
|---|
| 94 | | - |
|---|
| 95 | | -/* |
|---|
| 96 | | - * Default implementation of macro that returns current |
|---|
| 97 | | - * instruction pointer ("program counter"). |
|---|
| 98 | | - */ |
|---|
| 99 | | -# define current_text_addr() ({ __label__ _l; _l: &&_l; }) |
|---|
| 100 | 85 | |
|---|
| 101 | 86 | /* If you change this, you must change the associated assembly-languages |
|---|
| 102 | 87 | * constants defined below, THREAD_*. |
|---|