openfirmware: more fixes for 64bit systems.

Gets call-method working for sparc, and fix more places where we
accidentally truncate 64bit values or sign-extend 32 bit ones.

Change-Id: Ic79c55ffa8d2b475858def1639004412f17dd0c1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1986
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
PulkoMandy
2020-01-18 03:29:27 +00:00
committed by waddlesplash
parent 2f37766000
commit 959588394d
5 changed files with 8 additions and 8 deletions
@@ -76,7 +76,7 @@ extern intptr_t of_call_client_function(const char *method, intptr_t numArgs,
intptr_t numReturns, ...);
extern intptr_t of_interpret(const char *command, intptr_t numArgs,
intptr_t numReturns, ...);
extern intptr_t of_call_method(intptr_t handle, const char *method,
extern intptr_t of_call_method(uint32_t handle, const char *method,
intptr_t numArgs, intptr_t numReturns, ...);
extern intptr_t of_test(const char *service);
extern intptr_t of_milliseconds(void);