Subversion Repositories HelenOS

Rev

Rev 2128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2128 Rev 2465
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2005 Jakub Jermar
2
 * Copyright (c) 2007 Pavel Jancik, Michal Kebrt
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup arm32mm
29
/** @addtogroup arm32mm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
-
 
33
 *  @brief Address space manipulating functions declarations.
33
 */
34
 */
34
 
35
 
35
#ifndef KERN_arm32_AS_H_
36
#ifndef KERN_arm32_AS_H_
36
#define KERN_arm32_AS_H_
37
#define KERN_arm32_AS_H_
37
 
38
 
38
#define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH  0
39
#define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH  0
39
 
40
 
40
#define KERNEL_ADDRESS_SPACE_START_ARCH     (unsigned long) 0x80000000
41
#define KERNEL_ADDRESS_SPACE_START_ARCH     (unsigned long) 0x80000000
41
#define KERNEL_ADDRESS_SPACE_END_ARCH       (unsigned long) 0xffffffff
42
#define KERNEL_ADDRESS_SPACE_END_ARCH       (unsigned long) 0xffffffff
42
#define USER_ADDRESS_SPACE_START_ARCH       (unsigned long) 0x00000000
43
#define USER_ADDRESS_SPACE_START_ARCH       (unsigned long) 0x00000000
43
#define USER_ADDRESS_SPACE_END_ARCH     (unsigned long) 0x7fffffff
44
#define USER_ADDRESS_SPACE_END_ARCH         (unsigned long) 0x7fffffff
44
 
45
 
45
#define USTACK_ADDRESS_ARCH (0x80000000 - PAGE_SIZE)
46
#define USTACK_ADDRESS_ARCH (0x80000000 - PAGE_SIZE)
46
 
47
 
47
typedef struct {
48
typedef struct {
48
} as_arch_t;
49
} as_arch_t;
Line 50... Line 51...
50
#include <genarch/mm/as_pt.h>
51
#include <genarch/mm/as_pt.h>
51
 
52
 
52
#define as_constructor_arch(as, flags)      (as != as)
53
#define as_constructor_arch(as, flags)      (as != as)
53
#define as_destructor_arch(as)          (as != as)
54
#define as_destructor_arch(as)          (as != as)
54
#define as_create_arch(as, flags)       (as != as)
55
#define as_create_arch(as, flags)       (as != as)
-
 
56
#define as_install_arch(as)
55
#define as_deinstall_arch(as)
57
#define as_deinstall_arch(as)
56
#define as_invalidate_translation_cache(as, page, cnt)
58
#define as_invalidate_translation_cache(as, page, cnt)
57
 
59
 
58
extern void as_arch_init(void);
60
extern void as_arch_init(void);
59
 
61