Ben Gras
e3ca89c0be
more sanity checking. sanity checking disabled by default.
...
give every process a full pagetable by default now.
first step to disabling kernel page table code (processes
might not have page tables -> no address translation).
2009-05-12 11:35:01 +00:00
Ben Gras
ebe050dbe2
large page size constant.
2009-05-12 09:23:27 +00:00
Ben Gras
d2caeb6146
start all processes, including VM, in VM_PROCSTART in linear address space,
...
to make space for kernel to be able to map in things below there.
2009-05-11 19:11:37 +00:00
Ben Gras
ade4c03b73
Don't build arch objs more than once.
2009-05-11 19:05:45 +00:00
Ben Gras
7c88767f75
remove debug msg
2009-05-11 11:57:20 +00:00
David van Moolenbroek
9a01c828c8
VFS-FS error codes: better safe than sorry
2009-05-11 11:30:04 +00:00
David van Moolenbroek
0ac1aaccca
Limited support for nested FS->VFS requests during VFS->FS call.
...
- Changed VFS-FS protocol to only store OK or negative error code in
m_type field of reply messages.
- Changed VFS to treat nonzero positive replies from FS as requests.
- Added backwards compatibility to VFS and MFS.
No protection of global data structures is provided in VFS, so many
VFS calls cannot be made safely by FS servers during many FS calls.
Use with caution (or, preferably, not at all).
2009-05-11 10:02:28 +00:00
David van Moolenbroek
dcfaf50f79
wrong field index in at_wini env_parse call
2009-05-10 16:58:23 +00:00
David van Moolenbroek
a2485b346c
potential buffer overruns in env_* routines
2009-05-10 16:54:37 +00:00
David van Moolenbroek
e08b38a5c4
regression fix: vfs lookup passes incorrect chroot information after crossing mountpoints
2009-05-09 17:53:22 +00:00
David van Moolenbroek
021808b12a
fix for commands that try to include mfs constants from vfs
2009-05-08 20:37:06 +00:00
David van Moolenbroek
293be6b80b
quick cleanup of old mfs cruft from vfs
2009-05-08 14:12:41 +00:00
Ben Gras
dc1238b7b9
make unpause() decrease susp_count, as it shouldn't be decreased
...
if the process was REVIVING. (susp_count doesn't count those
processes.) this together with dev_io SELECT suspend side effect
for asynch. character devices solves the hanging pipe bug. or
at last vastly improves it.
added sanity checks, turned off by default.
made the {NOT_,}{SUSPENDING,REVIVING} constants weirder to
help sanity checking.
2009-05-08 13:56:41 +00:00
David van Moolenbroek
113b1ec5f3
remove unused global variable from vfs
2009-05-08 13:54:01 +00:00
Ben Gras
ece26e2731
don't suspend the process as a side-effect if
...
device returns SUSPEND if it's select; select already
does this.
2009-05-08 13:50:29 +00:00
David van Moolenbroek
2a48c4ad48
Reenable RS table dump from IS (Shift+F6)
2009-05-08 12:38:14 +00:00
David van Moolenbroek
e9e347f5b6
Fix for large transfer operations not advancing buffer address
...
offset when DMA transfer unit is smaller than given buffer size.
Bug tracker item #82 .
2009-05-08 12:29:57 +00:00
David van Moolenbroek
4af032bbfe
Kernel interrupt hook management fixes:
...
- properly assign unique hook IDs
- after hook removal, remove hook-specific interrupt disable flag
2009-05-07 14:52:07 +00:00
Ben Gras
a38287067a
disable scary looking debug messages.
2009-05-07 09:58:16 +00:00
Ben Gras
746e138036
turn off scary looking debug messages.
2009-05-07 09:57:43 +00:00
Ben Gras
8b72765e39
ignore errors of pipe read (can happen with shutdown now,
...
now that all fd's are closed neatly in vfs), change messaging
in unexpected restarts
2009-05-06 15:38:32 +00:00
Ben Gras
fd7ef243e4
cleanup of vfs shutdown logic; makes clean unmounts easier (but
...
needs checking if fp_wd or fp_rd is NULL before use)
2009-04-29 16:59:18 +00:00
Ben Gras
b7e23b70e8
- delete unused .h files
...
- slight code cleanup
- neater exit procedure: exit when unmount
message received and kill signal (from RS 'down' or
reboot/shutdown) received (speed up unmount, but don't
confuse VFS by exiting before/during unmount msg)
2009-04-27 16:13:51 +00:00
Ben Gras
bb23344283
spurious debug
2009-04-27 16:11:38 +00:00
Ben Gras
02f047d008
lose -s flag for umount.
2009-04-27 14:23:57 +00:00
Ben Gras
a12113e476
process restarts are pretty rare/serious.
2009-04-27 14:07:47 +00:00
Ben Gras
4593eaec24
minor fixes to install script - allow 8kB blocksize (necessary for
...
large filesystems)
2009-04-27 12:59:49 +00:00
Ben Gras
60e7602aad
When we receive a PROC_EVENT message from PM, exit nicely; avoids
...
annoying graceful RS timeout on unmount.
2009-04-27 12:02:31 +00:00
Ben Gras
e5209d51f1
bad dma fallback to pio mode
2009-04-27 11:53:11 +00:00
Ben Gras
3b3e3b36c2
some more vm bits.
2009-04-23 15:21:03 +00:00
Ben Gras
ef8a741301
set global flag for kernel pages, so tlb entries for kernel aren't thrown
...
away on cr3 reload. minor optimization.
2009-04-23 15:11:16 +00:00
Arun Thomas
e9e1ae1cfc
Move queue.h to include/sys so that it can be used elsewhere. Pull in
...
FreeBSD's r179210 queue.h.
2009-04-22 20:02:39 +00:00
Arun Thomas
f149733e16
Disable IOMMU warnings.
2009-04-22 16:53:46 +00:00
Arun Thomas
3b37103fa3
Make the rtl8139 and orinoco drivers handle the system shutdown case
...
like other drivers. Also, some minor cleanups.
2009-04-22 12:42:37 +00:00
Ben Gras
2dd02cc560
mark pages whose refcount were >1 and drop to 1 and are
...
read/write writable in the pagetable right away instead of waiting for
a pagefault. minor optimization.
some a sanity check of SLAB-allocated pointers.
vm gets its own _exit and __exit like PM, so the stock (library) panic works.
2009-04-22 12:39:29 +00:00
Ben Gras
e0f3a5acf1
- enable ipc warnings by default
...
- ipc checking code in kernel didn't properly catch the
sendrec() to self case; added special case check
- triggered by PM using stock panic() - needs its own _exit()
reported by Joren l'Ami.
2009-04-17 13:46:37 +00:00
Ben Gras
e5717f7aef
clarify not found error message a bit.
2009-04-14 14:16:24 +00:00
Ben Gras
4cd6875d05
don't flush output for SIGWINCH. found by Joren l'Ami.
2009-04-06 09:39:42 +00:00
Ben Gras
65a9f0253b
unnecessary debugging message
2009-04-02 16:43:35 +00:00
Ben Gras
9647fbc94e
moved type and constants for random data to include file;
...
added consistency check in random; added source of randomness
internal to random using timing; only retrieve random bins that are full.
2009-04-02 15:24:44 +00:00
Ben Gras
51596bc608
print who the message is from.
2009-04-02 11:56:50 +00:00
Ben Gras
73ee8b8b99
don't make susp_count negative.
2009-04-02 11:44:26 +00:00
Ben Gras
b560a36b20
trace fix contributed by Joren l'Ami
2009-04-02 11:38:23 +00:00
Ben Gras
dc9a1bc30c
increment nph when printing physical regions; suggested by Guanqun Lu
2009-03-31 14:26:24 +00:00
Ben Gras
45d54cf1b0
change DmaMode checks from DEV_WRITE to DEV_WRITE_S
2009-03-31 14:23:33 +00:00
Arun Thomas
9e7837f63c
Tweak 64-bit integer type declarations; Fixes GCC sysutil build
...
breakage.
2009-03-30 17:07:39 +00:00
Ben Gras
3bb80322d9
suppress more mostly-harmless messages.
2009-03-26 16:11:27 +00:00
Ben Gras
2d1c884e35
suppress these noisy, alarming messages.
2009-03-26 15:56:08 +00:00
Ben Gras
cd2d85c13d
no 'small minix' option
2009-03-26 15:54:09 +00:00
Ben Gras
f56316a168
don't need to explicitly enable lance any more.
2009-03-26 15:23:07 +00:00