Commit Graph

351 Commits

Author SHA1 Message Date
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
lukem
0c82163c78 __KERNEL_RCSID() 2003-07-15 02:29:24 +00:00
lukem
001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
fvdl
d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
thorpej
e43fecb228 Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself.  This paves the way for some future changes.
2003-05-10 23:12:28 +00:00
lukem
cd93af5dd7 use "rm -f $@ ; ln -s ... $@" instead of "ln -sf ... $@" 2003-05-04 06:36:37 +00:00
wiz
1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
dsl
d91455ce26 Change return type of readdisklabel() to const char *
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
uwe
01b7788331 Constify second argument of table_getnum(). 2003-04-23 03:45:07 +00:00
uwe
5d8b485cc8 Fix dump_node() prototype. 2003-04-23 03:42:21 +00:00
bouyer
aec10dd80c Nake return values from bounds_check_with_label() conform to the man
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
drochner
d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
takemura
9373835df6 BUGFIX: SigmarionII can't resume.
Added config_hook_call_reverse() to call the hardpower hook of CMU
(Vr clock mask unit) before the hardpower hook of MQ200 video controller.
2002-05-12 07:41:22 +00:00
takemura
f8cb4c37a0 Fixed debug print. 2002-05-03 07:31:23 +00:00
takemura
ab452aef6c Fixed 8bpp problem of mq200. 2002-04-14 06:07:40 +00:00
uch
13b945ce31 recompile. 2002-03-25 17:34:53 +00:00
uch
d1f348c04d add EditText to "option tab window" for user can put extra options to
kernel. patch by Hirokazu FUKUI <hfukui@sannet.ne.jp>
2002-03-25 17:23:19 +00:00
takemura
db078facf1 Added Vrc4172 USB OHCI for Pencentra 130. 2002-03-22 09:18:07 +00:00
takemura
794600ce92 Attached vrkiu at vrc4173bcu. 2002-03-10 07:24:52 +00:00
uch
36c7edfda4 recompile 2002-03-02 22:03:51 +00:00
uch
795a7cf404 WCE210 support. 2002-03-02 22:01:57 +00:00
uch
2a2cc9f493 always open COM1 for the sake of KGDB. 2002-03-02 22:01:34 +00:00
uch
ddf9130f5c add run-time detection of Windows CE version. 2002-03-02 22:01:05 +00:00
uch
74680cb1cd change define _ -> PRINT 2002-02-28 01:59:51 +00:00
uch
43eee13717 fix comment. 2002-02-22 19:56:27 +00:00
wiz
37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
uch
c0a13ed2e4 add LCD debug routines. 2002-02-13 16:25:32 +00:00
uch
54dd82020c recompile 2002-02-11 17:45:53 +00:00
uch
3cde195353 add reset method. 2002-02-11 17:13:28 +00:00
uch
f8bc44a14f add dbg_bit_print_msg define 2002-02-11 17:11:48 +00:00
uch
acb09f9887 totaly clean up SH3/SH4 related code 2002-02-11 17:08:54 +00:00
uch
984e019350 fix memory size estimation. add error check code. 2002-02-11 17:05:45 +00:00
uch
587d245cb8 change debug printf method. 2002-02-11 17:01:09 +00:00
uch
c6bcb69ec7 recompile 2002-02-04 17:41:37 +00:00
uch
2e968e7e37 SH4 and HD64465(SH4 companion chip) serial console support. 2002-02-04 17:38:26 +00:00
uch
e79ccc5b22 enable PERSONA HPW650PA 2002-02-04 17:33:08 +00:00
uch
8484a699cd add CacheSync() WinCE(2.10 or later) API declaration. 2002-02-04 17:32:36 +00:00
uch
7758e1728a smart debug message. 2002-02-04 17:32:02 +00:00
uch
c154e13e2c change system information print. remove ExtEscape (WinCE API) test. this was not useful. 2002-02-04 17:31:34 +00:00
uch
45ac5fbf94 correct file opening mode. CreateFile(_filename, GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); 2002-02-04 17:31:05 +00:00
uch
6edf1a4018 bootinfo.h, config_hook.h, platid.h are moved to hpc/include 2002-02-01 18:16:03 +00:00
tv
805ab35e68 Make it possible for uudecode to be a host tool. 2002-01-31 19:15:23 +00:00
uch
7d17099353 clean up debug print and configuration. 2002-01-29 18:53:01 +00:00
uch
a312f31998 separate machine-independent part of kloader. 2002-01-29 18:44:22 +00:00
shin
073b07d45d bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0). 2002-01-20 03:34:27 +00:00
shin
b886a869ed add support for LASER5 L-Router. 2002-01-18 13:51:01 +00:00
takemura
3d94c421cc Added new config hook type PCIINTR (handling PCI interrupt).
Added config hook APIs, config_connect, config_disconnect and
config_connected_call.
Supported PCIINTR type event in hpcio.
2002-01-13 14:00:38 +00:00
takemura
cea2181363 Recompile for DoCoMo SigmarionII with eVC 3.0 and H/PC Pro 2.11 SDK. 2002-01-05 06:00:22 +00:00
shin
7806543ebf SPEC_PLATFORM is 'defparam' (requires value). 2001-12-11 04:46:39 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
takemura
21006d2057 Added SigmarionII entry. 2001-11-25 14:39:50 +00:00
takemura
365ab4ac40 Deleted unused include files. 2001-11-25 14:39:20 +00:00
lukem
03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
uch
69ed217599 ANSIfy, KNF. 2001-09-27 16:31:23 +00:00
takemura
ca59965026 Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
2001-09-24 14:29:30 +00:00
sato
0d347adcef regen. 2001-09-04 08:46:59 +00:00
sato
b6f32dcf67 add VR4131 and some cpu.
add sigmarion2, MPC-304 and so on.
2001-09-04 08:46:39 +00:00
wiz
1bc6d2cee9 Fix typo (`information' has an 'r'). 2001-07-19 16:13:00 +00:00
sato
ab7530a18b change BATTERY event order. 2001-07-19 11:38:01 +00:00
sato
b9d7f75a06 add more BATTERY events. 2001-07-19 11:36:07 +00:00
toshii
e267c67b60 "infomation" -> "information" 2001-07-17 01:37:43 +00:00
ichiro
d100f4ef02 regen 2001-07-11 10:00:08 +00:00
ichiro
6c04cf6b98 Upps, 3[16]XX -> H3[16]XX 2001-07-11 09:59:30 +00:00
ichiro
a97a7db97b regen 2001-07-11 09:57:29 +00:00
ichiro
d340add774 add iPAQ H3660 (64MB model) 2001-07-11 09:56:33 +00:00
ichiro
83d64d47f8 regen 2001-07-11 09:43:34 +00:00
ichiro
2a17f4b73c add iPAQ model H3100 2001-07-11 09:43:07 +00:00
uch
ebad8fb5d8 when "safety message" check box is not checked, no symbol kernel is
loaded to memory silently. (its MessageBox will bother)
2001-07-08 17:19:02 +00:00
uch
fd5708022c recompile (by VC6) 2001-07-03 20:40:07 +00:00
uch
d9d3df290a reserve correct size of kernel symbol table. 2001-07-03 20:38:03 +00:00
uch
cd62c87986 recompile. 2001-06-20 17:38:59 +00:00
uch
7b262bfecb when there are two or more framebuffer setting, returns best match setting.
and this is for bivideo.
2001-06-20 17:36:00 +00:00
uch
27e3cda68b add document for developers. 2001-06-19 17:50:39 +00:00
uch
86b75389d1 recompile. 2001-06-19 16:51:43 +00:00
uch
3563b6010c add build number. when 'make uuencode', increment it. 2001-06-19 16:50:05 +00:00
uch
a934bba390 set BI_CNUSE_SERIAL flag at SerialConsole constructor. and remove
getBootConsole member from SerialConsole class
2001-06-19 16:48:49 +00:00
uch
51b515b09a recompile. 2001-06-18 11:31:32 +00:00
uch
376c55b2be arm, mips: forgot to initialize boot console. 2001-06-18 11:31:04 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
mrg
67afbd6270 use _KERNEL_OPT 2001-05-30 11:57:16 +00:00
uch
c8589412aa recompile. 2001-05-21 16:02:02 +00:00
uch
5618978d88 don't install SH4 binary. 2001-05-21 15:57:02 +00:00
uch
fbb95fdb04 change window layout. 2001-05-21 15:55:04 +00:00
uch
ed95b7ebe4 rework the way to set booted-console flag. 2001-05-21 15:54:25 +00:00
enami
c7a624dcc6 Allow to pass -d option to kernel. 2001-05-17 01:50:35 +00:00
uch
3c3caa0eb2 don't generate opt_spec_platform.h 2001-05-16 14:26:40 +00:00
enami
43923690d3 Add an entry for Victor MP-C303. 2001-05-16 11:13:20 +00:00
enami
389aaa8b08 Regen. 2001-05-16 11:06:27 +00:00
enami
7cd4cb0d25 Define platid for Victor InterLink MP-C303 2001-05-16 11:04:57 +00:00
enami
2f39ebba50 Victor MP-C303 uses 4k pagesize. So, ask system instead of hardcoding it. 2001-05-16 08:40:51 +00:00
enami
422ad4763b The lower bound for getPage is _addr_table_idx, not 0. 2001-05-16 08:37:44 +00:00
enami
679894e9ae Add missing close paren in message. 2001-05-16 08:19:42 +00:00
takemura
e427bbc2de Add '#if defined(_KERNEL) && !defined(_LKM)' to avoid including
opt_spec_platform.h when you compile standalone program (bootloader).
2001-05-12 10:17:20 +00:00
uch
fae3e8e7c1 KNF. 2001-05-08 18:51:22 +00:00
uch
93069cf02a recompile. 2001-05-07 11:15:28 +00:00
uch
a4cf833c49 add Fujitsu PenCentra 130 entry. 2001-05-07 11:12:10 +00:00
takemura
58a528e2f3 Add entries of Fujitsu PenCentra series. 2001-05-05 05:45:29 +00:00
enami
e3e7ff2cff Don't descent into plantid_gen since
- it's not objdir safe.
- and it's not necessary since up-to-date generated files are
  commited to trunk.
2001-05-01 13:26:20 +00:00
enami
0b309ab610 Wrap long line. 2001-05-01 13:24:02 +00:00
uch
dcf9239830 recompile. 2001-04-30 13:49:38 +00:00
uch
263bc3d6ae use inet_addr when gethostbyname failed.
patch by takemura@netbsd.org
2001-04-30 13:43:31 +00:00
uch
a9cd2901fd add wrapper header for integer types. 2001-04-30 13:41:32 +00:00
uch
909873bca2 recompile. 2001-04-24 19:30:53 +00:00
uch
bd926f64c6 code clean up. 2001-04-24 19:27:58 +00:00
uch
c4ebb7bc47 recompile. 2001-04-23 18:09:27 +00:00
uch
144b54db26 generate opt_spec_platform.h. 2001-04-23 18:07:57 +00:00
sato
4a5dcf307b #include "opt_spec_platform.h" 2001-04-23 10:08:28 +00:00
sato
17218cb6b4 - add VR4181 and VR4122 cpu for hpcmips. and regen headers.
- add new option 'options BOOT_STANDALONE'
	boot from standalone(not WinCE application) boot loader.
- add new option 'options SPEC_PLATFORM'
	statically specify platid in config file.
	In BOOT_STANDALONE case,
	'options SPEC_PLATFORM=platid_mask_MACH_xxx_yyy',
	and add 'options SPEC_MACH_xxx'&'options SPEC_MACH_xxx_yyy'.
	for  specify platid in config file statically'
	In wince boot case, 'options SPEC_PLATFORM'
	and add 'options SPEC_MACH_xxx'&'options SPEC_MACH_xxx_yyy' for
	config level size optimization.
XXX: now I working in hpcmips...
2001-04-20 10:15:02 +00:00
takemura
05859f4c8e Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.
2001-04-15 12:27:32 +00:00
wiz
14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
uch
113c9ed888 recompile. 2001-03-25 17:16:33 +00:00
uch
e78f561e10 speed up physical address detect routine. (MemoryManager_VirtualCopy) 2001-03-25 17:14:53 +00:00
uch
24beb5ffb9 support 'reverse video' option. 2001-03-25 17:14:04 +00:00
uch
c31816f70c selectable serial console speed. 2001-03-25 17:13:15 +00:00
takemura
bea77d06a2 Add #ifndef _HPC_PLATID_H_. 2001-03-25 12:17:35 +00:00
toshii
3bf1867147 Rebuild after the bootarg change. 2001-03-23 08:51:23 +00:00
toshii
59b3c088fe Pass bootargs like usual function calls.
Initialize sp register to more useful value.
2001-03-23 08:48:12 +00:00
toshii
07b77f05ce Have LINEBYTES for jornada720. 2001-03-23 08:46:56 +00:00
uch
7060cad775 recompile. 2001-03-22 18:30:49 +00:00
uch
4e6c980fa0 add HD64461 UART serial console.
add SH3 SCI console method
add SH3 TMU register dump
use generic serial console when companion chip is unknown.
2001-03-22 18:27:51 +00:00
uch
a7876b44d8 add file logging method. 2001-03-22 18:26:45 +00:00
uch
044f4eb367 fix calcurating kernend bug. 2001-03-22 18:23:08 +00:00
uch
87aeed6110 fix file handle leek. 2001-03-22 18:21:02 +00:00
uch
bf58a25f9b weakly machine dependent configuration moved to machine_config.cpp 2001-03-22 18:20:35 +00:00
uch
62bef7c830 fix file pointer bug. 2001-03-22 18:19:36 +00:00
uch
f0190d355c add machine independent serial console method. (use WinCE API) 2001-03-22 18:19:09 +00:00
uch
985f960311 add HP Jornada 690 Hungarian, German entry and
my target machines (CASIO Cassiopeia A-55V, HITACHI PERSONA HPW-650PA).
2001-03-22 18:16:13 +00:00
toshii
b0b31f8cfc Rebuild binaries after ELF symbol table support. 2001-03-21 14:18:28 +00:00
toshii
358a8ee71a Load ELF symbol table for DDB. 2001-03-21 14:06:25 +00:00
toshii
5b519fb0f9 Fill in framebuffer address for jornada720. 2001-03-21 14:05:10 +00:00
uch
106c0aee60 setup bootinfo.bi_cnuse at bootloader phase. 2001-03-15 17:24:45 +00:00
uch
2e79fe1ec7 add SH4 configuration.
(SH) don't access SCIF if the Windows CE's COM1 is not connected to SCIF.
2001-03-13 16:31:29 +00:00
toshii
43d63b4d48 Make hpcboot functional when jornada 720 or iPAQ is selected
at the boot menu.
2001-03-11 11:47:24 +00:00
uch
c5be09ee66 add README. 2001-03-10 16:24:54 +00:00
uch
23c73a6e1c regen. 2001-03-04 17:01:15 +00:00
uch
0d9b26cd0e make this compile on WCE200 SDK 2001-03-04 16:59:47 +00:00
uch
07005e3818 sync with pbsdboot. (CASIO Pocket PostPet) 2001-03-04 16:52:44 +00:00
uch
aa7c0fa2c7 templates for WindowsCE Embedded Toolkit for Visual C++ 5.0 2001-03-04 16:51:04 +00:00
takemura
49cddb00a7 Add platform id and keymap for CASIO PocketPostPet. 2001-03-04 03:40:39 +00:00
takemura
e02e19f6b7 Fix id which appeared twice, which are of HP and CASIO. You get incompatibility
around hpcarm.
2001-03-03 12:56:38 +00:00
takemura
32f9bdbadc BUGFIX:
- line number go wrong when directives appear.
  - a directives in a pair of {} make syntax error.
2001-03-03 12:51:44 +00:00
uch
28b76ec777 rewind progress bar when boot button is pushed.
(SH3) if check box on console window is checked, dump system register.
2001-03-02 18:26:37 +00:00
uch
8b060aaf64 hpc* common disksubr.c 2001-02-21 16:34:00 +00:00
uch
df98929e3b more diagnostic message. (SH3)
add framebuffer information (ARM)
fix boot parameter bug. (-b=sd0)
2001-02-21 16:01:52 +00:00
uch
bedd081460 add HP Jornada 720, Compaq iPAQ H3600 entry. 2001-02-21 15:04:40 +00:00
uch
9173eae73b bootloader for SH3, SA-1100, TX39, VR41 based Windows CE(2.00 or later) 2001-02-09 18:34:01 +00:00
uch
2cb604a22d sync with platid_gen change. 2001-02-05 17:39:45 +00:00
takemura
596e28b8c2 Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
2001-02-04 05:19:14 +00:00
uch
6be22c0c6f hpcmips hpcsh common files are moved to arch/hpc. 2001-01-28 02:52:15 +00:00