Page MenuHomeFreeBSD

Linux ARM v2 5/9
Needs ReviewPublic

Authored by soutade_gmail.com on Sep 20 2016, 2:04 PM.
Referenced Files
Unknown Object (File)
Thu, Apr 18, 2:59 PM
Unknown Object (File)
Tue, Apr 16, 11:34 AM
Unknown Object (File)
Fri, Apr 12, 2:33 PM
Unknown Object (File)
Mar 20 2024, 9:05 AM
Unknown Object (File)
Mar 10 2024, 8:09 AM
Unknown Object (File)
Feb 26 2024, 1:07 AM
Unknown Object (File)
Feb 22 2024, 1:46 AM
Unknown Object (File)
Feb 12 2024, 5:47 AM

Details

Test Plan

Linux ARM : Add core emulation files

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

soutade_gmail.com retitled this revision from to Linux ARM v2 5/9.
soutade_gmail.com updated this object.
soutade_gmail.com edited the test plan for this revision. (Show Details)
soutade_gmail.com set the repository for this revision to rS FreeBSD src repository - subversion.

Update linux_set_tls() functions. md_tp field not present anymore for arch >= v6.

Looks like patch to sys/conf/files.arm was not included in either of revisions. It should contain all source files in sys/arm/linux/. Gregory, could you include this change and attach to any of the existing revisions?

It feels like much of linux.h could be shared with i386. There may be more that should be shared, but I am yet to have a chance to look too deeply.

sys/arm/linux/linux.h
268

Why is this packed?

sys/arm/linux/linux_machdep.c
73

This should be <machine/pcb.h>

sys/arm/linux/linux.h
268

I had a problem with gcc compiler used for Linux application.

soutade_gmail.com edited edge metadata.

Use <machine/pcb.h> instead of <arm/include/pcb.h>

Remove old Linux syscalls (not presents in Linux calls.S). Add dummy linux_syscall.

sys/arm/linux/linux.h
268

Can you go into more details on the problem?

sys/arm/linux/linux.h
268

The generated structure was not the same in term of alignment making the application crash when using signals.

Remove obsolete syscalls. Add linux_send() and linux_recv()