summaryrefslogtreecommitdiffstats
path: root/sys/arm
Commit message (Collapse)AuthorAgeFilesLines
...
* Get the kernel stack right now that the u-area is gone.cognet2004-11-204-6/+7
|
* Remove UAREA_PAGES and USPACE definitions. The definitions ofdas2004-11-201-9/+1
| | | | | | | | USPACE_SVC_STACK_TOP, USPACE_SVC_STACK_BOTTOM, USPACE_UNDEF_STACK_TOP, and USPACE_UNDEF_STACK_BOTTOM look wrong to me, so I'm leaving them alone. Reviewed by: arch@
* Remove some references to U area here while trying not to breakdas2004-11-201-4/+3
| | | | | | | anything. Someone with ARM hardware could do a lot more to untangle this code. Reviewed by: arch@
* Remove references to U area and garbage collect includes.das2004-11-201-3/+1
| | | | Reviewed by: arch@
* U areas are going away, so don't allocate one for process 0.das2004-11-202-17/+1
| | | | Reviewed by: arch@
* Increase cnt.v_syscall and cnt.v_trap when needed.cognet2004-11-201-0/+3
|
* Move KERNPHYSADDR and KERNVIRTADDR from std.i80321 to std.iq31244.cognet2004-11-182-2/+2
| | | | Use the correct KERNPHYSADDR.
* Simplify a bit bus_dmamap_load_buffer by removing the "first" parameter, usecognet2004-11-161-38/+21
| | | | | | nseg == -1 instead. Obtained from: NetBSD
* MFi386:cognet2004-11-151-17/+14
| | | | | - inlina bus_dmamap_load_buffer - Directly pass the pmap to bus_dmamap_load_buffer, instead of the struct thread
* Remove debugging printf.cognet2004-11-131-1/+0
|
* Don't forget to clear the PG_WRITEABLE flag when appropriate.cognet2004-11-131-0/+6
|
* Use uma_prealloc() on the l2table_zone to prevent a LOR at startup.cognet2004-11-131-3/+5
|
* Implement interrupt counting, so that vmstat -i work.cognet2004-11-123-9/+21
|
* Don't forget to include opt_vm.h.cognet2004-11-101-0/+2
|
* Convert the IQ31244 code to use ARM32_NEW_VM_LAYOUT.cognet2004-11-102-6/+16
|
* Invalidate the data cache in pmap_qremove() instead of in pmap_kenter(),cognet2004-11-101-2/+2
| | | | and in pmap_enter_quick() instead of pmap_enter().
* Remove __P here too.trhodes2004-11-101-3/+3
| | | | Ok'ed by: cognet
* Use the RET macro.cognet2004-11-0925-296/+295
|
* Import a RET macro, that will use bx if the arch supports it.cognet2004-11-091-0/+36
| | | | Obtained from: NetBSD
* Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc().alc2004-11-081-3/+5
| | | | | | Change the spelling of the "catch" option to be consistent with the new options. Implement the "no wait" option. An implementation of the "CPU private" for i386 will be committed at a later date.
* Add device mem in config files.cognet2004-11-072-0/+2
|
* Import md bits for mem(4) on arm.cognet2004-11-074-45/+202
| | | | While I'm there, cleanup a bit pmap.h.
* Remove useless code.cognet2004-11-071-14/+0
|
* Disable interrupts for atomic_cmpset_32, this one is just not atomic.cognet2004-11-051-10/+13
| | | | Don't export it to userland.
* Copy the syscall args in a tmp variable instead of directly using thecognet2004-11-051-23/+55
| | | | | trapframe, as it can be modified in the syscall. Call thread_user_enter() when appropriate.
* Save a few cycles in context switch.cognet2004-11-051-90/+36
| | | | Update comments to reflect reality.
* If we're still running at the physical address, jump to the virtual addresscognet2004-11-052-33/+20
| | | | | instead before calling initarm(). This removes the need to map virtual == physical in initarm().
* Be more verbose about cache capacities.cognet2004-11-051-2/+18
|
* Implement casuptr.cognet2004-11-052-6/+51
|
* Call pmap_pte_init_arm9 instead of pmap_pte_init_generic ifcognet2004-11-051-0/+4
| | | | ARM9_CACHE_WRITE_THROUGH is defined.
* In cpu_critical_fork_exit(), make sure to set td_md.md_critnest so thatcognet2004-11-051-0/+2
| | | | | | interrupts will be enabled. Spotted out by: jhb
* Protect the function declarations with #ifdef _KERNEL.cognet2004-11-041-0/+2
|
* Directly use __pcpu for PCPU_* instead of pcpup.cognet2004-11-041-3/+4
|
* Decrease KSTACK_PAGES and UAREA_PAGES.cognet2004-11-041-2/+2
|
* Use interrupts_disable() and interrupts_restore() as intr_disable() andcognet2004-11-041-24/+6
| | | | intr_restore() instead of re-implement it.
* Don't barf if no CPU type is defined while compiling kernel modules.cognet2004-11-041-2/+2
|
* Implement get_cyclecount().cognet2004-11-041-1/+7
|
* Try to implement atomic operations using swp, instead of disabling interrupts.cognet2004-11-041-76/+65
|
* Use casts to enforce the return type of bswap16() and bswap32().cognet2004-11-041-6/+6
|
* Implement cpu_thread_siginfo() and set_mcontext().cognet2004-11-041-53/+46
| | | | Nuke getframe(), and choose which stack to use directly in sendsig().
* Implement cpu_set_upcall and cpu_set_upcall_kse.cognet2004-11-041-4/+29
| | | | Calculate td_frame and td_pcb the right way in cpu_thread_setup.
* Get kernel modules to work.cognet2004-11-041-8/+9
|
* Reduce annoying SCSI probing delay from 15 to 5 seconds in all GENRIC kernels.andre2004-11-022-2/+2
| | | | Discussed on: -current
* - Change the ddb paging "support" to use a variable (db_lines_per_page) tojhb2004-11-011-1/+1
| | | | | | | | | | | | | | | | | 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
* We want to ignore BUS_DMASYNC_POSTWRITE, not BUS_DMASYNC_POSTREAD.cognet2004-10-211-1/+1
| | | | | Spotted out by: mux Pointy hat to: cognet
* Use a default MD_ROOT_SIZE of 65535.cognet2004-10-111-0/+1
|
* Use MD_ROOT_SIZE, instead of our own macro.cognet2004-10-111-7/+7
|
* Add optimized version of the bswap macroes for constants if __OPTIMIZED__ iscognet2004-10-011-2/+30
| | | | defined.
* There's no need to turn on MALLOC_PROFILE by default.cognet2004-10-011-1/+0
|
* Calling fuword from fuword32 with bl and without returning after is really a badcognet2004-09-281-2/+1
| | | | | | idea. Any way I get a customized CVS template with "Pointy hat to: cognet" pre-filled ?
OpenPOWER on IntegriCloud