LibBSD | powerpc/qoriq: Fix build issues (!131)

Kinsey Moore (@opticron) gitlab at rtems.org
Sun Mar 29 22:57:27 UTC 2026




Kinsey Moore started a new discussion on freebsd/sys/powerpc/mpc85xx/mpc85xx.c: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/131#note_147374

 >  		*bar = (uint64_t)ccsr_read4(OCP85XX_LAWBARH(n)) << 32 |
 >  		    ccsr_read4(OCP85XX_LAWBARL(n));
 >  		*sr = ccsr_read4(OCP85XX_LAWSR_QORIQ(n));
 > -	} else if (mpc85xx_is_p20xx()) {
 > -		*bar = (uint64_t)ccsr_read4(OCP85XX_LAWBAR_P20XX(n)) << 12;
 > -		*sr = ccsr_read4(OCP85XX_LAWAR(n));

Why are changes to this file being made without `#ifdef __rtems__` guards?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/131#note_147374
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260329/48cc6171/attachment-0001.htm>


More information about the bugs mailing list