mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 13:27:05 +00:00
Last one. Remove redundant (and empty) struct and make some asm constraints
more correct. svn path=/trunk/; revision=21157
This commit is contained in:
parent
16e3d0db53
commit
56b518d933
1 changed files with 2 additions and 6 deletions
|
@ -30,10 +30,6 @@
|
|||
|
||||
#ifndef __ASM__
|
||||
|
||||
typedef struct _KTRAP_FRAME
|
||||
{
|
||||
} KTRAP_FRAME, *PKTRAP_FRAME;
|
||||
|
||||
typedef struct _KIRQ_TRAPFRAME
|
||||
{
|
||||
} KIRQ_TRAPFRAME, *PKIRQ_TRAPFRAME;
|
||||
|
@ -82,7 +78,7 @@ static inline LONG KePPCTestAndClearBit(ULONG BitPos, volatile PULONG Addr)
|
|||
"success:\n\t"
|
||||
"isync\n\t"
|
||||
: "=r" (NewValue), "=r" (OldValue)
|
||||
: "=w" (NewValue), "=w" (*Addr)
|
||||
: "w" (NewValue), "w" (*Addr)
|
||||
: "memory");
|
||||
|
||||
return NewValue & (1 << BitPos);
|
||||
|
@ -105,7 +101,7 @@ static inline LONG KePPCTestAndSetBit(ULONG BitPos, volatile PULONG Addr)
|
|||
"success:\n\t"
|
||||
"isync\n\t"
|
||||
: "=r" (NewValue), "=r" (OldValue)
|
||||
: "=w" (NewValue), "=w" (*Addr)
|
||||
: "w" (NewValue), "w" (*Addr)
|
||||
: "memory");
|
||||
|
||||
return NewValue & (1 << BitPos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue