Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d18ad61 in mainline


Ignore:
Timestamp:
2013-12-28T21:15:59Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
ceb5757
Parents:
41b735f3
Message:

fix small omissions and API incompatibilities

Location:
kernel/arch/sparc32
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/Makefile.inc

    r41b735f3 rd18ad61  
    3737        arch/$(KARCH)/src/context.S \
    3838        arch/$(KARCH)/src/debug/stacktrace.c \
    39         arch/$(KARCH)/src/debug/stacktrace_asm.S \
    4039        arch/$(KARCH)/src/proc/scheduler.c \
    4140        arch/$(KARCH)/src/proc/task.c \
  • kernel/arch/sparc32/include/arch/mm/page.h

    r41b735f3 rd18ad61  
    4545#define PAGE_SIZE   FRAME_SIZE
    4646
     47#define FRAME_LOWPRIO  0
     48
    4749#define KA2PA(x)  (((uintptr_t) (x)) - UINT32_C(0x40000000))
    4850#define PA2KA(x)  (((uintptr_t) (x)) + UINT32_C(0x40000000))
     
    6870
    6971/* Page table sizes for each level. */
    70 #define PTL0_SIZE_ARCH  ONE_FRAME
    71 #define PTL1_SIZE_ARCH  0
    72 #define PTL2_SIZE_ARCH  ONE_FRAME
    73 #define PTL3_SIZE_ARCH  ONE_FRAME
     72#define PTL0_FRAMES_ARCH  1
     73#define PTL1_FRAMES_ARCH  0
     74#define PTL2_FRAMES_ARCH  1
     75#define PTL3_FRAMES_ARCH  1
    7476
    7577/* Macros calculating indices for each level. */
  • kernel/arch/sparc32/src/debug/stacktrace.c

    r41b735f3 rd18ad61  
    5151{
    5252        uintptr_t kstack;
    53         uint32_t l1
     53        uint32_t l1;
    5454        uint32_t l2;
    5555       
  • kernel/arch/sparc32/src/mm/as.c

    r41b735f3 rd18ad61  
    3838#include <genarch/mm/page_pt.h>
    3939
     40uintptr_t as_context_table;
     41
    4042static ptd_t context_table[ASID_MAX_ARCH] __attribute__((aligned(1024)));
    4143
  • kernel/arch/sparc32/src/sparc32.c

    r41b735f3 rd18ad61  
    5353#include <str.h>
    5454
    55 static char memcpy_from_uspace_failover_address;
    56 static char memcpy_to_uspace_failover_address;
     55char memcpy_from_uspace_failover_address;
     56char memcpy_to_uspace_failover_address;
    5757static bootinfo_t machine_bootinfo;
    5858
Note: See TracChangeset for help on using the changeset viewer.