Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Abuhujair Javed
Postgres FD Implementation
Commits
14cd0ca3
Commit
14cd0ca3
authored
Jul 25, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified i386_solaris port
submitted by: dr. george
parent
31cae34d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
2 deletions
+37
-2
src/backend/port/i386_solaris/Makefile.inc
src/backend/port/i386_solaris/Makefile.inc
+2
-2
src/backend/port/i386_solaris/tas.s
src/backend/port/i386_solaris/tas.s
+35
-0
No files found.
src/backend/port/i386_solaris/Makefile.inc
View file @
14cd0ca3
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/i386_solaris/Attic/Makefile.inc,v 1.
3 1996/07/25 07:27:08
scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/port/i386_solaris/Attic/Makefile.inc,v 1.
4 1996/07/25 19:48:24
scrappy Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -15,6 +15,6 @@ CFLAGS+= -DUSE_POSIX_TIME -DNEED_ISINF -DNEED_RUSAGE -DNO_EMPTY_STMTS
LDADD
+=
-ll
-ldl
SUBSRCS
+=
port.c
SUBSRCS
+=
port.c
tas.s
HEADERS
+=
machine.h port-protos.h rusagestub.h
src/backend/port/i386_solaris/tas.s
0 → 100644
View file @
14cd0ca3
/=============================================================================
/
tas.s
--
test
and
set
lock
for
i386_solaris
/=============================================================================
.
file
"tas.s"
.
text
.
align
16
.
L1
.
text
:
.
globl
tas
tas
:
pushl
%
ebp
/
save
prev
base
pointer
movl
%
esp
,%
ebp
/
new
base
pointer
pushl
%
ebx
/
save
prev
bx
movl
8
(%
ebp
),%
ebx
/
load
bx
with
address
of
lock
pushl
%
ebx
/
save
prev
bx
movl
8
(%
ebp
),%
ebx
/
load
bx
with
address
of
lock
movl
$
255
,%
eax
/
put
something
in
ax
xchgb
%
al
,(%
ebx
)
/
swap
lock
value
with
"0"
cmpb
$
0
,%
al
/
did
we
get
the
lock
?
jne
.
Locked
subl
%
eax
,%
eax
/
yes
,
we
got
it
--
return
0
jmp
.
Finish
.
align
4
.
Locked
:
movl
$
1
,%
eax
/
no
,
we
didn
't get it - return 1
.
Finish
:
popl
%
ebx
/
restore
prev
bx
movl
%
ebp
,%
esp
/
restore
stack
state
popl
%
ebp
ret
/
return
.
align
4
.
type
tas
,
@
function
.
size
tas
,
.
-
tas
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