haiku/headers
PulkoMandy d5cd4a9d51 openfirmware: adjust for 64bit
Sparcv9 runs Openboot in 64 bit mode, which means the cell size is
64bit. Use intptr_t where appropriate to make the open firmware calls
work.

Beware, some values are still 32bit, this matters for example for
of_getprop, if you get 32bits into a 64bit variables it will be in the
MSB of it (big endian only weakness...) and confuse things. See for
example in console.cpp, where the input and output handles are retrieved
as 32bit values. It seems wise to check the expected size when using
of_getprop in these cases, instead of just checking for errors.

Change-Id: Ie72ebc4afe7c6d7602a47478f0bfb6b8247004b8
Reviewed-on: https://review.haiku-os.org/c/1369
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-08-10 17:59:04 +00:00
..
build Implement is_app_showing_modal_window() 2019-08-03 00:41:10 +00:00
compatibility Add a features.h to auto enable _DEFAULT_SOURCE 2019-07-29 20:26:46 +00:00
config riscv32: Drop any remaining mentions 2019-04-04 13:23:32 +00:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs PVS V501: comparing number with itself 2019-07-28 10:16:43 +00:00
os HaikuDepot: Set package state when loading single package 2019-08-08 07:09:35 +00:00
posix Conform putenv to POSIX standards 2019-07-20 16:02:00 +00:00
private openfirmware: adjust for 64bit 2019-08-10 17:59:04 +00:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00