Arun Thomas
fd43d93ce5
ARM support for system libraries
2012-08-28 13:49:27 -04:00
Arun Thomas
9a9d555f56
machine/ipcconst.h for arch-specific constants
2012-08-27 19:46:41 -04:00
Ben Gras
e4ac80eb60
various warning/errorwarning fixes for gcc47
...
. warnings (sometimes promoted to errors) in servers/ and kernel/
. -Os for ext2 boot module to make it small enough
2012-08-27 16:19:18 +02:00
Kees Jongenburger
2af02e0d5d
Amd64 cross-compilation fix.
...
* Remove usage of _MINIX and __i386__ in mkfs.c to make
conditional compilation orthogonal.
2012-08-27 15:31:03 +00:00
Ben Gras
41ab295654
hide block_t behind _MINIX (for gcc)
2012-08-24 18:07:37 +02:00
David van Moolenbroek
201031fb38
libaudiodriver: properly deallocate memory
2012-08-24 09:17:27 +00:00
David van Moolenbroek
9821bbf780
libaudiodriver: call drv_init() again
2012-08-24 09:17:26 +00:00
David van Moolenbroek
ca216b3d97
libaudiodriver: resolve Coverity warnings
2012-08-24 09:17:25 +00:00
Ben Gras
caa7efa117
kernel: rely on alignment directive for stacks
...
. unnecessary to do it manually with ELF
. also makes 1 extra alignment page unnecessary
2012-08-19 01:04:51 +02:00
Arun Thomas
7ca1ce7968
VM: Add PTF_READ page table flag
2012-08-17 00:17:52 +02:00
Arun Thomas
fc9b3f9bdd
VM: allow for 16KB chunk alignment
2012-08-17 00:17:52 +02:00
Arun Thomas
c78b56a9e5
RS: Make PCI code optional
2012-08-17 00:17:51 +02:00
Arun Thomas
a57a591f25
Reorganize arch consts and types
...
-DEFAULT_HZ const moved to archconst.h
-cpu_info struct moved to archtypes.h
2012-08-16 17:07:43 +02:00
Ben Gras
d69cc76e03
rename struct mem_range to minix_mem_range
...
. avoid a name clash with gdb
2012-08-15 15:17:25 +02:00
David van Moolenbroek
8e116b71a1
Kernel: resolve Coverity warnings
2012-08-15 11:12:11 +00:00
David van Moolenbroek
0b5c2a058c
Kernel: use okendpt() to resolve stored endpoints
...
This adds an integrity check at very little cost, and should stop
Coverity from flagging array overruns on the result.
2012-08-15 08:50:30 +00:00
David van Moolenbroek
c0aa9bf6ed
Kernel: resolve -Wall warnings for SMP
2012-08-14 16:38:03 +00:00
David van Moolenbroek
cf9a4ec79b
Kernel: clean up include statements a bit
...
Coverity was flagging a recursive include between kernel.h and
cpulocals.h. As cpulocals.h also included proc.h, we can move that
include statement into kernel.h, and clean up the source files'
include statements accordingly.
2012-08-14 16:29:05 +00:00
David van Moolenbroek
5456f2728e
ext2: resolve Coverity warnings
2012-08-14 09:11:19 +00:00
David van Moolenbroek
4aec9db571
dp8390: resolve Coverity warnings (encore)
2012-08-14 09:11:18 +00:00
David van Moolenbroek
bc404a9401
TTY: resolve Coverity warnings
2012-08-14 09:11:17 +00:00
David van Moolenbroek
533f61249b
random: resolve Coverity warnings
2012-08-14 09:11:16 +00:00
Arun Thomas
93eadc7040
Make memory driver arch-neutral
...
-Use PAGE_SIZE instead of I386_PAGE_SIZE
-No need to grant ioport access for ARM
2012-08-13 17:21:47 +02:00
Arun Thomas
697f0d097f
Rename sys_vmctl_get_cr3_i386
2012-08-12 23:30:54 +02:00
Arun Thomas
263ec1e885
pm: update for ARM
2012-08-12 23:30:54 +02:00
Arun Thomas
cdfb5ab81f
common/libc: build for ARM
2012-08-12 23:30:54 +02:00
Arun Thomas
ed9152a1a3
csu: build for ARM
2012-08-12 23:30:54 +02:00
Ben Gras
31d8526346
libexec: add load_offset feature, used for ld.so
...
. ld.so is linked at 0 but it can relocate itself; we
wish to load ld.so higher though to trap NULL dereferences.
if we know we have to execute ld.so, vfs tells libexec to put it
higher.
2012-08-12 23:22:54 +02:00
Erik van der Kouwe
ad898517ac
sprofdiff for comparing sprofile results
...
This patch adds the sprofdiff tool, which compares two sets of profiling
output files. It sorts processes and symbols by difference in average
number of samples, placing those that took more time on the left first
and those that took more time on the right last. If multiple runs are
combined, a standard deviation is computed and this is used to compute
the significance level, which gives an indication of which differences
are likely to be due to chance.
This tool is run not on the raw profiling files, but on the output of
sprofalyze -d (a new option). Though having to use two tools and an
intermediate file seems a bit awkward, the advantage is that the
original source tree is not needed to resolve the symbols. For
comparisons, this is very useful. Also, the intermediate file is in a
text format that can easily be processed by scripts, which may be useful
for other purposes as well.
2012-08-11 22:09:42 +00:00
Arun Thomas
fbd456ee2b
libc/mallocdebug: Make arch-generic
2012-08-10 22:45:35 +02:00
Arun Thomas
caa798bbe1
brksize: Remove non-ELF code
2012-08-10 22:45:35 +02:00
pikpik
90f82bb33e
Fix minimal ISO installation
...
- Minimal ISO's have little in /usr/src
- Copy boot.cfg from /etc instead
2012-08-10 22:21:59 +02:00
pikpik
445f634a90
Removed legacy floppy boot support
...
- fdbootparams and fdboot are removed
- fdboot manual references are removed
2012-08-10 22:21:58 +02:00
Arun Thomas
7fcec4ef61
drivers.h: fix machine includes
2012-08-10 22:12:13 +02:00
Arun Thomas
65a87d5bcb
Fix prototypes for getdents, read, readlink
2012-08-10 22:09:43 +02:00
Arun Thomas
fbad9eaf95
Clean up arch Makefiles for libminc
2012-08-10 19:02:38 +02:00
Arun Thomas
3131ad3154
ARM headers
2012-08-10 19:02:19 +02:00
Erik van der Kouwe
10cbc9bd11
Write raw sprofile traces to preserve all information as well as save space
2012-08-10 18:49:40 +00:00
Arun Thomas
ad95bad8f7
Restore and use C version of oneC_sum
2012-08-10 14:48:48 +02:00
David van Moolenbroek
378164d359
libnetsock: resolve Coverity warnings
2012-08-09 00:16:36 +02:00
David van Moolenbroek
ebc85e54c4
libsys: resolve Coverity warnings
2012-08-09 00:16:36 +02:00
David van Moolenbroek
49aed1ad97
libsys: remove unused stacktrace variant
2012-08-09 00:16:35 +02:00
David van Moolenbroek
be87fdda3d
PM: resolve Coverity warnings
2012-08-09 00:16:35 +02:00
David van Moolenbroek
aa5531fc67
IS: resolve Coverity warnings
2012-08-09 00:16:35 +02:00
David van Moolenbroek
fd8c6c1d30
IPC: resolve Coverity warnings
2012-08-09 00:16:35 +02:00
David van Moolenbroek
8c5d506b8a
procfs: resolve Coverity warnings
2012-08-09 00:16:34 +02:00
Ben Gras
b3f47f5835
vm: ignore RS pin (pre-allocate) requests for now
...
. done by RS to reduce/remove dependency on VM for recovery
. RS has the default stack size of 64MB since the nosegments
change, using a huge amount of unused memory to pre-allocate
. ignore these requests until actually required (i.e. being able
to survive VM crashes)
Thanks to pikpik for investigating why RS was so huge.
2012-08-08 15:51:10 +02:00
Arun Thomas
0ae2e2df94
libc: ARM generateasm
2012-08-07 17:01:25 +02:00
Erik van der Kouwe
fc42f78836
Re-write sprofalyze in C for better performance, more options and to fix problems with the gap the kernel now has
2012-08-07 13:09:02 +00:00
David van Moolenbroek
cff95276d9
pci: resolve Coverity warnings
...
Or rather, slightly improve the code based on a false positive.
2012-08-06 16:18:40 +00:00