Changeset f5dd4a1 in mainline for kernel/arch/mips32/include


Ignore:
Timestamp:
2019-03-31T16:44:21Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f27e21d
Parents:
68d8736
Message:

Move most of msim-specific stuff under mach/msim

Location:
kernel/arch/mips32/include/arch
Files:
1 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/arch/mach/msim/dorder.h

    r68d8736 rf5dd4a1  
    3838#include <stdint.h>
    3939
     40extern void dorder_init(void);
    4041extern uint32_t dorder_cpuid(void);
    4142extern void dorder_ipi_ack(uint32_t);
  • kernel/arch/mips32/include/arch/mach/msim/msim.h

    r68d8736 rf5dd4a1  
    3838
    3939#include <arch/machine_func.h>
     40#include <arch/mm/page.h>
     41
     42/** Address of devices. */
     43#define MSIM_VIDEORAM        PA2KSEG1(0x10000000)
     44#define MSIM_KBD_ADDRESS     PA2KSEG1(0x10000000)
     45#define MSIM_DORDER_ADDRESS  PA2KSEG1(0x10000100)
     46
     47#define MSIM_KBD_IRQ      2
     48#define MSIM_DORDER_IRQ   5
     49#define MSIM_DDISK_IRQ    6
    4050
    4151extern struct mips32_machine_ops msim_machine_ops;
  • kernel/arch/mips32/include/arch/mm/page.h

    r68d8736 rf5dd4a1  
    4343
    4444#ifndef __ASSEMBLER__
     45#       define KSEG12PA(x)      (((uintptr_t) (x)) - 0xa0000000)
    4546#       define PA2KSEG1(x)      (((uintptr_t) (x)) + 0xa0000000)
    4647#       define KA2PA(x) (((uintptr_t) (x)) - 0x80000000)
Note: See TracChangeset for help on using the changeset viewer.