Commit Graph

218601 Commits

Author SHA1 Message Date
elric cdfc977bf0 principals have principles. 2013-05-14 15:33:21 +00:00
tsutsui d4d20b3fd3 Don't call sh4_icache_sync_all() before sh_cache_ops is initialized.
Instead, use SH4_EMODE_CACHE_FLUSH() or SH4_CACHE_FLUSH() macro to
invalidate cache before initializing CCR.
This seems to suppress random file system corruption on wd(4) at acardide(4)
(which uses bus-master DMA and calls many cache flush ops) during pkgsrc
packages builds on landisk.
2013-05-14 14:11:43 +00:00
kiyohara 8f5c248d32 Add quirk for IODATA2 USB2SC.
This works target 0 only.  However supports 4 targets in spec.
2013-05-14 14:03:53 +00:00
tsutsui b5342d4988 Add a definition of SCSCMR1, smart card mode register available on 7750 etc. 2013-05-14 13:53:47 +00:00
tsutsui 186ae29489 Add SET_X11_NOSERVERS for default installation sets.
Althrough landisk doesn't have any screen console (except possible udl(4)
and ukbd(4)), it's a good environment to build packages binaries for sh3el,
including dreamcast.
2013-05-14 13:41:48 +00:00
tsutsui 16f89144c7 Use softint(9) to pass received data into wskbd(9) and wsmouse(9) layers.
It might be problematic to call them from an interrupt handler at IPL_SERIAL.
2013-05-14 13:28:01 +00:00
tsutsui 18d49399c6 Remove pasted but obsolete comments. 2013-05-14 13:15:55 +00:00
tsutsui 8d0fe2ad86 Use the default MD_SETS_SELECTED for ports which have Xservers. 2013-05-14 13:14:27 +00:00
tsutsui 10c998805e Use the default MD_SETS_SELECTED in util.c which includes an Xserver set.
luna68k has working Xserver so no need to specify md MD_SETS_SELECTED
with SET_X11_NOSERVERS.
2013-05-14 13:08:57 +00:00
macallan a1fe73c229 found the missing commit so put this back
am I the only one here with a Gdium?
2013-05-14 09:19:36 +00:00
macallan beb0fd53d4 always set up a clockframe and make it available to other drivers, so clocks
other than the MIPS cycle counter can be used ( for example pwmclock )
2013-05-14 09:16:59 +00:00
mlelstv 34b99be967 The previous patch didn't apply cleanly, because our code doesn't
use #ifdef OPENSSL_HAS_ECC.
Apply manually.
Drop now unused len variable.
2013-05-14 05:18:11 +00:00
msaitoh aa54c9127f Add some definitions.
Fix compile error.
2013-05-14 00:27:39 +00:00
christos c3e11c3703 - avoid using globals where it is simple.
- simplify: only use stdio for output.
2013-05-13 18:44:11 +00:00
christos 1e2e5a9113 CVE 1020933: Prevent integer overflow by using wider type 2013-05-13 18:01:08 +00:00
christos 7d5016218f CVE 1020935: Prevent overflow 2013-05-13 17:58:50 +00:00
christos 748fc2c7c9 CVE 1020946: Fix res leak. 2013-05-13 17:54:55 +00:00
msaitoh c2a5ba20dd For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because
these bits are reserved.
2013-05-13 17:10:58 +00:00
msaitoh 5d1fdce2a7 Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind().
Fixes PR#47716.

 Re-enable NVRAM lock stuff again (i.e. revert rev. 1.233).
2013-05-13 17:08:20 +00:00
christos f215d8eb4d make this compile again; macallan, please commit the right fix! 2013-05-13 16:01:31 +00:00
christos 2432e2b578 There is no opt_mvsoc.h; the #ifdef ARMADAXP should be changed to some
inherited device property.
2013-05-13 15:47:18 +00:00
christos 72812fcdca fix lossage from disklabel.h merge 2013-05-13 15:40:31 +00:00
christos 961429e30c CVE 1020938: Fix memory leak 2013-05-13 13:59:39 +00:00
wiz e0a986bcb9 Make nanotime and getnanotime prototypes match.
Also, the BUGS section doesn't describe something fixable, so make
it a CAVEATS section instead.
Bump date.
2013-05-13 12:07:44 +00:00
macallan dca95b2a79 get rid of mem_region.start_hi - if we can deal with 64bit addresses then
paddr_t is already 64bit anyway
2013-05-13 00:21:56 +00:00
macallan b00e7f24a9 more G5 stuff:
- call OF_quiesce()
- properly map the message buffer
2013-05-13 00:12:01 +00:00
macallan ca1d0e8b1b add OF_quiesce() to shut down OF background tasks, needed on G5
from Phileas Fogg
2013-05-12 13:50:11 +00:00
macallan 092e2fd7b4 cleanup mem_regions:
- use different variables for / and /memory nodes
- remove redundant OF_finddevice("/")
- assume 32bit addresses/sizes in "available" on Apple hardware
2013-05-12 13:42:39 +00:00
macallan bdcb52e9e3 move console_node and console_instance to ofw_consinit.c where they're
actually used
2013-05-12 13:23:08 +00:00
rodent 24964ef3d1 conform -> conforms - this is the file that was supposed to be changed.
apb@ was right about iconv(3).
2013-05-12 12:25:12 +00:00
wiz 9da71ac3fd conforms -> conform, since it's the verb for three nouns and thus plural. 2013-05-12 10:44:23 +00:00
wiz 4b7d905bfd Atomicly swap out pipe pointer before closing the pipe.
Hopefully fixes "ohci_device_isoc_start: not in progress 0xfffffe874ec259c0"

At least, for me, it increased the uptime during my normal use of uaudio@ohci
from 1,5d to over 3d.

Remove some trailing whitespace and unnecessary initialization
(memset before that) while here.
2013-05-12 09:54:55 +00:00
dholland 76f02c63f8 Don't expect fairings. 2013-05-12 03:29:07 +00:00
matt 5187c90ac5 Fix typo. 2013-05-12 02:55:54 +00:00
rodent f53b79ea5c s/conform/conforms/1 2013-05-11 19:20:30 +00:00
skrll 08f384533b KNF 2013-05-11 15:44:46 +00:00
skrll ee29566c11 Add attempt at KGDB support from Reiound. I couldn't get gdb to attach
properly, but the kernel was definitely in kgdb_trap and would respond
to $?#3f if typed via tip(1)
2013-05-11 14:19:44 +00:00
isaki f01440c2cd Revise the algorithm after Step3.
almost written by Y.Sugahara and minor modify by me.
This works for all input of FMOD/FREM and of course solves PR/47810.
2013-05-11 12:52:42 +00:00
skrll 0689800254 Fix !DDB build. 2013-05-11 10:15:43 +00:00
skrll 76df768b4e Include opt_{ddb,kgdb} and fix KGDB build 2013-05-11 10:15:10 +00:00
kiyohara 6225151d7d Add extern. 2013-05-11 08:31:32 +00:00
skrll 190a0d435c Fix up the VCONS_DRAW_INTR support and DDB.
From reinoud.
2013-05-11 07:42:34 +00:00
skrll 58f97d344a Move pmf_system_shutdown earlier and ensure interrupts are enabled. 2013-05-11 07:38:42 +00:00
skrll a4f278c933 Whitespace 2013-05-11 07:35:58 +00:00
kiyohara 19d8f7f243 Regen. 2013-05-11 07:07:38 +00:00
kiyohara 32b9002f8f Remove multiple defines for PLANEX2 {GWUS300MINIS,RT3070,GWUS54GD,GWUSMM,GWUS300MINIX,RTL8188CU_2}. 2013-05-11 07:03:52 +00:00
christos 53c7ca1dc2 s/inherited/inherit/ 2013-05-10 21:06:14 +00:00
christos c8fbe6c64a use explicit_bzero instead of memset to zero memory 2013-05-10 16:39:25 +00:00
christos 6fd620669a remove error(1) output. 2013-05-10 16:38:47 +00:00
christos 053014bb8c no need for vlan.h here. 2013-05-10 16:37:10 +00:00