Ignore:
Timestamp:
2006-08-30T15:50:29Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
beb3926a
Parents:
e11ae91
Message:

sparc64 work.
More bits needed to reach the userspace milestone were added.
The preemptible_handler(), still a prototype, now contains all functionality it needs.
Some sanitation was added to functions expecting page-aligned pointers to
userspace window buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/mm/page.h

    re11ae91 ree454eb  
    3333 */
    3434
    35 #ifndef __sparc64_PAGE_H__
    36 #define __sparc64_PAGE_H__
     35#ifndef KERN_sparc64_PAGE_H_
     36#define KERN_sparc64_PAGE_H_
    3737
    3838#include <arch/mm/frame.h>
     
    4242
    4343#ifdef KERNEL
     44
     45#ifndef __ASM__
    4446
    4547#include <mm/page.h>
     
    5456        struct {
    5557                uint64_t vpn : 51;              /**< Virtual Page Number. */
    56                 unsigned offset : 13;   /**< Offset. */
     58                unsigned offset : 13;           /**< Offset. */
    5759        } __attribute__ ((packed));
    5860};
     
    6264extern void page_arch_init(void);
    6365
     66#endif /* !def __ASM__ */
     67
    6468#endif /* KERNEL */
    6569
Note: See TracChangeset for help on using the changeset viewer.