| Age | Commit message (Collapse) | Author |
|
XXX This really is the wrong way to do this.
|
|
Patches provided by Joel Baker in PR 22364, verified by myself.
|
|
|
|
|
|
|
|
|
|
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
|
|
|
|
alas, I did not. doh.
|
|
|
|
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.
|
|
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.
|
|
- 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.)
|
|
|
|
sys/dev/sun.
|
|
|
|
- delete cdev_decl(mm) since <sys/conf.h> does it.
|
|
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.
|
|
A patch to handle EF_M68000 will be posted shortly.
|
|
|
|
|
|
so move it into sys/param.h.
|
|
ARM ports are the only ones that actually have one, and it is about
to change.
|
|
the console keyboard is on the parallel interface or zs1.
|
|
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.
|
|
|
|
give the appearance of specific attach args for
the mbio and mbmem buses.
|
|
|
|
|
|
|
|
now defined in machine/cpu.h. Define zs_peripheral_type.
|
|
understand how to address the sun2 VME bus in the VM hardware.
|
|
are used by some sun68k common code.
|
|
Not sure if this is correct, but the real question
is whether 68000 LKMs are even possible.
|
|
devices can see the entire CPU address space.
|
|
|
|
Prototype prom_sd_target.
|
|
|
|
understand how to address the sun2 VME bus in the VM hardware.
|
|
|
|
|
|
|
|
|
|
larger msgbuf size and different KERNBASE.
|
|
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
|
|
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.
|
|
|
|
|
|
|
|
pmap it should be updating.
|