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
4126 5552 d 6 h decky /trunk/kernel/arch/ cleanup pm.h and related stuff (no change in functionality)  
4125 5552 d 7 h decky /trunk/kernel/arch/ia32/ rename selector() to gdtselector() to unify with amd64  
4098 5553 d 1 h decky /trunk/kernel/arch/ia32/include/drivers/ whitespace changes  
4097 5553 d 1 h decky /trunk/kernel/arch/ia32/include/drivers/ remove obsolete include file  
4095 5553 d 1 h decky /trunk/kernel/arch/ make cpu_halt() really halt the execution  
4022 5561 d 22 h svoboda /trunk/ Move multiboot parsing to genarch/*/multiboot and adapt it for use with both ia32 and amd64. Multiboot info parsing now supported on amd64, too.  
4021 5561 d 23 h jermar /trunk/kernel/ There is no need to define ioport{8,16,32}_t types for each architecture separately.  
4016 5562 d 4 h decky /trunk/kernel/ better inline assembler readability using the new symbolic syntax  
4015 5562 d 6 h decky /trunk/kernel/arch/ia32/ rename ia32_cboot() to arch_pre_main() and move it to ia32.c (to be in line with other platforms)  
3984 5564 d 0 h svoboda /trunk/kernel/ The ia32-specific boot code is written completely in assembly for no reason. Start fixing this. For now rewrite the copying of multiboot info to C.  
3973 5566 d 8 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()
 
3946 5572 d 2 h jermar /trunk/kernel/arch/ia32/include/ Fix ia32's pio_{read,write}_32().  
3940 5573 d 2 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
3932 5573 d 21 h jermar /trunk/kernel/ Kill arch/drivers/ega.h. Provide one-stop shopping
place for architectures with ia32 legacy I/O space.
 
3930 5573 d 21 h jermar /trunk/kernel/ Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types.  
3929 5573 d 21 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.
 
3928 5573 d 23 h jermar /trunk/kernel/ Kill arch/drivers/i8042.h.  
3908 5577 d 0 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
3903 5578 d 4 h jermar /trunk/kernel/arch/ia32/include/ Fix ia32 build for Pentium 3 systems.  
3902 5578 d 4 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.
 

Show All