ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/vm_alloc.cpp
Revision 1.12 - (view) (annotate) - [select for diffs]
2004-01-12T15:29:25Z (20 years, 5 months ago) by cebix
Branch: MAIN
CVS Tags: nigel-build-15, nigel-build-16
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
Happy New Year! :)

Revision 1.11 - (view) (annotate) - [select for diffs]
2003-12-20T21:44:52Z (20 years, 6 months ago) by gbeauche
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
Fix build with DEC C++ compiler on Tru64.

Revision 1.10 - (view) (annotate) - [select for diffs]
2003-11-24T23:27:18Z (20 years, 7 months ago) by gbeauche
Branch: MAIN
Changes since 1.9: +42 -8 lines
Diff to previous 1.9
Enable possibility to manually pass VM_MAP_32BIT & friends. This is needed
for the PowerPC "JIT1" engine.

Revision 1.9 - (view) (annotate) - [select for diffs]
2003-10-03T18:18:12Z (20 years, 9 months ago) by gbeauche
Branch: MAIN
Changes since 1.8: +22 -4 lines
Diff to previous 1.8
Make sure a 32-bit B2/JIT works reasonnably well on AMD64 too. This implies
to force RAMBaseHost < 0x80000000. This is empirically determined to work on
Linux/x86 and Linux/amd64.

Revision 1.8 - (view) (annotate) - [select for diffs]
2003-05-13T16:56:37Z (21 years, 1 month ago) by gbeauche
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Fix check against return value of memset() in vm_acquire_fixed

Revision 1.7 - (view) (annotate) - [select for diffs]
2002-03-16T10:51:17Z (22 years, 3 months ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-12, nigel-build-13
Changes since 1.6: +4 -4 lines
Diff to previous 1.6
- Check for caddr_t. On some systems like Solaris/SPARC, mmap() address
  type (first parameter) is caddr_t instead of void *. Explicitly cast
  address to (caddr_t) type and C++ implicit pointer conversion rules
  will do the rest. aka. caddr_t -> void * is OK unlike the opposite.

Revision 1.6 - (view) (annotate) - [select for diffs]
2002-02-11T14:28:02Z (22 years, 4 months ago) by gbeauche
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
- vm_acquire_fixed: Fix memset() and vm_protect() calls so that the address
  is really the one specified instead of always zero.

Revision 1.5 - (view) (annotate) - [select for diffs]
2002-01-15T14:58:37Z (22 years, 5 months ago) by cebix
Branch: MAIN
CVS Tags: snapshot-15012002
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
- documentation updates
- 2001 -> 2002
- version 0.9 -> 1.0

Revision 1.4 - (view) (annotate) - [select for diffs]
2001-07-14T18:41:05Z (22 years, 11 months ago) by gbeauche
Branch: MAIN
Changes since 1.3: +6 -5 lines
Diff to previous 1.3
- video_x.cpp: the_buffer shall always be mapped through vm_alloc() so
  that it can be vm_protect()'ed at will afterwards
- video_x.cpp: let driver_base free() the_buffer_copy and the_host_buffer,
  if necessary
- video_vosf.h: reverted to use malloc() for mainBuffer.dirtyPages and
  mainBuffer.pageInfo
- vm_alloc.cpp: small cleanups
- fixed typos

Revision 1.3 - (view) (annotate) - [select for diffs]
2001-07-07T09:07:38Z (23 years ago) by gbeauche
Branch: MAIN
Changes since 1.2: +8 -1 lines
Diff to previous 1.2
- Try to map memory contiguously with base addresses returned in increasing
  order. No host memory region used for Mac emulation (ScratchMem, RAM, ROM,
  frame buffer) shall be allocated below the RAM space. Actually, MEMBaseDiff
  should be set to the min(above-mentioned address spaces).
  ==> Temporary fix for 64-bit addressing systems (e.g. Linux/ia64)

Revision 1.2 - (view) (annotate) - [select for diffs]
2001-07-06T22:37:23Z (23 years ago) by cebix
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
fixed memory leaks in video mode switching

Revision 1.1 - (view) (annotate) - [select for diffs]
2001-06-26T22:35:41Z (23 years ago) by gbeauche
Branch: MAIN
- added SIGSEGV support for Linux/Alpha (to be checked), Darwin/PPC
- added uniform virtual memory allocation
  (supports mmap(), vm_allocate(), or fallbacks to malloc()/free())
- cleaned up memory allocation in main_unix.cpp

Convenience Links

Links to HEAD: (view) (annotate) Links to nigel-build-15: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a