Commit Graph

37320 Commits

Author SHA1 Message Date
uwe 79ddf479da Add adc, j6x0pwr, j6x0tp. 2003-11-09 22:36:17 +00:00
petrov 8ab0c67f4e Lower PIL_AUD so /dev/audio will not interrupt and interfere with
scheduler. Fixes kern/23382.
2003-11-09 21:52:31 +00:00
scw f64ae6c776 s/NULL/0/ 2003-11-09 21:39:48 +00:00
scw 4c4ac42348 More format string fallout. 2003-11-09 21:37:08 +00:00
scw eb042dabb2 Fix format string lossage. 2003-11-09 21:12:08 +00:00
pk 72c519a615 __cpu_simple_unlock: avoid instruction re-ordering by the compiler. 2003-11-09 21:04:44 +00:00
martin 146396081b bzero/bcopy -> memset/memcpy 2003-11-09 16:41:52 +00:00
martin 76bfd5ab17 Nuke bcopy/bzero. 2003-11-09 14:28:56 +00:00
scw cd75387049 Clear r3 to zero after dealing with the pseudo-header. 2003-11-09 12:24:48 +00:00
scw 2f54b52eac Print a trap/intr frame's SPC value. 2003-11-09 12:22:15 +00:00
scw 89a3825de9 In scif_rxsoft, bail early if the input buffers have not been initialised yet.
This can happen if we drop into ddb on the serial console before
scif_attach() has been called.
2003-11-09 12:19:54 +00:00
martin ef4ac967a7 Fix a comment (there is no bzero/bcopy any more) 2003-11-09 11:24:38 +00:00
martin 59c6900880 Get rid of bcopy/bzero. 2003-11-09 11:23:54 +00:00
scw 41d2057ea7 Pick the right value for {,_}MACHINE_ARCH according to endianness.
Spotted by mrg@.
2003-11-09 08:27:19 +00:00
tsutsui 112c91d583 Use #if defined(_KERNEL_OPT) to protect #include "opt_xxx.h"
from building LKM etc. Suggested by mrg.
2003-11-09 05:29:59 +00:00
uwe 9df7e01734 Implement trivial WSDISPLAYIO_SVIDEO that flips DON bit in LCDLDR1.
This only turns off the display in the LCD controller.

TODO: Need to add a platform specific way to turn the screen on and
off as well (e.g. on Jornada 680 this is bit 0 in hd64461 GPIO port B).
2003-11-09 02:05:42 +00:00
fvdl f601ca945b Add POSIX 1003.1b semaphores. 2003-11-08 21:38:18 +00:00
tsutsui addcf5d254 #if defined(_KERNEL_OPT) is enough, #if !defined(_LKM) isn't needed
in that case. Pointed out by mrg.
2003-11-08 15:19:20 +00:00
pk 582c396832 Construct arguments properly and update comment in previous bzero -> memset
changes.
2003-11-08 14:04:26 +00:00
martin 6e204ff9bc Fix previous (bzero -> memset), it overlooked the delay slot.
Use set and clr pseudo instructions to simplify the code a bit.
2003-11-08 13:21:36 +00:00
tsutsui ecd13dfa39 Add pseudo-device ksyms 2003-11-08 12:17:53 +00:00
tsutsui 81d609b1f5 Remove obsolete comments about curproc. 2003-11-08 12:17:25 +00:00
tsutsui 3dc4924359 In trap(), curlwp could be NULL so don't refer it implicitly. 2003-11-08 12:08:12 +00:00
tsutsui 7a6d021fe2 Include "opt_lockdebug.h" only #if !defined(_LKM) && defined(_KERNEL_OPT). 2003-11-08 12:06:20 +00:00
tsutsui dc9a6c03b4 Adapt to replacement of apcireg.h and dcareg.h. 2003-11-08 12:02:33 +00:00
tsutsui f009006333 Remove obsolete files by MI com(4) driver support. 2003-11-08 11:22:11 +00:00
tsutsui 30f361a050 Move apcireg.h and dcareg.h to stand/common since they are no longer used
by kernel.
2003-11-08 11:19:30 +00:00
tsutsui 63b14eb5b6 Switch DCA and APCI serial devices to use MI com(4) driver.
DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
2003-11-08 11:18:33 +00:00
jdolecek 117242ea83 use "mov 0, %o1" instead of kinda strange "sethi 0, %o1" in previous
pointed out by Matthew Green
2003-11-08 08:09:38 +00:00
jdolecek 587e0e3497 use memset() instead of bzero() 2003-11-08 07:39:18 +00:00
simonb 4ebec9cd61 Add a define for the size of the UART register block. 2003-11-08 05:49:08 +00:00
simonb edaec67118 Use the COM_AU1x00 option for Au1x00 feature support. 2003-11-08 05:12:51 +00:00
simonb 52f438d9a8 Sync with com.c, rev 1.222. 2003-11-08 05:10:11 +00:00
simonb 8899101173 Add a "COM_AU1x00" option, similar to COM_PXA2X0, for enabling Au1x00
features in the "com" driver.
2003-11-08 05:05:14 +00:00
sekiya 0a6f939a3d Avoid namespace collision when sgivol is compiled as a native application. 2003-11-08 04:59:00 +00:00
ross 0df0fcb2d2 Simplify (the long) Shark line 2003-11-08 04:49:17 +00:00
simonb b10e159af2 Add "XXX" to the gcc -Wuninitialised warning fix. 2003-11-08 01:58:26 +00:00
dsl fcb78a6640 Remove depencency of vers.c on ${LIBLIST} - it messes up the depends and
I'm not sure why I added it now!
Default NWEVERSWHAT back to "BIOS Boot" - look better on boot banner page.
2003-11-08 00:02:02 +00:00
dsl a7e45c127a stand/lib/crt/rom is no more, no need for it in .PATH 2003-11-07 23:44:56 +00:00
dsl 80e537250b Make 'dependall' generate the dependencies 2003-11-07 23:39:27 +00:00
he 4918cc9279 Set `reg' before using it to print the unrecognized value. 2003-11-07 23:04:15 +00:00
dsl 0c8ed6072c default: to 1024x768 landscape if unknown geometry (avoids uninitialised vars) 2003-11-07 19:21:39 +00:00
dsl 7e50916a6e Initialise spdreg, gcc doesn't stand a chance of tracking its use. 2003-11-07 18:56:39 +00:00
martin 2ceba4344c Fix KERN_DEBUG format string <-> parameter mismatch. 2003-11-07 18:49:29 +00:00
he c45fa09365 Suppress apparently-bogus -Wunitialized warnings, the compiler does
not detect that set / use occur under equal conditions in following
if() statements.
2003-11-07 18:29:30 +00:00
augustss f9f08345e4 Less symbol table space. 2003-11-07 17:36:49 +00:00
augustss c553c48410 An ugly hack for the interrupt mapping. 2003-11-07 17:12:56 +00:00
augustss ef7949407f Fix various fallout from the big PPC changes early this year.
This pmppc port runs again now.
2003-11-07 17:00:19 +00:00
pk d6565c303c cpu_switch: values in global registers are not preserved across function calls. 2003-11-07 14:54:29 +00:00
pk 0bd2c4a2ea swift_cache_enable: set cache enable bits after resetting the cache tags. 2003-11-07 14:50:21 +00:00