Changeset df50cf6 in mainline for libc/include/libc.h


Ignore:
Timestamp:
2006-03-14T10:43:06Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4e2cf8b
Parents:
06502f7d
Message:

Added public domain malloc
Allowed including arch/mm/page.h to have getpagesize().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/libc.h

    r06502f7d rdf50cf6  
    3333
    3434#include <kernel/syscall/syscall.h>
     35#include <kernel/arch/mm/page.h>
    3536
    3637#define __SYSCALL0(id) __syscall(0, 0, 0, 0, id)
     
    3940#define __SYSCALL3(id, p1, p2, p3) __syscall(p1,p2,p3, 0, id)
    4041#define __SYSCALL4(id, p1, p2, p3, p4) __syscall(p1,p2,p3,p4,id)
     42
     43#define getpagesize()     (PAGE_SIZE)
    4144
    4245extern void __main(void);
Note: See TracChangeset for help on using the changeset viewer.