Ben Gras
5bb4530aba
No beta
2006-04-12 15:53:37 +00:00
Philip Homburg
e860feaa2c
Added PCI_IDE_PRI_NATIVE and PCI_IDE_SEC_NATIVE.
2006-04-12 11:26:20 +00:00
Ben Gras
ef7f412175
Maybe one more beta
2006-04-12 09:33:53 +00:00
Ben Gras
730b6a20d0
New version
2006-04-11 12:03:06 +00:00
Philip Homburg
acf9910a6e
Added some defines for mass storage.
2006-04-04 12:26:37 +00:00
Ben Gras
c9a0768242
Beta 3
2006-04-04 12:11:30 +00:00
Ben Gras
0a24534f62
Some more definitions for applications
2006-04-03 15:07:09 +00:00
Ben Gras
dbc345e1dd
. getifaddrs() and data
...
. sysexit definitions
for porting
2006-04-03 15:06:31 +00:00
Ben Gras
321f95f6c5
setenv()
2006-04-03 15:02:32 +00:00
Ben Gras
5519b87186
make gcc doesn't work if $SHELL is unexpected
2006-03-31 22:26:42 +00:00
Ben Gras
a704a57c46
include BSHELL path
2006-03-30 11:28:15 +00:00
Ben Gras
7b58dd7f9b
Renamed findproc() to _pm_findproc() to reduce polluting of application
...
namespace.
2006-03-25 04:49:04 +00:00
Ben Gras
22c9e97029
Don't do this
2006-03-24 14:16:06 +00:00
Philip Homburg
3290604a80
Added NWIOTCPGERROR.
2006-03-24 14:08:46 +00:00
Ben Gras
65723cba53
Fix compiler warnings for pax
2006-03-24 14:03:25 +00:00
Ben Gras
58aee91edf
Fix compiler warnings.
2006-03-24 13:53:09 +00:00
Ben Gras
dead87238d
version -B2
2006-03-24 13:47:50 +00:00
Ben Gras
9faaae8222
version 1.2
2006-03-24 13:46:51 +00:00
Ben Gras
0bcb14b384
_SC_PAGESIZE sysconf() support
2006-03-23 11:05:15 +00:00
Philip Homburg
64a9d53b12
PCI reports the amount of video memory (for chmem'ing the X server)
2006-03-17 15:23:59 +00:00
Ben Gras
eae250dea4
. load average calculation changed to calculate it all over every tick
...
instead of keeping a running total of enqueued processes
(because somehow the load average was broken)
. added SI_KPROC_TAB to get a copy of kernel process table from PM, for
a top implementation
. fixed arg to sys_nice() to make it an endpoint, not a slot number
2006-03-16 09:33:35 +00:00
Philip Homburg
50d805144c
dmap_io now returns a status. map_driver no longer calls dev_up.
2006-03-15 13:37:20 +00:00
Philip Homburg
d0d56cfb2b
Reverting some of changes that break backward compatibility.
2006-03-15 10:18:59 +00:00
Ben Gras
48b2be3ccc
/dev/ram is a path
2006-03-13 14:49:08 +00:00
Ben Gras
b3f969af94
. Version is '3.1.2-B1', stands for -beta1
...
. Removed old copyright notice from <minix/const.h>
2006-03-13 13:18:39 +00:00
Jorrit Herder
021e3234d8
Jorrit's ... "progress?"
2006-03-10 16:10:05 +00:00
Ben Gras
0cd9341f21
Tightened generation size - don't count process numbers more than once
2006-03-07 15:44:34 +00:00
Ben Gras
7d95abb072
Take out arbitrary constant
2006-03-07 15:38:43 +00:00
Philip Homburg
2478cde442
Print PCI capability types.
2006-03-06 15:19:51 +00:00
Ben Gras
7550304e19
Changes to support endpoints.
...
. rename message field name macros from *PROC* to *ENDPT*,
both to reflect the new meaning and to use it to hunt down where
they are used
. _PM_SEG_FLAG in fd replaces funny segment loading construction by
PM in FS
. _MAX_MAGIC_PROC is the highest used proc number, including magic
constants such as (currently) ANY, NONE and SELF, used by the
endpoint macros to make sure they are encoded properly and no valid
endpoint number ever encodes to it.
. rename proc_nr in address copy struct to proc_nr_e (endpoint)
2006-03-03 09:43:06 +00:00
Ben Gras
284dbccf65
Initial endpoint macros.
2006-02-21 15:26:12 +00:00
Philip Homburg
83bac36746
Reintroduced SIGEMT.
2006-02-17 14:12:12 +00:00
Philip Homburg
fa6f63c3cb
New errors and defines for socket options.
2006-02-17 13:43:50 +00:00
Philip Homburg
d430c4fac8
SIGBUS needs its own number. Removed SIGEMT. Made SIGIOT conditional on
...
_MINIX.
2006-02-17 13:43:07 +00:00
Philip Homburg
7034c0795d
Moved PCI driver to the ramdisk.
2006-02-15 14:21:56 +00:00
Philip Homburg
c3a88d15d8
Initial root filesystem is now on a ramdisk that is part of the image.
2006-02-15 11:18:21 +00:00
Ben Gras
5911460ce5
Fake setgroups() and initgroups() implementation.
2006-02-13 15:00:49 +00:00
Ben Gras
1d4d75795b
Revert to 30 OPEN_MAX (committed by mistake)
2006-02-13 10:32:05 +00:00
Ben Gras
88ba4b5268
added reenter check to lock_dequeue() to avoid unlocking of interrupts
...
via cause_sig() during an exception.
moved lock check configuration to <minix/sys_config.h> instead of
kernel/config.h, because the 'relocking' field in kinfo depends on it.
other prettification: common locking macro, whether lock timing is on or
not.
2006-02-10 16:53:51 +00:00
Ben Gras
dd284552b4
fixes to include major() and minor() in system header files (in a different
...
file than sys/types.h)
small binpackage update
2006-01-27 13:57:18 +00:00
Philip Homburg
8036f12f47
I/O, memory and IRQ resource control interface.
2006-01-27 13:02:02 +00:00
Ben Gras
e04832580d
Some misc portability-enhancing definitions.
...
Added fts.h for fts library imported from freebsd.
2006-01-20 13:42:29 +00:00
Ben Gras
a321c12f75
Move truncate()/ftruncate() prototype outside MINIX conditional
2006-01-19 15:33:13 +00:00
Ben Gras
46ad16e688
. new version of minix
...
. less space on filesystems of cd image
2006-01-18 09:49:54 +00:00
Ben Gras
b40438277b
Prototype fix
2006-01-17 11:24:48 +00:00
Philip Homburg
2ac648b695
Restructured defines for bridges, added defines for cardbus.
2006-01-12 14:35:29 +00:00
Philip Homburg
c4035d9c96
Added BUSC_PCI_RESCAN and GET_IRQACTIDS.
2006-01-12 14:34:00 +00:00
Philip Homburg
9484279e5a
Added sys_getirqactids, pci_init1, pci_rescan_bus, and pci_attr_w8.
2006-01-12 14:33:29 +00:00
Philip Homburg
988493b2e2
Added caching bits
2006-01-12 14:32:42 +00:00
Ben Gras
50b06261b6
Implementation of truncate(), ftruncate() and the F_FREESP fcntl().
...
Implemented by changing write_map to accept a WMAP_FREE flag. In that
case, it doesn't update the datablock (creating indirect zones as
necessary) pointer, but it frees the datablock if present. Also it
frees the single and double indirect blocks if unused.
This makes the implementation of truncate_inode() simpler.
truncate_inode() now accepts a truncation length which makes
implementing truncate() and ftruncate() simple.
This also allowed implementing the F_FREESP fcntl().
2006-01-11 17:14:51 +00:00
Ben Gras
fbc190e562
Added truncate and ftruncate() prototypes and call numbers (prematurely)
...
Added symlink-related prototypes
2005-12-20 14:17:05 +00:00
Ben Gras
f6e5052597
seteuid() and setegid()
2005-12-13 09:48:29 +00:00
Ben Gras
32d5141935
Added prototype for getsockopt().
2005-12-12 10:40:29 +00:00
Philip Homburg
b3cd15b01b
Separate pci driver
2005-12-02 14:40:51 +00:00
Ben Gras
7c1b2ef659
typedef dns_hdr_t HEADER;
...
for applications
2005-11-17 01:29:08 +00:00
Ben Gras
cbea840414
Define
...
IPPORT_RESERVED as 1024
for applications
2005-11-17 01:23:46 +00:00
Ben Gras
e45c9f2741
Synonyms for helping porting applications.
2005-11-17 01:23:33 +00:00
Ben Gras
dd99ee67e0
Rename some #defines such as MAX_BLOCK_SIZE to _MAX_BLOCK_SIZE and such
...
so as to not pollute application namespace.
2005-11-14 18:41:27 +00:00
Ben Gras
267c01b493
out-of-date comment fixed
2005-11-14 16:35:32 +00:00
Ben Gras
f9c1f3172d
getloadavg
2005-11-14 15:58:07 +00:00
Philip Homburg
4102a5db28
Various changes to header files for tcpdump.
2005-11-09 15:43:39 +00:00
Philip Homburg
7394f38ed7
Added paramvalue to the library.
2005-11-08 13:59:27 +00:00
Philip Homburg
80cce8b3d3
Added prototype for hypot.
2005-11-04 17:14:59 +00:00
Philip Homburg
8950d7eae7
Make struct sockaddr at least as big as struct sockaddr_in
2005-11-04 17:07:39 +00:00
Ben Gras
6e37eb17b2
(mode_t) casts confused preprocessor
2005-11-03 17:04:50 +00:00
Ben Gras
a3752a3a51
Fix
2005-11-01 13:15:44 +00:00
Ben Gras
4c648c343e
Giovanni's symlink patches (includes only)
2005-10-31 14:14:54 +00:00
Ben Gras
2c704d288f
Giovanni's syslog.h
2005-10-31 14:07:07 +00:00
Philip Homburg
d920f5e0f9
Support for raw keyboard I/O and the AUX (PS/2 mouse) channel.
2005-10-24 13:52:53 +00:00
Philip Homburg
ed4ec02ddf
Removed cast from sys_inb.
2005-10-24 13:51:39 +00:00
Philip Homburg
1de4b3a426
More filedescriptors
2005-10-24 13:51:02 +00:00
Jorrit Herder
78f20c3959
Rest ...
2005-10-21 13:46:47 +00:00
Philip Homburg
724813fdce
Prelim commit for ethernet driver crash recovery.
2005-10-21 11:51:45 +00:00
Jorrit Herder
4745238b9c
New major device for Rescue Driver
2005-10-21 10:56:47 +00:00
Ben Gras
b74617dede
gcc separate target
2005-10-20 20:38:12 +00:00
Jorrit Herder
e6c1aeade0
New IPC error codes: ESRCDIED, EDSTDIED, ETRAPDENIED.
...
New getsysinfo type to get DS store contents from IS.
New Data Store (DS) server message types and arguments.
2005-10-20 20:34:34 +00:00
Ben Gras
fca5dad684
Reduce buffer cache a bit to make space for boot device for drivers.
2005-10-20 20:11:51 +00:00
Ben Gras
f6bdd6a4a9
New DMAP_BABY flag in <minix/dmap.h> and to be printed by IS in dmap dump.
2005-10-20 19:40:44 +00:00
Ben Gras
e50b781884
gcc includes fixup
2005-10-18 17:21:24 +00:00
Ben Gras
4bae163d37
High watermark memory usage feature
2005-10-18 17:21:11 +00:00
Ben Gras
ea75918df1
printf() by kernel and servers now send messages to an array of processes,
...
OUTPUT_PROCS_ARRAY in <minix/config.h>, in that order, terminated by NONE.
log no longer forwards messages to tty itself. This leads to less funny
loops and more robust debug-message handling. Also the list of
processes receiving messages can easily be changed around or disabled by
editing the array (e.g. disable it by changing the array to { NONE }.).
2005-10-18 10:34:54 +00:00
Ben Gras
683322d997
Version number for sosp release
2005-10-17 09:04:36 +00:00
Ben Gras
f04d46f456
Fixup for gcc headers (if installed)
2005-10-13 12:46:23 +00:00
Ben Gras
54709f5a3a
Added SI_* memory hole list type, to request a copy of
...
it via getsysinfo from PM.
2005-10-13 12:45:31 +00:00
Ben Gras
c06149cffe
Moved 'struct hole' for memory holes from PM to <minix/type.h>; also
...
number of holes to sys_config.h, to make memory allocation data structure
visible from outside..
2005-10-13 12:45:09 +00:00
Jorrit Herder
7842d4fb26
Minor changes for new library functions at PM.
2005-10-12 15:08:45 +00:00
Ben Gras
866b3fda9c
DEV_PING message type for device driver keepalives
2005-10-12 14:29:38 +00:00
Jorrit Herder
f587fe41e5
Changed EDEADDST to EDEADSRCDST
2005-10-05 09:52:54 +00:00
Ben Gras
5b452954ba
FSDEVUNMAP, late commit
2005-10-04 11:46:51 +00:00
Ben Gras
8c4166ee85
Add SIGWINCH signal and functionality in tty and support in PM.
2005-10-03 12:03:57 +00:00
Philip Homburg
31c1d6bf0d
Changes to includes for VM, IOPL, logging. Increased _NR_PROCS, CLICK_SIZE is
...
now 4096.
2005-09-30 12:47:03 +00:00
Philip Homburg
5f7b803dcd
Asynchronous connect (for non-blocking socket connect emulation)
2005-09-30 12:44:39 +00:00
Philip Homburg
a9a8299e88
Misc. compatibility changes
2005-09-30 12:41:25 +00:00
Philip Homburg
440668c645
Added ELOOP
2005-09-30 12:39:12 +00:00
Ben Gras
16aa1d64f2
Free up some memory to make (big) commands making work in 16MB
...
vmware.
2005-09-25 13:57:11 +00:00
Ben Gras
12606da07b
First step to book CD - version 3.1
2005-09-23 22:45:29 +00:00
Ben Gras
669b2db75b
Added fsync() prototype.
2005-09-21 10:57:21 +00:00
Ben Gras
e890db422c
new version for PH test
2005-09-19 13:56:42 +00:00
Ben Gras
0ea3bf40ac
New version
2005-09-16 14:27:32 +00:00
Ben Gras
688910d983
Ast@'s formatting fixes
2005-09-16 14:23:14 +00:00
Ben Gras
ce1402bc16
Synchronize comment.
2005-09-14 01:59:36 +00:00
Ben Gras
d9557981d1
c -> d char
2005-09-14 01:44:13 +00:00
Ben Gras
17e34f508d
Fix by Al.
2005-09-14 00:49:08 +00:00
Ben Gras
0c83d1f97e
*** empty log message ***
2005-09-13 12:29:08 +00:00
Ben Gras
7548c88ede
New subversion
2005-09-13 00:08:15 +00:00
Ben Gras
b42ee4a0e1
New version
2005-09-12 15:30:51 +00:00
Ben Gras
309287d44f
Even smaller (ast)
2005-09-11 20:06:37 +00:00
Ben Gras
b18cbb66ea
Small minix smaller.
2005-09-11 19:13:27 +00:00
Ben Gras
8e7bad10b2
Increase version space to allow "3.0.8d" versions.
2005-09-10 20:53:48 +00:00
Ben Gras
1de242401f
An empty <sys/file.h> helps porting.
2005-09-06 16:19:21 +00:00
Ben Gras
d9f669a326
We're nearly at 3.0.8 now..
2005-09-05 17:03:24 +00:00
Ben Gras
f67ccc7333
Need an IPPROTO_UDP
2005-09-01 15:24:05 +00:00
Ben Gras
3f6cd154a2
Joren l'Ami's fixes to includes for gcc
2005-09-01 13:07:08 +00:00
Ben Gras
6a56df46e9
*** empty log message ***
2005-08-30 16:56:46 +00:00
Ben Gras
c7b2e60af8
NR_BUFS forced low if a small minix symbol is defined
2005-08-29 20:00:14 +00:00
Ben Gras
43ea6a9ce8
Added <minix/sys_config.h>. This file is intended to be included from
...
other, user-includable config files. It only defines names that don't
pollute the users namespace (start with _). <minix/config.h> still works
like always; it includes sys_config.h now and defines the 'messy' names
(such as CHIP) as the 'cleaner' names (such as _MINIX_CHIP).
Changed some of the other include files to use sys_config.h and the
'cleaner' names. This solves some (past and future) compilation problems.
2005-08-29 13:52:08 +00:00
Ben Gras
90fecead0d
*** empty log message ***
2005-08-28 22:01:06 +00:00
Ben Gras
43641f5d7b
One of Al's memory-friendly changes
2005-08-26 12:38:15 +00:00
Ben Gras
4caadca5e0
Paths updates
2005-08-26 12:14:25 +00:00
Ben Gras
d48770fcb5
Path config, so they're not hard-coded separately in commands
2005-08-26 12:00:43 +00:00
Philip Homburg
a61e8f28c7
Added basename(3)
2005-08-25 11:33:43 +00:00
Ben Gras
647e179038
. release fixes
...
. added OPENCT ioctl to at driver, which returns the number of times
a device is opened. if it's not opened exactly once, new partition info
will not be read in (at the next open after this close). included
this check in autopart.
2005-08-25 09:47:31 +00:00
Jorrit Herder
10e4e98947
Renamed SM to RS (Reincarnation Server).
2005-08-23 11:28:16 +00:00
Ben Gras
d11b2e4b8c
Al's double-blank-line removal request
2005-08-22 15:23:47 +00:00
Ben Gras
87b0780ef7
Maximum block size lowered to 4K (gasp) !
2005-08-12 12:41:29 +00:00
Ben Gras
d41f3858fd
changed default INTR key to ^C instead of DEL
2005-08-12 09:40:16 +00:00
Ben Gras
5789f7abec
config version bumped to 307; NOT cvs tagged yet; misc fixes
2005-08-05 19:19:18 +00:00
Jorrit Herder
941b5ebd1c
Fix to device table at FS.
...
BIOS and AT installed in /sbin.
Floppy boot fixed.
2005-08-05 18:57:20 +00:00
Philip Homburg
473317e571
Added dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.
...
Add env_setargs call for access to argc/argv.
2005-08-05 14:20:05 +00:00
Ben Gras
ad24bb4072
Make include files and dirs bin-owned, to make sure bin can install them
2005-08-05 11:40:46 +00:00
Philip Homburg
db5a8bb2b8
Added dp8390 driver. Additional env_parse functions that take argc and argv.
2005-08-05 09:53:08 +00:00
Jorrit Herder
c9ab8cce43
Changed minor number of /dev/zero from 6 to 5.
...
(Make sure to update your system accordingly or /dev/zero won't work.)
Cleaned up comments in MEMORY driver.
2005-08-05 09:43:22 +00:00
Jorrit Herder
74711a3b14
Check if kernel calls is allowed (from process' call mask) added. Not yet
...
enforced. If a call is denied, this will be kprinted. Please report any such
errors, so that I can adjust the mask before returning errors instead of
warnings.
Wrote CMOS driver. All CMOS code from FS has been removed. Currently the
driver only supports get time calls. Set time is left out as an exercise
for the book readers ... startup scripts were updated because the CMOS driver
is needed early on. (IS got same treatment.) Don't forget to run MAKEDEV cmos
in /dev/, otherwise the driver cannot be loaded.
2005-08-04 19:23:03 +00:00
Ben Gras
20b4f17334
Added RO_BIT needed for new at_wini / fs flag
2005-08-04 09:33:38 +00:00
Jorrit Herder
e561081545
Miscellaneous clean ups and fixes to the kernel.
...
Support for FLOPPY in boot image. (Set controller=fd at boot monitor.)
Moved major device numbers to <minix/dmap.h> (maybe rename to dev.h?)
2005-08-04 09:26:36 +00:00
Jorrit Herder
89cf745fe2
Single boot driver loaded, while multiple can be included in the boot image.
...
The user needs to set label=... to choose the driver of his or her choice.
This driver will be mapped onto the controller that is set in controller=...
Minor cleanup of kernel source code (boot image table now is static).
2005-08-03 16:06:35 +00:00
Philip Homburg
c12b74dad5
Random is now a separate driver.
2005-08-03 15:22:41 +00:00
Jorrit Herder
1ae4d41d0d
Without /dev/boot ...
2005-08-03 14:17:28 +00:00
Jorrit Herder
375f6f8754
Miscellaneous cleanups.
2005-08-03 11:53:36 +00:00
Philip Homburg
343bd97aeb
Removed old socket library.
2005-08-03 11:28:43 +00:00
Jorrit Herder
b69ca94efb
Fixed 'bug' in log driver that caused kernel messages not to be displayed.
...
This was caused by a change in the shared driver code. Not log's fault.
Renamed #definitions of driver process numbers, e.g., TTY now is TTY_PROC_NR.
All known (special) processes now have consistent naming scheme. Kernel tasks
don't follow this scheme.
2005-08-03 08:14:08 +00:00
Jorrit Herder
120e514506
Changed various header file to support dynamically staring drivers.
...
Note: full recompile necessary.
2005-08-02 15:31:12 +00:00
Philip Homburg
a93faca75f
rs232 support
2005-07-29 15:22:58 +00:00
Jorrit Herder
2471939f7d
System library changes to interface.
2005-07-29 15:02:27 +00:00
Philip Homburg
49c25df569
bios_wini driver
2005-07-29 10:21:04 +00:00
Ben Gras
62c08df482
Removed debugging statements from log.c; changed PRINTF_PROC in config.h
...
back to LOG_PROC_NR
2005-07-27 18:49:25 +00:00
Jorrit Herder
fe0dcb5c00
AT driver is not modified (debugging only);
...
TTY: select and revive with new notify and FS call back;
kernel: removed old notify code; removed ugly prepare_shutdown timer
kputc: don't send to FS if PRINTF_PROC fails
2005-07-27 14:32:16 +00:00
Ben Gras
e58db8b7f5
Values for alert revive/select callbacks
2005-07-27 13:09:38 +00:00
Philip Homburg
df1dbb4b7e
Prototypes for some string functions that are not part of the C standard.
2005-07-27 11:44:26 +00:00
Philip Homburg
501634d5ab
Added EALREADY and EMSGSIZE.
2005-07-27 11:43:28 +00:00