Commit Graph

101367 Commits

Author SHA1 Message Date
tsutsui
0228fe92d4 Rewrite binpatch(8) utility to add support for ELF binaries,
using implementation of old src/usr.sbin/mdsetimage sources
which supports misc executable formats without LGPL'ed libbfd.

No particular comments on port-atari@.

XXX1: amiga also has the similar utility in amiga/stand/binpatch
      but it has slightly different options.
XXX2: Is it worth to put this utility into MI src/usr.sbin to patch
      rtc_offset etc. in GENERIC kernel binaries in distribution?
2009-08-20 15:14:49 +00:00
skrll
ec608b5760 Remove .ARM.attributes when converting from ELF to a.out. 2009-08-20 14:43:06 +00:00
dyoung
dadc08813b Declare genppc_isa_detach_hook(). 2009-08-20 14:21:12 +00:00
tsutsui
1a3bfa5100 Use volatile on device register access. 2009-08-20 12:55:26 +00:00
he
38268154a7 Typo correction: it's isa_dmadestroy(), not isa_dma_destroy(), apparently. 2009-08-20 12:51:28 +00:00
tsutsui
f3fa465d5d Add an empty bus_space_mmap(9) function as temporary workaround
for MI pci(4) mmap function in sys/dev/pci/pci_usrreq.c.
2009-08-20 11:50:11 +00:00
tsutsui
01dedfd62c Adjust attach message for failure path (found on gxemul). 2009-08-20 11:43:59 +00:00
cliff
dd11e1aa7a when USPACE <= PAGE_SIZE, we don't have md_upte[] in struct mdlwp 2009-08-20 03:33:53 +00:00
macallan
c55b7d3677 call vcons_replay_msgbuf() 2009-08-20 02:51:27 +00:00
macallan
45727432a7 call vcons_replay_msgbuf() when appropriate 2009-08-20 02:49:30 +00:00
macallan
eccd210ff3 use vcons_replay_msgbuf() when appropriate 2009-08-20 02:40:57 +00:00
macallan
a63997dc13 call vcons_replay_msgbuf() if we're the console 2009-08-20 02:29:16 +00:00
macallan
de0635bac0 use vcons_replay_msgbuf() 2009-08-20 02:01:55 +00:00
macallan
19bc30d9ac add vcons_replay_msgbuf() for use by wsdisplay drivers to replay the message
buffer when attaching so older log messages will show up in the scrollback
buffer
Idea from gimpy
2009-08-20 02:01:08 +00:00
cliff
fcfabcc793 include mips/vmparam.h to get PAGE_SIZE 2009-08-20 01:33:39 +00:00
cliff
81f557cc4e if USPACE <= PAGE_SIZE then the (single) upage will be mapped in kseg0 or xphys and cpu_swapin is null func. 2009-08-20 01:33:04 +00:00
macallan
c1e3bcc969 add support for a hardware cursor via wsdisplay 2009-08-20 00:59:28 +00:00
thorpej
071708f29f Use PMAP_ENABLE_PMAP_KMPAGE to enable PMAP_KMPAGE. We still want the bit
defined in the MI space, not in an MD header.
2009-08-19 23:54:33 +00:00
he
a52ef0cc60 Another needing <sys/exec_aout.h>. 2009-08-19 23:46:52 +00:00
dyoung
933f8ac715 Since the intention in capturing a device's PCI Configuration Space
in pci_probe_device() is for pcidevdetached() to restore the device's
original PCI Configuration Space after it is detached, let's capture
a device's PCI configuration before attaching a driver to it instead
of after.  Capturing the configuration after attaching is too late,
because a driver such as ath(4) may put a device to sleep promptly
after attaching it, and putting a PCI device to sleep often entails
changing PCI configuration from defaults.
2009-08-19 21:36:47 +00:00
macallan
b737c05a07 clear the screen and initialize it with the right WID to bypass the LUT on
24bit boards when switching to WSDISPLAYIO_MODE_FB
Now 24bit X with wsfb looks right.
TODO:
- hardware cursor
- acceleration
2009-08-19 20:51:47 +00:00
he
250f9cc973 One more file needing <sys/exec_aout.h>. 2009-08-19 19:39:05 +00:00
seanb
edb4329e21 - Newer gcc was throwning a 'dereferencing type-punned pointer will
break strict-aliasing rules' warning against IN6_IS_ADDR_* macros
  at -O2 -Wall.
2009-08-19 18:52:48 +00:00
pgoyette
96961f175f Use __arraycount() for readability 2009-08-19 16:31:28 +00:00
cegger
06ffd276b6 build fix: isa_detach_hook() needs isa_chipset_tag_t as first argument. 2009-08-19 16:23:28 +00:00
dyoung
22b3444c1e Define, and hook into the isa_chipset_tag_t, pcib_isa_detach_hook(). 2009-08-19 15:17:00 +00:00
dyoung
d4b4af5dc0 Define, and hook into the isa_chipset_tag_t, isabr_detach_hook(). 2009-08-19 15:16:09 +00:00
dyoung
5619bf1cbb isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t. 2009-08-19 15:14:59 +00:00
dyoung
73524f26ce Define, and hook into the isa_chipset_tag_t, pcib_isa_detach_hook(). 2009-08-19 15:13:56 +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
fdeb7750f8 isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t. 2009-08-19 15:11:22 +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
dyoung
a1ac1a18e2 isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t. 2009-08-19 15:04:27 +00:00
dyoung
fc51180b89 genppc_isa_detach_hook() needs two arguments, the first an
isa_chipset_tag_t.
2009-08-19 15:02:47 +00:00
dyoung
72047fbc34 isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t. 2009-08-19 15:00:23 +00:00
thorpej
1ed65faa16 Rationalize the definition of PMAP_KMPAGE. 2009-08-19 14:58:48 +00:00
dyoung
65d8a87204 Define genppc_isa_detach_hook() and isa_dmadestroy(). 2009-08-19 14:44:48 +00:00
dyoung
bcefcac3f5 Define isa_detach_hook(). 2009-08-19 14:37:24 +00:00
dyoung
fedb853f62 Define isa_dmadestroy(). Declare isa_detach_hook(). 2009-08-19 14:35:45 +00:00
dyoung
8690658537 Define isa_detach_hook() to fix bebox build. 2009-08-19 14:32:26 +00:00
dyoung
e178a961c9 Define isa_dmadestroy and isa_detach_hook. Hook up a couple of
isa_detach_hook implementations.
2009-08-19 14:29:53 +00:00
jmcneill
39177e11e5 s/PLAYSTATION/PlayStation/ 2009-08-19 13:38:26 +00:00
cegger
e470472c02 build fix: caddr_t -> void * 2009-08-19 13:07:59 +00:00
jun
a9393c26f1 Fix #41863, Missing "}". 2009-08-19 12:49:24 +00:00
darrenr
aa4e57639b Update head to version 4.1.33 from vendor branch 2009-08-19 08:35:30 +00:00
nisimura
17c789b4ca - use options PIC_MPCSOC to replace PIC_OPENPIC. 2009-08-19 06:28:06 +00:00
nisimura
6d35cad5db - Have pic_mpcsoc.c to adapt variations of Moto/Freescale OpenPIC
compliant interrupt controllers.  Mostly the refrain of pic_openpic.c
and shall be useful for 85xx/86xx/QorIQ and Tundra product lines.
2009-08-19 06:22:54 +00:00
matt
01bf4c69be In uvm_kmapent_alloc, Make sure entry is initialized.
Spotted by msaitoh.
2009-08-19 04:53:20 +00:00
macallan
b8db42fd33 - more cosmetics
- support screen blanking ioctl()s on both /dev/fb* and wsdisplay
2009-08-19 03:45:51 +00:00
macallan
d106f169f8 - some cosmetic fixes
- add support for screen blanking via /dev/fb*
- reimplement colour map ioctl()s for /dev/fb*
- implement mmap and ioctl for wscons, map 8 or 24bit framebuffer depending
  on hardware
With this X works with the wsfb driver in 24bit.
TODO:
- fix wsfb to use the right pixel format for S24
- implement wsdisplay colour map ioctl()s
- add hardware cursor support for wscons and /dev/fb*
2009-08-19 03:35:32 +00:00