wiz
e96bfc25cf
Sort options and option descriptions, and sync usage.
2011-08-13 14:11:16 +00:00
jmcneill
11b9552b86
lwp0pcb should be struct pcb not ucontext_t, and initialize it in cpu_startup
...
instead of cpu_attach
2011-08-13 14:06:54 +00:00
jakllsch
6c3008d052
Sort (and synchronize) option list and `SYNOPSIS' section in
...
manpage, as well as the program's `usage'-line; also some other
minor changes.
From Snader_LB.
2011-08-13 14:02:48 +00:00
cherry
7bd1f7e3fe
MP probing and startup code
2011-08-13 12:37:30 +00:00
jmcneill
767acfddc1
no need to print copyright/version/memory info, just call banner()
2011-08-13 12:18:54 +00:00
cherry
92ccc4ea78
Add locking around ops to the hypervisor MMU "queue".
2011-08-13 12:09:38 +00:00
jmcneill
940f2702d2
- replace the gettimeofday timecounter with one based on CLOCK_MONOTONIC
...
- use gettimeofday for TODR clock
2011-08-13 12:06:22 +00:00
cherry
787e5fb097
remove unnecessary locking overhead for UP
2011-08-13 11:41:57 +00:00
jmcneill
86658a2f92
aio_return returns ssize_t not int
2011-08-13 11:10:31 +00:00
jmcneill
65693788ff
call lddone from a softint instead of the signal handler, now reading from
...
disk works:
ld0 at mainbus0: /home/jmcneill/test.fs (33554432)
ld0: 32768 KB, 65 cyl, 16 head, 63 sec, 512 bytes/sect x 65536 sectors
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
2011-08-13 10:58:32 +00:00
hannken
1147247693
Use mutexes to protect the hash lists instead of tsleep/wakeup.
2011-08-13 10:48:14 +00:00
jmcneill
154895972c
try to use aio_read/aio_write instead of pread/pwrite
2011-08-13 10:33:52 +00:00
jmcneill
df5e258309
- initialize cpu_info_primary early, before cpu0 attaches
...
- track idepth in cpu_info struct and use it in cpu_intr_p
- for debug and diagnostic kernels, abort when rebooting
- fill in __cpu_simple_lock_* stubs
- splraise(IPL_HIGH) before calling kernmain
- pmap_extract: only return phys addr if pap is not NULL
2011-08-13 10:31:24 +00:00
jakllsch
93a4349576
Restore binary compatibility with NetBSD 5 binaries that utilize video(4).
2011-08-13 02:49:06 +00:00
wiz
81683017b5
Merge two entries for same error code.
2011-08-12 23:40:43 +00:00
wiz
24781c1704
Remove trailing whitespace, superfluous quotes, move RCS Id to top.
2011-08-12 23:40:00 +00:00
dyoung
bcee2c1973
Straggler from last: add bus_user.h to the repository.
2011-08-12 22:23:12 +00:00
dyoung
65a4b5bf07
Pull the bus_space(9) definitions needed by alpha userland into
...
bus_user.h and include that from pio.h, sysarch.h, bus_defs.h. Fixes
the alpha build.
2011-08-12 22:22:49 +00:00
dyoung
f2c33a10eb
Define if_free() for ixg(4) to use.
2011-08-12 22:09:36 +00:00
dyoung
63cfe0ec97
Declare if_free().
2011-08-12 22:09:17 +00:00
dyoung
508a6ddd68
Install the ixg(4) manual page.
2011-08-12 22:04:33 +00:00
dyoung
ddb7bb5448
Attach ixg(4) to the kernel build (it's not in any kernel
...
configurations, yet).
2011-08-12 22:02:56 +00:00
dyoung
ae88eae8ca
Add the manual page for the Intel 82599 10-gigabit ethernet driver,
...
ixg(4).
2011-08-12 22:00:12 +00:00
dyoung
97579f7a66
Add sources for ixgbe(4), a Intel 82599 10-gigabit ethernet driver
...
ported from FreeBSD.
2011-08-12 21:55:28 +00:00
apb
ae48e7a592
Add sigevent(3) to SEE ALSO
2011-08-12 21:18:51 +00:00
hannken
94fc281af2
Change some #ifdef DIAGNOSTIC' to
KASSERT'.
...
Instead of a `pid_t' use a `lwp_t *' for locking diagnostics.
No functional changes intended.
2011-08-12 17:41:17 +00:00
dyoung
bf2a34aeb3
Make amigappc compile again by adding barebones definitions of some of
...
the bus_dma(9) types.
2011-08-12 17:40:49 +00:00
matt
0435f73056
Fix bug when only restoring r31 (lr was not being restored properly).
2011-08-12 14:48:00 +00:00
hannken
b8e5efdc84
Add missing parts to mount devices from a union file system:
...
- union_close() has to lock/unlock the lower vnode.
- union_fsync() has to call spec_fsync() for the union vnode.
- union_strategy() must allow writes to devices on the lower file system.
- union_bwrite() was completely missing.
2011-08-12 14:36:29 +00:00
jmcneill
ce6e29d2a8
add a simple disk driver, pass the path to the disk image on the kernel command line:
...
soundwave$ ./netbsd /tmp/test.fs
NetBSD/usermode startup
[...]
ld0 at mainbus0: /tmp/test.fs (33554432)
ld0: 32768 KB, 8322 cyl, 64 head, 63 sec, 1 bytes/sect x 33554432 sectors
boot device: ld0
root on ld0a dumps on ld0b
2011-08-12 12:59:13 +00:00
jmcneill
cd366a78be
implement reboot using execv
2011-08-12 11:37:04 +00:00
jmcneill
b7021257a8
Make GENERIC32 build on amd64
2011-08-12 11:22:11 +00:00
jdc
1a41a28bff
Use aprint_normal(). From apb@.
2011-08-12 08:47:05 +00:00
jdc
4e9cb6cc2b
Set the destination UPAID when establishing the interrupt mapping.
...
From eeh@.
2011-08-12 08:24:01 +00:00
jdc
e5b24af9a0
Add missing new line to zs_attach_fhc()
2011-08-12 08:22:39 +00:00
mbalmer
8cd3e6b404
note gpio(4), gpiosim(4) changes
2011-08-12 08:16:17 +00:00
mbalmer
c9922bae5e
use my NetBSD email address
2011-08-12 08:06:23 +00:00
mbalmer
badcc9683d
Make some functions static, use getprogname() instead of
...
'extern char *__progname'.
2011-08-12 08:02:33 +00:00
mbalmer
b50c50a270
gpio(4) and gpiosim(4) can now be built and used as modules. While here,
...
make some functions static.
2011-08-12 08:00:52 +00:00
mrg
d2a9bbef6e
add auacer, present on the ultra45.
2011-08-12 06:55:45 +00:00
mrg
ed7e2948e6
initailise ih_pending and ih_ivec.
2011-08-12 06:41:50 +00:00
mrg
83575145e3
initialise ih_pending
2011-08-12 06:41:15 +00:00
hannken
7b19d6d068
When creating a union node representing a device initialize
...
the spec_node to make vrele() happy.
2011-08-12 06:40:10 +00:00
mrg
e55924b74e
initialise ih_pending.
2011-08-12 06:38:35 +00:00
mrg
10a9f07370
- make a bunch of functions static
...
- set nmapmask to 1 before prom_getprop(), so we don't trigger an ENOMEM
- initialise ih_pending
2011-08-12 06:38:18 +00:00
mrg
ef9525b770
add a DPRINTF() and use it a little.
...
if DIAGNOSTIC, whine if ih_pending or ih_pil aren't setup. may as
well try to finish converting all the callers this decade...
2011-08-12 06:34:56 +00:00
mrg
7b201b729f
convert some open-coded SPDB_PROBE printf calls to use DPRINTF() macro.
2011-08-12 06:04:41 +00:00
tteras
cd00f2949d
Have privilege separation child process exit if the parent exits.
2011-08-12 05:21:50 +00:00
mrg
99172b0754
use device_private() to find the matching pyro leaf, now that pyro
...
has been device_t-ified.
2011-08-12 05:00:29 +00:00
riastradh
772f45cfc9
Cache vattr in psshfs's setattr.
...
This means within the cache window, a setattr that wouldn't change the
remote file's attributes from our current view of them will not be
relayed to the server and wait for the server to answer. Thus, e.g., a
process with a periodic timer interrupt that calls open(2) in a loop
can make progress with much higher probability than without caching.
XXX The test case doesn't work, so it's currently disabled. It needs
to stop the child of sshd that is handling an sftp session, not sshd
itself, and it's not obvious how to do that.
ok pooka
2011-08-12 04:14:00 +00:00