Page MenuHomeFreeBSD

linuxkpi: Add asm/processor.h
ClosedPublic

Authored by manu on Aug 10 2022, 6:48 AM.
Tags
None
Referenced Files
F115439886: D36107.diff
Wed, Apr 23, 8:42 PM
Unknown Object (File)
Sun, Apr 20, 1:25 PM
Unknown Object (File)
Sun, Apr 20, 1:24 PM
Unknown Object (File)
Sat, Apr 19, 8:30 PM
Unknown Object (File)
Sat, Apr 19, 6:13 PM
Unknown Object (File)
Sat, Apr 19, 6:05 PM
Unknown Object (File)
Sat, Apr 19, 5:36 PM
Unknown Object (File)
Sat, Apr 5, 4:19 PM

Details

Summary

Also fill the boot_cpu_data struct as drm needs it.

Obtained from: drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46823
Build 43712: arc lint + arc unit

Event Timeline

manu requested review of this revision.Aug 10 2022, 6:48 AM

linux_compat.c looks ok to me.

sys/compat/linuxkpi/common/include/asm/processor.h
28

I'd remove the X86 from the guard names as we might find ourselves filling in parts for arm64 in the future as well? At least until we don't split asm per-arch as Linux does?

30

Should this be:

#if defined(i386) || defined(amd64)
..
#endif

?

Guard the include for x86 machines only

This revision is now accepted and ready to land.Aug 11 2022, 11:25 AM
This revision was automatically updated to reflect the committed changes.