Nick Briggs
d4226c20f2
Replace Addr68k related macros with NativeAligned inline functions
...
Addr68k_from_LADDR always produced a 2-byte aligned pointer which
was frequently cast to a type requiring 4-byte alignment.
This commit changes Addr68k_from_LADDR uses to one of two new
inline procedures, NativeAligned2FromLAddr or NativeAligned4FromLAddr,
which produce a result with the appropriate alignment for the context.
This permits checking for cases where the Lisp address is not
appropriately aligned for the usage context, and localizes compiler
warnings to these two procedures.
Similarly, the Addr68k_from_StkOffset macros are replaced by
NativeAligned2FromStackOffset and NativeAligned4FromStackOffset.
NativeAligned4FromLPage replaces Addr68k_from_LPAGE as page address
will always be at least 4-byte aligned.
LAddrFromNative, LPageFromNative, and StackOffsetFromNative complete
the set, replacing LADDR_from_68k, LPAGE_from_68k, and
StkOffset_from_68K (note K not k) respectively.
2022-09-01 14:11:54 -07:00
..
2021-12-08 12:03:04 -08:00
2021-03-20 16:31:23 -07:00
2022-09-01 14:11:54 -07:00
2022-08-15 15:04:07 -07:00
2022-09-01 12:53:23 -07:00
2022-08-13 15:55:11 -07:00
2021-02-13 21:41:31 -08:00
2022-08-10 12:54:06 -07:00
2022-08-15 15:04:07 -07:00
2021-08-10 16:31:59 -07:00
2022-08-13 15:55:11 -07:00
2022-08-15 15:04:07 -07:00
2021-08-10 16:31:59 -07:00
2022-08-13 15:55:11 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 14:43:32 -07:00
2022-08-15 15:04:07 -07:00
2022-09-01 12:53:23 -07:00
2021-02-13 21:41:31 -08:00
2021-12-09 14:57:45 -08:00
2022-08-15 15:04:07 -07:00
2020-08-11 18:39:45 -07:00
2015-04-20 18:53:52 -07:00
2021-02-13 21:41:31 -08:00
2022-08-09 18:11:05 -07:00
2021-02-13 21:41:31 -08:00
2021-01-07 03:06:42 +00:00
2021-06-27 19:02:02 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2021-01-07 03:06:42 +00:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-01-29 19:56:07 -08:00
2022-08-15 15:04:07 -07:00
2021-01-07 03:06:42 +00:00
2022-08-15 16:19:38 -07:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2021-01-22 12:28:16 -08:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2020-09-04 18:21:44 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-10 11:07:57 -07:00
2020-09-04 18:21:44 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2020-09-04 18:21:44 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-01-07 03:06:42 +00:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-01-07 03:06:42 +00:00
2022-08-11 15:38:07 -07:00
2020-09-27 11:58:17 -07:00
2021-02-13 21:41:31 -08:00
2022-09-01 12:53:23 -07:00
2021-01-29 23:18:09 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-09-01 12:53:24 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-02-14 16:47:04 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-13 09:11:58 -07:00
2021-02-11 10:42:07 -08:00
2021-02-13 21:41:31 -08:00
2021-07-08 15:18:41 -07:00
2021-01-05 10:26:02 -08:00
2022-08-15 15:04:07 -07:00
2022-08-14 21:43:48 -07:00
2022-08-10 11:07:57 -07:00
2022-08-10 11:07:57 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2022-08-14 13:46:27 -07:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2022-08-13 15:55:11 -07:00
2021-01-07 03:06:42 +00:00
2021-01-07 03:06:42 +00:00
2021-01-07 03:06:42 +00:00
2021-02-11 10:42:07 -08:00
2021-01-07 03:06:42 +00:00
2021-01-07 03:06:42 +00:00
2021-10-10 16:55:33 -07:00
2022-08-15 16:19:38 -07:00
2022-08-15 15:04:07 -07:00
2021-11-26 19:53:26 -08:00
2021-01-19 19:35:00 +00:00
2021-02-13 21:41:31 -08:00
2020-09-04 18:21:44 -07:00
2021-01-07 03:06:42 +00:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2022-09-01 12:53:23 -07:00
2022-08-10 11:07:57 -07:00
2021-01-07 03:06:42 +00:00
2021-01-07 03:06:42 +00:00
2021-01-30 17:24:28 -08:00
2021-01-07 03:06:42 +00:00
2022-08-10 11:07:57 -07:00
2021-02-13 21:41:31 -08:00
2020-09-04 18:21:44 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-01-07 03:06:42 +00:00
2021-02-13 21:41:31 -08:00
2022-09-01 12:53:23 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2022-08-15 16:18:37 -07:00
2022-09-01 12:53:23 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-09-15 10:30:04 -07:00
2021-02-13 21:41:31 -08:00
2021-08-11 11:37:15 -07:00
2022-08-14 12:50:16 -07:00
2021-02-13 21:41:31 -08:00
2021-02-10 20:33:54 -08:00
2022-08-15 15:04:07 -07:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-15 15:04:07 -07:00
2021-02-08 18:26:56 -08:00
2022-08-15 15:04:07 -07:00
2021-02-13 21:41:31 -08:00
2022-07-20 10:45:37 -07:00
2020-09-04 18:21:44 -07:00
2022-08-14 11:44:27 -07:00
2022-08-15 15:04:07 -07:00
2022-08-10 11:07:57 -07:00
2021-01-07 03:06:42 +00:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2022-08-14 10:34:24 -07:00
2020-12-21 18:09:14 +00:00
2022-08-10 11:07:57 -07:00
2021-07-08 15:18:41 -07:00
2022-08-10 11:07:57 -07:00
2021-02-11 10:42:07 -08:00
2020-09-27 11:58:17 -07:00
2021-02-13 21:41:31 -08:00
2021-02-22 09:44:43 -08:00
2021-02-13 21:41:31 -08:00
2021-02-13 21:41:31 -08:00
2021-09-02 12:42:51 -07:00
2022-08-15 15:04:07 -07:00