skrll
0c6d78a91f
Don't panic when bus_space_map fails. Just report and error and carry on.
2010-01-17 08:33:54 +00:00
skrll
6ab17f1b21
Add some comments.
2010-01-17 08:29:00 +00:00
skrll
3e5644bee4
Simplify
2010-01-16 13:49:11 +00:00
skrll
98963a69d5
Count interrupts in uvmexp.
2010-01-16 07:38:56 +00:00
mbalmer
2603a89351
One semicolon only (;; -> ;)
2010-01-05 13:20:29 +00:00
skrll
154c44ffa9
Simplify.
2009-12-27 14:54:24 +00:00
skrll
26d75c899a
Delete extra '('. PR 42528
2009-12-27 13:55:13 +00:00
skrll
f018b696a5
Add some comments.
2009-12-18 15:49:48 +00:00
tsutsui
471e528b58
Remove `volatile' qualifier from argument types of
...
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.
XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()
2009-12-12 14:44:08 +00:00
matt
6a9e4e8eeb
Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
...
involves setregs and vmcmds). Should result in no code differences.
2009-12-10 14:13:48 +00:00
rmind
e9f7af26e6
Rename L_ADDR to L_PCB and amend some comments accordingly.
2009-12-10 05:10:00 +00:00
skrll
83752b8340
Remove stray {
...
ETOOMANYTREES
2009-12-08 09:56:42 +00:00
skrll
04f5bdc2c5
io / mem space access fixes. Mostly from OpenBSD.
2009-12-08 07:32:45 +00:00
skrll
ba52bf79ae
Simplify and improve dino_intr_map by checking for 0xff as error value.
...
Inspired by OpenBSD.
2009-12-08 06:56:54 +00:00
pooka
70d4493c77
Remove the portalfs kernel file system driver. Replace mount_portal(8)
...
with a version based on puffs. User functionality remains the same.
2009-12-05 20:11:01 +00:00
skrll
7268431c30
Apply errata workarounds.
...
From OpenBSD.
2009-12-03 22:18:04 +00:00
skrll
2ad57511b0
Make the pdc_pat_io_num and pdc_pat_pci_rt structures static so they're
...
definitely VA==PA. Being on a stack doesn't guarantee this.
2009-12-03 11:54:09 +00:00
skrll
52d0d7030d
Define DPRINTF and use it.
2009-12-02 13:49:32 +00:00
skrll
44ff25d90b
Whitespace.
2009-12-02 13:45:13 +00:00
skrll
17b0854823
Spell busy correctly.
2009-12-01 23:16:00 +00:00
skrll
702079ad35
Typo in comment.
2009-12-01 22:36:31 +00:00
skrll
16ac0b772d
Add a missing '\n' from a printf.
2009-12-01 16:20:52 +00:00
skrll
b7b0345e3d
Remove U_PCB as requested by rmind.
...
Same code before and after.
2009-12-01 09:06:16 +00:00
skrll
7e531c1c6e
KNF
2009-11-30 16:58:40 +00:00
skrll
ab92e61f58
Add a cast so that this actually compiles. oops.
2009-11-29 13:51:33 +00:00
skrll
ae1172385c
Use fdcache instead of inline assembler.
2009-11-29 10:33:56 +00:00
skrll
f194e4ddc0
Signal EOI correctly rather than deferencing NULL.
2009-11-29 10:30:07 +00:00
skrll
3fd8ce65d9
Use lci.
2009-11-29 10:15:07 +00:00
rmind
3f18fe8123
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
...
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
2009-11-27 03:23:03 +00:00
matt
11af2f9cfa
Kill proc0paddr. Use lwp0.l_addr instead.
2009-11-26 00:19:11 +00:00
pooka
09dbb89b44
If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
...
This allows use of subr_disk_mbr on all archs. Default to it for
the rump disk component. No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
2009-11-23 13:40:08 +00:00
mbalmer
0ae57f90dd
more s/the the/the/
2009-11-22 19:09:15 +00:00
rmind
12193ee3b4
Use lwp_getpcb() on hppa and ia64, clean from struct user usage.
2009-11-21 15:36:33 +00:00
skrll
71dad8f507
Fix itlb_cf and dtlb_cf.
2009-11-19 19:28:14 +00:00
skrll
9e705b0d3a
Reformat comment.
2009-11-15 15:53:05 +00:00
skrll
1070b74721
Use the new flags argument to pmap_kenter_pa for PMAP_NOCACHE.
2009-11-11 16:08:31 +00:00
skrll
12002be5ee
Update / improve the snprintb formats.
2009-11-11 12:57:52 +00:00
skrll
f875a8ff95
G/C unused sc_memh from dino_softc.
2009-11-09 13:33:08 +00:00
skrll
8e71351ce7
Whitespace.
2009-11-09 13:21:34 +00:00
skrll
0ed80c5100
Use elf/external.h from new binutils.
...
XXX do we need a src/tools/compat/elf.h?
2009-11-07 17:56:14 +00:00
cegger
9480c51b04
Add a flags argument to pmap_kenter_pa(9).
...
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
2009-11-07 07:27:40 +00:00
snj
32381fa0dd
Follow upstream license changes for files with Michael Shalayeff's
...
copyright. In most cases, this means dropping the 3rd and 4th clauses.
2009-11-03 05:07:25 +00:00
cegger
62cf489d8e
kill extra whitespaces
...
reviewed by tsutsui@
2009-10-26 19:16:54 +00:00
dyoung
d500dccc4a
Define, and hook into the isa_chipset_tag_t, mg_isa_detach_hook().
2009-08-19 15:13:24 +00:00
dyoung
ab367b5fb7
(Re-)define isa_detach_hook(), and define isa_dmadestroy(). Update
...
some isa_chipset_tag_t->ic_detach_hook() definitions.
2009-08-19 15:09:56 +00:00
matt
209a0b42e3
Include <sys/exec_aout.h> explicitly instead of relying on <sys/exec.h> to
...
do it for us.
2009-08-15 23:44:57 +00:00
skrll
6213e5fd5f
Define HPPA_FLEX_SIZE
2009-08-12 20:10:41 +00:00
skrll
25f569f275
Whitespace.
2009-08-08 14:19:43 +00:00
skrll
8a8c968f1a
Use device_xname.
2009-08-08 14:18:51 +00:00
skrll
01ec640001
G/C DCIAS
2009-07-24 06:57:53 +00:00