Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1701 → Rev 1702

/kernel/trunk/arch/ia32/src/ia32.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @ingroup others
* @{
*/
/** @file
*/
 
#include <arch.h>
 
#include <arch/types.h>
148,3 → 155,7
{
i8042_release();
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/fpu_context.c
24,6 → 24,12
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*
*/
 
114,3 → 120,7
:"i"(0x1f80)
);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/cpu/cpu.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32cpu ia32
* @ingroup cpu
* @{
*/
/** @file
*/
 
#include <arch/cpu.h>
#include <arch/cpuid.h>
#include <arch/pm.h>
155,3 → 162,7
m->id, vendor_str[m->arch.vendor], m->arch.family, m->arch.model, m->arch.stepping,
m->frequency_mhz);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/bios/bios.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <arch/bios/bios.h>
#include <arch/types.h>
 
36,3 → 42,7
/* Copy the EBDA address out from BIOS Data Area */
ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/pm.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <arch/pm.h>
#include <config.h>
#include <arch/types.h>
229,3 → 235,7
/* Reload gdt register to update GS in CPU */
gdtr_load(&cpugdtr);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/smp/mps.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#ifdef CONFIG_SMP
 
#include <config.h>
423,3 → 429,7
}
 
#endif /* CONFIG_SMP */
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/smp/smp.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <smp/smp.h>
#include <arch/smp/smp.h>
#include <arch/smp/mps.h>
174,3 → 180,7
}
 
#endif /* CONFIG_SMP */
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/smp/ipi.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#ifdef CONFIG_SMP
 
#include <smp/ipi.h>
37,3 → 43,7
}
 
#endif /* CONFIG_SMP */
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/smp/apic.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <arch/types.h>
#include <arch/smp/apic.h>
#include <arch/smp/ap.h>
570,3 → 576,7
}
 
#endif /* CONFIG_SMP */
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/ddi/ddi.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32ddi ia32
* @ingroup ddi
* @{
*/
/** @file
*/
 
#include <ddi/ddi.h>
#include <arch/ddi/ddi.h>
#include <proc/task.h>
154,3 → 161,7
*/
CPU->arch.iomapver_copy = ver;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/proc/scheduler.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32proc ia32
* @ingroup proc
* @{
*/
/** @file
*/
 
#include <proc/scheduler.h>
#include <cpu.h>
#include <proc/task.h>
70,3 → 77,7
void after_thread_ran_arch(void)
{
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/proc/task.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32proc
* @{
*/
/** @file
*/
 
#include <proc/task.h>
#include <arch/types.h>
#include <adt/bitmap.h>
50,3 → 56,7
if (t->arch.iomap.map)
free(t->arch.iomap.map);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/proc/thread.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32proc
* @{
*/
/** @file
*/
 
#include <proc/thread.h>
 
/** Perform ia32 specific thread initialization.
36,3 → 42,7
{
t->arch.tls = 0;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/mm/tlb.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32mm
* @{
*/
/** @file
* @ingroup ia32mm, amd64mm
*/
 
#include <mm/tlb.h>
#include <arch/mm/asid.h>
#include <arch/asm.h>
59,3 → 66,7
for (i = 0; i < cnt; i++)
invlpg(page + i * PAGE_SIZE);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/mm/as.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32mm
* @{
*/
/** @file
* @ingroup ia32mm, amd64mm
*/
 
#include <arch/mm/as.h>
#include <genarch/mm/as_pt.h>
 
34,3 → 41,7
{
as_operations = &as_pt_operations;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/mm/frame.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32mm
* @{
*/
/** @file
* @ingroup ia32mm, amd64mm
*/
 
#include <mm/frame.h>
#include <arch/mm/frame.h>
#include <mm/as.h>
135,3 → 142,7
#endif
}
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/mm/memory_init.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32mm
* @{
*/
/** @file
*/
 
#include <arch/boot/memmap.h>
#include <arch/mm/memory_init.h>
#include <arch/mm/page.h>
69,3 → 75,7
 
}
 
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/mm/page.c
26,6 → 26,14
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32mm ia32
* @ingroup mm
* @{
*/
/** @file
* @ingroup ia32
*/
 
#include <arch/mm/page.h>
#include <genarch/mm/page_pt.h>
#include <arch/mm/frame.h>
110,3 → 118,7
panic("page fault\n");
}
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/userspace.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <userspace.h>
#include <arch/pm.h>
#include <arch/types.h>
76,3 → 82,7
for(;;)
;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/interrupt.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32interrupt ia32
* @ingroup interrupt
* @{
*/
/** @file
*/
 
#include <arch/interrupt.h>
#include <syscall/syscall.h>
#include <print.h>
198,3 → 205,7
trap_virtual_enable_irqs(1 << irq);
exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/drivers/vesa.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#ifdef CONFIG_FB
 
#include <genarch/fb/fb.h>
63,3 → 69,7
}
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/drivers/i8259.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <arch/drivers/i8259.h>
#include <cpu.h>
#include <arch/types.h>
124,3 → 130,7
printf("cpu%d: PIC spurious interrupt\n", CPU->id);
#endif
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/drivers/i8254.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <arch/types.h>
#include <time/clock.h>
#include <time/delay.h>
130,3 → 136,7
trap_virtual_eoi();
clock();
}
 
/** @}
*/
 
/kernel/trunk/arch/ia32/src/drivers/ega.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia32
* @{
*/
/** @file
*/
 
#include <arch/drivers/ega.h>
#include <putchar.h>
#include <mm/page.h>
137,3 → 143,7
outb(0x3d4, 0xf);
outb(0x3d5, ega_cursor & 0xff);
}
 
/** @}
*/