RE: [PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

2021-03-08 Thread Kinsey Moore
ewlib and fix those issues. There's possibly another issue with the "dc zva" instruction that may also be solved by enabling the MMU. Kinsey -Original Message- From: Chris Johns Sent: Monday, March 8, 2021 20:23 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH

Re: [PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

2021-03-08 Thread Chris Johns
On 9/3/21 1:21 pm, Kinsey Moore wrote: > The patch to the if_cgem driver is actually a modified (to LibBSD style) > backport of the > 64bit cgem patch that's in 13. FreeBSD doesn't appear to care about ILP32 and > that is > the majority of functional difference between the upstream and what is be

RE: [PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

2021-03-08 Thread Kinsey Moore
--Original Message- From: Chris Johns Sent: Monday, March 8, 2021 20:04 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit OK for 1 to 7 from me. In regards to the if_ cgem driver, will any be posted up stream? Chris On 9/3/21 10:27

Re: [PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

2021-03-08 Thread Chris Johns
OK for 1 to 7 from me. In regards to the if_ cgem driver, will any be posted up stream? Chris On 9/3/21 10:27 am, Kinsey Moore wrote: > Alignment on 64bit hardware is strict in comparison to running in an > emulator. This resolves an alignment exception when allocating memory on > real hardware.

[PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

2021-03-08 Thread Kinsey Moore
Alignment on 64bit hardware is strict in comparison to running in an emulator. This resolves an alignment exception when allocating memory on real hardware. --- rtemsbsd/rtems/rtems-program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/rtems/rtems-program.c b/