[parrot/parrot] a436f5: darwin --m=32: fix Parrot_sysmem_amount GH #1113

GitHub noreply at github.com
Sat Oct 25 15:17:38 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: a436f54fc5bdb0dce2c97a2cdc1f33b01b6bffb4
      https://github.com/parrot/parrot/commit/a436f54fc5bdb0dce2c97a2cdc1f33b01b6bffb4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-25 (Sat, 25 Oct 2014)

  Changed paths:
    M ChangeLog
    M src/platform/darwin/sysmem.c

  Log Message:
  -----------
  darwin --m=32: fix Parrot_sysmem_amount GH #1113

Need to use HW_PHYSMEM there. No chance to get >2GB RAM in i386.
This syscall worked on darwin/ppc32 also before.


  Commit: 4dc3fb92b1dedd2107c496b2b68e7cef2afc410d
      https://github.com/parrot/parrot/commit/4dc3fb92b1dedd2107c496b2b68e7cef2afc410d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-25 (Sat, 25 Oct 2014)

  Changed paths:
    M src/platform/darwin/sysmem.c
    M src/platform/generic/sysmem.c

  Log Message:
  -----------
  Avoid backtrace within an sysmem exception GH #1113

Protect too early exception call via Parrot_default_encoding_ptr check.
This should be calling PANIC, but we do not want to dump core here.
sysctl err msg and location should be enough.


Compare: https://github.com/parrot/parrot/compare/374c06b94968...4dc3fb92b1de


More information about the parrot-commits mailing list