Bahadir Balban
999cddd2c8
posix container: sys_write fails on validating pager's buffer as a user buffer.
...
It might be a good idea to simply use mmap() from inside the pager and prefault it
as a conventional way of mapping internal buffers. Will be investigated.
- This would open the way that all internal buffer mapping is
done in a standard way
- Standard syscalls would be possible to use from within the pager.
2009-10-05 21:56:55 +03:00
Bahadir Balban
a6c7ac7766
Fixed mmap'ing of pager address space
...
An anonymous never-to-be-faulted VMA is created for mm0's task region
that is already mapped.
2009-10-05 19:05:56 +03:00
Bahadir Balban
114a59351f
Some style fixes.
2009-10-05 16:48:54 +03:00
Bahadir Balban
6b5d4b26c2
Changes to mm0 initialization. mm0 building.
...
Changed mm0 initialization.
Removed all cruft about boot-specific task setup and initialization,
mm0 now builds with new changes.
2009-10-05 16:40:51 +03:00
Bahadir Balban
da5f4dcff3
Changes in merged posix pager mm0 initialization.
...
- Moved rootfs from being embedded to mm0 image to being an independent image.
- MM0 boots up to start_init_process with updated boot convention.
2009-10-05 13:25:32 +03:00
Bahadir Balban
f8bcd7a546
Merged fs0 to mm0 for simpler progress on posix api.
...
mm0 and all other posix dependents are building ok.
2009-10-04 17:34:19 +03:00
Bahadir Balban
4b235a9920
Fixed an error with mm0 where server naming wasn't matched from bootdesc
2009-10-01 13:29:35 +03:00
Bahadir Balban
e5cde20ca9
Fixed a fault with posix tasks not getting their LMA correctly
2009-10-01 13:13:27 +03:00
Bahadir Balban
4db35ff350
Added container information for sources such as linux and posix
2009-10-01 11:24:25 +03:00
Bahadir Balban
b24fa0772f
Removed .sconsigns that got in.
2009-09-30 23:53:57 +03:00
Bahadir Balban
1a8b993ace
Updated a warning + removed .elf from intermediate bootdesc elf file
...
container packer picks up files with .elf extentions. Therefore intermediate
files must not have .elf extentions, since they're not meant to go to the final
executable.
modified: conts/posix/bootdesc/SConscript
modified: conts/posix/libposix/stat.c
2009-09-30 23:49:24 +03:00
Bahadir Balban
7ca634450b
Added inclusion of test_exec binary to test0
2009-09-30 23:45:19 +03:00
Bahadir Balban
4e7d8ddc25
Integrated building of posix images as a container
...
Issues:
Some intermediate .elf files should not go into final container image.
Perhaps those will be built with different or no extension
2009-09-30 19:04:35 +03:00
Bahadir Balban
748d6734c3
We now have a correctly compiling (but untested) posix container build.
2009-09-30 18:37:51 +03:00
Bahadir Balban
73225a0119
Bootdesc building working
2009-09-30 16:31:34 +03:00
Bahadir Balban
1aa31bc9d5
We have all posix programs getting compiled.
...
A lot of hassles on standard c library, mock-up libc, and libposix
headers taken from uClibc clashing has been worked around.
Next:
- Linker scripts need fixing and adjusting.
- Bootdesc needs to be generated.
- Per-container compilation scripts need connecting.
2009-09-29 23:06:29 +03:00
Bahadir Balban
f0bb0a4657
Added posix code
2009-09-29 21:55:59 +03:00
Bahadir Balban
54272ccb63
Mods to userspace library building
2009-09-29 21:55:20 +03:00
Bahadir Balban
e1a119e373
Top-level SConstruct has problems yet. Added conts/linux/SConscript
2009-09-07 10:48:52 +03:00