Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141810
b: refs/heads/master
c: 3b4df71
h: refs/heads/master
v: v3
  • Loading branch information
Francesco VIRLINZI authored and Paul Mundt committed Mar 30, 2009
1 parent 400ec7d commit 8b1a971
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c58b0b1a1412ceb6b25dad81bc537bf0fe6ad46
refs/heads/master: 3b4df71b364e230fb7b02356d1f8fce64838ddc7
35 changes: 19 additions & 16 deletions trunk/arch/sh/include/asm/mmu.h
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
#ifndef __MMU_H
#define __MMU_H

/* Default "unsigned long" context */
typedef unsigned long mm_context_id_t[NR_CPUS];

typedef struct {
#ifdef CONFIG_MMU
mm_context_id_t id;
void *vdso;
#else
unsigned long end_brk;
#endif
#ifdef CONFIG_BINFMT_ELF_FDPIC
unsigned long exec_fdpic_loadmap;
unsigned long interp_fdpic_loadmap;
#endif
} mm_context_t;

/*
* Privileged Space Mapping Buffer (PMB) definitions
*/
Expand All @@ -41,6 +25,24 @@ typedef struct {

#define PMB_NO_ENTRY (-1)

#ifndef __ASSEMBLY__

/* Default "unsigned long" context */
typedef unsigned long mm_context_id_t[NR_CPUS];

typedef struct {
#ifdef CONFIG_MMU
mm_context_id_t id;
void *vdso;
#else
unsigned long end_brk;
#endif
#ifdef CONFIG_BINFMT_ELF_FDPIC
unsigned long exec_fdpic_loadmap;
unsigned long interp_fdpic_loadmap;
#endif
} mm_context_t;

struct pmb_entry;

struct pmb_entry {
Expand Down Expand Up @@ -70,6 +72,7 @@ void pmb_free(struct pmb_entry *pmbe);
long pmb_remap(unsigned long virt, unsigned long phys,
unsigned long size, unsigned long flags);
void pmb_unmap(unsigned long addr);
#endif /* __ASSEMBLY__ */

#endif /* __MMU_H */

0 comments on commit 8b1a971

Please sign in to comment.