drochner
00b4e62a0a
fix "unintialized variable" warning
2003-05-14 11:27:39 +00:00
simonb
b2aa917e00
Un-wrap a no-longer-too-long panic message, add some extra info to another
...
panic message.
2003-05-14 10:09:49 +00:00
thorpej
af1933bfc8
Add icp at chr 102.
2003-05-13 15:43:42 +00:00
ichiro
9bccf5da79
add CPU types
...
IXP425 xscale-core NetworkProcessor
later, Ill commit codes for IXP425-evaluation board
2003-05-13 11:45:52 +00:00
fvdl
d840dd2438
While the previous change actually made the code do what it intended,
...
it was still wrong. cpu_switch() must return 1 when it switched to
a different LWP, 0 if it didn't. It was doing exactly the reverse.
2003-05-13 09:35:16 +00:00
martin
2bfee7cbe0
Backout previous, it was apparently ovelooked when backing out the
...
change in other places.
2003-05-13 08:39:25 +00:00
fvdl
1a53be1e96
Return the correct value in cpu_switch; from Stephan Uphoff for i386.
2003-05-13 08:33:58 +00:00
bsh
2ca26eeaed
+ use system's real PCLK frequency for source clock of sscom's
...
baudrate, instead of a compile time constant.
+ simplify bootstrap_bs_map() by mapping all built-in peripheral
registers at start.
+ check SW3 and SW7 and toggle RB_SINGLE and RB_KDB in boothowto if
pressed.
2003-05-13 08:30:33 +00:00
fvdl
297e776d44
Make cpu_switch return the correct value. From Stephan Uphoff, PR 21558
2003-05-13 08:26:32 +00:00
bsh
a6f754db03
+ use system's real PCLK frequency for calculation, instead of a compile
...
time constant.
+ make delay() more accurate.
2003-05-13 08:07:39 +00:00
bsh
b4e06de16e
use system's real PCLK frequency instead of a compile time constant for
...
baudrate divisor setup.
2003-05-13 06:29:53 +00:00
bsh
2b33d23a8c
+ fix a bug to think FIFO full as FIFO empty.
...
+ on rx buffer overflow case, disable error interrupt as wel as rx
interrupt.
+ FIFO is always enabled.
2003-05-13 06:26:57 +00:00
bsh
51712a0aa1
white space nit.
2003-05-13 06:12:45 +00:00
bsh
3675ae2669
+ use SWRCON register for software reset.
...
+ add s3c2800_clock_freq(): calculate [FHP]CLK from values in PLL
control registers and S3C2XX0_XTAL_CLK.
2003-05-13 05:15:08 +00:00
bsh
ca05494daf
add an option to set external X'tal frequency.
2003-05-13 05:10:55 +00:00
bsh
ab094d4717
add fields to hold FCLK, HCLK, and PCLK frequency.
2003-05-13 05:06:39 +00:00
bsh
2fd99ae3e7
white space nit.
2003-05-13 04:53:25 +00:00
bsh
87a703eac0
enable the domain 15 during bootstrap, as new pmap_map_section() use it.
2003-05-13 04:20:39 +00:00
kleink
776138ea69
Rename <sys/float_ieee.h> to <sys/float_ieee754.h>, following libc's
...
convention for these.
2003-05-12 15:22:53 +00:00
dsl
f8607e15d6
KNF and indentation police
2003-05-12 14:59:51 +00:00
dsl
f9bb4eea5d
Build my new i386 bootcode
2003-05-12 14:48:56 +00:00
thorpej
f4ca0d67fe
Include <sys/disk.h>.
2003-05-12 14:48:12 +00:00
he
af0f8cc629
Include <sys/disk.h> to get "struct disk" defined.
...
Approved by thorpej
2003-05-12 14:46:13 +00:00
dsl
18e1c04d74
Don't override PROG from subdir Makefile
...
Install into /usr/mdec
2003-05-12 14:35:54 +00:00
dsl
5ba5335a38
Install into /usr/mdec
2003-05-12 14:34:55 +00:00
dsl
0e9fdbb612
Remove some unused defines
2003-05-12 14:33:49 +00:00
yamt
38312b0116
fix "Frame really belongs to next callpc" case.
2003-05-12 13:38:49 +00:00
yamt
dc45c698c2
use 'pr' supplied by the caller instead of printf.
2003-05-12 13:16:11 +00:00
joda
c2f624f5b2
it's "pentium m" not "pentium-m"
2003-05-12 11:01:17 +00:00
jandberg
324530b69e
Readd the call to preempt().
...
It was put to its current place in 1.85.8.2 and accidentally
removed in 1.85.8.3.
2003-05-12 09:35:01 +00:00
bsh
ac7984d2fd
add an arg to s3c2800_intr_establish() for interrupt type.
2003-05-12 07:49:10 +00:00
bsh
a99b5e08a5
+ add an arg to s3c2800_intr_establish() for interrupt type:
...
IST_EDGE_{FALLING,RISING,BOTH}, or IST_LEVEL_{LOW,HIGH}. This
argument is valid only for GPIO interrupts (IRQ0..7).
+ Don't clear interrupt pending bits for IIC in interrupt handler.
Since clearing these bits starts next IIC transmission immediately,
IIC driver should handle these.
2003-05-12 07:48:37 +00:00
bsh
fda719999a
add PLLCON register definitions.
2003-05-12 05:22:31 +00:00
shin
4b05a1fb69
we need <sys/disk.h> for struct disk.
2003-05-12 05:01:57 +00:00
fvdl
d75682ade1
include <machine/mpacpi.h>
2003-05-11 21:54:49 +00:00
fvdl
908e4bef54
Remove machine/cputypes include.
2003-05-11 21:51:32 +00:00
fvdl
83e3d0cccf
Add commented out acpi.
2003-05-11 21:41:00 +00:00
fvdl
07ad7b2791
Empty sleep stub function.
2003-05-11 21:39:41 +00:00
fvdl
59f5ef76ed
ACPI support. Wakeup code still to be done.
2003-05-11 21:39:00 +00:00
fvdl
19bd661dcc
Add a new include file with some ACPI MD macros, to move i386 specific
...
stuff out of acnetbsd.h
2003-05-11 21:05:19 +00:00
fvdl
28644fa06f
Make this include file shareable (moved here from sys/arch/i386/include)
2003-05-11 18:48:13 +00:00
fvdl
7579aadd9b
Redirect to x86/
2003-05-11 18:46:59 +00:00
fvdl
2e91dc8e00
Update for acpi file move to sys/arch/x86/x86.
2003-05-11 18:24:12 +00:00
fvdl
fc926e2c62
Moved to sys/arch/x86/x86
2003-05-11 18:23:17 +00:00
fvdl
a03460e886
Moved here from sys/arch/i386/i386
2003-05-11 18:21:16 +00:00
fvdl
def0e7acaa
Moved here from sys/arch/i386/include.
2003-05-11 18:20:38 +00:00
fvdl
a800a2a6d2
This file was moved to sys/arch/x86/x86
2003-05-11 18:19:18 +00:00
fvdl
f946c62f8e
Redirect to x86/.
2003-05-11 18:18:08 +00:00
fvdl
31024872ed
Reselect the ioapic register for each read or write.
2003-05-11 15:46:57 +00:00
yamt
a421df4c74
remove L_BIGLOCK check for kernel-mode pagefaults in trap().
...
syscall() and its variants actually does copyin() without biglock.
ok'ed by Frank van der Linden.
2003-05-11 15:19:19 +00:00