nonaka
ff60b11847
missing new-line after mc146818_attach().
2004-03-10 15:19:22 +00:00
nonaka
4c2b0e6fe2
boot-loader can find attached kernel again.
2004-03-10 15:17:01 +00:00
nonaka
b67a1a734a
wdc_obio can be used again.
2004-03-10 15:14:49 +00:00
jdc
bfd698dc3d
Catch up to the bootblock split into std and milan directories.
2004-03-09 20:14:27 +00:00
sekiya
4a4eccf833
Add int2_wait_fifo(), which will idle while awaiting a flag in the interrupt
...
controller to deassert. Needed for the more interesting features of various
SGI framebuffers.
2004-03-09 14:05:09 +00:00
cgd
9ace356dba
proper name for SB-1 is ... SB-1 (not SB1).
2004-03-09 00:47:14 +00:00
simonb
38b2b82a1a
Wrap some long lines.
2004-03-08 11:28:48 +00:00
jmc
7ea4175be1
Nuke unused var
2004-03-08 06:35:23 +00:00
jmc
1e908aacac
Don't trim the ramdisk space smaller than the max ramdisk size...i.e. make it 2M
2004-03-08 05:52:56 +00:00
jmc
ed141a197a
Sync up w. other sh3 ports and don't install trap.h
2004-03-08 05:12:10 +00:00
simonb
aaf826ed6a
Strip out a few more sections when making the ecoff file to reduce the
...
ECOFF file size. Problems noticed by James Chacon.
2004-03-08 05:00:02 +00:00
sekiya
64732fc9ae
Print an informative message when unimpl_intr() is invoked, rather than panic().
2004-03-06 07:50:56 +00:00
drochner
d56da55ea4
-oops - correct the x87 si_code reporting to use the current fsw
...
-for XMM traps, report mxcsr in si_trap
2004-03-05 21:21:14 +00:00
drochner
571265fc35
deal with XMM exceptions
...
(I'm not sure whether it is right to clear the "sticky"
exception bits here, but in the i387 case even the whole
FPU is initialized...)
2004-03-05 17:20:13 +00:00
he
efb05353c0
Remove the local proc_trampoline definition from this file as well.
2004-03-05 15:50:42 +00:00
junyoung
0f89803028
Drop trailing spaces.
2004-03-05 11:30:50 +00:00
kleink
8e54f10bf7
* Turn isinf(3) and isnan(3) into C99-style macros.
...
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
2004-03-04 23:42:38 +00:00
drochner
bb362b40bf
fix some problems with FPU exception signaling:
...
-The MachFPTrap did generate pre-siginfo arguments to trapsignal(),
leading to an immediate crash.
Put the siginfo generation into a separate .c file for simplicity.
-The exception bits in MIPS_FPU_CSR didn't get cleared, leading to
trouble later ("kernel used FPU" on pmax).
XXX This should probably be done for the "unimplemented fpu instruction"
case as well, but I don't know how to test this. Or, even better -
centralize the CSR clearing before the branch in MachFPTrap.
2004-03-04 20:17:01 +00:00
jdc
162e36abb1
Make this include the Jornada 720 config and just change the memory size,
...
as it is exactly the same otherwise.
2004-03-04 19:57:59 +00:00
nathanw
797c90374e
Centralize identical copies of proc_trampoline code.
...
(lots more opportunites here for the bored hacker, such as rei and trap0...)
2004-03-04 19:53:44 +00:00
dbj
1ea0a01420
fix comment about spllowersoftclock
2004-03-04 19:10:10 +00:00
drochner
302b606369
fix some problems with lazy fpu context handling:
...
-if a new process gets a CPU with an FPU state of another process, it
needs to initialize it to a clean state
(actually, put the "fninit" where it belongs logically)
-initialize mxcsr as well
minor cleanup/optimization
Signal delivery after unmasking some cause is still broken - it doesn't
care about xmm exceptions. For now, set at least si_code to something
positive so that it doesn't look like a user generated asynchonous signal.
2004-03-03 20:27:53 +00:00
kleink
9ff09d5dff
Pull in SPRs via <powerpc/spr.h> in this single instance, and dispose of
...
<machine/spr.h> again.
2004-03-02 00:35:54 +00:00
kleink
591762a7d0
Insert a newline after autoconf output.
2004-03-01 23:49:12 +00:00
drochner
98dbb9f046
on (fast) syscall exit, force %ds to its standard value --
...
it might have been modified by a netbsd32 process
2004-03-01 12:10:41 +00:00
drochner
7925327e58
set MDP_IRET in cpu_setmcontext() - the normal (fast)
...
syscall exit is not able to propagate all register
arguments
2004-03-01 12:06:02 +00:00
dsl
44eaa39982
Report errno value from boot1() - even though the standalone FS code
...
seems to translate everything into ENOENT.
2004-02-28 23:01:55 +00:00
dsl
da7ffa3cbe
Look for /boot in the 'a' partition (from the label in the mbr partition)
...
if it can't be found in a filesystem (or raid set) at the start of the
mbr partition.
2004-02-28 22:32:23 +00:00
dbj
5b782a2183
allow err of IREENT_MAGIC when looking for interrupt frames
2004-02-28 20:30:58 +00:00
simonb
a50cc8bd42
Catch up with the November 2002 (!!) change to remove ABI exposure
...
from cpu_fork and the proc trampoline. pthreads programs that fork
now work (at least the regress test case does).
Program reported by Florian Stöhr on port-sgimips.
2004-02-28 16:02:03 +00:00
simonb
7e050bc20e
ANSIfy, wrap long lines.
2004-02-28 15:44:34 +00:00
dbj
0dcc30f1ff
fix bug in tracing current process by explicit pid
2004-02-28 02:58:35 +00:00
dbj
ba0f8cbecc
fix an uninitialized variable problem that prevented t/u from working.
...
this also helps some when no symbols are available
2004-02-28 01:00:30 +00:00
sekiya
d289507533
Blinkenlitzen for IP20 (Indigo).
2004-02-28 00:53:56 +00:00
dbj
d3e00c7d64
fix backtracing through interrupt frames and system call frames
2004-02-27 22:52:03 +00:00
enami
ac317107c7
Backout (part of) rev. 1.187, since the control no longer fall through.
2004-02-27 21:37:48 +00:00
scw
c29e82af70
Must Test Before Committing...
2004-02-27 18:55:19 +00:00
jdolecek
b1d292e1be
add yet another ServerWorks variant
...
from PR port-i386/24570 by Ray Phillips
2004-02-27 09:01:26 +00:00
uwe
0ed7ecdd91
G/c unused "hdc" variable.
2004-02-27 04:22:26 +00:00
uwe
c45485b3de
Forgot to call ReleaseDC().
2004-02-27 04:20:38 +00:00
uwe
c23bdf5200
On winder HPC screens use wider Boot/Cancel buttons that looks better.
2004-02-27 03:53:33 +00:00
uwe
6212a368a7
Make sure the root window always has focus, so that hpcboot can be
...
operated using only the keyboard. It should now be possible to boot
NetBSD on HPC devices with broken touchscreens.
2004-02-27 03:23:12 +00:00
uwe
d6be11a58d
Use realsize() to determine the size of the miniroot image.
...
It's now possible to boot from gzipped miniroots.
2004-02-27 02:02:16 +00:00
uwe
318e48690d
Implement realsize() method. For gzipped files it reports the
...
uncompressed file size.
2004-02-27 02:00:32 +00:00
petrov
b062992f9d
Correct VA_ALIAS_MASK. From Chuck Silvers.
2004-02-26 20:24:29 +00:00
petrov
c8c8407406
Correct ffb attachment.
2004-02-26 20:23:17 +00:00
perry
39c2ad666c
fix another whitespace nit
2004-02-25 18:56:26 +00:00
perry
c5e487ca2c
juggle tabs and spaces so comments don't nuke line lengths as badly
2004-02-25 18:50:01 +00:00
drochner
6f1a2b7cbf
deliver SIGSEGV/SEGV_ACCERR if code execution on stack is attempted,
...
tested by Juergen Hannken-Illjes
(there are more uninitialized ksi.ksi_code arguments)
2004-02-24 18:31:46 +00:00
drochner
45fc887212
deliver SIGSEGV/SEGV_ACCERR if code execution on stack is attempted,
...
tested by Chuck Silvers
2004-02-24 18:25:27 +00:00
wiz
516a72484d
Spell through with two hs. From Peter Postma.
2004-02-24 15:24:35 +00:00
wiz
73e1501b98
parameter with two es. From Peter Postma.
2004-02-24 15:22:01 +00:00
wiz
85746c6759
Spell interrupt with two rs. From Peter Postma.
2004-02-24 15:16:04 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
wiz
dc4cc98b15
becuase -> because. From Peter Postma.
2004-02-24 15:05:53 +00:00
jandberg
4328680c2a
regen after wsfont changes
2004-02-23 21:18:50 +00:00
jandberg
c7998e2542
Add wsfont pseudo-device.
...
With this the custom font loading code isn't needed and is removed.
2004-02-23 21:14:08 +00:00
jandberg
bd3891888b
Replace an IBM-encoded wsfont with ISO-encoded one
2004-02-23 20:53:41 +00:00
uwe
0294b2b99a
WinCE 2.11 doesn't support keyboard focus traversal for nested
...
dialogs, so implement poor man keyboard focus manager. The goal is to
make it possible to use hpcboot on HPC devices with broken touch
screen. (TODO: Make sure that when the window is activated, there is
a focused control).
2004-02-23 05:20:48 +00:00
uwe
dc89f5be32
If MEMORY_DISK_IS_ROOT - don't compile/use get_device(), as setroot()
...
anyway will ignore the info we pass.
2004-02-23 03:32:23 +00:00
uwe
590efeca88
Wrap "unknown instruction in prologue" in TRACE_DEBUG. gcc3 reorders
...
instructions so that prologue code and function code get mixed, and
you get a lot of noice from this printf, making traceback very hard to
read if not useless.
2004-02-23 01:06:53 +00:00
sekiya
bb60b4d04f
Correct descriptive comment (these routines are not used for r5ksc).
2004-02-22 03:23:54 +00:00
bjh21
859077437c
Use 0 for integers, not NULL.
2004-02-21 23:25:01 +00:00
bjh21
af905e2600
RCSID()
2004-02-21 23:22:34 +00:00
bjh21
02d168952e
Ensure file ends with a newline.
2004-02-21 23:20:53 +00:00
augustss
8666d19603
Make INSTALL kernel a little slimmer.
2004-02-21 11:38:28 +00:00
junyoung
2402a07435
- Locate comment in right place.
...
- Fix wrt protection against multiple inclusion.
2004-02-21 04:31:40 +00:00
jkunz
7006f1c550
Import ipmlementations for _bus_dmamap_load_buffer(), mbus_dmamap_load(), mbus_dmamap_load_mbuf(), mbus_dmamap_load_uio() and mbus_dmamem_mmap(), from sys/arc/vax/vax/bus_dma.c and rework mbus_dmamap_sync() based on sys/arc/arm/arm32/bus_dma.c.
2004-02-20 20:22:10 +00:00
jkunz
c43db93399
hp700 has no PCI support yet. Enabling PCI devices breaks compilation, so disable all PCI devices for the moment.
2004-02-20 20:18:37 +00:00
drochner
972fe86c42
Provide a dummy cpu_exec_aout_makecmds() to make a kernel
...
with COMPAT_NETBSD32+COMPAT_AOUT link.
netbsd-1.3/i386 binaries are running now.
2004-02-20 18:11:16 +00:00
yamt
2becafcd79
don't assume that bus on intr_extra_buses has non-null pci_bridge_tag.
...
pchb's second bus doesn't have it.
ok'ed by Frank van der Linden.
2004-02-20 18:04:06 +00:00
yamt
d749a2d0b4
defer pmap switching until it's really needed
...
to avoid frequent loading of cr3 register, which involves tlb flush.
with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.
2004-02-20 17:35:01 +00:00
drochner
289fa68010
provide a definition NETBSD32_MID_MACHINE which tells for the a.out MID
...
to look for in 32-bit emulation
2004-02-20 16:11:44 +00:00
drochner
2982fa170d
use no-execute page permissions if supported
2004-02-19 17:18:38 +00:00
drochner
fdeec1f029
define AMD64's CPUID_NOX bit (I'm curious where Intel puts this bit in the
...
ia32 extension just announced)
XXX there should be a better separation between generic and vendor
specific feature flags
2004-02-19 17:09:39 +00:00
drochner
d2414542a3
-on instruction fetch fault from non-executable pages, signal
...
SIGSEGV/SEGV_ACCERR
-whitespace cleanup
2004-02-19 17:06:06 +00:00
drochner
893de0a21e
signal SIGSEGV/SEGV_ACCERR if non-executable stack is jumped to
2004-02-19 17:02:44 +00:00
uebayasi
5d41e06074
Update some URLs.
2004-02-19 12:23:47 +00:00
bjh21
fb330ce71b
Remove pckbc_machdep_cnattach() -- it's no longer needed.
2004-02-19 01:03:45 +00:00
matt
77effcd27e
Don't waste space on likely unused sysmon structure.
...
Instead malloc them as needed.
2004-02-17 22:03:52 +00:00
wiz
bb3980ab7a
Remove last traces of DUMMY_NOPS option that was removed some
...
time ago.
From Jeff Rizzo in PR 24442.
2004-02-16 17:11:26 +00:00
thorpej
e1e9cfd40a
Comment out some SYSV* and *VERBOSE options to shrink these down so
...
they fit in the current boot floppies.
2004-02-16 02:43:53 +00:00
bjh21
5aca86918f
Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
...
to only call pckbc_machdep_cnattach() if this is present. This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.
The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.
2004-02-14 14:33:28 +00:00
bjh21
2e7e5cf29f
Remove definitions of "pc" and "pcconskbd" devices which couldn't work since
...
they used arch/prep/isa/pccons.c, which was removed in late 2001.
2004-02-14 14:00:22 +00:00
jdolecek
af46922ada
add compat hook in check for zerodev; use this hook to recognize
...
the old ARM /dev/zero minor mapping #ifdef COMPAT_16
fixes second part of PR kern/23581 by Richard Earnshaw
2004-02-14 12:20:14 +00:00
simonb
aa459d7b32
Make everything in this file except for the sysctl CTL_MACHDEP related
...
information hidden outside the kernel.
2004-02-14 08:20:43 +00:00
bsh
c9e2add10b
add drivers for LCD and keyboard.
2004-02-14 07:32:31 +00:00
bsh
58613436a1
Support SMDK2410's 240x320 TFT LCD.
...
This can be configured with or without wsdisplay.
Only 8- and 16-bpp modes have been tested.
2004-02-14 07:26:35 +00:00
bsh
782b4d1e18
Keyboard driver for semtech SPICoder-SA06 on Samsung SMDK2410.
...
The board has a full keyboard. The controller is hooked to SPI port.
2004-02-14 07:23:30 +00:00
bsh
ba2cd9f97b
add lcd and spi
2004-02-14 07:20:20 +00:00
bsh
126ae44aa1
SPI support for Samsung S3C2410.
...
spi driver doesn't provide any actual I/O, and attaches child drivers
for devices that hooked to SPI ports.
2004-02-14 07:19:51 +00:00
bsh
0eedb024e6
Support S3C24X0's on-chip LCD controller.
...
lcd driver can be configured with or without wsdisplay.
With wsdisplay, it supports text mode using rasops in 8bpp or 16bpp.
Without it, users only can mmap(2) the framebuffer.
XXX: 1-, 2-, 4-, or 24- bpp mode is not supported yet.
XXX: S3C24x0's LCD controller can have virtual screen which is bigger
than actual LCD panel. Our wsdisplay framework doesn't have
features to utilize it.
2004-02-14 07:12:50 +00:00
snj
d02c32fcce
s/rediculous/ridiculous/
2004-02-13 22:47:04 +00:00
drochner
dc30e923ea
plug kernel lock leaks
2004-02-13 18:57:19 +00:00
drochner
61c3181dd6
plug obvious kernel lock leaks
...
(untested)
2004-02-13 18:27:14 +00:00
drochner
8437e697bc
plug 2 obvious kernel lock leaks
...
(compile tested only)
2004-02-13 18:01:44 +00:00
drochner
8d3cefb29e
grab the kernel lock during 32-bit syscalls too
2004-02-13 17:07:56 +00:00
scw
a402937c23
Avoid using two 'GPIO' bits of the interrupt mask to signify soft
...
interrupts; some boards actually use those GPIO pins as external
interrupt sources.
Instead, assign soft interrupt bits to on-chip sources which are
not used by the IXP425 port.
2004-02-13 15:49:02 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
wiz
f582138c1b
Uppercase CPU.
2004-02-13 10:11:56 +00:00