Ben Gras
467a01024e
bump trunk version to 3.1.9
...
make issue.install not include version
2010-09-15 08:47:42 +00:00
Ben Gras
2065c9982b
include - minor compile fixes (including <ansi.h> in files that use it)
...
workaround for kernel/debug.h that causes <ansi.h> to be included in mpx.S
indirectly.
2010-09-15 08:47:10 +00:00
David van Moolenbroek
354da24f5b
make getsysinfo() a system-land call
2010-09-14 21:50:05 +00:00
David van Moolenbroek
d269f5fb90
ProcFS integration
2010-09-14 21:27:31 +00:00
David van Moolenbroek
2c5c5c06ea
ProcFS server, by Alen Stojanov and David van Moolenbroek
2010-09-14 21:25:25 +00:00
David van Moolenbroek
3eb65448a6
VM: expose secondary cache size
2010-09-14 21:22:56 +00:00
Ben Gras
a5a8c57fe7
add EHOSTDOWN errno.
2010-09-14 11:51:41 +00:00
Tomas Hruby
ad5ecf906b
asm.h not installed
2010-09-03 17:01:18 +00:00
Tomas Hruby
9560b6dea8
ACPI driver
...
- 99% of the code is Intel's ACPICA. The license is compliant with BSD
and GNU and virtually all systems that use ACPI use this code, For
instance it is part of the Linux kernel.
- The only minix specific files are
acpi.c
osminixxf.c
platform/acminix.h
and
include/minix/acpi.h
- At the moment the driver does not register interrupt hooks which I
believe is mainly for handling PnP, events like "battery level is
low" and power management. Should not be difficult to add it if need
be.
- The interface to the outside world is virtually non-existent except
a trivial message based service for PCI driver to query which device
is connected to what IRQ line. This will evolve as more components
start using this driver. VM, Scheduler and IOMMU are the possible
users right now.
- because of dependency on a native 64bit (long long, part of c99) it
is compiled only with a gnu-like compilers which in case of Minix
includes gcc llvm-gcc and clang
2010-09-02 15:44:04 +00:00
Tomas Hruby
43a4725423
pci_*.h headers moved from drivers/pci to include/machine
2010-09-02 15:43:59 +00:00
Tomas Hruby
2440ffae49
Kernel exports DSDP and apic_enabled in machine structure
...
- kernel exports DSDP (the root pointer where ACPI parsing starts) and
apic_enabled in the machine structure.
- ACPI driver uses DSDP to locate ACPI in memory. acpi_enabled tell
PCI driver to query ACPI for IRQ routing information.
2010-09-02 15:43:56 +00:00
Tomas Hruby
344e9221ec
Kernel supports up to 64 IRQs
...
- enough for 2 io apics (usually with 24 pins)
2010-09-02 15:43:54 +00:00
Ben Gras
b1847ae244
make service look in /etc/system.conf.d/<progname> first for config file.
...
This makes it easier to
- have non-base system drivers (get clobbered by global system.conf)
- have drivers as packages (can't touch global system.conf)
- make configs part of the drivers/servers instead of in global file
(makes system parts more self-contained)
2010-08-31 14:33:31 +00:00
Erik van der Kouwe
1f2054c89c
Shutdown changes for multiboot: CTRL-ALT-DEL resets, panic halts
2010-08-30 19:01:58 +00:00
Arun Thomas
36fb30dfef
cdefs.h: Allow __CONCAT() macro to be nested
2010-08-30 14:34:58 +00:00
Thomas Veerman
2297e26660
Prepare headers to support file descriptor passing over UNIX Domain Sockets.
...
Contributed by Thomas Cort.
2010-08-30 13:41:22 +00:00
Ben Gras
5d6c2aae0a
gcov support, based on work contributed by Anton Kuijsten.
2010-08-25 13:06:43 +00:00
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
1d0e0e217d
<stddef.h> - alternative definition of offsetof for gcc using builtin
2010-08-25 07:25:32 +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
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
b337d3f8e5
move rrrrrrread_tsc from libsys to libc so anyone can use it
2010-08-20 18:43:56 +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
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
David van Moolenbroek
484b2f43d6
at_wini/ahci: write cache ioctls
2010-08-12 14:09:34 +00:00
David van Moolenbroek
bee1f38e01
VTreeFS library
2010-08-10 20:05:51 +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
42a2c1a03a
Increase max number of open files to 255 (more should be possible but does not seem necessary for now)
2010-08-04 13:35:19 +00:00
Erik van der Kouwe
a719ab7780
Auto-detect ext2 partitions in mount
2010-08-03 06:28:58 +00:00
Thomas Veerman
253b4b3fe5
- Add support for ST_NOTRUNC to struct statvfs.
...
- Let tests that test for long file names check for that flag, so that they can
verify the results properly.
2010-08-02 11:16:32 +00:00
David van Moolenbroek
20eced94e7
libdriver: allow driver to break out of message loop
2010-08-01 22:07:46 +00:00
David van Moolenbroek
da597227ac
put env_arg[cv] declaration in minix/sysutil.h
2010-07-29 21:16:23 +00:00
Tomas Hruby
170b420d07
driver.h - missing guardian
2010-07-29 10:53:50 +00:00
Ben Gras
49fe8e24b2
rename nameserv.h
2010-07-29 08:41:22 +00:00
Ben Gras
fb96391106
rename nemserv
2010-07-29 08:39:49 +00:00
Ben Gras
a022f412b5
extra includes to make porting cleaner
2010-07-28 16:32:45 +00:00
Ben Gras
05bbf81f93
new EPFNOSUPPORT errno
2010-07-28 16:32:21 +00:00
Arun Thomas
dafc8f1062
Add poll.h
...
Open Group requires this. Reported by Thomas Cort.
2010-07-27 09:21:56 +00:00
Arun Thomas
ee1cabf06c
Import poll() from NetBSD's libnbcompat
2010-07-26 20:46:04 +00:00
Ben Gras
541b5c5c38
inet_pton(), patched by Thomas Cort.
2010-07-26 14:47:10 +00:00
Ben Gras
008cc7c1a7
stdio.h - define P_tmpdir
2010-07-26 14:46:35 +00:00
Ben Gras
149153f8ca
<sys/resource.h> - define RLIM_NLIMITS
2010-07-26 10:04:45 +00:00
Ben Gras
34a58c8d82
inet_ntop, contributed by Thomas Cort.
2010-07-23 09:54:47 +00:00
Erik van der Kouwe
3a5d923bf1
IO port is always 16 bit, even for inl
2010-07-23 07:25:21 +00:00
Erik van der Kouwe
7b9bddad1b
{in,out}s[bwl] deleted in previous commit, also delete their headers
2010-07-23 07:24:34 +00:00
Arun Thomas
dbde088d98
Replace NULL macro defs with null.h include
2010-07-22 10:03:31 +00:00
Tomas Hruby
62d44dc9ef
service utility fix
...
- of course 0 is a valid cpu
2010-07-22 09:57:14 +00:00
Arun Thomas
88e7725c13
string.h: Include null.h
2010-07-21 15:37:42 +00:00
Cristiano Giuffrida
91a83fe265
Crash recovery and live update support for VM.
2010-07-20 23:03:52 +00:00
Tomas Hruby
f248bffc9e
service utility can par cpu option in system.conf
...
- does not have any effect, solely for debugging SMP
- backward compatible with older RS instance
2010-07-20 07:27:45 +00:00
Ben Gras
53b6f99fb0
includes: remove some prototypes of functions that aren't defined.
2010-07-19 11:39:57 +00:00
Ben Gras
f08922e848
include - string functions.
2010-07-19 10:46:49 +00:00
Ben Gras
b05c989298
kernel - prettier output for ipc errors, call names instead of trap numbers
2010-07-16 15:36:29 +00:00
Ben Gras
28b533cf87
includes - link in new ones
2010-07-16 00:12:32 +00:00
Ben Gras
2a556de6d2
further sha2 conversion by Gautam Tirumala
2010-07-16 00:12:16 +00:00
Ben Gras
feaa082ea8
libutil - sha1 functions.
2010-07-16 00:11:16 +00:00
Ben Gras
117bac1e2d
libutil: md5 functions.
2010-07-16 00:06:00 +00:00
Ben Gras
6c66933f90
64-bit bitwise manipulation functions, by Gautam Tirumala.
2010-07-15 23:48:56 +00:00
Thomas Veerman
ecc8a52f82
Add getnucred system call. Contributed by Thomas Cort
2010-07-15 13:24:57 +00:00
Thomas Veerman
17a0731f28
Update header files to support UNIX Domain Sockets. Contributed by Thomas Cort
2010-07-15 12:48:15 +00:00
Thomas Veerman
ca0bed1400
Add EOVERFLOW error condition
2010-07-15 12:36:41 +00:00
Ben Gras
8a0c10fcb9
lib: mkdtemp(), contributed by by Gautam Tirumala
2010-07-14 22:45:28 +00:00
Ben Gras
4fcd34137c
includes: header files for netbsd db code.
2010-07-14 14:52:02 +00:00
Cristiano Giuffrida
f8a8ea0a79
Dynamic configuration in system.conf for boot system services.
2010-07-13 21:11:44 +00:00
Ben Gras
f6e558f5d4
errno EFTYPE
2010-07-13 20:05:47 +00:00
Cristiano Giuffrida
8cedace2f5
Scheduling parameters out of the kernel.
2010-07-13 15:30:17 +00:00
David van Moolenbroek
1ecdac623a
libsys: add standard condition spinning primitives
2010-07-12 23:14:40 +00:00
Arun Thomas
bcaf746508
Import strsep() from NetBSD's libnbcompat
...
Ported by Gautam Tirumala
2010-07-12 17:41:31 +00:00
Arun Thomas
652618e458
shquote() from NetBSD's libnbcompat
...
Ported by Gautam Tirumala
2010-07-12 17:32:57 +00:00
Arun Thomas
1cee6fe95e
Import asprintf() and vasprintf()
...
Ported from libnbcompat by Gautam Tirumala
2010-07-11 13:46:58 +00:00
Kees van Reeuwijk
a5dfadeb70
Let string.h include stdint.h, since some programs, in particular llvm/clang,
...
assume that this happens.
2010-07-09 23:58:37 +00:00
Cristiano Giuffrida
8427d774b6
RS live update support.
2010-07-09 18:29:04 +00:00
David van Moolenbroek
895850b8cf
move timers code to libsys
2010-07-09 12:58:18 +00:00
Arun Thomas
f3ce085913
Pull in NetBSD's queue.h (for pkgsrc)
2010-07-07 14:17:25 +00:00
Cristiano Giuffrida
1f8dbed029
RS crash recovery support.
2010-07-06 22:05:21 +00:00
Ben Gras
f6f814cb02
include, kernel: minor fixes to make compiling and linking work with clang.
...
(fixing warnings)
2010-07-06 11:59:19 +00:00
Cristiano Giuffrida
3de6a807ce
Configure settings for system services dynamically with the new service edit command.
2010-07-05 19:37:08 +00:00
Erik van der Kouwe
37325bd7c5
Make service ABI backwards compatible again
2010-07-03 05:02:59 +00:00
Cristiano Giuffrida
03f64ac97a
Self update support in RS.
2010-07-01 18:48:25 +00:00
Erik van der Kouwe
b5ae3961bb
Fix unintended changes in r7614
2010-07-01 11:56:02 +00:00
David van Moolenbroek
06a0260c3c
PCI: add AHCI T3 and subclass values
2010-07-01 09:20:36 +00:00
David van Moolenbroek
2488cc6442
PCI: expose BAR sizes
2010-07-01 09:10:16 +00:00
Erik van der Kouwe
4690e8b015
Opps, forgot to svn add these files
2010-07-01 08:38:15 +00:00
Erik van der Kouwe
23284ee7bd
User-space scheduling for system processes
2010-07-01 08:32:33 +00:00
Ben Gras
65be30daed
libfetch - move fetch.3 to man and fetch.h to include
2010-07-01 00:05:48 +00:00
Ben Gras
098412be83
small fixes for pkgsrc by Buccapatnam Tirumala, Gautam.
2010-06-30 12:18:34 +00:00
Cristiano Giuffrida
06700d05d1
Give RS a page table.
2010-06-28 21:53:37 +00:00
Cristiano Giuffrida
869a223d43
service clone command to clone system services on demand.
2010-06-28 21:38:29 +00:00
Ben Gras
8379b08845
library function to retrieve kernel proc table and sanity check it
2010-06-28 11:05:15 +00:00
Ben Gras
aa6ff4c8be
lib: setprogname() + getsubopt()
2010-06-26 00:44:24 +00:00
Arun Thomas
c0c8d25799
Rename mkfiles from minix.*.mk to bsd.*.mk
...
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00
Kees van Reeuwijk
25dc0fc376
Some standard Unix functions were feature-dependent on _MINIX.
2010-06-24 14:17:25 +00:00
Erik van der Kouwe
498d7d8a4c
Don't use kernel responses in servers
2010-06-24 07:37:26 +00:00
Ben Gras
fc01683584
include, vfs: statvfs, fstatvfs calls, contributed by Buccapatnam Tirumala, Gautam.
2010-06-23 23:53:50 +00:00
Ben Gras
79d62892ad
includes: statvfs support, contributed by Buccapatnam Tirumala, Gautam
2010-06-23 23:46:10 +00:00
Ben Gras
24a5f48921
lib - a pwrite() implementation (Contributed by Buccapatnam Tirumala, Gautam)
2010-06-22 22:04:43 +00:00
Ben Gras
ddc3f62290
strptime() for minix.
2010-06-22 21:42:49 +00:00