Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
9a3afc42
Commit
9a3afc42
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Moved OS-INIT into mumble-os.lisp
parent
4fd15ba5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
code/lispinit.lisp
+1
-9
1 addition, 9 deletions
code/lispinit.lisp
code/mach-os.lisp
+12
-2
12 additions, 2 deletions
code/mach-os.lisp
code/sunos-os.lisp
+9
-7
9 additions, 7 deletions
code/sunos-os.lisp
with
22 additions
and
18 deletions
code/lispinit.lisp
+
1
−
9
View file @
9a3afc42
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/lispinit.lisp,v 1.3
0
1992/02/2
1 21:5
9:5
5
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/lispinit.lisp,v 1.3
1
1992/02/2
9 02:2
9:5
0
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -586,14 +586,6 @@
...
@@ -586,14 +586,6 @@
#+
nil
#+
nil
(
add-port-object
*task-notify*
nil
*kernel-messages*
))
(
add-port-object
*task-notify*
nil
*kernel-messages*
))
;;; OS-Init initializes our operating-system interface. It sets the values
;;; of the global port variables to what they should be and calls the functions
;;; that set up the argument blocks for the server interfaces.
(
defun
os-init
()
(
setf
*task-self*
(
mach:mach-task_self
))
(
setf
*task-data*
(
mach:mach-task_data
))
(
setf
*task-notify*
(
mach:mach-task_notify
)))
;;;; Miscellaneous external functions:
;;;; Miscellaneous external functions:
...
...
This diff is collapsed.
Click to expand it.
code/mach-os.lisp
+
12
−
2
View file @
9a3afc42
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/mach-os.lisp,v 1.
6
1992/02/2
0 23:03:11
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/mach-os.lisp,v 1.
7
1992/02/2
9 02:29:53
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
;;;
;;;
(
in-package
"SYSTEM"
)
(
in-package
"SYSTEM"
)
(
use-package
"EXTENSIONS"
)
(
use-package
"EXTENSIONS"
)
(
export
'
(
get-system-info
get-page-size
))
(
export
'
(
get-system-info
get-page-size
os-init
))
(
pushnew
:mach
*features*
)
(
pushnew
:mach
*features*
)
(
setq
*software-type*
"MACH/4.3BSD"
)
(
setq
*software-type*
"MACH/4.3BSD"
)
...
@@ -33,6 +33,16 @@
...
@@ -33,6 +33,16 @@
(
run-program
"/usr/cs/etc/version"
; Site dependent???
(
run-program
"/usr/cs/etc/version"
; Site dependent???
nil
:output
stream
))))
nil
:output
stream
))))
;;; OS-Init initializes our operating-system interface. It sets the values
;;; of the global port variables to what they should be and calls the functions
;;; that set up the argument blocks for the server interfaces.
(
defun
os-init
()
(
setf
*task-self*
(
mach:mach-task_self
))
(
setf
*task-data*
(
mach:mach-task_data
))
(
setf
*task-notify*
(
mach:mach-task_notify
)))
;;; GET-SYSTEM-INFO -- Interface
;;; GET-SYSTEM-INFO -- Interface
;;;
;;;
;;; Return system time, user time and number of page faults. For
;;; Return system time, user time and number of page faults. For
...
...
This diff is collapsed.
Click to expand it.
code/sunos-os.lisp
+
9
−
7
View file @
9a3afc42
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sunos-os.lisp,v 1.
3
1992/02/29 0
0:45:36
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sunos-os.lisp,v 1.
4
1992/02/29 0
2:29:54
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
;;;
;;;
(
in-package
"SYSTEM"
)
(
in-package
"SYSTEM"
)
(
use-package
"EXTENSIONS"
)
(
use-package
"EXTENSIONS"
)
(
export
'
(
get-system-info
get-page-size
))
(
export
'
(
get-system-info
get-page-size
os-init
))
(
pushnew
:sunos
*features*
)
(
pushnew
:sunos
*features*
)
(
setq
*software-type*
"SunOS"
)
(
setq
*software-type*
"SunOS"
)
...
@@ -45,12 +45,14 @@
...
@@ -45,12 +45,14 @@
(
subseq
version-line
(
1+
second-space
)
third-space
)))))
(
subseq
version-line
(
1+
second-space
)
third-space
)))))
*software-version*
)
*software-version*
)
;;; Decache version on save, because it might not be the same when we restart.
;;;
(
pushnew
#'
(
lambda
()
(
setq
*sofware-version*
nil
))
ext:*before-save-initializations*
)
;;; OS-INIT -- interface.
;;;
;;; Other OS dependent initializations.
;;;
(
defun
os-init
()
;; Decache version on save, because it might not be the same when we restart.
(
setq
*sofware-version*
nil
))
;;; GET-SYSTEM-INFO -- Interface
;;; GET-SYSTEM-INFO -- Interface
;;;
;;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment