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, Nov 7, 3:21 AM
Unknown Object (File)
Sat, Nov 2, 4:16 AM
Unknown Object (File)
Sat, Oct 26, 4:10 AM
Unknown Object (File)
Tue, Oct 22, 1:41 PM
Unknown Object (File)
Sat, Oct 19, 2:06 AM
Unknown Object (File)
Oct 13 2024, 2:34 AM
Unknown Object (File)
Oct 3 2024, 2:24 AM
Unknown Object (File)
Oct 1 2024, 6:12 PM

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()