projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle non-standard slot allocations when updating classes
[sbcl.git]
/
src
/
compiler
/
mips
/
backend-parms.lisp
diff --git
a/src/compiler/mips/backend-parms.lisp
b/src/compiler/mips/backend-parms.lisp
index
1b212c4
..
11aa425
100644
(file)
--- a/
src/compiler/mips/backend-parms.lisp
+++ b/
src/compiler/mips/backend-parms.lisp
@@
-1,11
+1,12
@@
(in-package "SB!VM")
(in-package "SB!VM")
-;;; FIXME: Do I need a different one for little-endian? :spim,
-;;; perhaps?
(def!constant +backend-fasl-file-implementation+ :mips)
(setf *backend-register-save-penalty* 3)
(def!constant +backend-fasl-file-implementation+ :mips)
(setf *backend-register-save-penalty* 3)
-(setf *backend-byte-order*
- #!+little-endian :little-endian
+(setf *backend-byte-order*
+ #!+little-endian :little-endian
#!-little-endian :big-endian)
#!-little-endian :big-endian)
-;;; FIXME: Check this. Where is it used?
-(setf *backend-page-size* 4096)
+
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ ;; The o32 ABI specifies 4k-64k as page size. We have to pick the
+ ;; maximum since mprotect() works only with page granularity.
+ (setf *backend-page-bytes* 65536))