Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6c86cb82
Commit
6c86cb82
authored
Jul 28, 2008
by
Kyle McMartin
Committed by
Kyle McMartin
Oct 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: move pdc_result to real2.S
parent
1e22166c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
arch/parisc/kernel/asm-offsets.c
arch/parisc/kernel/asm-offsets.c
+3
-0
arch/parisc/kernel/firmware.c
arch/parisc/kernel/firmware.c
+2
-2
arch/parisc/kernel/real2.S
arch/parisc/kernel/real2.S
+12
-0
include/asm-parisc/pdc.h
include/asm-parisc/pdc.h
+3
-0
No files found.
arch/parisc/kernel/asm-offsets.c
View file @
6c86cb82
...
...
@@ -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
;
}
arch/parisc/kernel/firmware.c
View file @
6c86cb82
...
...
@@ -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
...
...
arch/parisc/kernel/real2.S
View file @
6c86cb82
...
...
@@ -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
...
...
include/asm-parisc/pdc.h
View file @
6c86cb82
...
...
@@ -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__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment