Initialize Linux originated fields of OsConstants in Java.
I didn't manage to start riscv CF instance and ART's chroot
approach didn't work either, so I just printed all explicitly
initialized values in QEMU riscv instance in a C program and
diff-ed output.
With some codegen we can have @CriticalNative method per each
field - should be fast and ease addition of new fields.
Bug: 383285151
Test: device boots
Test: ./art/tools/run-libcore-tests.sh --mode host --variant X64
Test: ./art/tools/run-libcore-tests.sh --mode host --variant X32
Test: ./art/tools/run-libcore-tests.sh --mode device--variant X64
Test: ./art/tools/run-libcore-tests.sh --mode device--variant X32
Change-Id: Idaaa4f5f05d80d8b35326076e93ff2606aeb8dd5
5 files changed