Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4117 5552 d 11 h decky /trunk/ arm32: update for the new scheme of device drivers and keyboard/serial modules
streamline arm32 port (as GXemul is still the only machine supported), more cleanup is needed
 
4045 5557 d 15 h jermar /trunk/kernel/arch/arm32/ Remove ARM's console_init() because it conflicts with the generic
console_init(). No functionality loss as it was a mere wrapper around
machine_console_init().
 
4027 5561 d 12 h svoboda /trunk/ Init task names for arm32.  
4023 5561 d 14 h svoboda /trunk/kernel/arch/ Unify arch_pre_main() comments.  
4021 5561 d 14 h jermar /trunk/kernel/ There is no need to define ioport{8,16,32}_t types for each architecture separately.  
4018 5561 d 19 h decky /trunk/kernel/arch/arm32/ better inline assembler readability using the new symbolic syntax  
3973 5565 d 23 h decky /trunk/kernel/ kernel memory management revisited (phase 2): map physical memory according to zones
- ia32: register reserved and ACPI zones
- pareas are now used only for mapping of present physical memory (hw_area() is gone)
- firmware zones and physical addresses outside any zones are allowed to be mapped generally
- fix nasty antient bug in zones_insert_zone()
 
3952 5571 d 14 h jermar /trunk/kernel/arch/arm32/ Remove unnecessary stuff from arm32.  
3951 5571 d 15 h jermar /trunk/ Unreak arm32 (as far as breakage introduced by 3947 goes) and
adapt the uspace GXemul kbd IRQ driver to use the new pseudo code.
 
3949 5571 d 16 h jermar /trunk/kernel/arch/arm32/include/ PIO functions for arm32.  
3941 5572 d 14 h jermar /trunk/kernel/ Let IRQ claim methods take irq_t * instead of the instance argument.  
3940 5572 d 18 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
3929 5573 d 13 h jermar /trunk/kernel/arch/ Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be used with
pio_read_n() and pio_write_n() functions. This breaks everything.
 
3922 5575 d 12 h decky /trunk/ make arch_pre_main optional, don't force any specific prototype
simplify boot process
mips32: detect number of configured CPUs in msim
 
3917 5575 d 13 h decky /trunk/ remove non-standard define  
3908 5576 d 16 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
3906 5577 d 12 h jermar /trunk/kernel/ IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument.
 
3902 5577 d 19 h jermar /trunk/kernel/ Introduce a more platform-neutral name for programmed I/O.

The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers.
 
3880 5580 d 15 h decky /trunk/kernel/arch/ simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup
 
3879 5580 d 15 h decky /trunk/kernel/arch/ simplify configuration in Makefiles  

Show All