summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
AgeCommit message (Collapse)Author
2011-03-13Change daddr_t to daddr32_t. The bootblocks on our architectures onlyTheo de Raadt
do 32-bit block spanning. If later on we get some that can/should do 64-bit, that can be done now using daddr64_t (but of course, we are taking this step to finalize the daddr_t 64-bit conversion). ok miod krw
2011-03-11Use _MACHINE_ENDIAN_H_ for this is The Right Thing To Do.Paul Irofti
Okay guenther@, millert@.
2011-02-26Force the DUID cache used to generate hw.disknames to be updatedKenneth R Westerback
after every disklabel read or write. This keeps the DUID cache more in sync with the physical world. De-syncing noted by drahn@ while zapping disklabels with dd. ok jsing@ deraadt@
2011-02-17Disable sbt and ubt devices. The bluetooth code will sometimes sleep whileMiod Vallat
holding locks, this is not allowed, and nobody has stepped up to fix this, so better not lure people into using bluetooth devices.
2011-01-23Ansify function.Joel Sing
2011-01-23Ansify functions.Joel Sing
2011-01-23Spinning up secondary CPUs on an MP kernel results in PDC output on theJoel Sing
system LCD. Move LCD initialisation to a mountroot hook in order to avoid PDC output after initialisation. Committing on behalf of kettenis@
2011-01-14- use nitems()Jasper Lievisse Adriaanse
"doesn't hurt" deraadt@
2011-01-14Halt secondary CPUs when shutting down or rebooting. This should preventJoel Sing
occasional hangs during reboot. ok kettenis@
2011-01-14Implement a function to broadcast IPIs to all running CPUs.Joel Sing
ok kettenis@ deraadt@ miod@
2011-01-14Provide an IPI to halt a CPU.Joel Sing
ok kettenis@ deraadt@ miod@
2011-01-12Provide a specific rw_cas() function for MP kernels; stolen from m88k.Mark Kettenis
ok jsing@, deraadt@
2011-01-12Make __cpu_simple_lock implementation actually work.Mark Kettenis
ok deraadt@, jsing@
2011-01-09Check in resettodr() if inittodr() has been called, otherwise we end upJasper Lievisse Adriaanse
resetting the clock when we don't need to. Found out with booting hppa64 kernels, and the problem also exists on hppa when booting with '-a' and hitting 'exit' when asked for the root filesystem. help & ok jsing@ also ok kettenis@ (who suggested naming the variable like amd64/i386 to prevent creating yet another variant of this code)
2011-01-08forward decl struct procTheo de Raadt
2011-01-05- remove unused headers wrapped in #if defined(DDB)Jasper Lievisse Adriaanse
ok jsing@ kettenis@
2011-01-04- de-register. no binary change.Jasper Lievisse Adriaanse
ok jsing@
2011-01-02Make need_resched() call cpu_unidle() such that we wake up a process running onMark Kettenis
another CPU. ok miod@
2011-01-02Enable udl(4) on hppa, together with rasops and rawkbd for Xorg.Matthieu Herrb
Xorg is not yet built in xenocara, this will come later. ok miod@
2011-01-01Move setting cpu_hzticks to the clock initialization function, likeJasper Lievisse Adriaanse
other ports (e.g. hppa64) do. ok jsing@ kettenis@
2011-01-01- ansifyJasper Lievisse Adriaanse
ok jsing@ kettenis@
2011-01-01Fix horribly broken softintr_establish(). The old code was not managing theMark Kettenis
linked list of handlers properly. Fixes issues with usb(4) reported by matthieu@. tested by matthieu@, ok jsing@
2011-01-01Only store bus/dev/func numbers when the corresponding pointer argumentMark Kettenis
isn't NULL.
2011-01-01Only store bus/dev/func numbers when the corresponding pointer argumentMark Kettenis
isn't NULL.
2010-12-30If genassym fails, sort on the pipeline will indicate no error resultingTheo de Raadt
in some grief. Split this out. From Vladimir Kirillov
2010-12-30Since we save the interrupt mask in the trapframe when we get a trap, weMark Kettenis
might restore the wrong mask when we switch CPUs. Since we should be running with the proper mask when we enter $syscall_return, simply save the proper mask into the trapframe such that we restore the right interrupt mask later on. tested by jsing@
2010-12-30Prior to loading the FPU context onto the current CPU, check to see if theJoel Sing
FPU context is still present on another CPU. If so, perform an FPU shootdown and wait for the FPU context to be saved before continuing. ok kettenis@
2010-12-30Turn signotify() into a function that also calls cpu_unidle().Joel Sing
ok kettenis@
2010-12-30Implement cpu_unidle() for MP kernels.Joel Sing
ok kettenis@
2010-12-30add a simple __va_copy inside ifdef lint, from tim van der molen.Ted Unangst
ok guenther
2010-12-26Kill pmap_phys_address(), and force every driver's mmap() routine to returnMiod Vallat
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
2010-12-21Convert netisr to a normal soft interrupt instead of hanving MD codeClaudio Jeker
for it. This makes the netisr a real C function which will help further development. No noticable performance change on i386 and amd64. With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
2010-12-15oops, i forgot to check in the BRKSIZ define in uvm, but deraadt thinksTed Unangst
its better as a per arch MD define anyway. all default to MAXDSIZ as before.
2010-12-10There's no need to flush the cache for the FPU state ever since we got ridMark Kettenis
of the non-equivalent aliases for it. ok miod@
2010-12-06- properly remove NENTS now after fixing the fallout.Jasper Lievisse Adriaanse
ok deraadt@
2010-12-06- partially revert previous NENTS removal for arches which got busted.Jasper Lievisse Adriaanse
2010-12-06Change the signature of PMAP_PREFER from void PMAP_PREFER(..., vaddr_t *) toMiod Vallat
vaddr_t PMAP_PREFER(..., vaddr_t). This allows better compiler optimization when the function is inlined, and avoids accessing memory on architectures when we can pass function arguments in registers.
2010-12-06- drop NENTS(), which was yet another copy of nitems().Jasper Lievisse Adriaanse
no binary change ok deraadt@
2010-12-04Introduce a new pci routine, pci_conf_size(), which returns the size of aMiod Vallat
given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@
2010-12-03removed slot argument of function pckbd_cnattachAlexandr Shadchin
because it is always PCKBC_KBD_SLOT ok miod@, krw@
2010-12-02After the most recent change, make it possible to make -j again. TheTheo de Raadt
early MD and late MI files must be split up so that vers.o can sneak between. Issue spotted by bluhm, repair discussed with miod
2010-12-02move vers.o to before the other objects, so that it is not linked last.Theo de Raadt
having it linked last is bad (on at least i386 and amd64) because the lapic is mapped over the start of the data segment -- savecore(8) then reads the version string for a fixed buffer space, and reads into the lapic area causing unintended side-effects (at least on Intel X5570 and X5680) found by pedro, discussed with kettenis and mpf and miod
2010-11-28Remove unused gscbus bus_dma_tag_t.Miod Vallat
2010-11-28Don't bother .import'ing a dead global.Miod Vallat
2010-11-27Remove ddb single-step load and store counters. Most platforms do notMiod Vallat
implement them, and they are of questionable usefulness.
2010-11-26Disable uscanner(4) by default on all kernels which configure it. First stepMiod Vallat
until possible removal, if indeed this causes no regression for scanner users.
2010-11-20This is a first step towards getting rid of avail_start and avail_end in theMiod Vallat
kernel, currently limited to low-hanging fruit: these variables were used by bus_dma to specify the range in which to allocate memory, back when uvm_pglistalloc() was stupid and would not walk the vm_physseg[]. Nowadays, except on some platforms for early initialization, these variables are not used, or do not need to be global variables. Therefore: - remove `extern' declarations of avail_start and avail_end (or close cousins, such as arm physical_start and physical_end) from files which no longer need to use them. - make them local variables whenever possible. - remove them when they are assigned to but no longer used.
2010-11-18Declare pmap_proc_iflush() in <uvm/uvm_pmap.h> unless <machine/pmap.h>Miod Vallat
provides an inline version of it.
2010-11-12Push all potential (as in, all system MI not utilized by the bootblocks)Theo de Raadt
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
2010-11-03no need to specify the -t flag to ctagsTheo de Raadt