Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116745
b: refs/heads/master
c: 6c86cb8
h: refs/heads/master
i:
  116743: 4d50a2a
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Oct 10, 2008
1 parent baa3056 commit f7ca2a7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1e22166c40a99fb25fa6ff4f711a3217d848dd85
refs/heads/master: 6c86cb8237bf08443806089130dc108051569a93
3 changes: 3 additions & 0 deletions trunk/arch/parisc/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,5 +290,8 @@ int main(void)
DEFINE(EXCDATA_IP, offsetof(struct exception_data, fault_ip));
DEFINE(EXCDATA_SPACE, offsetof(struct exception_data, fault_space));
DEFINE(EXCDATA_ADDR, offsetof(struct exception_data, fault_addr));
BLANK();
DEFINE(ASM_PDC_RESULT_SIZE, NUM_PDC_RESULT * sizeof(unsigned long));
BLANK();
return 0;
}
4 changes: 2 additions & 2 deletions trunk/arch/parisc/kernel/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
#include <asm/processor.h> /* for boot_cpu_data */

static DEFINE_SPINLOCK(pdc_lock);
static unsigned long pdc_result[32] __attribute__ ((aligned (8)));
static unsigned long pdc_result2[32] __attribute__ ((aligned (8)));
extern unsigned long pdc_result[NUM_PDC_RESULT];
extern unsigned long pdc_result2[NUM_PDC_RESULT];

#ifdef CONFIG_64BIT
#define WIDE_FIRMWARE 0x1
Expand Down
12 changes: 12 additions & 0 deletions trunk/arch/parisc/kernel/real2.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@
*
*/

#include <asm/pdc.h>
#include <asm/psw.h>
#include <asm/assembly.h>
#include <asm/asm-offsets.h>

#include <linux/linkage.h>


.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 real32_stack
.export real64_stack
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/asm-parisc/pdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@
#define BOOT_CONSOLE_SPA_OFFSET 0x3c4
#define BOOT_CONSOLE_PATH_OFFSET 0x3a8

/* size of the pdc_result buffer for firmware.c */
#define NUM_PDC_RESULT 32

#if !defined(__ASSEMBLY__)
#ifdef __KERNEL__

Expand Down

0 comments on commit f7ca2a7

Please sign in to comment.