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
627cef44
Commit
627cef44
authored
May 26, 2009
by
Michal Simek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze_mmu_v2: MMU asm offset update
Signed-off-by:
Michal Simek
<
monstr@monstr.eu
>
parent
45be7d46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
arch/microblaze/kernel/asm-offsets.c
arch/microblaze/kernel/asm-offsets.c
+16
-5
No files found.
arch/microblaze/kernel/asm-offsets.c
View file @
627cef44
/*
* Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2007-2009 PetaLogix
* Copyright (C) 2006 Atmark Techno, Inc.
*
...
...
@@ -68,16 +69,26 @@ int main(int argc, char *argv[])
/* struct task_struct */
DEFINE
(
TS_THREAD_INFO
,
offsetof
(
struct
task_struct
,
stack
));
#ifdef CONFIG_MMU
DEFINE
(
TASK_STATE
,
offsetof
(
struct
task_struct
,
state
));
DEFINE
(
TASK_FLAGS
,
offsetof
(
struct
task_struct
,
flags
));
DEFINE
(
TASK_PTRACE
,
offsetof
(
struct
task_struct
,
ptrace
));
DEFINE
(
TASK_BLOCKED
,
offsetof
(
struct
task_struct
,
blocked
));
DEFINE
(
TASK_MM
,
offsetof
(
struct
task_struct
,
mm
));
DEFINE
(
TASK_ACTIVE_MM
,
offsetof
(
struct
task_struct
,
active_mm
));
DEFINE
(
TASK_PID
,
offsetof
(
struct
task_struct
,
pid
));
DEFINE
(
TASK_THREAD
,
offsetof
(
struct
task_struct
,
thread
));
DEFINE
(
THREAD_KSP
,
offsetof
(
struct
thread_struct
,
ksp
));
BLANK
();
DEFINE
(
PGDIR
,
offsetof
(
struct
thread_struct
,
pgdir
));
BLANK
();
#endif
/* struct thread_info */
DEFINE
(
TI_TASK
,
offsetof
(
struct
thread_info
,
task
));
DEFINE
(
TI_EXEC_DOMAIN
,
offsetof
(
struct
thread_info
,
exec_domain
));
DEFINE
(
TI_FLAGS
,
offsetof
(
struct
thread_info
,
flags
));
DEFINE
(
TI_STATUS
,
offsetof
(
struct
thread_info
,
status
));
DEFINE
(
TI_CPU
,
offsetof
(
struct
thread_info
,
cpu
));
DEFINE
(
TI_PRE_COUNT
,
offsetof
(
struct
thread_info
,
preempt_count
));
DEFINE
(
TI_ADDR_LIMIT
,
offsetof
(
struct
thread_info
,
addr_limit
));
DEFINE
(
TI_RESTART_BLOCK
,
offsetof
(
struct
thread_info
,
restart_block
));
DEFINE
(
TI_CPU_CONTEXT
,
offsetof
(
struct
thread_info
,
cpu_context
));
BLANK
();
...
...
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