Commit Graph

186170 Commits

Author SHA1 Message Date
uebayasi
f0d2ed931c Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
then append them to ${SRCS}.  Those will be used to generate quad / softfloat
symbol lists.
2009-12-06 05:34:42 +00:00
tsutsui
378ad8db55 Sync MMU table initialization with amiga and atari a bit:
- for 040/060, move L2 descs for Sysptmap from the last L2 block in segment
  table pages to the contiguous block with ones for segment table mappings

- for 020/030, invalidate ste and pte entries separately since
  ste size (TIA_SIZE) and pte size (TIB_SIZE) could be different
  on 8KB/page systems

Tested on hp300 (040), mac68k (LC040), and news68k (030)
(and untested on others).

XXX: some more stuff in pmap_bootstrap.c could be moved into
XXX: common pmap_bootstrap_finalize()?
2009-12-06 02:42:34 +00:00
nakayama
38859c1df9 psycho_ue():
- remove printing of pa, it is irrelevant value since va address
  passed to iommu_extract is incorrect and we can look at it in
  IOTTE.
- print correct IOVA address.

While there, convert printf to aprint_error_dev and remove long
long casts by using PRIx64.
2009-12-06 01:35:40 +00:00
tsutsui
a1e417bc5e pm_stfree in struct pmap is a bitmap value so make it unsigned. 2009-12-06 00:33:58 +00:00
tsutsui
9ca3f123d3 Use proper macro, variable names, types, and assignments for readability. 2009-12-05 23:16:57 +00:00
pooka
09aa8689fb Cast Oh Kath Ra once every second. 2009-12-05 22:44:08 +00:00
pooka
4a2258a070 remove cv_wakeup.9 (it wasn't documented, just linked) 2009-12-05 22:43:34 +00:00
pooka
d2445bdd09 tsleep() on lbolt is now illegal. Convert cv_wakeup(&lbolt) to
cv_broadcast(&lbolt) and get rid of the prior.
2009-12-05 22:38:19 +00:00
pooka
faa8e1b3e3 Convert tsleep(&lbolt) to kpause(). Make ltsleep/mtsleep on lbolt
illegal.  I examined all places where lbolt is referenced to make
sure there were pointer aliases of it passed to tsleep, but put a
KASSERT in m/ltsleep() just to be sure.
2009-12-05 22:34:43 +00:00
mrg
14a6b5c89f - adjust the PA mask to the 43 bits supported by USIII.
- rework the spitfire/cheetah cache_flush_phys() to avoid several #ifdefs
- add a membar #Sync after sparc64_ipi_drop_fpstate (probably unnecessary)
2009-12-05 22:25:51 +00:00
mrg
b18b121b1e - update the TLB_SOFT2_MASK and TLB_DIAG_MASK definitions for USIII. partly
from openbsd.
- rename TLB_DIAG_MASK to TLB_RESERVED_MASK.  from openbsd.
- fix the TLB_PA_MASK definition to be correct.   our old one was 4 bits
  too wide.
- fix various errors in the #if 0 bitfield version of struct sun4u_tag_fields.

tested on U60 and SB2500.
2009-12-05 22:24:11 +00:00
mrg
9bf6f1ab87 from openbsd:
>Don't use u_int to store a 64-bit address. Found with help from miod.
>Makes a Sun Fire V490 boot without spending ages in bus_dmamem_alloc(9).
2009-12-05 22:02:53 +00:00
pooka
a3b4e31630 Use puffs_kernerr_abort as the error handler. 2009-12-05 20:54:40 +00:00
pooka
7431f4f63d Add an error handler which syslogs but does not abort() and make it
the default.  Most servers just shovel bits from their backend to
the kernel without checking the contents and dumping core in case
the backend gives garbage is a bit harsh.
2009-12-05 20:54:10 +00:00
pooka
a9b5fcccfc Note conversion to puffs for the kernel driver. 2009-12-05 20:34:28 +00:00
pooka
3b4bfde519 use puffs_cookie_t. no functional change. 2009-12-05 20:29:19 +00:00
pooka
8dec10527a Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
(missed new file in change batch)
2009-12-05 20:25:32 +00:00
pooka
3413da1d3f Note portalfs kernel driver removal. 2009-12-05 20:17:13 +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
pooka
4098e2664f Install obsolete lists for modules. 2009-12-05 19:14:39 +00:00
martin
f20c48026a printf format fixes to make it compile 2009-12-05 17:23:39 +00:00
plunky
e16149e27c add alias for Plug'n'Play Information service UUID.
(This is sometimes used in HID devices to provide manufacturer information)
2009-12-05 16:54:13 +00:00
jdc
0a653c3d77 Avoid a panic if we are asked to sync a zero-length map, by returning
immediately.
2009-12-05 16:48:26 +00:00
jdc
4d33475520 Really prefer the external over the internal PHY by checking only that
PHY address first.  Avoid problem with bogus ukphy's attaching on the
internal PHY of the SB1000.

Also, take some quirks for internal, external or either MII PHY from
the OpenBSD driver.
2009-12-05 16:43:25 +00:00
sborrill
1e82324f8f Another attempt to fix ws fallout. 2009-12-05 16:39:50 +00:00
pooka
8ce0209974 note playstation2 removal 2009-12-05 16:34:02 +00:00
dsl
4ea4889682 Correct what are clearly typos leading to duplicate vendor:product pairs.
Where possible values have been checked against the pcidatabase and x.org.
In some cases I've only commented on some dubious entries!
Values will be picked up by the next update.
Info from PR/36487
2009-12-05 16:30:39 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
cegger
a12917370a Fix syntax error on OSX 10.5.
While here, simplify handling with OPTARG using IFS.

developped with and 'go for it' dsl@
2009-12-05 15:56:25 +00:00
tsutsui
02f691b1af Replace obsolete vm_offset_t with appropriate paddr_t or vaddr_t.
(why gcc compiles these differ!?)
2009-12-05 15:31:07 +00:00
nonaka
03f1dea832 enable WSDISPLAY_COMPAT_RAWKBD option. 2009-12-05 14:55:13 +00:00
nonaka
e95c181974 sync with OpenBSD. 2009-12-05 13:56:43 +00:00
pooka
22d9f346a1 Remove now-empty rump_sleepers_init() 2009-12-05 13:01:31 +00:00
pooka
630dc3f64a KERNEL_UNLOCK_LAST in non-mpsafe kthread exit. 2009-12-05 12:54:11 +00:00
haad
3d365d3fb9 Add /usr/include/dev/dm directory. 2009-12-05 12:38:05 +00:00
pooka
384d713d97 Obsolete puffs_suspend manpage. 2009-12-05 12:14:32 +00:00
pooka
689551bfdb Remove suspension support from here too. 2009-12-05 12:13:08 +00:00
haad
568f60a3ff Include public interface describing user-kernel interface from include/dev/dm. 2009-12-05 11:44:56 +00:00
haad
2c73152555 Addapt libdevmapper library to new header file changes. 2009-12-05 11:42:24 +00:00
haad
980e89047e Remove duplicated netbsd-dm.h file it is already installed in include/dev/dm.
Add own libddevmapper library header file libdm-netbsd.h.
2009-12-05 11:38:40 +00:00
haad
79ad9d0df4 Install netbsd-dm.h file to include/dev/dm so it can be used by public. 2009-12-05 11:34:37 +00:00
haad
bd8ee331ed Include only user-kernel communication protocol related information in this header. 2009-12-05 11:30:26 +00:00
haad
902928d6cd Fix some small bugs pointed out byt pooka@. Remove not needed -D defines and
do not include private kernel header files. Instead copy part of it to test
program.
2009-12-05 10:38:27 +00:00
wiz
a7624277d5 Fix prop_dictionary_ensure_capacity signature, bump date.
From Silas Silva in PR 42413.
2009-12-05 10:17:17 +00:00
wiz
e34d48521a Correct Xref to libnetpgp(3). 2009-12-05 10:05:54 +00:00
snj
1f05b1aa64 Bring the xorg entries up to date. 2009-12-05 09:17:25 +00:00
snj
18658cbddd Build some drivers on cats. List taken from the existing xserver set
list, with the addition of wsfb.
2009-12-05 09:11:54 +00:00
snj
7a8b55f69d cats doesn't run under vmware, so nuke references to the vmware driver. 2009-12-05 08:34:26 +00:00
nakayama
0ef312715b Garbage collect unused or incomplete definitions. 2009-12-05 08:00:18 +00:00
nakayama
ea82fe109c Bring together similar inline asm codes of ld*a and st*a definitions
using macro, also remove unnecessary membar #Sync and %asi restore in
the case of 32-bit kernel.

While there, introduce an optimization case that asi is constant if
we are using gcc.
2009-12-05 07:58:57 +00:00