uch
000bb38949
SH3/SH4 common kernel support.
2002-02-17 21:01:15 +00:00
uch
6e0794b560
To determine CPU architecture and product, add cpu_arch and cpu_prduct variables.
...
these are initialized by sh_cpu_init()@sh3/sh3_machdep.c
(see sh3/include/cputypes.h for detail.)
add "options SH3" for SH3 kernel config file.
2002-02-17 20:59:33 +00:00
uch
c0a13ed2e4
add LCD debug routines.
2002-02-13 16:25:32 +00:00
uch
4dff96d2d9
SH4 support. my target is HITACHI PERSONA HPW650PA
2002-02-11 17:32:35 +00:00
uch
dca6104509
hpcsh spcific console defines are moved to console.h
2002-02-11 17:30:44 +00:00
uch
b67fd34c0f
HD64465 interrupt, uart, pcmcia modules
2002-02-11 17:27:15 +00:00
uch
d310eb6303
MQ100 (HD64464) register, framebuffer offset define.
2002-02-11 17:25:00 +00:00
uch
400b507277
add more debug message
2002-02-11 17:22:39 +00:00
uch
f27eb3ee07
add primitive serial console debug routine.
2002-02-11 17:21:48 +00:00
uch
12d7b235bc
{} -> do {} (0)
2002-02-11 17:20:18 +00:00
uch
c8a89ad160
KNF
2002-02-11 17:19:04 +00:00
uch
c06011471e
enable KLOADER, PIPE_SOCKETPAIR
2002-02-11 17:18:35 +00:00
uch
b4156f9314
fix # of page directory entry.
2002-02-07 17:06:00 +00:00
uch
6b71166f4e
add missing cache flush code.
2002-02-07 17:05:22 +00:00
uch
d7868a7885
HITACHI HD64465 UART module register define.
2002-02-04 17:23:44 +00:00
uch
6edf1a4018
bootinfo.h, config_hook.h, platid.h are moved to hpc/include
2002-02-01 18:16:03 +00:00
uch
4202622d3c
if PCLOCK isn't setted, use estimated value calculated by kernel.
2002-02-01 17:52:54 +00:00
uch
ff91f975fc
if RB_HALT is setted, don't load kernel.
2002-01-31 16:25:54 +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
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
uch
415a0562eb
clean up debug print and configuration.
2002-01-27 05:15:35 +00:00
uch
4a61fd0786
add self kernel loader.
2002-01-27 05:14:33 +00:00
manu
eb2b0c03da
Added clockctl
2002-01-12 13:22:23 +00:00
martin
b506d6e135
Add PPPoE to all generic kernels that should be able to use it.
...
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
soren
875bff0962
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
gmcgarry
bdd225baa1
Add a blurb to the top of all GENERIC files. This serves three purposes:
...
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
atatat
52c50e165b
Use more parentheses to make the compiler happy.
2001-12-05 22:16:30 +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
lukem
71376e0797
use #ifdef MEMORY_DISK_DYNAMIC (for consistency with the rest of the kernel)
2001-11-28 05:55:34 +00:00
lukem
9cd50b3b95
use #if defined(x) instead of #if defined x
2001-11-28 05:47:37 +00:00
atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +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
augustss
c5477b70aa
The wsmux pseudo device does not need a count anymore.
2001-11-13 17:54:46 +00:00
msaitoh
32b3143333
Fix incorrect kernelmode check in INTRENTRY macro.
...
Broken INTRENTRY causes CPU reset when sigaltstack is used.
2001-10-27 03:46:19 +00:00
thorpej
9e91d48638
This file only set MACHINE, which is now set by config(8); delete it.
2001-10-23 19:52:49 +00:00
uch
3c8a8fb72e
HITACHI PERSONA support. patch by KIYOHARA Takashi
2001-10-08 15:34:24 +00:00
uch
a902597034
debug printf change.
2001-09-14 17:12:43 +00:00
uch
a970042213
HITACHI PERSONA keyboard support. patch by KIYOHARA Takashi.
2001-09-14 17:11:51 +00:00
atatat
5f25c01eff
Comment out bridge pseudo devices from ports that don't
...
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
msaitoh
e380d9806e
devclass of sci[f] is tty
2001-08-22 13:32:45 +00:00
msaitoh
0756145b0f
fix a ldtlb handling bug:
...
- set to PTE{H,L,A} and call LDTLB must do atomically.
- never call LDTLB when it's unnecessary.
Broken kernel oocasionally causes cpu reset when /etc/security is called.
Now fix this problem.
2001-08-10 18:27:08 +00:00
jdolecek
74954dadf9
use unsigned variable types as appropriate
2001-08-05 18:07:51 +00:00
takemura
64b6b76a21
You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
...
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
thorpej
babefc5331
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
...
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
kanaoka
0158d481bd
Add rnd, ppp and com* at pcmcia? function ?.
2001-07-14 17:02:57 +00:00
uch
9b3338a9fe
add ukphy
2001-07-13 16:27:48 +00:00
uch
e71868d339
cosmetic changes.
2001-07-13 16:21:39 +00:00
uch
eb255ec7a8
fix interrupt, voltage supply bug of channel 1.
...
(patch by Masanori Kanaoka).
2001-07-13 16:14:29 +00:00
kanaoka
9a9ba5a896
Add ukphy.
2001-07-10 15:33:18 +00:00
uch
197743b640
remove unnecessary includes, initialize.
2001-07-09 18:18:25 +00:00
uch
4f4b4d40ed
I forgot to commit. std.hpcsh.el -> std.hpcsh
2001-07-08 17:02:36 +00:00
uch
1a5b55dce9
dont' round up physical memory size.
2001-07-08 15:15:25 +00:00
uch
b0b7628145
remove redundunt header include and function declaration.
...
(pointed by MAEKAWA Masahide.)
2001-07-08 10:42:37 +00:00
uch
b92d40fcb6
std.hpcsh.el -> std.hpcsh (no big-endian WindowsCE)
...
add shl-elf_.x (for LEADING_UNDERSCORE ELF)
bcopy -> memcpy
2001-07-07 16:35:22 +00:00
uch
18d4a16bc4
#ifdef notyet power on/off sequence code. it doesn't work.
2001-07-04 18:08:01 +00:00
uch
e9040f302e
use MI md_root.c
2001-07-02 17:19:09 +00:00
uch
7ceb721a2a
sample configuration for HP620LX
2001-06-28 19:07:13 +00:00
uch
c8af82081b
add interrupt monitor for debugging. (disabled by default)
2001-06-28 18:59:06 +00:00
uch
c8f9a5d874
console module refers hd64461video's needs-flag instead of hd64461if.
...
(pointed by MAEKAWA Masahide)
2001-06-28 17:03:47 +00:00
uch
2f94a06e98
HD64461 frame buffer is big-endian. set HPCFB_SWAP_BYTE.
2001-06-05 17:24:48 +00:00
uch
842b6023c3
HD64461 video module.
2001-06-04 17:08:36 +00:00
msaitoh
9ae59f3041
convert two consecutive "shll"s with one "shll2"
2001-05-15 08:54:56 +00:00
uch
12772d5476
I forgot to add.
2001-04-23 16:47:16 +00:00
uch
f95d468a51
switch to ELF kernel.
2001-04-23 11:22:55 +00:00
uch
210faed679
new hpcsh clock module.
2001-04-23 11:22:19 +00:00
uch
9fc37d32af
remove non-existent function declaration.
2001-04-19 18:24:16 +00:00
uch
207066edaa
fix comment.
2001-04-19 18:22:34 +00:00
uch
d6c81cbed0
fix comment.
...
fix KERNBASE, KERNTEXTOFF.
2001-04-19 18:21:19 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
uch
62ec61f5e9
fix comment.
2001-04-11 20:13:52 +00:00
lukem
20ba07f2fe
- add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
...
and use appropriately
- create more helper macros:
. cdev__xyz_init(c,n), such as cdev__ocri_init() for
/* open, close, read, ioctl */, etc.
. cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
method `R' and the comments now read /* xxx (read) yyy */ instead
. cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
as well
- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
always DTRT WRT returning a valid result. (a few devices previously
incorrectly returned ENODEV)
- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
== 0, because it doesn't matter if dev_type_stop isn't implemented in that
case, and it allows the use of the cdev__xyz_init macros. certain ports
(sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
drivers, whereas everything else uses enodev
- ensure that the comments are accurate WRT the behaviour of a given entry
2001-03-26 12:33:22 +00:00
uch
40de0e48b0
add ELF kernel linker script.
2001-03-22 18:35:33 +00:00
uch
5a79dd1121
load symbol table to DDB if ELF kernel.
2001-03-22 18:34:08 +00:00
uch
b4095cd8bf
support HITACHI PERSONA configuration.
2001-03-20 16:05:42 +00:00
uch
889e6d332a
initialize TMU
2001-03-20 16:04:01 +00:00
uch
39081f8af1
make HD64461 UART module usable on HITACHI PERSONA
2001-03-20 16:03:28 +00:00
uch
054158f994
HD64461 UART module support.
2001-03-15 17:30:55 +00:00
uch
736e48bc36
enable CF slot.
2001-03-08 15:21:31 +00:00
uch
41207e71d6
channel 1 interface don't provide fake pcmcia io space tag.
2001-03-08 15:13:14 +00:00
uch
27e08ba42c
fix matrix switch initial value.
2001-03-02 19:21:53 +00:00
uch
0cc08093fd
enable wscons.
2001-02-24 20:17:45 +00:00
uch
f4cdccec01
Jornada 690 keyboard driver (matrix switch connected SH3 PFC module)
2001-02-24 19:58:00 +00:00
uch
0bb888c2e4
s/hpcmips/hpcsh/
2001-02-24 19:47:21 +00:00
uch
3cfa37d7da
HD64461 support.
2001-02-21 16:28:02 +00:00
uch
df5e8f68d8
HD64461 driver (SH3 companion chip for Windows CE)
2001-02-21 15:39:09 +00:00
msaitoh
2633a5dcb5
_C_LABEL()
2001-02-14 17:57:31 +00:00
uch
b23ab5a536
use bicons.
...
set serial console speed to 19200.
2001-02-09 19:54:11 +00:00
uch
9279c0455c
adapted to hpc bootinfo structure.
...
add memory detect routines.
2001-02-07 15:29:21 +00:00
uch
78af56fcfd
move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFAULT defines to
...
machine/vmparam.h
2001-02-07 14:53:09 +00:00
uch
6a7b420b7e
move machine-port specific file to machine directory.
...
for evbsh3, mmeye and dreamcast, use MI md_root.c
2001-02-06 16:45:19 +00:00
thorpej
40c4d1e0c3
Rename the CLI/STI/ECLI/ESTI macros to more descriptive names,
...
and add comments to describe exactly what they do (because it's
not totally obvious at a glance, due to the number juggling necessary
to frob the correct bits in SR):
CLI -> EXCEPT_DISABLE (sets SR.BL)
STI -> EXCEPT_ENABLE (clears SR.BL)
ECLI -> INTR_DISABLE (sets SR.I[0-3])
ESTI -> INTR_ENABLE (clears SR.I[0-3])
2001-02-05 18:14:42 +00:00
uch
2cb604a22d
sync with platid_gen change.
2001-02-05 17:39:45 +00:00
uch
cd5dc32000
add SH3 CCR register address define.
2001-02-05 16:51:16 +00:00