-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 9411 b: refs/heads/master c: ecba97d h: refs/heads/master i: 9409: 13301de 9407: 351d741 v: v3
- Loading branch information
Al Viro
authored and
Linus Torvalds
committed
Sep 29, 2005
1 parent
9f17a9b
commit dde1302
Showing
34 changed files
with
241 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 54bb5675a6e966a58755ac44e3407f8ec2272b82 | ||
refs/heads/master: ecba97d4aacf4e80c56eb73e39af0369cb8539a4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef __SKAS_PT_REGS_ | ||
#define __SKAS_PT_REGS_ | ||
|
||
#include <user_constants.h> | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#ifndef __SYSDEP_I386_SC_H | ||
#define __SYSDEP_I386_SC_H | ||
|
||
#include <user_constants.h> | ||
|
||
#define SC_OFFSET(sc, field) \ | ||
*((unsigned long *) &(((char *) (sc))[HOST_##field])) | ||
#define SC_FP_OFFSET(sc, field) \ | ||
*((unsigned long *) &(((char *) (SC_FPSTATE(sc)))[HOST_##field])) | ||
#define SC_FP_OFFSET_PTR(sc, field, type) \ | ||
((type *) &(((char *) (SC_FPSTATE(sc)))[HOST_##field])) | ||
|
||
#define SC_IP(sc) SC_OFFSET(sc, SC_IP) | ||
#define SC_SP(sc) SC_OFFSET(sc, SC_SP) | ||
#define SC_FS(sc) SC_OFFSET(sc, SC_FS) | ||
#define SC_GS(sc) SC_OFFSET(sc, SC_GS) | ||
#define SC_DS(sc) SC_OFFSET(sc, SC_DS) | ||
#define SC_ES(sc) SC_OFFSET(sc, SC_ES) | ||
#define SC_SS(sc) SC_OFFSET(sc, SC_SS) | ||
#define SC_CS(sc) SC_OFFSET(sc, SC_CS) | ||
#define SC_EFLAGS(sc) SC_OFFSET(sc, SC_EFLAGS) | ||
#define SC_EAX(sc) SC_OFFSET(sc, SC_EAX) | ||
#define SC_EBX(sc) SC_OFFSET(sc, SC_EBX) | ||
#define SC_ECX(sc) SC_OFFSET(sc, SC_ECX) | ||
#define SC_EDX(sc) SC_OFFSET(sc, SC_EDX) | ||
#define SC_EDI(sc) SC_OFFSET(sc, SC_EDI) | ||
#define SC_ESI(sc) SC_OFFSET(sc, SC_ESI) | ||
#define SC_EBP(sc) SC_OFFSET(sc, SC_EBP) | ||
#define SC_TRAPNO(sc) SC_OFFSET(sc, SC_TRAPNO) | ||
#define SC_ERR(sc) SC_OFFSET(sc, SC_ERR) | ||
#define SC_CR2(sc) SC_OFFSET(sc, SC_CR2) | ||
#define SC_FPSTATE(sc) SC_OFFSET(sc, SC_FPSTATE) | ||
#define SC_SIGMASK(sc) SC_OFFSET(sc, SC_SIGMASK) | ||
#define SC_FP_CW(sc) SC_FP_OFFSET(sc, SC_FP_CW) | ||
#define SC_FP_SW(sc) SC_FP_OFFSET(sc, SC_FP_SW) | ||
#define SC_FP_TAG(sc) SC_FP_OFFSET(sc, SC_FP_TAG) | ||
#define SC_FP_IPOFF(sc) SC_FP_OFFSET(sc, SC_FP_IPOFF) | ||
#define SC_FP_CSSEL(sc) SC_FP_OFFSET(sc, SC_FP_CSSEL) | ||
#define SC_FP_DATAOFF(sc) SC_FP_OFFSET(sc, SC_FP_DATAOFF) | ||
#define SC_FP_DATASEL(sc) SC_FP_OFFSET(sc, SC_FP_DATASEL) | ||
#define SC_FP_ST(sc) SC_FP_OFFSET_PTR(sc, SC_FP_ST, struct _fpstate) | ||
#define SC_FXSR_ENV(sc) SC_FP_OFFSET_PTR(sc, SC_FXSR_ENV, void) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef __UM_THREAD_H | ||
#define __UM_THREAD_H | ||
|
||
#include <kern_constants.h> | ||
|
||
#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS])) | ||
#ifdef CONFIG_MODE_TT | ||
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID])) | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#ifndef __SYSDEP_X86_64_SC_H | ||
#define __SYSDEP_X86_64_SC_H | ||
|
||
/* Copyright (C) 2003 - 2004 PathScale, Inc | ||
* Released under the GPL | ||
*/ | ||
|
||
#include <user_constants.h> | ||
|
||
#define SC_OFFSET(sc, field) \ | ||
*((unsigned long *) &(((char *) (sc))[HOST_##field])) | ||
|
||
#define SC_RBX(sc) SC_OFFSET(sc, SC_RBX) | ||
#define SC_RCX(sc) SC_OFFSET(sc, SC_RCX) | ||
#define SC_RDX(sc) SC_OFFSET(sc, SC_RDX) | ||
#define SC_RSI(sc) SC_OFFSET(sc, SC_RSI) | ||
#define SC_RDI(sc) SC_OFFSET(sc, SC_RDI) | ||
#define SC_RBP(sc) SC_OFFSET(sc, SC_RBP) | ||
#define SC_RAX(sc) SC_OFFSET(sc, SC_RAX) | ||
#define SC_R8(sc) SC_OFFSET(sc, SC_R8) | ||
#define SC_R9(sc) SC_OFFSET(sc, SC_R9) | ||
#define SC_R10(sc) SC_OFFSET(sc, SC_R10) | ||
#define SC_R11(sc) SC_OFFSET(sc, SC_R11) | ||
#define SC_R12(sc) SC_OFFSET(sc, SC_R12) | ||
#define SC_R13(sc) SC_OFFSET(sc, SC_R13) | ||
#define SC_R14(sc) SC_OFFSET(sc, SC_R14) | ||
#define SC_R15(sc) SC_OFFSET(sc, SC_R15) | ||
#define SC_IP(sc) SC_OFFSET(sc, SC_IP) | ||
#define SC_SP(sc) SC_OFFSET(sc, SC_SP) | ||
#define SC_CR2(sc) SC_OFFSET(sc, SC_CR2) | ||
#define SC_ERR(sc) SC_OFFSET(sc, SC_ERR) | ||
#define SC_TRAPNO(sc) SC_OFFSET(sc, SC_TRAPNO) | ||
#define SC_CS(sc) SC_OFFSET(sc, SC_CS) | ||
#define SC_FS(sc) SC_OFFSET(sc, SC_FS) | ||
#define SC_GS(sc) SC_OFFSET(sc, SC_GS) | ||
#define SC_EFLAGS(sc) SC_OFFSET(sc, SC_EFLAGS) | ||
#define SC_SIGMASK(sc) SC_OFFSET(sc, SC_SIGMASK) | ||
#if 0 | ||
#define SC_ORIG_RAX(sc) SC_OFFSET(sc, SC_ORIG_RAX) | ||
#define SC_DS(sc) SC_OFFSET(sc, SC_DS) | ||
#define SC_ES(sc) SC_OFFSET(sc, SC_ES) | ||
#define SC_SS(sc) SC_OFFSET(sc, SC_SS) | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef __UM_THREAD_H | ||
#define __UM_THREAD_H | ||
|
||
#include <kern_constants.h> | ||
|
||
#ifdef CONFIG_MODE_TT | ||
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID])) | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __TASK_H | ||
#define __TASK_H | ||
|
||
#include <kern_constants.h> | ||
|
||
#define TASK_REGS(task) ((union uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS])) | ||
#define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID])) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.