matt
9eed702ba1
Don't include <bsd.prog.mk> if HOSTPROG is defined (so vax installboot can
...
become a host tool as nbvax-installboot).
2002-03-29 00:58:38 +00:00
thorpej
863afc5d41
Fix a printf format.
2002-03-29 00:48:58 +00:00
ichiro
c91c9afdd5
add Realtek RTL8150L USB ethernet driver
...
url* at uhub? port ?
urlphy* at mii? phy ?
2002-03-28 21:13:20 +00:00
thorpej
8345db18a3
Example gzboot config for the IQ80321.
2002-03-28 20:44:07 +00:00
thorpej
b5b0fd2467
Define CONADDR.
2002-03-28 20:41:45 +00:00
thorpej
242be7009e
Rename iq80310_cons.c to ns16550.c. Require that CONADDR be
...
defined by the Makefile at build time.
2002-03-28 20:40:47 +00:00
uwe
d5f7434c94
Oops, timermatch_msiiep() body now needs to be protected with #ifdef MSIIEP.
2002-03-28 20:04:27 +00:00
uwe
788d7bdd8f
Move ms-IIep PCIC driver into mspcic0 at msiiep0. msiiep0 now serves
...
as a stub bus that knows how to attach drivers for various functions
of PCIC.
This change is a follow up to timer0 at msiiep0 change, since all
children must share same attach arguments and so we no longer can
attach pci0 directly under msiiep0.
2002-03-28 19:50:20 +00:00
manu
2e2ba05d0d
Moved errno translation so that errno get translated correctly in any case,
...
and so that EJUSTRETURN and ERESTART get proprely reported.
2002-03-28 18:48:31 +00:00
eeh
67c9b24c04
Follow the post-UBC semantics of resetting ref/mod collection inside of
...
pmap_clear_{reference,modify}().
2002-03-28 18:07:31 +00:00
thorpej
6ce299c3d3
Use write-back caching on the Verde.
2002-03-28 16:47:49 +00:00
pk
fd87eee68e
bootinfo_relocate(): don't forget to copy the terminating empty record
...
of the bootinfo[] array.
2002-03-28 16:03:41 +00:00
pk
d6197003e5
Pass actual loaded kernel file in bootinfo[].
2002-03-28 15:46:20 +00:00
pk
61c214b2fe
sysctl(CPU_BOOTED_KERNEL): look for kernel path bootinfo[].
2002-03-28 15:45:01 +00:00
pk
945536cf85
Define bootinfo record to pass the kernel file path from the boot program.
2002-03-28 15:43:23 +00:00
uch
dade289395
add uvmexp.intrs++
2002-03-28 15:34:20 +00:00
uch
260c29f029
rework HD64461, HD64465 interrupt handling.
2002-03-28 15:26:59 +00:00
uch
3ca46e441b
rework HD64461, HD64465 interrupt handling.
2002-03-28 15:26:57 +00:00
uch
c24ff44374
INTERRUPT_MONITOR -> HPC_DEBUG_INTERRUPT_MONITOR
2002-03-28 15:24:24 +00:00
simonb
4a1086db83
There's 8 interrupt_status_N registers, not 7.
2002-03-28 12:49:55 +00:00
pk
6bcf43ea9c
`intterupt' => `interrupt'
2002-03-28 11:59:56 +00:00
pk
ed494d4e18
Declare `timer0' as a device on the `msiiep' bus.
2002-03-28 11:55:25 +00:00
pk
0aa6e02940
Untangle clock.c:
...
* put various time-of-day clock, timer and eeprom drivers in separate files
* avoid unnecessary overhead in interrupt handlers
* make the MSIIEP timer attach through the regular autoconf mechanisms
2002-03-28 11:54:16 +00:00
matt
de12aa443d
Add missing wskbd
2002-03-28 05:45:08 +00:00
matt
8d529326e9
Adapt to recent dz/wscons changes
2002-03-28 05:42:16 +00:00
thorpej
70fbd8fba7
Fix soft interrupts.
2002-03-28 03:19:31 +00:00
thorpej
0b109cd060
iwin_base_lo is a BAR value; make sure to mask off the non-address
...
bits when using it.
2002-03-27 23:17:03 +00:00
thorpej
bb52a97b63
Kernel configuration file for the IQ80321 eval board.
2002-03-27 21:52:19 +00:00
thorpej
592e882ae0
Support for the Intel IQ80321 eval board for the i80321 I/O Processor.
2002-03-27 21:51:28 +00:00
thorpej
f536211623
Basic support for the Intel i80321 I/O Processor (Xscale core).
...
Note: This is a snapshot of work-in-progress; there are still some
bugs to be shaken out.
2002-03-27 21:45:47 +00:00
wrstuden
785fe6b1db
Revert last change as we now can get FSMAXTYPES w/o needing FSTYPENAMES
...
to be set.
2002-03-27 20:23:11 +00:00
scw
8fe81151a5
Add files.c to SRC_sa.
...
While I'm here, sort source files alphabetically.
2002-03-27 20:18:25 +00:00
matt
e00090dded
Make the comment reflect reality a bit more.
2002-03-27 18:37:17 +00:00
kanaoka
4081bcf395
Add (missing)pushl/popl for %edi in ENTRY(pxecall_pxenv).
2002-03-27 17:24:22 +00:00
christos
db95aa87ec
fix compilo in debugging code. Reported by: Klaus Heinz
2002-03-27 16:39:51 +00:00
pk
f4062f7921
Include "scsibus.h" to see whether we can query the scsi subsystem.
2002-03-27 16:05:19 +00:00
kleink
1b6af7fb37
Add separate 601 versions of DSI/ISI trap entries, considering the
...
different battable entry format and the combined BAT implementation.
2002-03-27 15:40:46 +00:00
uch
0ae715f6d2
All the sh3 ports had an identical procfs_machdep.c, so use a common
...
file under arch/sh3/sh3.
2002-03-27 10:44:38 +00:00
briggs
e0d951068b
Add fxp* (Intel EtherExpress PRO 10+/100B).
2002-03-27 06:39:16 +00:00
simonb
8e523e0470
Fix pci/pchb attachments after the recent ibm4xx mainbus rototil.
2002-03-27 05:25:28 +00:00
chs
e0a7781fc7
avoid accounting errors in pmap_enter() by only updating the counters
...
once the operation can no longer fail. fixes PR 16028.
2002-03-27 04:47:28 +00:00
thorpej
33bf2a81e0
Note that this module will also work with the IQ80321 eval board.
2002-03-27 04:14:25 +00:00
thorpej
eb1415ce49
Stand-alone memory sizing routine for the Intel i80321 I/O processor
...
("Verde").
2002-03-27 04:13:39 +00:00
thorpej
c915b880c5
The 80321 manual lies; it does have a CPU ID distinct from the 80200.
...
Add that CPU ID, and add a case for it.
2002-03-27 01:34:47 +00:00
fredette
0fe578ec56
On the m68000, instead of extracting integer support from
...
libgcc, use bits from sys/lib/libkern.
2002-03-26 23:19:31 +00:00
kleink
032762e1e9
On the 601, construct the CPU counter value from the RTC[UL] registers.
2002-03-26 21:50:39 +00:00
matt
12810ed37d
Use size_t in prototype (so this will be LP64 clean for PPC64 someday).
...
Calculate len separately for icache & dcache in case each has different
cacheline widths. Make the code for both loops the same except for the
dcbst/icbi. Deal with sizes >=2GB properly (like that'll happen but ...)
2002-03-26 21:20:24 +00:00
thorpej
41f47f03e7
Restructure a few things in order to support other XScale core
...
I/O processors:
* The i80200 and the i80321 have the same CPU ID, so split the
CPU_XSCALE option into CPU_XSCALE_80200 and CPU_XSCALE_80321
options, and don't let them both be defined at the same time.
XXX May want to revisit this in the future.
* Split some registers common between the i80200 and i80321 into
<arm/xscale/xscalereg.h>.
* Rename a few existing functions.
2002-03-26 19:29:44 +00:00
isaki
d4e117205d
set factor=1/2 even if recording.
2002-03-26 15:05:29 +00:00
fvdl
2f5a2ef5af
Start signal stack at -128(%rsp), like the ABI specifies.
2002-03-26 15:02:42 +00:00
uch
3b784af7f0
remove MIPS3_L2CACHE_ABSENT option, since R5900 D-cache is 8KB
...
2-way. no need to worry about virtual aliasing.
2002-03-26 11:06:56 +00:00
uch
9c5fd0f84c
change MAXPARTITIONS to 16.
2002-03-26 11:01:45 +00:00
kanaoka
e42f3e3081
Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
...
This change improve checking the presence of PXE.
2002-03-26 08:02:05 +00:00
shin
ae418cfcb0
enable NFSSERVER.
2002-03-26 05:26:37 +00:00
mhitch
a0e1b0e0d1
Need to include files.o for the file descriptor table used by open().
...
The -S flag to indicate secondary boot no longer takes a size - size is
computed from input image.
2002-03-26 05:21:37 +00:00
mhitch
1ae1c48b8f
Need to include files.o for the file descriptor table used by open().
2002-03-26 05:19:39 +00:00
mhitch
2f871ae8a1
Check for referencing undefined symbols, and bail out if there were any.
...
Change the -S option to just a flag for Secondary boot, and compute size
of bootfile image from the input. Secondary boot is no longer a fixed size.
2002-03-26 05:18:19 +00:00
kleink
7df1d60bab
Bump version to note 601 support.
2002-03-26 00:11:54 +00:00
kleink
ccf604db9e
Adapt this to the 601's RTC.
2002-03-26 00:03:47 +00:00
thorpej
3964313f67
Fix reporting of the kernel virtual address space range to UVM.
2002-03-25 22:11:12 +00:00
kleink
7e9d845469
* Add MPC601 versions of BAT_VA_MATCH_P() and BAT_VALID_P().
...
* Make the extern declaration of the battable array incomplete;
a given port might want to use a differently-sized definition to
support the 601 BAT implementation, where blocks map up to 8M only.
2002-03-25 21:35:45 +00:00
thorpej
a2a309d02a
* Some cleanup.
...
* Delete the call to pmap_copy() in pmap.h
2002-03-25 19:53:38 +00:00
uch
b095a0d0c5
ANSIfy, KNF
2002-03-25 18:59:39 +00:00
thorpej
b17e7a03c2
Clean up pmap_map_ptes() and pmap_unmap_ptes() a little, and add
...
a debug assertion that curproc is never NULL if mapping a non-current
pmap.
2002-03-25 17:50:12 +00:00
uch
13b945ce31
recompile.
2002-03-25 17:34:53 +00:00
thorpej
a2d8f71d01
The target page of pmap_zero_page(), pmap_pageidlezero(), and
...
pmap_copy_page() will never have any mappings. Therefore, it
is unnecessary to do a cache clean for that page.
Add assertions in #ifdef DEBUG that assert this invariant.
This shaves some cycles off the frequently-called pmap_zero_page()
and pmap_copy_page() (no need to look up the dst page's vm_page
structure, and one less function call to clean the page).
2002-03-25 17:33:26 +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
thorpej
75cb2c6554
* Clean up some comments/whitespace.
...
* Don't construct a fake trap frame and pass it to main(); that hasn't
been needed for some time.
* panic if main() returns.
2002-03-25 16:58:18 +00:00
thorpej
13dab83888
Use the generic ARM procfs_machdep.c
2002-03-25 16:42:30 +00:00
thorpej
aa0ba8096c
Use the generic ARM process_machdep.c
2002-03-25 16:41:15 +00:00
martin
0db68b667b
Now that we have all pieces in place (and enough granularity to specify
...
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.
The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.
2002-03-25 16:39:52 +00:00
thorpej
ec1c475f7c
Use the generic 32-bit ARM setstack.S
2002-03-25 16:36:25 +00:00
thorpej
a4d12b89f5
Use the common 32-bit ARM setcpsr.S
2002-03-25 16:34:46 +00:00
thorpej
a61914be93
Garbage-collect fetchuserword(); nothing uses it any more.
2002-03-25 16:32:55 +00:00
is
89bf05888a
make this compile again
2002-03-25 15:42:09 +00:00
is
41c0b419fc
the big ISDN renaming
2002-03-25 15:41:21 +00:00
shiba
a3b10f5127
Switch mac68k to ELF. Now the default executable binaries are ELF.
...
Approved by Scott,briggs,fredb,wormey
2002-03-25 14:03:05 +00:00
shin
a257a8dad5
if root device is md, change KLOADER_KERNEL_PATH to "/mnt/netbsd".
2002-03-25 13:47:26 +00:00
shin
142e7ef1a1
vrpiu needs wsmouse.
2002-03-25 13:24:18 +00:00
aymeric
434696e615
include <machine/conf.h> instead of <sys/conf.h>
...
The new DEV_RELOAD macro is defined in machine/conf.h and we need it.
2002-03-25 13:14:10 +00:00
shin
a1f41292a6
reduce GP size.
2002-03-25 10:02:50 +00:00
shin
b7ac9aaff3
TX3922 is supported by GENERIC.
2002-03-25 09:42:30 +00:00
shin
a49599223d
this document is obsoleted.
2002-03-25 09:40:58 +00:00
shin
d2df7381ed
enable kloader.
2002-03-25 08:42:35 +00:00
mrg
40fa931dcb
remove vnd. use -mcpu=ultrasparc.
2002-03-25 05:54:51 +00:00
thorpej
dbe6d8291b
* Fix use of pmap_curmaxkvaddr.
...
* Use the PTP hint in the pmap.
2002-03-25 04:51:19 +00:00
thorpej
8500c97458
Move some private pmap data structures into pmap.c
2002-03-25 03:00:28 +00:00
thorpej
c93e4f6940
Tidy a few things up.
2002-03-25 02:51:32 +00:00
thorpej
a9cba12f54
Correct the comment describing the layout of the VM space. In
...
particular, don't describe a recursive PTE mapping, since the ARM
port doesn't (and can't) use one.
2002-03-25 02:44:07 +00:00
thorpej
da2944b10e
In the Prefetch Abort handler, just do the uvm_fault() dance
...
directly, rather than doing a data access to fetch the page,
which meant we had to take another fault (!!).
2002-03-25 01:53:36 +00:00
bjh21
67a2b59b9c
Remove all my pointless "This file is part of NetBSD/arm26" comments, since
...
that's easier than correcting them.
2002-03-24 23:37:42 +00:00
bjh21
f1f30eb04d
Fix include directories.
2002-03-24 23:17:36 +00:00
bjh21
83ecfb19eb
Fix include directory.
2002-03-24 23:17:00 +00:00
bjh21
dbe15f1606
In commented-out SUBDIR, rename arm26 -> acorn26.
2002-03-24 23:15:05 +00:00
thorpej
a4652c81cf
Only check for SA110 bugs on SA110 CPUs with step <= K.
2002-03-24 22:03:23 +00:00
thorpej
ea553e2681
Cache the cpu type and cpu revision in cpu_info.
2002-03-24 22:02:58 +00:00
reinoud
a24660e86c
Fix detection of ARM 610 processors in the bootloader. NetBSD/acorn32 now
...
runs on ARM 610's again !!
2002-03-24 21:59:48 +00:00
thorpej
35e2087b84
Make this compile again.
2002-03-24 21:46:28 +00:00
thorpej
2a68b2b9b1
Use the generic 32-bit ARM fault.c
2002-03-24 21:41:12 +00:00
thorpej
186c0135d6
Garbage-collect pmap_pte() (and good riddance!)
2002-03-24 21:32:18 +00:00
thorpej
ea95b58d21
* Only check for SA110 rev K bug if we're on an SA110 (XXX should also
...
check stepping).
* In said check, don't use pmap_pte().
* Garbage-collect some useless debug code.
2002-03-24 21:27:57 +00:00
chris
03345d6008
remove pointless pg = NULL in else part of if (pg != NULL)
2002-03-24 21:10:25 +00:00
thorpej
bf3ea66d5c
pmap_enter(): Use pmap_map_ptes() correctly.
2002-03-24 20:48:59 +00:00
martin
0bc69b6498
Now that we have all the pieces of the puzzle available start to unriddle
...
and move them in their proper places.
Move the BRI registry from layer 2 (duh!) to layer 4, so active cards
(which don't have layer 3 or layer 2 in their driver). Remove all remaining
hard coded controller and driver types. Remove any arbitrary hard coded
limits, at least those that show up in the internal API.
This fixes PR 15950.
2002-03-24 20:35:43 +00:00
chris
c247fe1261
cats has enough kvm space to use the default pager_map size.
2002-03-24 20:15:59 +00:00
jdolecek
abc9dff158
Limit the KVA used for pipe loaned memory to 64KB, vax doesn't have too
...
much KVA space spare. This fixes port-vax/13333 by Manuel Bouyer.
Reviewed by: Anders Magnusson
XXX this is not ideal, need to find better solution
2002-03-24 19:08:17 +00:00
thorpej
1ffa188c0a
Remove exported pmap_pte() prototype.
2002-03-24 18:36:52 +00:00
uch
cfe4dfb98f
add autoconf.h for new mainbus driver.
2002-03-24 18:28:12 +00:00
uch
e8300f3659
adapted to new interrupt code and shb changes.
2002-03-24 18:21:08 +00:00
scw
7ce75221c2
Round VID_OSL to be a multiple of 32 * 256byte blocks.
2002-03-24 18:15:03 +00:00
uch
422c178bc7
add cpu device. sync with shb change.
2002-03-24 18:14:27 +00:00
scw
d22256f158
Pass RB_NOSYM to exec_mvme() otherwise loadfile() tries to lseek()
...
backwards, which we don't support.
2002-03-24 18:13:24 +00:00
uch
5f6dd2098e
Remove unneeded device and fix comment
2002-03-24 18:13:01 +00:00
thorpej
5ffc15a083
Use vtopte() instead of pmap_pte().
2002-03-24 18:12:54 +00:00
uch
3d1452008e
remove unneeded header
2002-03-24 18:11:09 +00:00
scw
3d663e9bb1
Bump the MD image size to 1600 blocks.
2002-03-24 18:10:54 +00:00
scw
d0dba1cf87
Build the 68k-specific vmetwo stub (albeit a cut down version), even
...
if vmetwo isn't in the config file.
2002-03-24 18:10:14 +00:00
uch
7803620f8d
mmeye specific devices are moved to mmeye/dev
2002-03-24 18:08:42 +00:00
chris
434f6391ea
Update pmap_copy_page to only map in the src readonly and only invalidate it after the copy, no need for it to flush the wb.
2002-03-24 18:05:45 +00:00
uch
24ec477a45
Rework interrupt code.
...
+ Fully utilize SH SR.I[0:3] interrupt level.
+ software interrupt is emulated by TMU1, 2 one shot interrupt.
+ implement generic soft interrupts.
+ implement clockframe correctly.
2002-03-24 18:04:39 +00:00
uch
50fcaf7ba0
add cpu device.
2002-03-24 18:01:29 +00:00
uch
049c84193e
shb device is integrated to sh3/dev/shb.c and clean up locators.
2002-03-24 18:00:41 +00:00
uch
731150d9ce
add SH7750S IPRD register define
2002-03-24 17:57:33 +00:00
scw
7e69c325c1
Fix a botch from the dev/mvme split for kernels with no vmetwo in
...
the config file.
2002-03-24 17:22:32 +00:00
bjh21
650f7e5c99
arm26 -> acorn26 changes.
2002-03-24 16:10:11 +00:00
bjh21
c5ada96476
arm26 -> acorn26.
2002-03-24 15:56:59 +00:00
bjh21
99ba40c188
arm26->acorn26 transition.
2002-03-24 15:49:38 +00:00
bjh21
1de4f40a8a
Rename NetBSD/arm26 to NetBSD/acorn26, so that the two Acorn/ARM ports have
...
matching names. This commit might include some private hacks that have been
lurking in my tree a while. They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.
2002-03-24 15:45:29 +00:00
bjh21
ebfcb75fe5
Add ARM610 cache information. Not yet tested because booting on ARM610s seems
...
to be broken at present.
2002-03-24 15:37:46 +00:00
isaki
7b178b2f1f
bsd_audioio.h was obsolated by vs0
2002-03-24 14:54:50 +00:00
thorpej
a6d59cb039
pmap_allocpagedir(): Don't use pmap_pte(), and simplify a little.
2002-03-24 06:07:00 +00:00
thorpej
b812152b34
pmap_handled_emulation(): Fix locking protocol botch.
...
XXX Should we traverse the PV list and enable all PTEs?
2002-03-24 05:55:31 +00:00
thorpej
6fbfe41621
pmap_handled_emulation(): Use pmap_map_ptes() correctly.
2002-03-24 05:52:10 +00:00
thorpej
ec75dcf496
pmap_modified_emulation(): Use pmap_map_ptes() correctly.
2002-03-24 05:39:53 +00:00
thorpej
0aef2cab11
pmap_unwire(): Use pmap_map_ptes() correctly.
2002-03-24 05:28:46 +00:00
thorpej
11df08a743
pmap_clearbit(): Use pmap_map_ptes() correctly.
2002-03-24 05:15:59 +00:00
thorpej
eb638f9bc5
Use pmap_is_curpmap() consistently.
2002-03-24 04:56:49 +00:00
thorpej
242f080390
Clean up the PTP allocation functions a bit.
2002-03-24 04:49:16 +00:00
thorpej
c34d24ea3c
Clean up PTE access macros a bit.
2002-03-24 04:38:33 +00:00
thorpej
aa1563948c
* arm_byte_to_page() -> arm_btop()
...
* arm_page_to_byte() -> arm_ptob()
2002-03-24 03:37:18 +00:00
thorpej
48d8c5fdd9
Remove some redundant tests in pmap_enter().
2002-03-24 03:25:10 +00:00
reinoud
2b488a7d9f
Big rototil of the vidcvideo code to cleanup illogical structures and to
...
incorporate write back support for processors not having a write through
cache.
The current fb_devconfig structure now really holds the device's
configuration and the softc really only holds the attachment information.
This used to be mixed giving rise to weird stuctures and cross references.
The number of vertical syncs before the video memory writeback is triggered
is configurable ... default is to wait for 5 Vsync .. aprox minumum 10
times a second, but more likely in the order of 12,5 times a second. When
printing is in progress no write back is performed... only after the
waiting time. The reasoning behind this is that as long as the screen is
printed too the cache will be purged of dirty data anyway due to the
processing and new screen memory useage.
2002-03-23 21:27:41 +00:00
thorpej
2488d00e5f
KERNEL_SPACE_START -> KERNEL_BASE
2002-03-23 19:38:30 +00:00
thorpej
e80bfdc1a3
Garbage-collect the "pagehook" stuff.
2002-03-23 19:21:58 +00:00
thorpej
4b6638c0b5
pmap_bootstrap(): Correct arithmetic on pte when advancing past
...
the newly-allocated msgbuf. (Note, it happened to work before
because nothing used pte afterwards, but in the event something
is added that does, pte should be correct.)
2002-03-23 18:39:46 +00:00
ragge
300bbc803f
Check unit number when booting from rl disks.
2002-03-23 18:13:04 +00:00
reinoud
2d2df858f7
Fix up typos.
2002-03-23 18:10:24 +00:00
reinoud
fe2473fafd
Fix typo.
2002-03-23 17:10:13 +00:00
simonb
adc0cdfea7
Allow selection of a big- or little-endian kernel by uncommenting the
...
std.malta.eb or std.malta.el config include file in the kernel config
file. From the sbmips and evbsh3 ports.
2002-03-23 14:51:28 +00:00
simonb
2184ed8531
Convert evbmips to use mips/mips/bus_space_alignstride_chipdep.c.
2002-03-23 14:33:35 +00:00
simonb
de2d1df3a9
Remove the comment that says this is for PCI busses only.
2002-03-23 14:20:41 +00:00
simonb
8e5ab10b05
Add generic chipset memory and I/O "bus" functions for mips, based on
...
algor/pci/pci_alignstride_bus_{io,mem}_chipdep.c.
2002-03-23 14:19:18 +00:00
enami
c504305f1b
Make this file compiles again.
2002-03-23 13:43:04 +00:00
hamajima
fddeb95f9f
add VR4121 Audio Interface Unit
2002-03-23 09:02:01 +00:00
shin
3389664fee
add MIPS3_NO_PV_UNCACHED.
2002-03-23 05:16:33 +00:00
gmcgarry
3ed7e33e1d
Add commented-out default definitions for BASEREG and BASEMEM.
2002-03-23 03:45:04 +00:00
shin
b7cd4d56ee
add LKM.
2002-03-23 03:17:57 +00:00
shin
f8fe1d3f46
change MAXPARTITIONS to 16.
2002-03-23 03:14:54 +00:00
thorpej
110e2a57ff
* Change all uses of KERNEL_SPACE_START to KERNEL_BASE.
...
* Delete now unused KERNEL_SPACE_START.
2002-03-23 02:53:59 +00:00
thorpej
aec8b8b92e
* Fix the definition of KERNEL_BASE.
...
* Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
KERNEL_BASE.
2002-03-23 02:42:46 +00:00
thorpej
d364ce88c0
Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
...
KERNEL_BASE.
2002-03-23 02:35:24 +00:00
thorpej
f0d2ad4c95
Slignt cleanup.
2002-03-23 02:33:38 +00:00
thorpej
bf1bc7a9f5
Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
...
KERNEL_BASE.
2002-03-23 02:30:29 +00:00
thorpej
e5acae884b
Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms
...
of KERNEL_BASE.
2002-03-23 02:28:42 +00:00
thorpej
0ba36d6f6f
* Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
...
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START
2002-03-23 02:22:56 +00:00
reinoud
89400b4aab
Allthough this patch doesn't look that much it adds a few things that were
...
on the port-acorn32's TODO list for quite some time :
- when the serial console is selected, don't exclude the screen
alltogether; currently the keyboard is still not attached but that might be
a configuration problem in the GENERIC console or a failure to explicitly
connect to a wsmux. This needs further investigation.
- create a framework for the display memory writeback on vsync for
StrongARM processors since they don't have a write-trough cache. This is to
solve the lazy screen update that is very evident in single user mode on
these processors; the cache isn't flushed/written back that often and parts
of the screen can thus be resident in the cache but not written out to
memory yet.
- clean up some loose ends in the code.
2002-03-23 02:00:26 +00:00
thorpej
b326238b01
Remove redundant #ifdef _KERNEL
2002-03-23 01:56:31 +00:00
wrstuden
27d8692678
Add support for storing NetBSD file system type codes inside of
...
an Apple Partition entry. As proposed to port-macppc. Also some
prototype modernization for touched routines.
Method is that NETBSD, NETBSD/MACPPC, NETBSD/MAC68K partitions,
if they have a valid bzb, contain all of the info we shove in a NetBSD
disklabel partition entry. defines in disklabel.h cover aliasing
some of the bzb fields.
2002-03-23 01:29:35 +00:00
leo
7c8d16d63f
Also find swap partitions in a (possibly embedded in AHDI) NetBSD label on
...
the disk.
2002-03-22 21:29:23 +00:00
leo
7b23fbe29a
Add code for reading NetBSD disklabels.
2002-03-22 21:27:58 +00:00
shiba
f819f78977
fixed attach fail intvid in PowerBook Duo 210,230.
...
these machine works with multi user mode.
References:http://developer.apple.com/techpubs/hardware/Developer_Notes/
Macintosh_CPUs-68K_Portable/PowerBook_Duo_System.pdf
http://developer.apple.com/techpubs/hardware/Developer_Notes/
Macintosh_CPUs-68K_Portable/PowerBook_150.pdf
Submitted: Daishi Kato <daishi@axlight.com>
Tested: Kazuyuki Inanaga <happyday@pp.iij4u.or.jp>
2002-03-22 20:10:28 +00:00
christos
b7acd59d13
Add more debugging code.
2002-03-22 18:41:40 +00:00
christos
c8f14c1d44
remove debugging printf.
2002-03-22 16:41:23 +00:00
christos
2df30ebb25
linux passes the 6th argument in %ebp; handle that so that we can get mmap2
...
working. Also tell us which syscall has too many args. Thanks Frank!
2002-03-22 14:49:37 +00:00
reinoud
12d0f60218
If the serial console is asked for then dont forget to define the function
...
prototype for connecting the serial console....
2002-03-22 13:32:51 +00:00
takemura
db078facf1
Added Vrc4172 USB OHCI for Pencentra 130.
2002-03-22 09:18:07 +00:00
fredette
72eb42a61e
Added files.c to SRC_sa.
2002-03-22 00:30:06 +00:00
fredette
3ba7f2074a
Added missing DEV_ constants.
2002-03-22 00:28:55 +00:00
fredette
6db09399a0
Added bits to use the console code under sys/arch/sun2 and
...
sys/dev/sun.
2002-03-22 00:28:08 +00:00
fredette
d2550b2ba7
Added the console and zs code now found under sys/arch/sun2.
2002-03-22 00:25:56 +00:00
fredette
5268abfc97
sc_btype has been removed from struct bwtwo_softc.
2002-03-22 00:24:45 +00:00
fredette
453e503b32
Added support for the sun2 zs serial ports. As this driver
...
is very common on Suns, it could be made shared under sys/dev/sun.
2002-03-22 00:23:53 +00:00
fredette
ae1f6b9ea8
Added bits to complete the sun2 console code. These are
...
virtually identical copies of files under sys/arch/sparc/dev,
and one day they will be merged under sys/dev/sun.
2002-03-22 00:22:43 +00:00
petrov
9305f3556c
Remove excessive declarations.
2002-03-21 22:50:09 +00:00
ragge
c034dd5209
Inline functions that mostly do not need to be called. Partly
...
rearrange/change the code to be able to avoid some inefficient functions.
Profiling shows that the time spent in pmap now is decreased by 20%. (!)
2002-03-21 22:08:08 +00:00
petrov
8805e1b92d
Not needed debug stuff deleted.
2002-03-21 06:56:31 +00:00
uwe
bf8a9d7f0d
Fix cast in sbus_promaddr_to_handle().
2002-03-21 04:32:25 +00:00
uwe
2837da095f
PROM patches for JavaStation-1.
2002-03-21 04:04:12 +00:00
eeh
e9c8c1eee3
Add missing semicolon.
2002-03-21 01:19:41 +00:00
eeh
ecdc1104a9
Add missing brace.
2002-03-21 01:18:42 +00:00
eeh
e6bf9fbdd2
Cleanup.
2002-03-21 01:17:08 +00:00
eeh
7fba99a774
Cleanup.
2002-03-21 00:48:43 +00:00
eeh
a1649fc334
Parenthesise macro arguments.
2002-03-21 00:43:42 +00:00
eeh
0cb6a3a2a5
Add bus_space_vaddr().
2002-03-21 00:30:41 +00:00
gmcgarry
bf49f00fe6
Use host tool elf2ecoff if available.
2002-03-20 20:18:00 +00:00
gmcgarry
dd71debbae
Test for USETOOLS properly.
...
cVS: ----------------------------------------------------------------------
2002-03-20 20:15:18 +00:00
ross
6a723063ac
nonfunctional warning fix: use canonical indirect call syntax
2002-03-20 20:06:51 +00:00
eeh
47ef6a5146
Overhaul bus space.
...
bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses. This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses. bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in. So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr(). This removes at least one
extra level of indirection and should reduce TLB misses.
32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.
2002-03-20 18:54:46 +00:00
eeh
bd48e83999
DDB_ONPANIC now needs a number.
2002-03-20 18:43:53 +00:00
eeh
bd22d9d0f1
Add PTE_WIRED bit to keep track of wired pages.
2002-03-20 18:41:53 +00:00
eeh
8ccad96d54
Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t.
2002-03-20 18:39:44 +00:00
christos
7e277b5782
kill remaining PS_STRINGS instances.
2002-03-20 17:59:22 +00:00
joda
0624e7fe7a
add HTT cpu flag, and further split message
2002-03-20 15:59:26 +00:00
chs
fb88d3b0ba
add missing cache flushes in pmap_protect(). fixes PR 15965.
2002-03-20 02:50:19 +00:00
thorpej
c0d66944db
Make sure we override any optimization options specified by the
...
user; the boot blocks don't work when built with e.g. -mcpu=i486
(probably due to how branches are aligned in that case, causing
segment boundaries to be crossed).
2002-03-19 22:03:37 +00:00
eeh
c34c58d78e
Using PSR_PIL in conjunction with the IPL results in a comparison that is
...
always true.
2002-03-19 19:47:57 +00:00
briggs
14bcbc0e29
Ignore cpu_sleep() if called with anything other than ARM_SLEEP_MODE_IDLE.
2002-03-19 19:41:57 +00:00
eeh
7a49cca31a
Fix up compiler options:
...
1) Get things right for 32-bit kernels
2) Always use medium any memory model for 64-bit kernels for the moment.
2002-03-19 18:10:33 +00:00
drochner
b40bbc753e
work around a pc-relative jump optimization in early startup
2002-03-19 17:59:04 +00:00
augustss
2448d257af
Add uvscom driver. Untested.
2002-03-19 15:10:21 +00:00
briggs
d099df10f4
Use obio_bs_rr_1.
...
In obio_bs_map(): Create a mapping for regions that are not in the
standard on-board I/O space.
2002-03-19 01:36:13 +00:00
atatat
8fb7f2015a
Remove a comment that is wrong
2002-03-19 00:58:17 +00:00
atatat
808a91f311
Put the extra kernel names in EXTRA_KERNELS
2002-03-19 00:57:53 +00:00
simonb
267b8c65f5
Define all CPU types if _LKM is defined; fixes problems building LKM's
...
as noted by FUKAUMI Naoki on port-mips.
2002-03-19 00:53:46 +00:00
thorpej
09a6f546a3
PS_STRINGS -> p->p_psstr
2002-03-18 22:57:53 +00:00
briggs
47c8167bc7
Fix typo: ISDNCTL -> NISDNCTL.
2002-03-18 22:46:57 +00:00
bjh21
e637cd6c16
PS_STRINGS -> p->p_psstr
2002-03-18 22:21:25 +00:00
bjh21
6a7bb64ae1
We don't seem to need abort() any more -- presumably GCC is no longer
...
generating calls to it.
2002-03-18 21:14:34 +00:00
itojun
7ffd9429a4
s/PS_STRINGS/p->p_psstr/, as requested by christos
2002-03-18 17:00:20 +00:00
christos
df95562a0f
goodbye PS_STRINGS
2002-03-18 13:27:02 +00:00
simonb
9fe34c6901
Fix comments after endian selection includes(!).
2002-03-18 11:11:30 +00:00
simonb
00e905ce64
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
2002-03-18 10:10:14 +00:00
briggs
a2e0bd5a5d
Use p->p_psstr instead of PS_STRINGS.
...
Tested on boot to multi-user on sandpoint.
2002-03-18 04:50:32 +00:00
simonb
91785659ba
Generic PCI/ISA machdep headers for mips; copied from the algor port.
2002-03-18 03:08:09 +00:00
simonb
99f891c74d
Use mips/mips/bus_dma.c.
2002-03-18 02:33:19 +00:00
simonb
7e2ca5e1a8
Copy the algor bus_dma.c for use as a generic bus_dma implementation for
...
other MIPS ports.
2002-03-18 02:32:54 +00:00
simonb
9690c2293e
Convert to use <mips/bus_*.h>.
2002-03-18 01:21:11 +00:00
simonb
e64d2d9708
Oops, balance #ifdef/#endif _KERNEL.
2002-03-18 01:01:54 +00:00
simonb
d9aac5ef07
Add generic MIPS bus_space and bus_dma headers; these are a straight
...
split of the algor <machine/bus.h>.
2002-03-18 00:32:21 +00:00
nonaka
85b957a2b0
Already MBR_PTYPE_PREP is defined in sys/disklabel_mbr.h.
2002-03-17 23:45:57 +00:00
simonb
a85e214bda
Make sure that private DMA flags don't overlap with standard DMA flags;
...
start these at 0x10000 to leave room for an increase in the latter.
2002-03-17 21:45:06 +00:00
manu
c51e325123
Replaced PS_STRINGS by p->p_psstr
2002-03-17 20:54:09 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
christos
f2d8f1aa62
goodbye PS_STRINGS.
2002-03-17 19:16:20 +00:00
uch
93da9db963
cosmetic changes, fix comments.
2002-03-17 17:55:22 +00:00
minoura
c42dd282b7
LFSv2 support.
...
Note that secondary boot does not support LFSv2.
Code written by itohy.
2002-03-17 16:14:30 +00:00
minoura
e6ff25795b
Make this compile again.
2002-03-17 15:43:10 +00:00
uch
1080799576
change to per-process AST.
2002-03-17 14:06:38 +00:00
uch
57918e656a
add kernel stack debug option.
2002-03-17 14:05:47 +00:00
uch
81cdeb6cdd
adapt to kernel stack treatment changes.
2002-03-17 14:05:10 +00:00
uch
02add6730a
reserve wired entries for kernel stack.
2002-03-17 14:04:18 +00:00
uch
3900e66164
add kernel stack and trapframe debug command.
2002-03-17 14:03:55 +00:00
uch
9e6153d985
remove obsoleted functions.
2002-03-17 14:03:34 +00:00
uch
b4b9d38675
zero clear all TLB entry to avoid unexpected VPN match.
2002-03-17 14:03:09 +00:00
uch
1e6e3f896d
write-through mode for now. since SH4 kernel access page table via P2. XXX
2002-03-17 14:02:43 +00:00
uch
4c6260b9de
kernel stack fix. old code simply P3 address converted to P1, it
...
caused memory destruction when kernel stack grow over 1 page. new
code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack mode remain.
2002-03-17 14:02:03 +00:00
bjh21
315040cb53
Remove joy at ioeb, since it's not supported and it clashes with the MI
...
joy.
2002-03-17 12:00:56 +00:00
simonb
5a7cb92d99
Include <machine/swarm.h>.
2002-03-17 11:37:55 +00:00
simonb
ed84d53b75
Allow selection of a big- or little-endian kernel by uncommenting the
...
std.sbmips.eb or std.sbmips.el config include file in the kernel config
file. Idea from the evbsh3 port.
2002-03-17 11:00:22 +00:00
scw
b303a9412d
Fix an include file botch when there is no vmetwo device in the
...
kernel config.
2002-03-17 10:04:47 +00:00