summaryrefslogtreecommitdiff
path: root/sys/arch/sun2/include
AgeCommit message (Collapse)Author
2003-10-30Set MAXPHYS to 0xe000.mycroft
XXX This really is the wrong way to do this.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-04-02Use PAGE_SIZE rather than NBPG.thorpej
2003-04-01Make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK a compile-time constant on Sun2.thorpej
2003-01-18Merge the nathanw_sa branch.thorpej
2002-12-10Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is.thorpej
2002-12-10Use __LDPGSZ (which must be == USRTEXT) as the text address for a.outthorpej
executables, and eliminate the USRTEXT constant, which was only used by the a.out exec code.
2002-11-26Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.lukem
2002-09-22it really helps to get the stub right before cutting + pasting it 27 times.chs
alas, I did not. doh.
2002-09-22add pmap_remove_all() hook (empty on most platforms so far).chs
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
This merge changes the device switch tables from static array to dynamically generated by config(8). - All device switches is defined as a constant structure in device drivers. - The new grammer ``device-major'' is introduced to ``files''. device-major <prefix> char <num> [block <num>] [<rules>] - All device major numbers must be listed up in port dependent majors.<arch> by using this grammer. - Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables. - The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa. - The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch. - In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
2002-08-07Implement pmc(9) -- An interface to hardware performance monitoringbriggs
counters. These counters do not exist on all CPUs, but where they do exist, can be used for counting events such as dcache misses that would otherwise be difficult or impossible to instrument by code inspection or hardware simulation. pmc(9) is meant to be a general interface. Initially, the Intel XScale counters are the only ones supported.
2002-07-13m68k syscall rototill:scw
- Switch all m68k-based ports over to __HAVE_SYSCALL_INTERN. - Add systrace glue. - Define struct mdproc in <m68k/proc.h> instead of <machine/proc.h>. (They were all defined exactly the same anyway, other than a couple of the MDP_* flags.)
2002-05-13Nuke local extern label_t *db_recover; it's now in <ddb/db_extern.h>matt
2002-03-22Added bits to use the console code under sys/arch/sun2 andfredette
sys/dev/sun.
2002-02-28Use "#define<tab>".simonb
2002-02-27- define other DEV_ constants that the local port uses.christos
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-01-28Define ELF32_EHDR_FLAGS_OK()/ELF64_EHDR_FLAGS_OK() and use itthorpej
as an added measure to make sure that we can execute a binary. These default to (1) if elf_machdep.h does not override them. On Sun2, ELF32_EHDR_FLAGS_OK() checks for the presense of EF_M68000, since the 68010 cannot run binaries for the 68020-and-up.
2002-01-28Just use the stock m68k/elf_machdep.h for now, so that things compile.thorpej
A patch to handle EF_M68000 will be posted shortly.
2001-12-09Add support for dumping ELF-cormat core files.thorpej
2001-11-30Purge vm_offset_t.fredette
2001-11-15MAXSLP is defined to be a machine-independent scheduling parameter,soren
so move it into sys/param.h.
2001-11-09Remove unneeded declarations of the db_machine_init() function. Thethorpej
ARM ports are the only ones that actually have one, and it is about to change.
2001-10-01Added the prom_kbdid function, to help us figure out iffredette
the console keyboard is on the parallel interface or zs1.
2001-09-10Update pmap_update to now take the updated pmap as an argument.chris
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment. Currently this is a no-op on most platforms, so they should see no difference. Reviewed by Jason.
2001-06-27Added a Makefile for the sun2 includes.fredette
2001-06-27Include a common header, then define macros thatfredette
give the appearance of specific attach args for the mbio and mbmem buses.
2001-06-27Now define a suitable ELF32_MACHDEP_ID_CASES.fredette
2001-06-27Just include a common header.fredette
2001-06-27Declare the PROM console device.fredette
2001-06-27Now don't include zsvar.h until the end. splzs() isfredette
now defined in machine/cpu.h. Define zs_peripheral_type.
2001-06-27Added comments and fixed some macros now that I correctlyfredette
understand how to address the sun2 VME bus in the VM hardware.
2001-06-27Now define kernel_context() and restore_context(), thesefredette
are used by some sun68k common code.
2001-06-14Under _LKM, now undefine KERNBASE for declaring it.fredette
Not sure if this is correct, but the real question is whether 68000 LKMs are even possible.
2001-06-14Corrected the value of DVMA_OBIO_SLAVE_BASE; obiofredette
devices can see the entire CPU address space.
2001-06-14Now simply include the real header under arch/sun68k.fredette
2001-06-14Moved the definition of romVectorPtr here from mon.h.fredette
Prototype prom_sd_target.
2001-06-14Now simply include the real header under arch/sun68k.fredette
2001-06-08Added comments and fixed some macros now that I correctlyfredette
understand how to address the sun2 VME bus in the VM hardware.
2001-06-02replace vm_map{,_entry}_t with struct vm_map{,_entry} *.chs
2001-05-30use _KERNEL_OPTmrg
2001-05-26replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.chs
2001-05-14Rewrote a variable constraint to make gcc 2.95 happy.fredette
2001-05-14Now always define PGSHIFT. Thanks to the ELF move, note the newfredette
larger msgbuf size and different KERNBASE.
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-25Garbage-collect pmap_page_index().thorpej
2001-04-24Added these required headers.fredette
2001-04-22Undo a misguided previous change to the pmap_update() API.thorpej
2001-04-22Give pmap_update() an argument (a pmap_t) so that it knows whichthorpej
pmap it should be updating.