summaryrefslogtreecommitdiff
path: root/sys/arch/prep/include
AgeCommit message (Collapse)Author
2001-12-10define __HAVE_NWSCONS for pckbc.briggs
2001-11-21prep has no special dependencies on pccons; remove.soren
2001-11-15MAXSLP is defined to be a machine-independent scheduling parameter,soren
so move it into sys/param.h.
2001-10-31Split elf32 vs. elf64 handling in loadfile(), including support forthorpej
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-08-26Make all powerpc ports use a common Makefile.powerpc (except walnut)matt
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
2001-06-20Seprate model depended code. (based on arc 'struct platform')nonaka
files.prep: - add new files entry. pci_machdep.c: - use dev/pci/pciconf.c instead of mine for pci io/mem addr/intr fixup. cpu.c: - separate code machdep.c: - call ident_platform() mainbus.c: - call pci_configure_bus(), if defined PCI_NETBSD_CONFIGURE ibm_machdep.c: - for IBM PReP generic ibm_6050.c: - for IBM Personal Power Series 830/850 ibm_7248.c: - for IBM RS6000/43P deppendency
2001-06-20ANSI'fynonaka
2001-06-19Back out last changes.nonaka
2001-06-19Back out last changes.nonaka
2001-06-17NEWPMAPnonaka
2001-06-17identified prep model.nonaka
2001-06-15Use new common bus.h framework.nonaka
2001-06-14Don't need to prototype child_return() here, it's in <sys/proc.h>.thorpej
2001-05-30use _KERNEL_OPTmrg
2001-05-03PPC machine type tags haven't been used for a while.soren
2001-05-01Per discussion w/ chuck and chuck, restructure the md page stuffthorpej
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD and __HAVE_PMAP_PHYSSEG.
2001-04-29Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data forthorpej
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this data when pages are initialized by UVM. These macros are mandatory, but ports may #define them to nothing if they are not needed/used. This deprecates struct pmap_physseg. As a transitional measure, allow a port to #define PMAP_PHYSSEG so that it can continue to use it until its pmap is converted to use VM_MDPAGE_MEMBERS. Use all this stuff to eliminate a lot of extra work in the Alpha pmap module (it's smaller and faster now). Changes to other pmap modules will follow.
2001-04-15Add definitions of C99 integer format conversion macros.kleink
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15Add definitions of C99 specified-width integer type limits.kleink
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14Add definitions of C99 integer constant macros.kleink
Tidy Makefiles up a little.
2001-04-14Add definitions of C99 integer constant macros.kleink
2001-04-14Add definitions of C99 minimum-width and greatest-width integer types.kleink
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-13Remove the use of splimp() from the NetBSD kernel. splnet()thorpej
and only splnet() is allowed for the protection of data structures used by network devices.
2001-03-21now that duplicated stuff has been moved to sys/conf.h, remove unnecessarylukem
defs for: lpt, joy, pc
2001-03-07Add the BUS_DMA_STREAMING flag.thorpej
2001-02-05Share a single pio.h instead of having 4 nearly-identical copies.briggs
2001-01-18No-op commit to force update to a non-"-kk" revision.tv
2001-01-14Make sure everybody has an splvm() and equate it with splimp() (splimp()thorpej
is the historical name for this interrupt level, and the historical name is going to go away in the near future).
2000-12-30Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE (from macppc)tsutsui
so that the kernel can boot with 128MB memory. XXX: How can we determine size of the buffer cache on UBC?
2000-12-28Change pci_intr_map to get interrupt source information from a "structsommerfeld
pci_attach_args *" instead of from four separate parameters which in all cases were extracted from the same "struct pci_attach_args". This both simplifies the driver api, and allows for alternate PCI interrupt mapping schemes, such as one using the tables described in the Intel Multiprocessor Spec which describe interrupt wirings for devices behind pci-pci bridges based on the device's location rather the bridge's location. Tested on alpha and i386; welcome to 1.5Q
2000-12-14Partial syscall cleanup, as per other ports.mycroft
2000-12-02Cleanup/fixup gten support. Add TNF copyright (opps). This now outputsmatt
text correctly. There is no colormap support (e.g. the mechanisms are in place but does yet talk to the hardware).
2000-12-01Add support for the IBM ThinkPad 820 G10 display (which is a WD90C24A behindmatt
a funky PCI-VLBUS bridge).
2000-11-27Rework bus_space to conform the PReP I/O & MEM limits. Add a few debuggingmatt
printfs concerning interrupts.
2000-11-22Make assym.h be generated againmatt
Add pcmcia support to files.prep Add isa_intr_alloc support.
2000-11-15Move the ISA DMA cookie into isadma_machdep.c.thorpej
2000-08-25Make need_resched() take a "struct cpu_info *" argument. Thisthorpej
causes gives a primitive form of processor affinity. Its use in roundrobin() still needs some work.
2000-08-22Add spllock(). See spl(9) for details.thorpej
2000-08-21Make sure we provide splsched() as described in spl(9).thorpej
2000-08-14* Make spllower()ing functions not return the previous priority level,kleink
as specified in spl(9). * In due course, ipmlement splx() via spllower().
2000-06-30raise MSIZE from 128 to 256.itojun
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small already (less than 80) and there are chances for unwanted packet loss due to m_pullup restriction. - for other cases, the change should avoid allocating clusters in most cases (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of extension header) portmasters: if your arch chokes with the change (high memory usage or whatever), please backout the change for your arch.
2000-06-26Add <machine/int_types.h>, which provides namespace-pure definitionskleink
of exact-width integer types.
2000-06-26Change the kernel mmap interface so that the offset to map is ansimonb
"off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t". Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-11Add cpu_counter().tsubai
2000-06-04Implement the more flexiable `evcnt' interface as discussed (briefly) oncgd
tech-kern and now documented in evcnt(9).
2000-06-01Make booted_device global (and booted_parition for consitency).matt
Eliminate it from header files and other extern definitions.
2000-06-01kill __P in these files. (I had to look at them anyway with an eye forcgd
adding some protos... and adding them with __P seems wrong, but mixing __P and not __P in the same file seems wrong too, so...)
2000-05-26First sweep at scheduler state cleanup. Collect MI schedulerthorpej
state into global and per-CPU scheduler state: - Global state: sched_qs (run queues), sched_whichqs (bitmap of non-empty run queues), sched_slpque (sleep queues). NOTE: These may collectively move into a struct schedstate at some point in the future. - Per-CPU state, struct schedstate_percpu: spc_runtime (time process on this CPU started running), spc_flags (replaces struct proc's p_schedflags), and spc_curpriority (usrpri of processes on this CPU). - Every platform must now supply a struct cpu_info and a curcpu() macro. Simplify existing cpu_info declarations where appropriate. - All references to per-CPU scheduler state now made through curcpu(). NOTE: this will likely be adjusted in the future after further changes to struct proc are made. Tested on i386 and Alpha. Changes are mostly mechanical, but apologies in advance if it doesn't compile on a particular platform.
2000-05-02LABELOFFSET 42 -> 64nonaka
2000-05-01Bump default data size to 32 MB.kleink