Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 9efd20545882cf8300e48e75e04a05f06d971de4
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9efd20545882cf8300…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2021-06-13 (Sun, 13 Jun 2021)
Changed paths:
M spur64src/vm/cogit.h
M spur64src/vm/cointerp.c
M spur64src/vm/cointerp.h
M spur64src/vm/cointerpmt.c
M spur64src/vm/cointerpmt.h
M spur64src/vm/gcc3x-cointerp.c
M spur64src/vm/gcc3x-cointerpmt.c
M spur64src/vm/interp.h
M spurlowcode64src/vm/cogit.h
M spurlowcode64src/vm/cointerp.c
M spurlowcode64src/vm/cointerp.h
M spurlowcode64src/vm/gcc3x-cointerp.c
M spurlowcode64src/vm/interp.h
M spurlowcodesrc/vm/cogit.h
M spurlowcodesrc/vm/cointerp.c
M spurlowcodesrc/vm/cointerp.h
M spurlowcodesrc/vm/gcc3x-cointerp.c
M spurlowcodesrc/vm/interp.h
M spurlowcodestack64src/vm/gcc3x-interp.c
M spurlowcodestack64src/vm/interp.c
M spurlowcodestack64src/vm/interp.h
M spurlowcodestacksrc/vm/gcc3x-interp.c
M spurlowcodestacksrc/vm/interp.c
M spurlowcodestacksrc/vm/interp.h
M spursista64src/vm/cogit.h
M spursista64src/vm/cointerp.c
M spursista64src/vm/cointerp.h
M spursista64src/vm/gcc3x-cointerp.c
M spursista64src/vm/interp.h
M spursistasrc/vm/cogit.h
M spursistasrc/vm/cointerp.c
M spursistasrc/vm/cointerp.h
M spursistasrc/vm/gcc3x-cointerp.c
M spursistasrc/vm/interp.h
M spursrc/vm/cogit.h
M spursrc/vm/cointerp.c
M spursrc/vm/cointerp.h
M spursrc/vm/cointerpmt.c
M spursrc/vm/cointerpmt.h
M spursrc/vm/gcc3x-cointerp.c
M spursrc/vm/gcc3x-cointerpmt.c
M spursrc/vm/interp.h
M spurstack64src/vm/gcc3x-interp.c
M spurstack64src/vm/interp.c
M spurstack64src/vm/interp.h
M spurstack64src/vm/validImage.c
M spurstacksrc/vm/gcc3x-interp.c
M spurstacksrc/vm/interp.c
M spurstacksrc/vm/interp.h
M spurstacksrc/vm/validImage.c
M src/vm/cogit.h
M src/vm/cointerp.c
M src/vm/cointerp.h
M src/vm/gcc3x-cointerp.c
M src/vm/interp.h
M stacksrc/vm/gcc3x-interp.c
M stacksrc/vm/interp.c
M stacksrc/vm/interp.h
Log Message:
-----------
CogVM asource as per Name: VMMaker.oscog-eem.2967
Add PrimErrUninitialized as error #26
Add PrimErrInternalError as error #25
Make stSizeOf: easier to optimize.
Fix a slip in primitiveSetOrHasIdentityHash (a primitive fail didn't return)
InterpreterPrimitives>>primitiveResume should also follow the
SuspendedContextIndex field of a process on Spur, as does the
CoInterpreterPrimitives version. Update the comment re not checking myList.
speeling rorres.
David T. Lewis uploaded a new version of ImageFormat to project VM Maker:
http://source.squeak.org/VMMaker/ImageFormat-dtl.51.mcz
==================== Summary ====================
Name: ImageFormat-dtl.51
Author: dtl
Time: 12 June 2021, 3:55:33.939129 pm
UUID: 9439d840-9001-4a40-b592-568a76202d21
Ancestors: ImageFormat-dtl.50
Provide ImageFileHeader class>>fromFile:
=============== Diff against ImageFormat-dtl.50 ===============
Item was changed:
Object subclass: #ImageFileHeader
instanceVariableNames: 'imageFormat headerSize imageBytes startOfMemory specialObjectsOop lastHash screenSize imageHeaderFlags extraVMMemory'
classVariableNames: ''
poolDictionaries: ''
category: 'ImageFormat-Header'!
+ !ImageFileHeader commentStamp: 'dtl 6/12/2021 15:54' prior: 0!
- !ImageFileHeader commentStamp: 'dtl 11/1/2012 07:46' prior: 0!
An ImageFileHeader represents the information in the header block of an image file, used by an interpreter VM. Subclasses may implement extensions for Cog or other header extensions.
Instance variables correspond to the fields in an image file header. An instance of ImageFileHeader may be created by reading from an image file, and an ImageFileHeader may be written to a file.
When stored to a file, the file header fields may be 32 or 64 bits in size, depending on the image format. The byte ordering of each field will be little endian or big endian, depending on the convention of the host platform. When reading from disk, endianness is inferred from the contents of the first data field.
+ To read the file header of an image file:
- To explore the file header of an image file:
+ ImageFileHeader fromFile: Smalltalk imageName.
- | fs |
- fs := (FileStream readOnlyFileNamed: Smalltalk imageName) binary.
- ([ImageFileHeader readFrom: fs] ensure: [fs close]) explore
!
Item was added:
+ ----- Method: ImageFileHeader class>>fromFile: (in category 'instance creation') -----
+ fromFile: imageFile
+ "Answer a new instance from a saved image file."
+
+ "ImageFileHeader fromFile: Smalltalk imageName"
+
+ | fs |
+ fs := (FileStream readOnlyFileNamed: Smalltalk imageName) binary.
+ ^ ([ImageFileHeader readFrom: fs] ensure: [fs close])
+ !
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: c561c60faa510b2ddee60876618510e33d9dcc2f
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c561c60faa510b2dde…
Author: stes <stes(a)telenet.be>
Date: 2021-06-11 (Fri, 11 Jun 2021)
Changed paths:
M build.sunos32x86/squeak.cog.spur/build/mvm
M build.sunos32x86/squeak.stack.spur/build/mvm
M build.sunos64x64/HowToBuild
M build.sunos64x64/squeak.cog.spur/build/mvm
M build.sunos64x64/squeak.stack.spur/build/mvm
Log Message:
-----------
sunos specific change: use libmapmalloc for acquiring heap space
Commit: 332836b353c2e0aadd506c06c06e2add0c246037
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/332836b353c2e0aadd…
Author: dcstes <71445905+dcstes(a)users.noreply.github.com>
Date: 2021-06-11 (Fri, 11 Jun 2021)
Changed paths:
M build.sunos32x86/squeak.cog.spur/build/mvm
M build.sunos32x86/squeak.stack.spur/build/mvm
M build.sunos64x64/HowToBuild
M build.sunos64x64/squeak.cog.spur/build/mvm
M build.sunos64x64/squeak.stack.spur/build/mvm
Log Message:
-----------
Merge pull request #570 from dcstes/libmapmalloc
sunos specific change: use libmapmalloc for acquiring heap space
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/1ca2e9c7eef3...33…
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
SunOS specific change:
To avoid heap allocations with brk(2), use libmapmalloc(3LIB).
Setup the SunOS build scripts to link libmapmalloc.
Update the HowToBuild file.
All those changes are in the SunOS specific directories (build scripts).
Regards,
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJgw4k2AAoJENdFDkXGicizdPgH+gIYCyYYp5x8HbsKbBwGIzHe
++oUJbYBzDT0PIAH0j94jKuskGIzsVzHGtJNrCIH7HtH2XnAOjCc+DtIT5MJ/tKf
oxbrnwtGiCOz3sHPE89tgyFnc+/hXLFrlabq/L8qSzgQ0zF2Vs1KzBMQW37Pr4ji
XHsHooP+0ZEppBilqYu8Iq8WJ3hDQM3awTp4tsw6TsDL0DX49HfEHbIRokwsO1nv
P3FhN76IZmFWdipMMkEeaBd0DJakpvNthPFAUpfjFyS2pyBMinP3AVwNt2wYe/YX
Tc+hRe39TrSfAmYvFNFTfFyte/TX+qs6fF07t9rbO1/PUGrNVOV209mxHFEZn7Y=
=W1Tq
-----END PGP SIGNATURE-----
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/570
-- Commit Summary --
* sunos specific change: use libmapmalloc for acquiring heap space
-- File Changes --
M build.sunos32x86/squeak.cog.spur/build/mvm (4)
M build.sunos32x86/squeak.stack.spur/build/mvm (5)
M build.sunos64x64/HowToBuild (84)
M build.sunos64x64/squeak.cog.spur/build/mvm (4)
M build.sunos64x64/squeak.stack.spur/build/mvm (4)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/570.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/570.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/570
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 1ca2e9c7eef3b66f34cb4e41ed8c8a66ed620d21
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/1ca2e9c7eef3b66f34…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M build.win32x86/common/Makefile.msvc
M build.win32x86/common/Makefile.msvc.plugin
M build.win64x64/common/Makefile.msvc
M build.win64x64/common/Makefile.msvc.plugin
M platforms/win32/plugins/CameraPlugin/winCameraOps.cpp
Log Message:
-----------
Fix bulding external plugins under the MSVC makefiles (VMLIB in teh right place)
Use the Microsoft __int64, not int64_t in winCameraOps.cpp.