Subversion Repositories HelenOS

Rev

Rev 2145 | Rev 2158 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2145 Rev 2153
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2006 Martin Decky
2
 * Copyright (c) 2007 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
#ifndef __ASM_H__
29
#ifndef __ASM_H__
30
#define __ASM_H__
30
#define __ASM_H__
31
 
31
 
32
#define PAGE_SIZE 16384
32
#define PAGE_SIZE   16384
33
#define PAGE_WIDTH 14
-
 
34
 
-
 
35
//#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
-
 
36
 
33
 
37
void memcpy(void *dst, void *src, int cnt);
34
void memcpy(void *dst, void *src, int cnt);
38
void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn));
35
void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn));
39
 
36
 
40
#endif
37
#endif