mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-22 22:11:38 +08:00
parisc: move pdc_result to real2.S
This commit is contained in:
parent
1e22166c40
commit
6c86cb8237
@ -290,5 +290,8 @@ int main(void)
|
|||||||
DEFINE(EXCDATA_IP, offsetof(struct exception_data, fault_ip));
|
DEFINE(EXCDATA_IP, offsetof(struct exception_data, fault_ip));
|
||||||
DEFINE(EXCDATA_SPACE, offsetof(struct exception_data, fault_space));
|
DEFINE(EXCDATA_SPACE, offsetof(struct exception_data, fault_space));
|
||||||
DEFINE(EXCDATA_ADDR, offsetof(struct exception_data, fault_addr));
|
DEFINE(EXCDATA_ADDR, offsetof(struct exception_data, fault_addr));
|
||||||
|
BLANK();
|
||||||
|
DEFINE(ASM_PDC_RESULT_SIZE, NUM_PDC_RESULT * sizeof(unsigned long));
|
||||||
|
BLANK();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -71,8 +71,8 @@
|
|||||||
#include <asm/processor.h> /* for boot_cpu_data */
|
#include <asm/processor.h> /* for boot_cpu_data */
|
||||||
|
|
||||||
static DEFINE_SPINLOCK(pdc_lock);
|
static DEFINE_SPINLOCK(pdc_lock);
|
||||||
static unsigned long pdc_result[32] __attribute__ ((aligned (8)));
|
extern unsigned long pdc_result[NUM_PDC_RESULT];
|
||||||
static unsigned long pdc_result2[32] __attribute__ ((aligned (8)));
|
extern unsigned long pdc_result2[NUM_PDC_RESULT];
|
||||||
|
|
||||||
#ifdef CONFIG_64BIT
|
#ifdef CONFIG_64BIT
|
||||||
#define WIDE_FIRMWARE 0x1
|
#define WIDE_FIRMWARE 0x1
|
||||||
|
@ -8,12 +8,24 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <asm/pdc.h>
|
||||||
#include <asm/psw.h>
|
#include <asm/psw.h>
|
||||||
#include <asm/assembly.h>
|
#include <asm/assembly.h>
|
||||||
|
#include <asm/asm-offsets.h>
|
||||||
|
|
||||||
#include <linux/linkage.h>
|
#include <linux/linkage.h>
|
||||||
|
|
||||||
|
|
||||||
.section .bss
|
.section .bss
|
||||||
|
|
||||||
|
.export pdc_result
|
||||||
|
.export pdc_result2
|
||||||
|
.align 8
|
||||||
|
pdc_result:
|
||||||
|
.block ASM_PDC_RESULT_SIZE
|
||||||
|
pdc_result2:
|
||||||
|
.block ASM_PDC_RESULT_SIZE
|
||||||
|
|
||||||
.export real_stack
|
.export real_stack
|
||||||
.export real32_stack
|
.export real32_stack
|
||||||
.export real64_stack
|
.export real64_stack
|
||||||
|
@ -332,6 +332,9 @@
|
|||||||
#define BOOT_CONSOLE_SPA_OFFSET 0x3c4
|
#define BOOT_CONSOLE_SPA_OFFSET 0x3c4
|
||||||
#define BOOT_CONSOLE_PATH_OFFSET 0x3a8
|
#define BOOT_CONSOLE_PATH_OFFSET 0x3a8
|
||||||
|
|
||||||
|
/* size of the pdc_result buffer for firmware.c */
|
||||||
|
#define NUM_PDC_RESULT 32
|
||||||
|
|
||||||
#if !defined(__ASSEMBLY__)
|
#if !defined(__ASSEMBLY__)
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user