summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2001-06-10Art error #1Theo de Raadt
2001-06-08Fix the XXX #debug bits in vm_machdep().Todd C. Miller
Makes the pmap_extract() accept a NULL argument for pap; from NetBSD
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-06-05Use mi round_page() and trunc_page() macrosTodd C. Miller
2001-05-31Initialize b_dep if we malloc our own struct buf.Artur Grabowski
2001-05-31Initialize bp->b_dep if we malloc our own struct buf.Artur Grabowski
2001-05-28#ifdef PMAP_NEW we should call pmap_kremove/pmap_kenter_pa instead ofTodd C. Miller
pmap_remove/pmap_enter. This is needed for when hp300 has true pmap_kremove/pmap_kenter_pa instead of just wrapper functions.
2001-05-25Add 3 sysctl machdep variables: cpuspeed, machineid, and mmuid.Todd C. Miller
2001-05-23Adjust computed cpuspeed by 3/8 on 68040 machines to correspond toTodd C. Miller
reality. Convert hp300_models into an array of char *'s, indexed by machineid--we can use the computed cpuspeed instead of hard coding values in a table. Also save a few bytes by storing the cpu type in a single char, not a 2 character string.
2001-05-17convert mbuf and cluster allocation to pool, mostly from NetBSDNiels Provos
okay art@ miod@
2001-05-17It's Daylight Saving Time, not Savings. Fix comments.Peter Valchev
Discussed with pjanzen@
2001-05-16Use PMAP_NEW if UVM is defined.Todd C. Miller
2001-05-16PMAP_NEW support; thorpej@netbsd.orgTodd C. Miller
2001-05-15Change splimp -> splhigh in cpu_exit() to match NetBSD and some ofTodd C. Miller
our other ports.
2001-05-15Remove an extra space in avail mem printfTodd C. Miller
2001-05-13Remove an unused label.Aaron Campbell
2001-05-13Fix the problem that single-step tracing of a trap instructionTodd C. Miller
drops the system into kernel debugger; itohy@netbsd.org Other m68k ports require similar changes
2001-05-13Make sure the branch target of the delay loop is aligned to a cacheTodd C. Miller
half-line (8-byte) boundary; thorpej@netbsd.org
2001-05-13PAGE_MASK is (PAGE_SIZE - 1), *not* (PAGE_SHIFT - 1)Todd C. Miller
2001-05-11Kill remaining vm_offset_t and vm_size_t; NetBSD used as a guideTodd C. Miller
2001-05-11more rd merge (headcolds suck)Theo de Raadt
2001-05-11unifyTheo de Raadt
2001-05-10Provide PAGE_{MASK,SHIFT,SIZE} constants.Miod Vallat
2001-05-10Don't play with MCR_IEN, it breaks serial console input on the 425e.Todd C. Miller
If it turns out that this causes problems on other 4xx models this can be added back for the non-425e models.
2001-05-10Nuke the DCA check. ACPI can only be console on a 425e; thorpej@netbsd.orgTodd C. Miller
2001-05-10Add missing #include <sys/resourcevar.h> so these can compile.Todd C. Miller
2001-05-10In apciparam() in the ospeed == 0 case, actually set the cfcr to the newTodd C. Miller
value; bad@netbsd.org
2001-05-10Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on everyTodd C. Miller
other 4xx model, and the "not configured" could be pretty annoying. This means we can nuke apcicheckdca() and just key off being a 425e. Also, ia->ia_addr is a physical address, not a kernel virtual address; thorpej@netbsd.org
2001-05-10fix typo introduced in non-UVM case yesterdayTodd C. Miller
2001-05-10Some locking protocol fixes and better enforcement of wiring limits.Artur Grabowski
From NetBSD.
2001-05-10When acpi is used as the console, set cn_tab appropriately so that aTodd C. Miller
serial console on the 425e gets attached properly. The hp300 port should really be changed such that drivers don't touch cn_tab themselves but this turns out to be a bit tricky so I'm going to punt on that for now.
2001-05-10Move the timeout_set() call up a bitTodd C. Miller
2001-05-10o Print memory sizes in KB in addition to bytes like i386 portTodd C. Miller
o Move model designation info out of hp300_models. Since it is non-overlapping we only need a single array to store this. o For 68040 CPUs use cpuspeed * 3/8 for the CPU speed (in Mhz) that we print in the boot message. That way we get accurate info for upclocked systems w/o hard-coding things. Don't bother doing this with the '020 and '030 systems for the moment since they are less likely to have been "upgraded".
2001-05-10Add a MMUID_425_E defineTodd C. Miller
2001-05-10Add 425e detection based on what is in stand/uboot/srt0.STodd C. Miller
2001-05-09More sync to NetBSD.Artur Grabowski
- Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
2001-05-06Add casts to vaddr_t to round_page() and trunc_page() calls sinceTodd C. Miller
those macros no longer have an explicit cast inline. Needed because you can't do bitwise ops on a void *.
2001-05-06Update some comments wrt. the CLSIZE changes.Artur Grabowski
And remove that memory price comment from 1981. It is amusing, but also confusing because the math in there is only correct on vax.
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-05-05Remove the (vaddr_t) casts inside the round_page and trunc_page macros.Artur Grabowski
We might want to use them on types that are bigger than vaddr_t. Fix all callers that pass pointers without casts.
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-05-05Repair non-UVM kernelsTodd C. Miller
2001-05-04Substantial update from NetBSD, most notably gives us UVM support; millert@ okAaron Campbell
2001-05-01convert to new timeoutsTodd C. Miller
2001-04-06Use pool to allocate pmap instead of malloc. OK'd by art@Todd C. Miller
2001-03-08move gif* and faith* into sys/conf/GENERIC. deraadt and angelos okJun-ichiro itojun Hagino
2001-01-31based on art's sparc patch:Jason Wright
mmap should return -1 on failure, not EOPNOTSUPP. As it was now, an mmap of /dev/mem always returned page 45.
2001-01-22Define ARCH_ELFSIZE that is the default elf size on this arch.Artur Grabowski
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
2000-11-10seperate -> separate, okay aaron@Niels Provos