Commit Graph

204389 Commits

Author SHA1 Message Date
wiz
62cbcac379 Add basic man page for emdtv(4).
Not hooked to the build yet so that the driver authors can verify and
improve it.
2011-08-13 22:18:31 +00:00
wiz
1e267b8e15 Add basic man page for coram(4).
Not hooked to the build yet so that the driver authors can verify and
improve it.
2011-08-13 22:08:01 +00:00
wiz
81a75b11fe Add basic man page for cxdtv(4).
Not hooked to the build yet so that the driver authors can verify and
improve it.
2011-08-13 22:00:35 +00:00
christos
ec97828f5a Always provide a meaningful short name for the kobj in the error message,
as well as the function name and the linenumber, without extra line feeds.
2011-08-13 21:04:05 +00:00
cherry
a6365cd724 Call the right function
(fix for an egregious error)
2011-08-13 20:24:19 +00:00
riastradh
f9b524691c Handle absolute symlinks to the root.
Fixes panic on `ln -s / foo && cd foo' found by ober by trying to run
wine.

ok dholland
2011-08-13 19:40:02 +00:00
jakllsch
4e38538497 Fix TLP_DEBUG after previous 2011-08-13 19:23:34 +00:00
jmcneill
e04c7348d5 lg3303 depends on dtv_math, not xc3028 2011-08-13 18:31:38 +00:00
christos
54ac9f2e2d simplifying code, unconfuses gcc index calculation. 2011-08-13 18:13:44 +00:00
cherry
ac71905311 Use spin mutices correctly.
- Prune redundant splxx()/splx() pairs.
 - Do not "leak" a mutex_spin_enter() via conditional return.

Thanks rmind@
2011-08-13 17:23:42 +00:00
cherry
e37867bdb5 Remove spurious header.
Thanks rmind@
2011-08-13 16:22:15 +00:00
jakllsch
0b2bca138d detach childern too 2011-08-13 16:08:23 +00:00
jakllsch
06e8b1bf70 Make correct spelling in comments a higher priority. 2011-08-13 16:04:09 +00:00
jakllsch
c31c99ba01 It's hard to get a backtrace after calling a NULL function pointer,
add KASSERT before calling.
2011-08-13 16:02:48 +00:00
jakllsch
94a0b3359a In *find_pending_irqs() return the value of pic_mark_pending_sources() instead
of 1.  Changed to match other ARM PIC code.
2011-08-13 15:38:47 +00:00
jmcneill
068b98b507 make sure mcontext is large enough to store the host mcontext; fixes
strange crashes seen in pool_init
2011-08-13 14:51:58 +00:00
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