Page MenuHomeFreeBSD

Linux ARM v2 5/9
Needs ReviewPublic

Authored by soutade_gmail.com on Sep 20 2016, 2:04 PM.

Details

Test Plan

Linux ARM : Add core emulation files

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
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.

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

gonzo edited edge metadata.Sep 29 2016, 5:54 PM

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?

andrew edited edge metadata.Sep 30 2016, 9:15 AM

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.

andrew added inline comments.Oct 4 2016, 9:43 AM
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()

emaste added a subscriber: emaste.Jun 17 2017, 9:08 PM