#
c7347149 |
| 25-Jul-2020 |
uwe <uwe@NetBSD.org> |
Start teaching sh3 code about STX7105.
Kernel option STX7105 to select CPU product (TODO: all of the options that select CPU product should be defflag'ed to opt_cputype.h).
The ST40 cache sizes can
Start teaching sh3 code about STX7105.
Kernel option STX7105 to select CPU product (TODO: all of the options that select CPU product should be defflag'ed to opt_cputype.h).
The ST40 cache sizes can be customized for each product. For now just hardcode the STx7105 values in the switch, but may be they should be kernel options.
show more ...
|
#
775ecda5 |
| 19-Jun-2014 |
msaitoh <msaitoh@NetBSD.org> |
Fix "error: variable 's' set but not used [-Werror=unused-but-set-variable]"
|
#
b2300f13 |
| 19-Jul-2011 |
dyoung <dyoung@NetBSD.org> |
Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark evbsh3/bus.h obsolete.
|
#
cc1f0a55 |
| 19-Jan-2011 |
he <he@NetBSD.org> |
Need <machine/pcb.h> to define struct pcb.
|
#
ccde4787 |
| 20-Dec-2010 |
matt <matt@NetBSD.org> |
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
|
#
238763f6 |
| 06-Apr-2010 |
nonaka <nonaka@NetBSD.org> |
Added support following boards. - AlphaNet MS104-SH4 - TAC T-SH7706LAN Ver.3 - TAC T-SH7706LSR Ver.1
|
#
3f18fe81 |
| 27-Nov-2009 |
rmind <rmind@NetBSD.org> |
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb(). - Amend assembly in ports where it acce
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb(). - Amend assembly in ports where it accesses PCB via struct user. - Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
show more ...
|
#
9480c51b |
| 07-Nov-2009 |
cegger <cegger@NetBSD.org> |
Add a flags argument to pmap_kenter_pa(9). Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html No objections.
|
#
c6975278 |
| 16-May-2009 |
nonaka <nonaka@NetBSD.org> |
Added SH7706, SH7750R, SH7751 and SH7751R support.
|
#
df7f595e |
| 18-Mar-2009 |
cegger <cegger@NetBSD.org> |
Ansify function definitions w/o arguments. Generated with sed.
|
#
82357f6d |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
#
454af1c0 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
show more ...
|
#
02cdf4d2 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
#
719a906e |
| 30-Nov-2008 |
martin <martin@NetBSD.org> |
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap phases, so move the initialization of the ksyms mutex back into main via a function called ksyms_init. Rename the existing
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap phases, so move the initialization of the ksyms mutex back into main via a function called ksyms_init. Rename the existing (but quite different) ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit() and adapt machdep code accordingly.
show more ...
|
#
0efea177 |
| 12-Nov-2008 |
ad <ad@NetBSD.org> |
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
|
#
94d98572 |
| 11-Nov-2008 |
dyoung <dyoung@NetBSD.org> |
It is not appropriate to call pmf_system_shutdown(9) from doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9) expect to be called with interrupts disabled, but shutdown hooks r
It is not appropriate to call pmf_system_shutdown(9) from doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9) expect to be called with interrupts disabled, but shutdown hooks registered with pmf_device_register1(9) expect to be called with interrupts enabled. So I have made two changes:
1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead, change every call to doshutdownhooks() to a call to doshutdownhooks() followed by a call to pmf_system_shutdown(). No functional change is intended by this change.
2 Make i386 re-enable interrupts briefly while it calls pmf_system_shutdown(). I leave it to others either to fix the other ports, or to factor out some MI shutdown code, as joerg@ suggests, and fix that. Note that a functional change *is* intended by this change.
I hope that this patch will stop us from flip-flopping between calling doshutdownhooks() and pmf_system_shutdown() sometimes with and sometimes without interrupts enabled.
show more ...
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
f38b1e35 |
| 07-Jan-2008 |
uwe <uwe@NetBSD.org> |
Now that sh3 has didicated interrupt stack we can check for cpu_intr_p with simple sp comparison, so we can drop ci_idepth.
|
#
4b293a84 |
| 03-Dec-2007 |
ad <ad@NetBSD.org> |
Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implemen
Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts.
show more ...
|
#
8572d2c1 |
| 17-Mar-2006 |
uebayasi <uebayasi@NetBSD.org> |
Stop using linker scripts on all sh3 ports.
The only information to be compensated is text section start address. The default value is set arch-wise as DEFTEXTADDR. Each kernel config can override
Stop using linker scripts on all sh3 ports.
The only information to be compensated is text section start address. The default value is set arch-wise as DEFTEXTADDR. Each kernel config can override the default value by setting TEXTADDR.
Tested on COMPUTEXEVB (evbsh3).
Reviewed By: uwe
show more ...
|
#
5f1c88d7 |
| 24-Dec-2005 |
perry <perry@NetBSD.org> |
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
#
bc21da4c |
| 24-Nov-2005 |
yamt <yamt@NetBSD.org> |
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer. bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.
we have too many copies!
|
#
c1fc8d36 |
| 05-Jun-2005 |
he <he@NetBSD.org> |
Adapt to compiling with -Wcast-qual by sprinkling around some consts. Had to use __UNCONST() in one case of sysctl_lookup() use.
|
#
6b2d8b66 |
| 01-Apr-2005 |
yamt <yamt@NetBSD.org> |
merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management
merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management API. - simplify pmap bootstrap of some ports. - some related cleanups.
show more ...
|
#
3beedd2b |
| 11-Mar-2005 |
matt <matt@NetBSD.org> |
Don't compare scalars against NULL, use 0
|