Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d3185e60
Commit
d3185e60
authored
Nov 21, 2002
by
Jeff Dike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the mode mmu.h and mode.h headers.
parent
bc758b0a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
119 additions
and
0 deletions
+119
-0
arch/um/kernel/skas/include/mmu.h
arch/um/kernel/skas/include/mmu.h
+27
-0
arch/um/kernel/skas/include/mode.h
arch/um/kernel/skas/include/mode.h
+34
-0
arch/um/kernel/tt/include/mmu.h
arch/um/kernel/tt/include/mmu.h
+23
-0
arch/um/kernel/tt/include/mode.h
arch/um/kernel/tt/include/mode.h
+35
-0
No files found.
arch/um/kernel/skas/include/mmu.h
0 → 100644
View file @
d3185e60
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#ifndef __SKAS_MMU_H
#define __SKAS_MMU_H
#include "linux/list.h"
#include "linux/spinlock.h"
struct
mmu_context_skas
{
int
mm_fd
;
};
#endif
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
arch/um/kernel/skas/include/mode.h
0 → 100644
View file @
d3185e60
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#ifndef __MODE_SKAS_H__
#define __MODE_SKAS_H__
extern
unsigned
long
exec_regs
[];
extern
unsigned
long
exec_fp_regs
[];
extern
unsigned
long
exec_fpx_regs
[];
extern
int
have_fpx_regs
;
extern
void
user_time_init_skas
(
void
);
extern
int
copy_sc_from_user_skas
(
struct
uml_pt_regs
*
regs
,
void
*
from_ptr
);
extern
int
copy_sc_to_user_skas
(
void
*
to_ptr
,
struct
uml_pt_regs
*
regs
,
unsigned
long
fault_addr
,
int
fault_type
);
extern
void
sig_handler_common_skas
(
int
sig
,
struct
sigcontext
*
sc
);
extern
void
halt_skas
(
void
);
extern
void
reboot_skas
(
void
);
extern
void
kill_off_processes_skas
(
void
);
#endif
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
arch/um/kernel/tt/include/mmu.h
0 → 100644
View file @
d3185e60
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#ifndef __TT_MMU_H
#define __TT_MMU_H
struct
mmu_context_tt
{
};
#endif
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
arch/um/kernel/tt/include/mode.h
0 → 100644
View file @
d3185e60
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#ifndef __MODE_TT_H__
#define __MODE_TT_H__
#include "sysdep/ptrace.h"
extern
int
tracing_pid
;
extern
int
tracer
(
int
(
*
init_proc
)(
void
*
),
void
*
sp
);
extern
void
user_time_init_tt
(
void
);
extern
int
copy_sc_from_user_tt
(
void
*
to_ptr
,
void
*
from_ptr
,
void
*
data
);
extern
int
copy_sc_to_user_tt
(
void
*
to_ptr
,
void
*
from_ptr
,
void
*
data
);
extern
void
sig_handler_common_tt
(
int
sig
,
struct
sigcontext
*
sc
);
extern
void
syscall_handler_tt
(
int
sig
,
struct
uml_pt_regs
*
regs
);
extern
void
reboot_tt
(
void
);
extern
void
halt_tt
(
void
);
extern
int
is_tracer_winch
(
int
pid
,
int
fd
,
void
*
data
);
extern
void
kill_off_processes_tt
(
void
);
#endif
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
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