Ben Gras
0f4eda33eb
new base libaudiodriver out of -lcommon in drivers/audio.
...
- this lets the drivers that used that library be compiled easily with
different compilers.
2010-08-25 11:03:53 +00:00
Ben Gras
cb86231930
sb16: flatten mixer, common, dsp hierarchy into 2-PROGS dir
2010-08-25 09:57:10 +00:00
Ben Gras
36fa521a0e
further ramdisk size increase for gcc+gcov binaries.
2010-08-25 07:26:00 +00:00
Ben Gras
1d0e0e217d
<stddef.h> - alternative definition of offsetof for gcc using builtin
2010-08-25 07:25:32 +00:00
Erik van der Kouwe
50ca7f7f8f
Zero out to three stack dwords to fix boot errors
2010-08-24 12:51:11 +00:00
Ben Gras
6fb1789ba4
at_wini: fix warning, bogus PRIVATE in struct type declaration
2010-08-24 12:45:37 +00:00
David van Moolenbroek
959026c29a
RS: use PM's API instead of its internals
2010-08-24 07:20:41 +00:00
Erik van der Kouwe
3211be5d14
Avoid duplicate type definitions, especially wchar_t which was inconsstent and caused trouble in libarchive
2010-08-23 17:00:04 +00:00
Erik van der Kouwe
a2647a4181
Fix buffer overflow in libarchive if a UTF-8 encoded string has codepoints that require two UTF-16 words
2010-08-23 16:32:05 +00:00
Erik van der Kouwe
d743c5c6f3
Solve buffer overflow on tab completion in ash
2010-08-23 16:30:58 +00:00
Arun Thomas
c9d500e9fd
Import hexdump(1) from NetBSD
2010-08-21 13:24:09 +00:00
Arun Thomas
de231a713e
Move MIN() and MAX() macros to sys/params.h
2010-08-21 13:10:41 +00:00
Arun Thomas
60a71efca8
easprintf() and evasprintf()
2010-08-21 13:07:25 +00:00
Erik van der Kouwe
292f98dc29
Minor malloc-debug fixes
2010-08-20 19:50:36 +00:00
Erik van der Kouwe
2a736d0c2e
Add MALLOC_DEBUG env var to debug applications using malloc
2010-08-20 19:16:31 +00:00
Erik van der Kouwe
b337d3f8e5
move rrrrrrread_tsc from libsys to libc so anyone can use it
2010-08-20 18:43:56 +00:00
Ben Gras
205855b8ee
boot ramdisk slightly bigger for gcc-compiled binaries.
2010-08-20 12:59:55 +00:00
Erik van der Kouwe
b9f5e50421
Provide boot image process main functions with a full parameter list, so that bad things don't heppen when using getenv
2010-08-20 11:07:16 +00:00
Ben Gras
02440068fc
update MANPATH for gcc, X
2010-08-19 16:35:01 +00:00
Ben Gras
4b9420d7d7
mk: use ar instead of gar for gcc/clang ar.
2010-08-18 16:08:10 +00:00
Ben Gras
3e7c270f6c
rc: add /sbin to $PATH for fsck.mfs
2010-08-18 16:07:54 +00:00
Arun Thomas
9a21d1a2fd
Macros for symbols used in both ASM and C
...
-The macros take care of prepending the leading underscore when
necessary.
2010-08-17 16:44:07 +00:00
Thomas Veerman
c8cfcab5db
- Make sure there's space left in the vmnt table for another mount point.
...
- Increase mount point limit.
2010-08-17 10:02:50 +00:00
Erik van der Kouwe
551374c228
Add ftello function
2010-08-16 17:07:40 +00:00
Erik van der Kouwe
a3e4dcafe0
Add fseeko function
2010-08-16 17:06:08 +00:00
Ben Gras
66b8f17a29
AR=ar still needed for pkgsrc.
2010-08-14 20:28:32 +00:00
Ben Gras
b1eb16e5ff
pkgsrc: no more g* prefix for binutils.
2010-08-13 13:33:51 +00:00
David van Moolenbroek
5a377144b0
diskctl(8) into commands makefile
2010-08-12 14:21:55 +00:00
David van Moolenbroek
78fc74633a
diskctl(8) tool
2010-08-12 14:11:28 +00:00
David van Moolenbroek
484b2f43d6
at_wini/ahci: write cache ioctls
2010-08-12 14:09:34 +00:00
David van Moolenbroek
5998a4b2af
AHCI driver: miscellaneous changes
...
- check the DF status flag after each command
- increase I/O timeout from 15 to 30 seconds
- share some code between ATA and ATAPI after all
- produce more accurate errors on DIOCEJECT
- rename AHCI_ID_SIZE to the more appropriate ATA_ID_SIZE
- rearrange ahci.h in a now more sensible way
2010-08-12 14:08:23 +00:00
Erik van der Kouwe
f8c56494c9
Boot monitor shouldn't report memory after 4GB; the addresses are wrong and VM can't deal with it anyways
2010-08-12 13:44:47 +00:00
David van Moolenbroek
a7ed430587
ramdisk: actually add ahci to the image, too
2010-08-11 11:30:08 +00:00
David van Moolenbroek
3f6f7672c2
ramdisk: add preliminary support for ahci
2010-08-11 11:16:44 +00:00
David van Moolenbroek
5824aab560
small fix in hgfs.8 manpage
2010-08-11 10:01:34 +00:00
David van Moolenbroek
9acaece9cc
fix ptrace.2 man page
2010-08-11 08:57:48 +00:00
David van Moolenbroek
bee1f38e01
VTreeFS library
2010-08-10 20:05:51 +00:00
Erik van der Kouwe
4e95b347a7
Make it possible again to compile the tests without installing GCC first
2010-08-09 05:51:01 +00:00
David van Moolenbroek
46624d640e
hgfs comment fix: inode status, not statistics
2010-08-07 11:50:15 +00:00
Tomas Hruby
f7ef192c02
Fixed warning noreturn function returns in arch_system.c
2010-08-06 12:48:26 +00:00
Tomas Hruby
58654acf08
both ack and gcc can compile klib16.S
2010-08-06 12:46:44 +00:00
Tomas Hruby
905e94f058
gas2ack filters out .code16
...
- .code16 tells gnu as to generate 16bit assembly ack requires -mi86 switch
2010-08-06 12:46:01 +00:00
Erik van der Kouwe
c8f70b8154
Fix tests when run as root; use bin account but current directory
2010-08-06 12:33:32 +00:00
Tomas Hruby
ac9a7f47bd
Missing prototype in pre_init.c
...
- gcc does not like it
2010-08-06 12:26:26 +00:00
Tomas Hruby
d5482f6e75
Reverted __packed for ACK
...
- ack does not produce packed structures
2010-08-06 10:28:40 +00:00
Tomas Hruby
6e614336d6
__packed defined for ACK
2010-08-06 09:53:53 +00:00
Erik van der Kouwe
c3c97e66b1
Fix ar error in testsh1.sh (ar was previously renamed to aal)
2010-08-06 09:28:26 +00:00
Erik van der Kouwe
5d4ef90b2c
Fix cdiff error in testsh1.sh
2010-08-06 09:27:49 +00:00
David van Moolenbroek
16f2eb25f4
AHCI driver
2010-08-05 16:37:58 +00:00
Thomas Veerman
ce41c63f41
fsck and mkfs have been moved to /sbin
2010-08-05 15:11:10 +00:00