cognet
a31f092d86
Call pmap_pte_init_arm9 instead of pmap_pte_init_generic if
...
ARM9_CACHE_WRITE_THROUGH is defined.
2004-11-05 19:48:40 +00:00
cognet
77ece50565
In cpu_critical_fork_exit(), make sure to set td_md.md_critnest so that
...
interrupts will be enabled.
Spotted out by: jhb
2004-11-05 18:29:45 +00:00
cognet
8ab7d85466
Protect the function declarations with #ifdef _KERNEL.
2004-11-04 19:20:54 +00:00
cognet
29a110ac8f
Directly use __pcpu for PCPU_* instead of pcpup.
2004-11-04 19:19:44 +00:00
cognet
42f3ac62bf
Decrease KSTACK_PAGES and UAREA_PAGES.
2004-11-04 19:19:21 +00:00
cognet
9ae9025175
Use interrupts_disable() and interrupts_restore() as intr_disable() and
...
intr_restore() instead of re-implement it.
2004-11-04 19:18:50 +00:00
cognet
c13498c145
Don't barf if no CPU type is defined while compiling kernel modules.
2004-11-04 19:16:31 +00:00
cognet
d6d0407a62
Implement get_cyclecount().
2004-11-04 19:15:43 +00:00
cognet
17aad1aaf4
Try to implement atomic operations using swp, instead of disabling interrupts.
2004-11-04 19:14:50 +00:00
cognet
d107af25b0
Use casts to enforce the return type of bswap16() and bswap32().
2004-11-04 19:07:28 +00:00
cognet
4e2c4141d0
Implement cpu_thread_siginfo() and set_mcontext().
...
Nuke getframe(), and choose which stack to use directly in sendsig().
2004-11-04 19:04:30 +00:00
cognet
2b114cd2f1
Implement cpu_set_upcall and cpu_set_upcall_kse.
...
Calculate td_frame and td_pcb the right way in cpu_thread_setup.
2004-11-04 18:59:02 +00:00
cognet
660ae46a7a
Get kernel modules to work.
2004-11-04 18:48:52 +00:00
andre
b42fa1cbda
Reduce annoying SCSI probing delay from 15 to 5 seconds in all GENRIC kernels.
...
Discussed on: -current
2004-11-02 20:57:20 +00:00
jhb
c8058fdc6e
- Change the ddb paging "support" to use a variable (db_lines_per_page) to
...
control the number of lines per page rather than a constant. The variable
can be examined and changed in ddb as '$lines'. Setting the variable to
0 will effectively turn off paging.
- Change db_putchar() to force out pending whitespace before outputting
newlines and carriage returns so that one can rub out content on the
current line via '\r \r' type strings.
- Change the simple pager to rub out the --More-- prompt explicitly when
the routine exits.
- Add some aliases to the simple pager to make it more compatible with
more(1): 'e' and 'j' do a single line. 'd' does half a page, and
'f' does a full page.
MFC after: 1 month
Inspired by: kris
2004-11-01 22:15:15 +00:00
cognet
599524df47
We want to ignore BUS_DMASYNC_POSTWRITE, not BUS_DMASYNC_POSTREAD.
...
Spotted out by: mux
Pointy hat to: cognet
2004-10-21 11:59:33 +00:00
cognet
0856113b38
Use a default MD_ROOT_SIZE of 65535.
2004-10-11 14:42:06 +00:00
cognet
cf9c8ea97f
Use MD_ROOT_SIZE, instead of our own macro.
2004-10-11 14:41:38 +00:00
cognet
134eb00591
Add optimized version of the bswap macroes for constants if __OPTIMIZED__ is
...
defined.
2004-10-01 16:55:59 +00:00
cognet
04fdb2f30d
There's no need to turn on MALLOC_PROFILE by default.
2004-10-01 16:51:37 +00:00
cognet
0c70c83450
Calling fuword from fuword32 with bl and without returning after is really a bad
...
idea.
Any way I get a customized CVS template with "Pointy hat to: cognet"
pre-filled ?
2004-09-28 14:39:26 +00:00
cognet
861d05be03
Always invalidate the whole data cache in pmap_enter() for now.
...
It should not be needed.
2004-09-28 14:38:14 +00:00
cognet
4e9975d2bf
Remove dead code.
2004-09-28 14:37:39 +00:00
cognet
1adc169db7
Add the config file for the IQ31244 board.
2004-09-23 22:55:00 +00:00
cognet
ba4ceead20
Use the new KERNVIRTADDR and PHYSADDR options.
...
Add KDB.
2004-09-23 22:53:50 +00:00
cognet
d5fbaead12
Import partial support for the IQ31244 eval board (i80321 CPU). IQ80321 might
...
work out of the box too, but I have no hardware to test.
It works well enough to go multiuser. Network works, SATA does not, as I have
no drive to test.
Thanks to Intel for sending such a board.
Obtained from: NetBSD
2004-09-23 22:45:36 +00:00
cognet
a47ed20a10
Add Xscale common headers.
2004-09-23 22:36:13 +00:00
cognet
e834f98e29
Big cleanup: get ride of the whole spl level logic, as FreeBSD doesn't use
...
it anymore.
2004-09-23 22:33:38 +00:00
cognet
488b24fded
Now that we have pmap_growkernel(), use more KVA.
2004-09-23 22:32:33 +00:00
cognet
ae640f0474
Remove the empty definition of struct osigcontext, as it will never be used.
2004-09-23 22:31:49 +00:00
cognet
418839fab6
Remove the pcb32_cstate field of struct pcb.
2004-09-23 22:31:08 +00:00
cognet
5db0f10cb9
Declare sigcode and szsigcode.
2004-09-23 22:30:05 +00:00
cognet
9b94bfab45
Define VM_PROT_READ_IS_EXEC.
2004-09-23 22:29:43 +00:00
cognet
079c4c08a7
Implement _mcount().
...
Obtained from: NetBSD
2004-09-23 22:29:18 +00:00
cognet
4e8bba38f7
Define STACKALIGNBYTES and STACKALIGN.
2004-09-23 22:27:42 +00:00
cognet
24dfe8a29b
We are using _mcount, not __mcount.
...
Remove the !__ELF__ case.
2004-09-23 22:26:29 +00:00
cognet
6ffde35ac2
Use sf_bufs for uiomove_fromphys().
2004-09-23 22:25:20 +00:00
cognet
fdea91c607
On Xscale, use the minicache for the kernel stack.
2004-09-23 22:24:12 +00:00
cognet
3529fddc66
Make sure to call cred_update_thread() if needed.
...
Add partial support for KTRACE.
2004-09-23 22:22:33 +00:00
cognet
239b289d61
Implement cpu_throw().
...
Obtained from: NetBSD
2004-09-23 22:20:59 +00:00
cognet
6ca8d7fd40
Remove unused macroes.
...
Add user, btrap, etrap, bintr and eintrt in the GPROF case.
2004-09-23 22:18:56 +00:00
cognet
8d41c98ef2
Implement sigreturn().
2004-09-23 22:12:28 +00:00
cognet
51af24e5b5
Add the hw.machine sysctl.
2004-09-23 22:11:43 +00:00
cognet
489864898e
Remove definitions related to the pmap cache state, and add TDF_NEEDRESCHED.
2004-09-23 22:11:06 +00:00
cognet
1e387411bb
Add new functions to know which irqs are pending, and to mask and unmask
...
interrupts, as these are CPU specific.
If the interrupt handler is not marked as INTR_FAST, don't unmask the
interrupt until it as been serviced.
2004-09-23 22:09:57 +00:00
cognet
cfe86ba2b4
Rename macroes, as we don't need to mess with alignment faults.
...
Call ast() if TDF_NEEDRESCHED is set too, not just TDF_ASTPENDING.
2004-09-23 22:05:40 +00:00
cognet
bf2bcea292
Use sigcode.
2004-09-23 22:03:25 +00:00
cognet
05f84a6081
In db_stack_trace_cmd, remove the "pc" variable, we don't need it.
2004-09-23 22:02:59 +00:00
cognet
4ba8f19909
Use the right path for xscale files.
2004-09-23 21:59:43 +00:00
cognet
15a5aecf7f
Remove bus_space_vaddr(), it does not exists in FreeBSD.
2004-09-23 21:59:14 +00:00