├── .gitignore ├── .gitmodules ├── README.md ├── freebsd-headers ├── Block.h ├── Block_private.h ├── FlexLexer.h ├── _ctype.h ├── _semaphore.h ├── a.out.h ├── aio.h ├── alias.h ├── altq │ ├── altq.h │ ├── altq_cbq.h │ ├── altq_cdnr.h │ ├── altq_classq.h │ ├── altq_hfsc.h │ ├── altq_priq.h │ ├── altq_red.h │ ├── altq_rio.h │ ├── altq_rmclass.h │ ├── altq_rmclass_debug.h │ ├── altq_var.h │ ├── altqconf.h │ └── if_altq.h ├── ar.h ├── archive.h ├── archive_entry.h ├── arpa │ ├── ftp.h │ ├── inet.h │ ├── nameser.h │ ├── nameser_compat.h │ ├── telnet.h │ └── tftp.h ├── asn1_err.h ├── assert.h ├── bitstring.h ├── bluetooth.h ├── bsdxml.h ├── bsdxml_external.h ├── bsm │ ├── audit.h │ ├── audit_domain.h │ ├── audit_errno.h │ ├── audit_fcntl.h │ ├── audit_internal.h │ ├── audit_kevents.h │ ├── audit_record.h │ ├── audit_socket_type.h │ ├── audit_uevents.h │ └── libbsm.h ├── bsnmp │ ├── asn1.h │ ├── bridge_snmp.h │ ├── snmp.h │ ├── snmp_atm.h │ ├── snmp_mibII.h │ ├── snmp_netgraph.h │ ├── snmpagent.h │ ├── snmpclient.h │ └── snmpmod.h ├── bzlib.h ├── c++ │ └── 4.2 │ │ ├── algorithm │ │ ├── backward │ │ ├── algo.h │ │ ├── algobase.h │ │ ├── alloc.h │ │ ├── backward_warning.h │ │ ├── bvector.h │ │ ├── complex.h │ │ ├── defalloc.h │ │ ├── deque.h │ │ ├── fstream.h │ │ ├── function.h │ │ ├── hash_map.h │ │ ├── hash_set.h │ │ ├── hashtable.h │ │ ├── heap.h │ │ ├── iomanip.h │ │ ├── iostream.h │ │ ├── istream.h │ │ ├── iterator.h │ │ ├── list.h │ │ ├── map.h │ │ ├── multimap.h │ │ ├── multiset.h │ │ ├── new.h │ │ ├── ostream.h │ │ ├── pair.h │ │ ├── queue.h │ │ ├── rope.h │ │ ├── set.h │ │ ├── slist.h │ │ ├── stack.h │ │ ├── stream.h │ │ ├── streambuf.h │ │ ├── strstream │ │ ├── tempbuf.h │ │ ├── tree.h │ │ └── vector.h │ │ ├── bits │ │ ├── allocator.h │ │ ├── atomic_word.h │ │ ├── basic_file.h │ │ ├── basic_ios.h │ │ ├── basic_ios.tcc │ │ ├── basic_string.h │ │ ├── basic_string.tcc │ │ ├── boost_concept_check.h │ │ ├── c++allocator.h │ │ ├── c++config.h │ │ ├── c++io.h │ │ ├── c++locale.h │ │ ├── c++locale_internal.h │ │ ├── char_traits.h │ │ ├── cmath.tcc │ │ ├── codecvt.h │ │ ├── compatibility.h │ │ ├── concept_check.h │ │ ├── cpp_type_traits.h │ │ ├── cpu_defines.h │ │ ├── ctype_base.h │ │ ├── ctype_inline.h │ │ ├── ctype_noninline.h │ │ ├── cxxabi_tweaks.h │ │ ├── deque.tcc │ │ ├── fstream.tcc │ │ ├── functexcept.h │ │ ├── gslice.h │ │ ├── gslice_array.h │ │ ├── gthr-default.h │ │ ├── gthr-posix.h │ │ ├── gthr-single.h │ │ ├── gthr-tpf.h │ │ ├── gthr.h │ │ ├── indirect_array.h │ │ ├── ios_base.h │ │ ├── istream.tcc │ │ ├── list.tcc │ │ ├── locale_classes.h │ │ ├── locale_facets.h │ │ ├── locale_facets.tcc │ │ ├── localefwd.h │ │ ├── mask_array.h │ │ ├── messages_members.h │ │ ├── os_defines.h │ │ ├── ostream.tcc │ │ ├── ostream_insert.h │ │ ├── postypes.h │ │ ├── slice_array.h │ │ ├── sstream.tcc │ │ ├── stl_algo.h │ │ ├── stl_algobase.h │ │ ├── stl_bvector.h │ │ ├── stl_construct.h │ │ ├── stl_deque.h │ │ ├── stl_function.h │ │ ├── stl_heap.h │ │ ├── stl_iterator.h │ │ ├── stl_iterator_base_funcs.h │ │ ├── stl_iterator_base_types.h │ │ ├── stl_list.h │ │ ├── stl_map.h │ │ ├── stl_multimap.h │ │ ├── stl_multiset.h │ │ ├── stl_numeric.h │ │ ├── stl_pair.h │ │ ├── stl_queue.h │ │ ├── stl_raw_storage_iter.h │ │ ├── stl_relops.h │ │ ├── stl_set.h │ │ ├── stl_stack.h │ │ ├── stl_tempbuf.h │ │ ├── stl_tree.h │ │ ├── stl_uninitialized.h │ │ ├── stl_vector.h │ │ ├── stream_iterator.h │ │ ├── streambuf.tcc │ │ ├── streambuf_iterator.h │ │ ├── stringfwd.h │ │ ├── time_members.h │ │ ├── valarray_after.h │ │ ├── valarray_array.h │ │ ├── valarray_array.tcc │ │ ├── valarray_before.h │ │ └── vector.tcc │ │ ├── bitset │ │ ├── cassert │ │ ├── cctype │ │ ├── cerrno │ │ ├── cfloat │ │ ├── ciso646 │ │ ├── climits │ │ ├── clocale │ │ ├── cmath │ │ ├── complex │ │ ├── csetjmp │ │ ├── csignal │ │ ├── cstdarg │ │ ├── cstddef │ │ ├── cstdio │ │ ├── cstdlib │ │ ├── cstring │ │ ├── ctime │ │ ├── cwchar │ │ ├── cwctype │ │ ├── cxxabi.h │ │ ├── debug │ │ ├── bitset │ │ ├── debug.h │ │ ├── deque │ │ ├── formatter.h │ │ ├── functions.h │ │ ├── hash_map │ │ ├── hash_map.h │ │ ├── hash_multimap.h │ │ ├── hash_multiset.h │ │ ├── hash_set │ │ ├── hash_set.h │ │ ├── list │ │ ├── macros.h │ │ ├── map │ │ ├── map.h │ │ ├── multimap.h │ │ ├── multiset.h │ │ ├── safe_base.h │ │ ├── safe_iterator.h │ │ ├── safe_iterator.tcc │ │ ├── safe_sequence.h │ │ ├── set │ │ ├── set.h │ │ ├── string │ │ └── vector │ │ ├── deque │ │ ├── exception │ │ ├── exception_defines.h │ │ ├── ext │ │ ├── algorithm │ │ ├── array_allocator.h │ │ ├── atomicity.h │ │ ├── bitmap_allocator.h │ │ ├── codecvt_specializations.h │ │ ├── concurrence.h │ │ ├── debug_allocator.h │ │ ├── functional │ │ ├── hash_fun.h │ │ ├── hash_map │ │ ├── hash_set │ │ ├── hashtable.h │ │ ├── iterator │ │ ├── malloc_allocator.h │ │ ├── memory │ │ ├── mt_allocator.h │ │ ├── new_allocator.h │ │ ├── numeric │ │ ├── numeric_traits.h │ │ ├── pb_ds │ │ │ ├── assoc_container.hpp │ │ │ ├── detail │ │ │ │ ├── basic_tree_policy │ │ │ │ │ ├── basic_tree_policy_base.hpp │ │ │ │ │ ├── null_node_metadata.hpp │ │ │ │ │ └── traits.hpp │ │ │ │ ├── basic_types.hpp │ │ │ │ ├── bin_search_tree_ │ │ │ │ │ ├── bin_search_tree_.hpp │ │ │ │ │ ├── cond_dtor_entry_dealtor.hpp │ │ │ │ │ ├── cond_key_dtor_entry_dealtor.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── node_iterators.hpp │ │ │ │ │ ├── point_iterators.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ ├── r_erase_fn_imps.hpp │ │ │ │ │ ├── rotate_fn_imps.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ └── traits.hpp │ │ │ │ ├── binary_heap_ │ │ │ │ │ ├── binary_heap_.hpp │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── entry_cmp.hpp │ │ │ │ │ ├── entry_pred.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ ├── resize_policy.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── binomial_heap_ │ │ │ │ │ ├── binomial_heap_.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ └── debug_fn_imps.hpp │ │ │ │ ├── binomial_heap_base_ │ │ │ │ │ ├── binomial_heap_base_.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ └── split_join_fn_imps.hpp │ │ │ │ ├── cc_hash_table_map_ │ │ │ │ │ ├── cc_ht_map_.hpp │ │ │ │ │ ├── cmp_fn_imps.hpp │ │ │ │ │ ├── cond_key_dtor_entry_dealtor.hpp │ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ │ ├── constructor_destructor_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── constructor_destructor_store_hash_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── debug_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── debug_store_hash_fn_imps.hpp │ │ │ │ │ ├── entry_list_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── erase_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── erase_store_hash_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── find_store_hash_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── insert_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── insert_store_hash_fn_imps.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ ├── resize_fn_imps.hpp │ │ │ │ │ ├── resize_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── resize_store_hash_fn_imps.hpp │ │ │ │ │ ├── size_fn_imps.hpp │ │ │ │ │ ├── standard_policies.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── cond_dealtor.hpp │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ ├── container_base_dispatch.hpp │ │ │ │ ├── eq_fn │ │ │ │ │ ├── eq_by_less.hpp │ │ │ │ │ └── hash_eq_fn.hpp │ │ │ │ ├── gp_hash_table_map_ │ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ │ ├── constructor_destructor_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── constructor_destructor_store_hash_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── debug_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── debug_store_hash_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── erase_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── erase_store_hash_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── find_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── find_store_hash_fn_imps.hpp │ │ │ │ │ ├── gp_ht_map_.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── insert_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── insert_store_hash_fn_imps.hpp │ │ │ │ │ ├── iterator_fn_imps.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ ├── resize_fn_imps.hpp │ │ │ │ │ ├── resize_no_store_hash_fn_imps.hpp │ │ │ │ │ ├── resize_store_hash_fn_imps.hpp │ │ │ │ │ ├── standard_policies.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── hash_fn │ │ │ │ │ ├── direct_mask_range_hashing_imp.hpp │ │ │ │ │ ├── direct_mod_range_hashing_imp.hpp │ │ │ │ │ ├── linear_probe_fn_imp.hpp │ │ │ │ │ ├── mask_based_range_hashing.hpp │ │ │ │ │ ├── mod_based_range_hashing.hpp │ │ │ │ │ ├── probe_fn_base.hpp │ │ │ │ │ ├── quadratic_probe_fn_imp.hpp │ │ │ │ │ ├── ranged_hash_fn.hpp │ │ │ │ │ ├── ranged_probe_fn.hpp │ │ │ │ │ ├── sample_probe_fn.hpp │ │ │ │ │ ├── sample_range_hashing.hpp │ │ │ │ │ ├── sample_ranged_hash_fn.hpp │ │ │ │ │ └── sample_ranged_probe_fn.hpp │ │ │ │ ├── left_child_next_sibling_heap_ │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── left_child_next_sibling_heap_.hpp │ │ │ │ │ ├── node.hpp │ │ │ │ │ ├── null_metadata.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── list_update_map_ │ │ │ │ │ ├── constructor_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── entry_metadata_base.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── lu_map_.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── list_update_policy │ │ │ │ │ ├── counter_lu_metadata.hpp │ │ │ │ │ ├── counter_lu_policy_imp.hpp │ │ │ │ │ ├── mtf_lu_policy_imp.hpp │ │ │ │ │ └── sample_update_policy.hpp │ │ │ │ ├── map_debug_base.hpp │ │ │ │ ├── ov_tree_map_ │ │ │ │ │ ├── cond_dtor.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── node_iterators.hpp │ │ │ │ │ ├── ov_tree_map_.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ └── traits.hpp │ │ │ │ ├── pairing_heap_ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── pairing_heap_.hpp │ │ │ │ │ └── split_join_fn_imps.hpp │ │ │ │ ├── pat_trie_ │ │ │ │ │ ├── child_iterator.hpp │ │ │ │ │ ├── cond_dtor_entry_dealtor.hpp │ │ │ │ │ ├── const_child_iterator.hpp │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── head.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_join_fn_imps.hpp │ │ │ │ │ ├── internal_node.hpp │ │ │ │ │ ├── iterators_fn_imps.hpp │ │ │ │ │ ├── leaf.hpp │ │ │ │ │ ├── node_base.hpp │ │ │ │ │ ├── node_iterators.hpp │ │ │ │ │ ├── node_metadata_base.hpp │ │ │ │ │ ├── pat_trie_.hpp │ │ │ │ │ ├── point_iterators.hpp │ │ │ │ │ ├── policy_access_fn_imps.hpp │ │ │ │ │ ├── r_erase_fn_imps.hpp │ │ │ │ │ ├── rotate_fn_imps.hpp │ │ │ │ │ ├── split_fn_imps.hpp │ │ │ │ │ ├── split_join_branch_bag.hpp │ │ │ │ │ ├── synth_e_access_traits.hpp │ │ │ │ │ ├── trace_fn_imps.hpp │ │ │ │ │ ├── traits.hpp │ │ │ │ │ └── update_fn_imps.hpp │ │ │ │ ├── priority_queue_base_dispatch.hpp │ │ │ │ ├── rb_tree_map_ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── node.hpp │ │ │ │ │ ├── rb_tree_.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ └── traits.hpp │ │ │ │ ├── rc_binomial_heap_ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── rc.hpp │ │ │ │ │ ├── rc_binomial_heap_.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── resize_policy │ │ │ │ │ ├── cc_hash_max_collision_check_resize_trigger_imp.hpp │ │ │ │ │ ├── hash_exponential_size_policy_imp.hpp │ │ │ │ │ ├── hash_load_check_resize_trigger_imp.hpp │ │ │ │ │ ├── hash_load_check_resize_trigger_size_base.hpp │ │ │ │ │ ├── hash_prime_size_policy_imp.hpp │ │ │ │ │ ├── hash_standard_resize_policy_imp.hpp │ │ │ │ │ ├── sample_resize_policy.hpp │ │ │ │ │ ├── sample_resize_trigger.hpp │ │ │ │ │ └── sample_size_policy.hpp │ │ │ │ ├── splay_tree_ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── info_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── node.hpp │ │ │ │ │ ├── splay_fn_imps.hpp │ │ │ │ │ ├── splay_tree_.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ └── traits.hpp │ │ │ │ ├── standard_policies.hpp │ │ │ │ ├── thin_heap_ │ │ │ │ │ ├── constructors_destructor_fn_imps.hpp │ │ │ │ │ ├── debug_fn_imps.hpp │ │ │ │ │ ├── erase_fn_imps.hpp │ │ │ │ │ ├── find_fn_imps.hpp │ │ │ │ │ ├── insert_fn_imps.hpp │ │ │ │ │ ├── split_join_fn_imps.hpp │ │ │ │ │ ├── thin_heap_.hpp │ │ │ │ │ └── trace_fn_imps.hpp │ │ │ │ ├── tree_policy │ │ │ │ │ ├── node_metadata_selector.hpp │ │ │ │ │ ├── null_node_update_imp.hpp │ │ │ │ │ ├── order_statistics_imp.hpp │ │ │ │ │ └── sample_tree_node_update.hpp │ │ │ │ ├── tree_trace_base.hpp │ │ │ │ ├── trie_policy │ │ │ │ │ ├── node_metadata_selector.hpp │ │ │ │ │ ├── null_node_update_imp.hpp │ │ │ │ │ ├── order_statistics_imp.hpp │ │ │ │ │ ├── prefix_search_node_update_imp.hpp │ │ │ │ │ ├── sample_trie_e_access_traits.hpp │ │ │ │ │ ├── sample_trie_node_update.hpp │ │ │ │ │ ├── string_trie_e_access_traits_imp.hpp │ │ │ │ │ └── trie_policy_base.hpp │ │ │ │ ├── type_utils.hpp │ │ │ │ ├── types_traits.hpp │ │ │ │ └── unordered_iterator │ │ │ │ │ ├── const_iterator.hpp │ │ │ │ │ ├── const_point_iterator.hpp │ │ │ │ │ ├── iterator.hpp │ │ │ │ │ └── point_iterator.hpp │ │ │ ├── exception.hpp │ │ │ ├── hash_policy.hpp │ │ │ ├── list_update_policy.hpp │ │ │ ├── priority_queue.hpp │ │ │ ├── tag_and_trait.hpp │ │ │ ├── tree_policy.hpp │ │ │ └── trie_policy.hpp │ │ ├── pod_char_traits.h │ │ ├── pool_allocator.h │ │ ├── rb_tree │ │ ├── rc_string_base.h │ │ ├── rope │ │ ├── ropeimpl.h │ │ ├── slist │ │ ├── sso_string_base.h │ │ ├── stdio_filebuf.h │ │ ├── stdio_sync_filebuf.h │ │ ├── throw_allocator.h │ │ ├── type_traits.h │ │ ├── typelist.h │ │ ├── vstring.h │ │ ├── vstring.tcc │ │ ├── vstring_fwd.h │ │ └── vstring_util.h │ │ ├── fstream │ │ ├── functional │ │ ├── iomanip │ │ ├── ios │ │ ├── iosfwd │ │ ├── iostream │ │ ├── istream │ │ ├── iterator │ │ ├── limits │ │ ├── list │ │ ├── locale │ │ ├── map │ │ ├── memory │ │ ├── new │ │ ├── numeric │ │ ├── ostream │ │ ├── queue │ │ ├── set │ │ ├── sstream │ │ ├── stack │ │ ├── stdexcept │ │ ├── streambuf │ │ ├── string │ │ ├── tr1 │ │ ├── array │ │ ├── bind_iterate.h │ │ ├── bind_repeat.h │ │ ├── boost_shared_ptr.h │ │ ├── cctype │ │ ├── cfenv │ │ ├── cfloat │ │ ├── cinttypes │ │ ├── climits │ │ ├── cmath │ │ ├── common.h │ │ ├── complex │ │ ├── cstdarg │ │ ├── cstdbool │ │ ├── cstdint │ │ ├── cstdio │ │ ├── cstdlib │ │ ├── ctgmath │ │ ├── ctime │ │ ├── ctype.h │ │ ├── cwchar │ │ ├── cwctype │ │ ├── fenv.h │ │ ├── float.h │ │ ├── functional │ │ ├── functional_hash.h │ │ ├── functional_iterate.h │ │ ├── hashtable │ │ ├── hashtable_policy.h │ │ ├── inttypes.h │ │ ├── limits.h │ │ ├── math.h │ │ ├── memory │ │ ├── mu_iterate.h │ │ ├── random │ │ ├── random.tcc │ │ ├── ref_fwd.h │ │ ├── ref_wrap_iterate.h │ │ ├── repeat.h │ │ ├── stdarg.h │ │ ├── stdbool.h │ │ ├── stdint.h │ │ ├── stdio.h │ │ ├── stdlib.h │ │ ├── tgmath.h │ │ ├── tuple │ │ ├── tuple_defs.h │ │ ├── tuple_iterate.h │ │ ├── type_traits │ │ ├── type_traits_fwd.h │ │ ├── unordered_map │ │ ├── unordered_set │ │ ├── utility │ │ ├── wchar.h │ │ └── wctype.h │ │ ├── typeinfo │ │ ├── utility │ │ ├── valarray │ │ └── vector ├── calendar.h ├── cam │ ├── ata │ │ └── ata_all.h │ ├── cam.h │ ├── cam_ccb.h │ ├── cam_debug.h │ ├── cam_periph.h │ ├── cam_queue.h │ ├── cam_sim.h │ ├── cam_xpt.h │ ├── cam_xpt_internal.h │ ├── cam_xpt_periph.h │ ├── cam_xpt_sim.h │ └── scsi │ │ ├── scsi_all.h │ │ ├── scsi_cd.h │ │ ├── scsi_ch.h │ │ ├── scsi_da.h │ │ ├── scsi_dvcfg.h │ │ ├── scsi_iu.h │ │ ├── scsi_low.h │ │ ├── scsi_low_pisa.h │ │ ├── scsi_message.h │ │ ├── scsi_pass.h │ │ ├── scsi_pt.h │ │ ├── scsi_sa.h │ │ ├── scsi_ses.h │ │ ├── scsi_sg.h │ │ ├── scsi_targetio.h │ │ └── smp_all.h ├── camlib.h ├── capstone │ ├── arm.h │ ├── arm64.h │ ├── capstone.h │ ├── evm.h │ ├── m680x.h │ ├── m68k.h │ ├── mips.h │ ├── platform.h │ ├── ppc.h │ ├── sparc.h │ ├── systemz.h │ ├── tms320c64x.h │ ├── x86.h │ └── xcore.h ├── clang │ └── 3.0 │ │ ├── altivec.h │ │ ├── avxintrin.h │ │ ├── emmintrin.h │ │ ├── immintrin.h │ │ ├── mm3dnow.h │ │ ├── mm_malloc.h │ │ ├── mmintrin.h │ │ ├── nmmintrin.h │ │ ├── pmmintrin.h │ │ ├── smmintrin.h │ │ ├── tmmintrin.h │ │ ├── wmmintrin.h │ │ ├── x86intrin.h │ │ └── xmmintrin.h ├── cms_asn1.h ├── com_err.h ├── com_right.h ├── complex.h ├── cpio.h ├── crypto │ ├── cast.h │ ├── castsb.h │ ├── cryptodev.h │ ├── cryptosoft.h │ ├── deflate.h │ ├── rijndael.h │ ├── rmd160.h │ ├── skipjack.h │ └── xform.h ├── ctype.h ├── curses.h ├── db.h ├── dev │ ├── acpica │ │ └── acpiio.h │ ├── an │ │ ├── if_aironet_ieee.h │ │ └── if_anreg.h │ ├── bktr │ │ ├── ioctl_bt848.h │ │ └── ioctl_meteor.h │ ├── ciss │ │ ├── cissio.h │ │ ├── cissreg.h │ │ └── cissvar.h │ ├── firewire │ │ ├── firewire.h │ │ ├── firewire_phy.h │ │ ├── firewirereg.h │ │ ├── fwdma.h │ │ ├── fwmem.h │ │ ├── fwohcireg.h │ │ ├── fwohcivar.h │ │ ├── fwphyreg.h │ │ ├── iec13213.h │ │ ├── iec68113.h │ │ ├── if_fwevar.h │ │ ├── if_fwipvar.h │ │ └── sbp.h │ ├── hwpmc │ │ ├── hwpmc_amd.h │ │ ├── hwpmc_core.h │ │ ├── hwpmc_mips24k.h │ │ ├── hwpmc_pentium.h │ │ ├── hwpmc_piv.h │ │ ├── hwpmc_ppro.h │ │ ├── hwpmc_tsc.h │ │ ├── hwpmc_uncore.h │ │ ├── hwpmc_xscale.h │ │ └── pmc_events.h │ ├── ic │ │ ├── cd1400.h │ │ ├── cd180.h │ │ ├── esp.h │ │ ├── hd64570.h │ │ ├── i8237.h │ │ ├── i8251.h │ │ ├── i8253reg.h │ │ ├── i8255.h │ │ ├── i82586.h │ │ ├── i8259.h │ │ ├── nec765.h │ │ ├── ns16550.h │ │ ├── quicc.h │ │ ├── rsa.h │ │ ├── sab82532.h │ │ ├── via6522reg.h │ │ ├── wd33c93reg.h │ │ └── z8530.h │ ├── ieee488 │ │ ├── ibfoo_int.h │ │ ├── tnt4882.h │ │ ├── ugpib.h │ │ └── upd7210.h │ ├── iicbus │ │ ├── iic.h │ │ ├── iicbus.h │ │ └── iiconf.h │ ├── io │ │ └── iodev.h │ ├── lmc │ │ └── if_lmc.h │ ├── mfi │ │ ├── mfi_ioctl.h │ │ ├── mfireg.h │ │ └── mfivar.h │ ├── mpt │ │ └── mpilib │ │ │ ├── mpi.h │ │ │ ├── mpi_cnfg.h │ │ │ ├── mpi_fc.h │ │ │ ├── mpi_inb.h │ │ │ ├── mpi_init.h │ │ │ ├── mpi_ioc.h │ │ │ ├── mpi_lan.h │ │ │ ├── mpi_raid.h │ │ │ ├── mpi_sas.h │ │ │ ├── mpi_targ.h │ │ │ ├── mpi_tool.h │ │ │ └── mpi_type.h │ ├── ofw │ │ ├── ofw_bus.h │ │ ├── ofw_bus_subr.h │ │ ├── ofw_pci.h │ │ ├── ofwvar.h │ │ ├── openfirm.h │ │ ├── openfirmio.h │ │ └── openpromio.h │ ├── pbio │ │ └── pbioio.h │ ├── ppbus │ │ ├── lpt.h │ │ ├── lptio.h │ │ ├── ppb_1284.h │ │ ├── ppb_msq.h │ │ ├── ppbconf.h │ │ ├── ppbio.h │ │ ├── ppi.h │ │ └── vpoio.h │ ├── smbus │ │ ├── smb.h │ │ ├── smbconf.h │ │ └── smbus.h │ ├── speaker │ │ └── speaker.h │ ├── usb │ │ ├── ufm_ioctl.h │ │ ├── usb.h │ │ ├── usb_bus.h │ │ ├── usb_busdma.h │ │ ├── usb_cdc.h │ │ ├── usb_compat_linux.h │ │ ├── usb_controller.h │ │ ├── usb_core.h │ │ ├── usb_debug.h │ │ ├── usb_dev.h │ │ ├── usb_device.h │ │ ├── usb_dynamic.h │ │ ├── usb_endian.h │ │ ├── usb_freebsd.h │ │ ├── usb_generic.h │ │ ├── usb_hub.h │ │ ├── usb_ioctl.h │ │ ├── usb_mbuf.h │ │ ├── usb_msctest.h │ │ ├── usb_pci.h │ │ ├── usb_pf.h │ │ ├── usb_process.h │ │ ├── usb_request.h │ │ ├── usb_transfer.h │ │ ├── usb_util.h │ │ ├── usbdi.h │ │ ├── usbdi_util.h │ │ └── usbhid.h │ ├── utopia │ │ ├── idtphy.h │ │ ├── suni.h │ │ ├── utopia.h │ │ └── utopia_priv.h │ ├── vkbd │ │ └── vkbd_var.h │ └── wi │ │ ├── if_wavelan_ieee.h │ │ ├── if_wireg.h │ │ └── if_wivar.h ├── devinfo.h ├── devstat.h ├── dialog.h ├── digest_asn1.h ├── dirent.h ├── dlfcn.h ├── dlg_colors.h ├── dlg_config.h ├── dlg_keys.h ├── dwarf.h ├── edit │ └── readline │ │ ├── history.h │ │ └── readline.h ├── elf-hints.h ├── elf.h ├── err.h ├── errno.h ├── eti.h ├── fcntl.h ├── fenv.h ├── fetch.h ├── float.h ├── floatingpoint.h ├── fmtmsg.h ├── fnmatch.h ├── form.h ├── fs │ ├── devfs │ │ ├── devfs.h │ │ └── devfs_int.h │ ├── fdescfs │ │ └── fdesc.h │ ├── fifofs │ │ └── fifo.h │ ├── msdosfs │ │ ├── bootsect.h │ │ ├── bpb.h │ │ ├── denode.h │ │ ├── direntry.h │ │ ├── fat.h │ │ └── msdosfsmount.h │ ├── nfs │ │ ├── nfs.h │ │ ├── nfs_var.h │ │ ├── nfscl.h │ │ ├── nfsclstate.h │ │ ├── nfsdport.h │ │ ├── nfskpiport.h │ │ ├── nfsm_subs.h │ │ ├── nfsport.h │ │ ├── nfsproto.h │ │ ├── nfsrvcache.h │ │ ├── nfsrvstate.h │ │ ├── nfsv4_errstr.h │ │ ├── rpcv2.h │ │ └── xdr_subs.h │ ├── ntfs │ │ ├── ntfs.h │ │ ├── ntfs_compr.h │ │ ├── ntfs_ihash.h │ │ ├── ntfs_inode.h │ │ ├── ntfs_subr.h │ │ ├── ntfs_vfsops.h │ │ └── ntfsmount.h │ ├── nullfs │ │ └── null.h │ ├── nwfs │ │ ├── nwfs.h │ │ ├── nwfs_mount.h │ │ ├── nwfs_node.h │ │ └── nwfs_subr.h │ ├── portalfs │ │ └── portal.h │ ├── procfs │ │ └── procfs.h │ ├── smbfs │ │ ├── smbfs.h │ │ ├── smbfs_node.h │ │ └── smbfs_subr.h │ ├── udf │ │ ├── ecma167-udf.h │ │ ├── osta.h │ │ ├── udf.h │ │ └── udf_mount.h │ └── unionfs │ │ └── union.h ├── fstab.h ├── ftpio.h ├── fts.h ├── ftw.h ├── gcc │ └── 4.2 │ │ ├── emmintrin.h │ │ ├── mm_malloc.h │ │ ├── mmintrin.h │ │ ├── pmmintrin.h │ │ ├── tmmintrin.h │ │ └── xmmintrin.h ├── gelf.h ├── geom │ ├── cache │ │ └── g_cache.h │ ├── concat │ │ └── g_concat.h │ ├── eli │ │ ├── g_eli.h │ │ └── pkcs5v2.h │ ├── gate │ │ └── g_gate.h │ ├── geom.h │ ├── geom_ctl.h │ ├── geom_disk.h │ ├── geom_int.h │ ├── geom_slice.h │ ├── geom_vfs.h │ ├── journal │ │ └── g_journal.h │ ├── label │ │ ├── g_label.h │ │ └── g_label_msdosfs.h │ ├── mirror │ │ └── g_mirror.h │ ├── mountver │ │ └── g_mountver.h │ ├── multipath │ │ └── g_multipath.h │ ├── nop │ │ └── g_nop.h │ ├── raid │ │ └── g_raid.h │ ├── raid3 │ │ └── g_raid3.h │ ├── shsec │ │ └── g_shsec.h │ ├── stripe │ │ └── g_stripe.h │ └── virstor │ │ ├── binstream.h │ │ ├── g_virstor.h │ │ └── g_virstor_md.h ├── getopt.h ├── glob.h ├── gnu │ ├── posix │ │ └── regex.h │ └── regex.h ├── gnuregex.h ├── gpib │ └── gpib.h ├── grp.h ├── gssapi.h ├── gssapi │ ├── gssapi.h │ └── gssapi_krb5.h ├── hdb-private.h ├── hdb-protos.h ├── hdb.h ├── hdb_asn1.h ├── hdb_err.h ├── heim_asn1.h ├── heim_err.h ├── heim_threads.h ├── heimntlm-protos.h ├── heimntlm.h ├── histedit.h ├── hx509-private.h ├── hx509-protos.h ├── hx509.h ├── hx509_err.h ├── ieeefp.h ├── ifaddrs.h ├── inttypes.h ├── iso646.h ├── isofs │ └── cd9660 │ │ ├── cd9660_mount.h │ │ ├── cd9660_node.h │ │ ├── cd9660_rrip.h │ │ ├── iso.h │ │ └── iso_rrip.h ├── jail.h ├── k524_err.h ├── kadm5 │ ├── admin.h │ ├── kadm5-private.h │ ├── kadm5-protos.h │ ├── kadm5_err.h │ └── private.h ├── kafs.h ├── kenv.h ├── krb5-protos.h ├── krb5-types.h ├── krb5-v4compat.h ├── krb5.h ├── krb5_asn1.h ├── krb5_err.h ├── krb_err.h ├── kvm.h ├── kx509_asn1.h ├── langinfo.h ├── libdisk.h ├── libdwarf.h ├── libelf.h ├── libgen.h ├── libgeom.h ├── libmilter │ ├── mfapi.h │ └── mfdef.h ├── libproc.h ├── libprocstat.h ├── libufs.h ├── libusb.h ├── libusb20.h ├── libusb20_desc.h ├── libutil.h ├── limits.h ├── link.h ├── linker_set.h ├── locale.h ├── login_cap.h ├── lwres │ ├── context.h │ ├── int.h │ ├── ipv6.h │ ├── lang.h │ ├── list.h │ ├── lwbuffer.h │ ├── lwpacket.h │ ├── lwres.h │ ├── net.h │ ├── netdb.h │ ├── platform.h │ ├── result.h │ └── version.h ├── lzma.h ├── lzma │ ├── base.h │ ├── bcj.h │ ├── block.h │ ├── check.h │ ├── container.h │ ├── delta.h │ ├── filter.h │ ├── hardware.h │ ├── index.h │ ├── index_hash.h │ ├── lzma.h │ ├── stream_flags.h │ ├── version.h │ └── vli.h ├── machine │ ├── _align.h │ ├── _bus.h │ ├── _inttypes.h │ ├── _limits.h │ ├── _stdint.h │ ├── _types.h │ ├── acpica_machdep.h │ ├── apicvar.h │ ├── apm_bios.h │ ├── asm.h │ ├── asmacros.h │ ├── atomic.h │ ├── bus.h │ ├── bus_dma.h │ ├── clock.h │ ├── cpu.h │ ├── cpufunc.h │ ├── cputypes.h │ ├── db_machdep.h │ ├── elf.h │ ├── endian.h │ ├── exec.h │ ├── float.h │ ├── floatingpoint.h │ ├── fpu.h │ ├── frame.h │ ├── gdb_machdep.h │ ├── ieeefp.h │ ├── in_cksum.h │ ├── intr_machdep.h │ ├── iodev.h │ ├── kdb.h │ ├── legacyvar.h │ ├── limits.h │ ├── md_var.h │ ├── memdev.h │ ├── metadata.h │ ├── minidump.h │ ├── mp_watchdog.h │ ├── nexusvar.h │ ├── param.h │ ├── pc │ │ ├── bios.h │ │ └── display.h │ ├── pcb.h │ ├── pci_cfgreg.h │ ├── pcpu.h │ ├── pmap.h │ ├── pmc_mdep.h │ ├── ppireg.h │ ├── proc.h │ ├── profile.h │ ├── psl.h │ ├── ptrace.h │ ├── reg.h │ ├── reloc.h │ ├── resource.h │ ├── runq.h │ ├── segments.h │ ├── setjmp.h │ ├── sf_buf.h │ ├── sigframe.h │ ├── signal.h │ ├── smp.h │ ├── specialreg.h │ ├── stack.h │ ├── stdarg.h │ ├── sysarch.h │ ├── timerreg.h │ ├── trap.h │ ├── tss.h │ ├── ucontext.h │ ├── varargs.h │ ├── vm.h │ └── vmparam.h ├── magic.h ├── malloc.h ├── malloc_np.h ├── math.h ├── md2.h ├── md4.h ├── md5.h ├── memory.h ├── memstat.h ├── menu.h ├── monetary.h ├── mp.h ├── mpool.h ├── mqueue.h ├── ncurses.h ├── ncurses_dll.h ├── ndbm.h ├── net │ ├── bpf.h │ ├── bpf_buffer.h │ ├── bpf_jitter.h │ ├── bpf_zerocopy.h │ ├── bpfdesc.h │ ├── bridgestp.h │ ├── ethernet.h │ ├── fddi.h │ ├── firewire.h │ ├── flowtable.h │ ├── ieee8023ad_lacp.h │ ├── if.h │ ├── if_arc.h │ ├── if_arp.h │ ├── if_atm.h │ ├── if_bridgevar.h │ ├── if_clone.h │ ├── if_dl.h │ ├── if_enc.h │ ├── if_gif.h │ ├── if_gre.h │ ├── if_lagg.h │ ├── if_llatbl.h │ ├── if_llc.h │ ├── if_media.h │ ├── if_mib.h │ ├── if_pflog.h │ ├── if_pflow.h │ ├── if_pfsync.h │ ├── if_sppp.h │ ├── if_stf.h │ ├── if_tap.h │ ├── if_tapvar.h │ ├── if_tun.h │ ├── if_types.h │ ├── if_var.h │ ├── if_vlan_var.h │ ├── iso88025.h │ ├── netisr.h │ ├── netisr_internal.h │ ├── pf_mtag.h │ ├── pfil.h │ ├── pfkeyv2.h │ ├── pfvar.h │ ├── ppp_defs.h │ ├── radix.h │ ├── radix_mpath.h │ ├── raw_cb.h │ ├── route.h │ ├── slcompress.h │ ├── vnet.h │ ├── zlib.h │ └── zutil.h ├── net80211 │ ├── _ieee80211.h │ ├── ieee80211.h │ ├── ieee80211_action.h │ ├── ieee80211_adhoc.h │ ├── ieee80211_ageq.h │ ├── ieee80211_alq.h │ ├── ieee80211_amrr.h │ ├── ieee80211_crypto.h │ ├── ieee80211_dfs.h │ ├── ieee80211_freebsd.h │ ├── ieee80211_hostap.h │ ├── ieee80211_ht.h │ ├── ieee80211_input.h │ ├── ieee80211_ioctl.h │ ├── ieee80211_mesh.h │ ├── ieee80211_monitor.h │ ├── ieee80211_node.h │ ├── ieee80211_phy.h │ ├── ieee80211_power.h │ ├── ieee80211_proto.h │ ├── ieee80211_radiotap.h │ ├── ieee80211_ratectl.h │ ├── ieee80211_regdomain.h │ ├── ieee80211_rssadapt.h │ ├── ieee80211_scan.h │ ├── ieee80211_sta.h │ ├── ieee80211_superg.h │ ├── ieee80211_tdma.h │ ├── ieee80211_var.h │ └── ieee80211_wds.h ├── netatalk │ ├── aarp.h │ ├── at.h │ ├── at_extern.h │ ├── at_var.h │ ├── ddp.h │ ├── ddp_pcb.h │ ├── ddp_var.h │ ├── endian.h │ └── phase2.h ├── netconfig.h ├── netdb.h ├── netgraph.h ├── netgraph │ ├── atm │ │ ├── ng_atm.h │ │ ├── ng_ccatm.h │ │ ├── ng_sscfu.h │ │ ├── ng_sscop.h │ │ ├── ng_uni.h │ │ └── ngatmbase.h │ ├── bluetooth │ │ └── include │ │ │ ├── ng_bluetooth.h │ │ │ ├── ng_bt3c.h │ │ │ ├── ng_btsocket.h │ │ │ ├── ng_btsocket_hci_raw.h │ │ │ ├── ng_btsocket_l2cap.h │ │ │ ├── ng_btsocket_rfcomm.h │ │ │ ├── ng_btsocket_sco.h │ │ │ ├── ng_h4.h │ │ │ ├── ng_hci.h │ │ │ ├── ng_l2cap.h │ │ │ └── ng_ubt.h │ ├── netflow │ │ ├── netflow.h │ │ ├── netflow_v9.h │ │ └── ng_netflow.h │ ├── netgraph.h │ ├── ng_UI.h │ ├── ng_async.h │ ├── ng_atmllc.h │ ├── ng_bpf.h │ ├── ng_bridge.h │ ├── ng_car.h │ ├── ng_cisco.h │ ├── ng_deflate.h │ ├── ng_device.h │ ├── ng_echo.h │ ├── ng_eiface.h │ ├── ng_etf.h │ ├── ng_ether.h │ ├── ng_ether_echo.h │ ├── ng_fec.h │ ├── ng_frame_relay.h │ ├── ng_gif.h │ ├── ng_gif_demux.h │ ├── ng_hole.h │ ├── ng_hub.h │ ├── ng_iface.h │ ├── ng_ip_input.h │ ├── ng_ipfw.h │ ├── ng_ksocket.h │ ├── ng_l2tp.h │ ├── ng_lmi.h │ ├── ng_message.h │ ├── ng_mppc.h │ ├── ng_nat.h │ ├── ng_one2many.h │ ├── ng_parse.h │ ├── ng_patch.h │ ├── ng_pipe.h │ ├── ng_ppp.h │ ├── ng_pppoe.h │ ├── ng_pptpgre.h │ ├── ng_pred1.h │ ├── ng_rfc1490.h │ ├── ng_sample.h │ ├── ng_socket.h │ ├── ng_socketvar.h │ ├── ng_source.h │ ├── ng_split.h │ ├── ng_sppp.h │ ├── ng_tag.h │ ├── ng_tcpmss.h │ ├── ng_tee.h │ ├── ng_tty.h │ ├── ng_vjc.h │ └── ng_vlan.h ├── netinet │ ├── cc.h │ ├── icmp6.h │ ├── icmp_var.h │ ├── if_atm.h │ ├── if_ether.h │ ├── igmp.h │ ├── igmp_var.h │ ├── in.h │ ├── in_gif.h │ ├── in_pcb.h │ ├── in_systm.h │ ├── in_var.h │ ├── ip.h │ ├── ip6.h │ ├── ip_auth.h │ ├── ip_carp.h │ ├── ip_compat.h │ ├── ip_divert.h │ ├── ip_dummynet.h │ ├── ip_ecn.h │ ├── ip_encap.h │ ├── ip_fil.h │ ├── ip_frag.h │ ├── ip_fw.h │ ├── ip_gre.h │ ├── ip_htable.h │ ├── ip_icmp.h │ ├── ip_ipsec.h │ ├── ip_lookup.h │ ├── ip_mroute.h │ ├── ip_nat.h │ ├── ip_options.h │ ├── ip_pool.h │ ├── ip_proxy.h │ ├── ip_rules.h │ ├── ip_scan.h │ ├── ip_state.h │ ├── ip_sync.h │ ├── ip_var.h │ ├── ipl.h │ ├── pim.h │ ├── pim_var.h │ ├── sctp.h │ ├── sctp_asconf.h │ ├── sctp_auth.h │ ├── sctp_bsd_addr.h │ ├── sctp_constants.h │ ├── sctp_crc32.h │ ├── sctp_dtrace_declare.h │ ├── sctp_dtrace_define.h │ ├── sctp_header.h │ ├── sctp_indata.h │ ├── sctp_input.h │ ├── sctp_lock_bsd.h │ ├── sctp_os.h │ ├── sctp_os_bsd.h │ ├── sctp_output.h │ ├── sctp_pcb.h │ ├── sctp_peeloff.h │ ├── sctp_structs.h │ ├── sctp_sysctl.h │ ├── sctp_timer.h │ ├── sctp_uio.h │ ├── sctp_var.h │ ├── sctputil.h │ ├── tcp.h │ ├── tcp_debug.h │ ├── tcp_fsm.h │ ├── tcp_hostcache.h │ ├── tcp_lro.h │ ├── tcp_offload.h │ ├── tcp_seq.h │ ├── tcp_syncache.h │ ├── tcp_timer.h │ ├── tcp_var.h │ ├── tcpip.h │ ├── toedev.h │ ├── udp.h │ └── udp_var.h ├── netinet6 │ ├── icmp6.h │ ├── in6.h │ ├── in6_gif.h │ ├── in6_ifattach.h │ ├── in6_pcb.h │ ├── in6_var.h │ ├── ip6.h │ ├── ip6_ecn.h │ ├── ip6_ipsec.h │ ├── ip6_mroute.h │ ├── ip6_var.h │ ├── ip6protosw.h │ ├── mld6.h │ ├── mld6_var.h │ ├── nd6.h │ ├── pim6.h │ ├── pim6_var.h │ ├── raw_ip6.h │ ├── scope6_var.h │ ├── sctp6_var.h │ ├── send.h │ ├── tcp6_var.h │ └── udp6_var.h ├── netipsec │ ├── ah.h │ ├── ah_var.h │ ├── esp.h │ ├── esp_var.h │ ├── ipcomp.h │ ├── ipcomp_var.h │ ├── ipip_var.h │ ├── ipsec.h │ ├── ipsec6.h │ ├── key.h │ ├── key_debug.h │ ├── key_var.h │ ├── keydb.h │ ├── keysock.h │ └── xform.h ├── netipx │ ├── ipx.h │ ├── ipx_if.h │ ├── ipx_pcb.h │ ├── ipx_var.h │ ├── spx.h │ ├── spx_debug.h │ ├── spx_timer.h │ └── spx_var.h ├── netnatm │ ├── addr.h │ ├── api │ │ ├── atmapi.h │ │ ├── ccatm.h │ │ └── unisap.h │ ├── msg │ │ ├── uni_config.h │ │ ├── uni_hdr.h │ │ ├── uni_ie.h │ │ ├── uni_msg.h │ │ ├── unimsglib.h │ │ ├── uniprint.h │ │ └── unistruct.h │ ├── natm.h │ ├── saal │ │ ├── sscfu.h │ │ ├── sscfudef.h │ │ ├── sscop.h │ │ └── sscopdef.h │ ├── sig │ │ ├── uni.h │ │ ├── unidef.h │ │ └── unisig.h │ └── unimsg.h ├── netncp │ ├── ncp.h │ ├── ncp_cfg.h │ ├── ncp_conn.h │ ├── ncp_file.h │ ├── ncp_lib.h │ ├── ncp_ncp.h │ ├── ncp_nls.h │ ├── ncp_rcfile.h │ ├── ncp_rq.h │ ├── ncp_sock.h │ ├── ncp_subr.h │ ├── ncp_user.h │ ├── ncpio.h │ └── nwerror.h ├── netsmb │ ├── netbios.h │ ├── smb.h │ ├── smb_conn.h │ ├── smb_dev.h │ ├── smb_rq.h │ ├── smb_subr.h │ ├── smb_tran.h │ └── smb_trantcp.h ├── nfs │ ├── krpc.h │ ├── nfs_common.h │ ├── nfs_kdtrace.h │ ├── nfs_lock.h │ ├── nfs_mountcommon.h │ ├── nfsdiskless.h │ ├── nfsproto.h │ ├── nfssvc.h │ └── xdr_subs.h ├── nfsclient │ ├── nfs.h │ ├── nfsargs.h │ ├── nfsm_subs.h │ ├── nfsmount.h │ ├── nfsnode.h │ ├── nfsstats.h │ └── nlminfo.h ├── nfsserver │ ├── nfs.h │ ├── nfs_fha.h │ ├── nfsm_subs.h │ ├── nfsrvcache.h │ └── nfsrvstats.h ├── nl_types.h ├── nlist.h ├── nss.h ├── nsswitch.h ├── ocsp_asn1.h ├── omp.h ├── openssl │ ├── aes.h │ ├── aes_locl.h │ ├── asn1.h │ ├── asn1_mac.h │ ├── asn1t.h │ ├── bio.h │ ├── bio_lcl.h │ ├── blowfish.h │ ├── bn.h │ ├── buffer.h │ ├── camellia.h │ ├── cast.h │ ├── comp.h │ ├── conf.h │ ├── conf_api.h │ ├── crypto.h │ ├── des.h │ ├── des_old.h │ ├── dh.h │ ├── dsa.h │ ├── dso.h │ ├── dtls1.h │ ├── e_os.h │ ├── e_os2.h │ ├── ebcdic.h │ ├── ec.h │ ├── ecdh.h │ ├── ecdsa.h │ ├── engine.h │ ├── err.h │ ├── evp.h │ ├── fips.h │ ├── fips_rand.h │ ├── hmac.h │ ├── krb5_asn.h │ ├── kssl.h │ ├── lhash.h │ ├── md2.h │ ├── md4.h │ ├── md5.h │ ├── mdc2.h │ ├── obj_mac.h │ ├── objects.h │ ├── ocsp.h │ ├── opensslconf.h │ ├── opensslv.h │ ├── ossl_typ.h │ ├── pem.h │ ├── pem2.h │ ├── pkcs12.h │ ├── pkcs7.h │ ├── pq_compat.h │ ├── pqueue.h │ ├── rand.h │ ├── rc2.h │ ├── rc4.h │ ├── rc5.h │ ├── ripemd.h │ ├── rsa.h │ ├── safestack.h │ ├── sha.h │ ├── ssl.h │ ├── ssl2.h │ ├── ssl23.h │ ├── ssl3.h │ ├── stack.h │ ├── store.h │ ├── symhacks.h │ ├── tls1.h │ ├── tmdiff.h │ ├── txt_db.h │ ├── ui.h │ ├── ui_compat.h │ ├── ui_locl.h │ ├── x509.h │ ├── x509_vfy.h │ └── x509v3.h ├── opie.h ├── osreldate.h ├── panel.h ├── paths.h ├── pcap-bpf.h ├── pcap-int.h ├── pcap-namedb.h ├── pcap.h ├── pcap │ ├── bpf.h │ ├── namedb.h │ └── pcap.h ├── pkcs10_asn1.h ├── pkcs12_asn1.h ├── pkcs8_asn1.h ├── pkcs9_asn1.h ├── pkinit_asn1.h ├── pmc.h ├── pmclog.h ├── poll.h ├── printf.h ├── proc_service.h ├── protocols │ ├── dumprestore.h │ ├── routed.h │ ├── rwhod.h │ ├── talkd.h │ └── timed.h ├── ps4-offsets │ ├── 1100.h │ └── kernel.h ├── pthread.h ├── pthread_np.h ├── pwd.h ├── radlib.h ├── radlib_vs.h ├── ranlib.h ├── readline │ ├── chardefs.h │ ├── history.h │ ├── keymaps.h │ ├── readline.h │ ├── rlconf.h │ ├── rlstdc.h │ ├── rltypedefs.h │ └── tilde.h ├── readpassphrase.h ├── regex.h ├── res_update.h ├── resolv.h ├── rfc2459_asn1.h ├── ripemd.h ├── roken-common.h ├── roken.h ├── rpc │ ├── auth.h │ ├── auth_des.h │ ├── auth_kerb.h │ ├── auth_unix.h │ ├── clnt.h │ ├── clnt_soc.h │ ├── clnt_stat.h │ ├── des.h │ ├── des_crypt.h │ ├── key_prot.h │ ├── nettype.h │ ├── pmap_clnt.h │ ├── pmap_prot.h │ ├── pmap_rmt.h │ ├── raw.h │ ├── rpc.h │ ├── rpc_com.h │ ├── rpc_msg.h │ ├── rpcb_clnt.h │ ├── rpcb_prot.h │ ├── rpcb_prot.x │ ├── rpcent.h │ ├── rpcsec_gss.h │ ├── svc.h │ ├── svc_auth.h │ ├── svc_dg.h │ ├── svc_soc.h │ ├── types.h │ └── xdr.h ├── rpcsvc │ ├── bootparam_prot.h │ ├── bootparam_prot.x │ ├── crypt.h │ ├── crypt.x │ ├── key_prot.h │ ├── key_prot.x │ ├── klm_prot.h │ ├── klm_prot.x │ ├── mount.h │ ├── mount.x │ ├── nfs_prot.h │ ├── nfs_prot.x │ ├── nis.h │ ├── nis.x │ ├── nis_cache.h │ ├── nis_cache.x │ ├── nis_callback.h │ ├── nis_callback.x │ ├── nis_db.h │ ├── nis_object.x │ ├── nis_tags.h │ ├── nislib.h │ ├── nlm_prot.h │ ├── nlm_prot.x │ ├── rex.h │ ├── rex.x │ ├── rnusers.h │ ├── rnusers.x │ ├── rquota.h │ ├── rquota.x │ ├── rstat.h │ ├── rstat.x │ ├── rwall.h │ ├── rwall.x │ ├── sm_inter.h │ ├── sm_inter.x │ ├── spray.h │ ├── spray.x │ ├── yp.h │ ├── yp.x │ ├── yp_prot.h │ ├── ypclnt.h │ ├── yppasswd.h │ ├── yppasswd.x │ ├── ypupdate_prot.h │ ├── ypupdate_prot.x │ ├── ypxfrd.h │ └── ypxfrd.x ├── rpoll.h ├── rtld_db.h ├── runetype.h ├── sched.h ├── sdp.h ├── search.h ├── security │ ├── audit │ │ ├── audit.h │ │ ├── audit_ioctl.h │ │ └── audit_private.h │ ├── mac_biba │ │ └── mac_biba.h │ ├── mac_bsdextended │ │ ├── mac_bsdextended.h │ │ └── ugidfw_internal.h │ ├── mac_lomac │ │ └── mac_lomac.h │ ├── mac_mls │ │ └── mac_mls.h │ ├── mac_partition │ │ └── mac_partition.h │ ├── openpam.h │ ├── openpam_attr.h │ ├── openpam_version.h │ ├── pam_appl.h │ ├── pam_constants.h │ ├── pam_mod_misc.h │ ├── pam_modules.h │ └── pam_types.h ├── semaphore.h ├── setjmp.h ├── sha.h ├── sha256.h ├── sha512.h ├── signal.h ├── spawn.h ├── ssp │ ├── ssp.h │ ├── stdio.h │ ├── string.h │ └── unistd.h ├── stab.h ├── stand.h ├── stdarg.h ├── stdbool.h ├── stddef.h ├── stdint.h ├── stdio.h ├── stdlib.h ├── string.h ├── stringlist.h ├── strings.h ├── sys │ ├── _bus_dma.h │ ├── _callout.h │ ├── _cpuset.h │ ├── _iovec.h │ ├── _lock.h │ ├── _lockmgr.h │ ├── _mutex.h │ ├── _null.h │ ├── _pthreadtypes.h │ ├── _rmlock.h │ ├── _rwlock.h │ ├── _semaphore.h │ ├── _sigset.h │ ├── _sockaddr_storage.h │ ├── _stack.h │ ├── _stdint.h │ ├── _sx.h │ ├── _task.h │ ├── _termios.h │ ├── _timespec.h │ ├── _timeval.h │ ├── _types.h │ ├── _umtx.h │ ├── aac_ioctl.h │ ├── acct.h │ ├── acl.h │ ├── agpio.h │ ├── aio.h │ ├── alq.h │ ├── apm.h │ ├── assym.h │ ├── ata.h │ ├── bio.h │ ├── bitstring.h │ ├── blist.h │ ├── buf.h │ ├── buf_ring.h │ ├── bufobj.h │ ├── bus.h │ ├── bus_dma.h │ ├── callout.h │ ├── capability.h │ ├── cdefs.h │ ├── cdio.h │ ├── cdrio.h │ ├── cfictl.h │ ├── chio.h │ ├── clock.h │ ├── condvar.h │ ├── conf.h │ ├── cons.h │ ├── consio.h │ ├── copyright.h │ ├── cpu.h │ ├── cpuctl.h │ ├── cpuset.h │ ├── ctype.h │ ├── dataacq.h │ ├── device_port.h │ ├── devicestat.h │ ├── digiio.h │ ├── dir.h │ ├── dirent.h │ ├── disk.h │ ├── disklabel.h │ ├── diskmbr.h │ ├── diskpc98.h │ ├── dkstat.h │ ├── domain.h │ ├── dtrace_bsd.h │ ├── dvdio.h │ ├── elf.h │ ├── elf32.h │ ├── elf64.h │ ├── elf_common.h │ ├── elf_generic.h │ ├── endian.h │ ├── errno.h │ ├── eui64.h │ ├── event.h │ ├── eventhandler.h │ ├── eventvar.h │ ├── exec.h │ ├── extattr.h │ ├── fail.h │ ├── fbio.h │ ├── fcntl.h │ ├── fdcio.h │ ├── file.h │ ├── filedesc.h │ ├── filio.h │ ├── firmware.h │ ├── fnv_hash.h │ ├── gmon.h │ ├── gpio.h │ ├── gpt.h │ ├── hash.h │ ├── hhook.h │ ├── iconv.h │ ├── imgact.h │ ├── imgact_aout.h │ ├── imgact_elf.h │ ├── inflate.h │ ├── interrupt.h │ ├── ioccom.h │ ├── ioctl.h │ ├── ioctl_compat.h │ ├── ipc.h │ ├── ipmi.h │ ├── jail.h │ ├── joystick.h │ ├── kbio.h │ ├── kdb.h │ ├── kenv.h │ ├── kernel.h │ ├── kerneldump.h │ ├── khelp.h │ ├── kobj.h │ ├── ksem.h │ ├── ksyms.h │ ├── kthread.h │ ├── ktr.h │ ├── ktrace.h │ ├── libkern.h │ ├── limits.h │ ├── link_aout.h │ ├── link_elf.h │ ├── linker.h │ ├── linker_set.h │ ├── lock.h │ ├── lock_profile.h │ ├── lockf.h │ ├── lockmgr.h │ ├── lockstat.h │ ├── loginclass.h │ ├── mac.h │ ├── malloc.h │ ├── mbpool.h │ ├── mbuf.h │ ├── mchain.h │ ├── md4.h │ ├── md5.h │ ├── mdioctl.h │ ├── memrange.h │ ├── mman.h │ ├── module.h │ ├── module_khelp.h │ ├── mount.h │ ├── mouse.h │ ├── mpt_ioctl.h │ ├── mqueue.h │ ├── msg.h │ ├── msgbuf.h │ ├── mtio.h │ ├── mutex.h │ ├── namei.h │ ├── nlist_aout.h │ ├── osd.h │ ├── param.h │ ├── pciio.h │ ├── pcpu.h │ ├── pioctl.h │ ├── pipe.h │ ├── pmc.h │ ├── pmckern.h │ ├── pmclog.h │ ├── poll.h │ ├── posix4.h │ ├── power.h │ ├── priority.h │ ├── priv.h │ ├── proc.h │ ├── procdesc.h │ ├── procfs.h │ ├── protosw.h │ ├── ptio.h │ ├── ptrace.h │ ├── queue.h │ ├── racct.h │ ├── random.h │ ├── rctl.h │ ├── reboot.h │ ├── refcount.h │ ├── regression.h │ ├── resource.h │ ├── resourcevar.h │ ├── rman.h │ ├── rmlock.h │ ├── rtprio.h │ ├── runq.h │ ├── rwlock.h │ ├── sbuf.h │ ├── sched.h │ ├── sdt.h │ ├── select.h │ ├── selinfo.h │ ├── sem.h │ ├── sema.h │ ├── serial.h │ ├── sf_buf.h │ ├── sglist.h │ ├── shm.h │ ├── sigio.h │ ├── signal.h │ ├── signalvar.h │ ├── sleepqueue.h │ ├── smp.h │ ├── snoop.h │ ├── sockbuf.h │ ├── socket.h │ ├── socketvar.h │ ├── sockio.h │ ├── sockopt.h │ ├── sockstate.h │ ├── soundcard.h │ ├── stack.h │ ├── stat.h │ ├── statvfs.h │ ├── stddef.h │ ├── stdint.h │ ├── sun_disklabel.h │ ├── sx.h │ ├── syscall.h │ ├── syscallsubr.h │ ├── sysctl.h │ ├── sysent.h │ ├── syslimits.h │ ├── syslog.h │ ├── sysproto.h │ ├── systm.h │ ├── taskqueue.h │ ├── termios.h │ ├── thr.h │ ├── tiio.h │ ├── time.h │ ├── timeb.h │ ├── timeet.h │ ├── timepps.h │ ├── timers.h │ ├── times.h │ ├── timespec.h │ ├── timetc.h │ ├── timex.h │ ├── tree.h │ ├── tty.h │ ├── ttycom.h │ ├── ttydefaults.h │ ├── ttydevsw.h │ ├── ttydisc.h │ ├── ttyhook.h │ ├── ttyqueue.h │ ├── turnstile.h │ ├── types.h │ ├── ucontext.h │ ├── ucred.h │ ├── uio.h │ ├── umtx.h │ ├── un.h │ ├── unistd.h │ ├── unpcb.h │ ├── user.h │ ├── utsname.h │ ├── uuid.h │ ├── vmmeter.h │ ├── vnode.h │ ├── vtoc.h │ ├── wait.h │ └── watchdog.h ├── sysexits.h ├── syslog.h ├── taclib.h ├── tar.h ├── tcpd.h ├── term.h ├── termcap.h ├── termios.h ├── tgmath.h ├── thread_db.h ├── time.h ├── timeconv.h ├── timers.h ├── ttyent.h ├── ucontext.h ├── ufs │ ├── ffs │ │ ├── ffs_extern.h │ │ ├── fs.h │ │ └── softdep.h │ └── ufs │ │ ├── acl.h │ │ ├── dinode.h │ │ ├── dir.h │ │ ├── dirhash.h │ │ ├── extattr.h │ │ ├── gjournal.h │ │ ├── inode.h │ │ ├── quota.h │ │ ├── ufs_extern.h │ │ └── ufsmount.h ├── ugidfw.h ├── ulimit.h ├── ulog.h ├── unctrl.h ├── unistd.h ├── usb.h ├── usbhid.h ├── utempter.h ├── utime.h ├── utmpx.h ├── uuid.h ├── varargs.h ├── vgl.h ├── vis.h ├── vm │ ├── memguard.h │ ├── pmap.h │ ├── redzone.h │ ├── swap_pager.h │ ├── uma.h │ ├── uma_dbg.h │ ├── uma_int.h │ ├── vm.h │ ├── vm_extern.h │ ├── vm_kern.h │ ├── vm_map.h │ ├── vm_object.h │ ├── vm_page.h │ ├── vm_pageout.h │ ├── vm_pager.h │ ├── vm_param.h │ ├── vm_phys.h │ ├── vm_reserv.h │ └── vnode_pager.h ├── wchar.h ├── wctype.h ├── wordexp.h ├── x86 │ ├── _align.h │ ├── _inttypes.h │ ├── apicreg.h │ ├── apm_bios.h │ ├── bus.h │ ├── mca.h │ ├── mptable.h │ └── pci_cfgreg.h ├── ypclnt.h ├── zconf.h └── zlib.h ├── lib ├── Makefile ├── crt.asm ├── dl.c └── syscalls.py └── linux ├── Makefile └── main.c /.gitignore: -------------------------------------------------------------------------------- 1 | *.bin 2 | *.o 3 | *.a 4 | *.elf -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "linux/ps4-kexec"] 2 | path = linux/ps4-kexec 3 | url = https://github.com/EinTim23/ps4-kexec.git 4 | branch = 11.00 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Updated to 11.0 by me 2 | Credits go to sleirsgolvy, the Psxita Team, TheFl0w for the exploit and the whole PS4 development community. -------------------------------------------------------------------------------- /freebsd-headers/_semaphore.h: -------------------------------------------------------------------------------- 1 | sys/_semaphore.h -------------------------------------------------------------------------------- /freebsd-headers/aio.h: -------------------------------------------------------------------------------- 1 | sys/aio.h -------------------------------------------------------------------------------- /freebsd-headers/altq/altqconf.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: altqconf.h,v 1.1 2001/06/27 05:28:36 kjc Exp $ */ 2 | /* $NetBSD: altqconf.h,v 1.2 2001/05/30 11:57:16 mrg Exp $ */ 3 | 4 | #if defined(_KERNEL_OPT) || defined(__OpenBSD__) 5 | 6 | #if defined(_KERNEL_OPT) 7 | #include "opt_altq_enabled.h" 8 | #endif 9 | 10 | #include 11 | 12 | #ifdef ALTQ 13 | #define NALTQ 1 14 | #else 15 | #define NALTQ 0 16 | #endif 17 | 18 | cdev_decl(altq); 19 | 20 | #ifdef __OpenBSD__ 21 | #define cdev_altq_init(c,n) { \ 22 | dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ 23 | (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ 24 | (dev_type_stop((*))) enodev, 0, (dev_type_select((*))) enodev, \ 25 | (dev_type_mmap((*))) enodev } 26 | #else 27 | #define cdev_altq_init(x,y) cdev__oci_init(x,y) 28 | #endif 29 | #endif /* defined(_KERNEL_OPT) || defined(__OpenBSD__) */ 30 | -------------------------------------------------------------------------------- /freebsd-headers/asn1_err.h: -------------------------------------------------------------------------------- 1 | /* Generated from /usr/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1/asn1_err.et */ 2 | /* $Id: asn1_err.et 21394 2007-07-02 10:14:43Z lha $ */ 3 | 4 | #ifndef __asn1_err_h__ 5 | #define __asn1_err_h__ 6 | 7 | struct et_list; 8 | 9 | void initialize_asn1_error_table_r(struct et_list **); 10 | 11 | void initialize_asn1_error_table(void); 12 | #define init_asn1_err_tbl initialize_asn1_error_table 13 | 14 | typedef enum asn1_error_number{ 15 | ASN1_BAD_TIMEFORMAT = 1859794432, 16 | ASN1_MISSING_FIELD = 1859794433, 17 | ASN1_MISPLACED_FIELD = 1859794434, 18 | ASN1_TYPE_MISMATCH = 1859794435, 19 | ASN1_OVERFLOW = 1859794436, 20 | ASN1_OVERRUN = 1859794437, 21 | ASN1_BAD_ID = 1859794438, 22 | ASN1_BAD_LENGTH = 1859794439, 23 | ASN1_BAD_FORMAT = 1859794440, 24 | ASN1_PARSE_ERROR = 1859794441, 25 | ASN1_EXTRA_DATA = 1859794442, 26 | ASN1_BAD_CHARACTER = 1859794443, 27 | ASN1_MIN_CONSTRAINT = 1859794444, 28 | ASN1_MAX_CONSTRAINT = 1859794445, 29 | ASN1_EXACT_CONSTRAINT = 1859794446 30 | } asn1_error_number; 31 | 32 | #define ERROR_TABLE_BASE_asn1 1859794432 33 | 34 | #endif /* __asn1_err_h__ */ 35 | -------------------------------------------------------------------------------- /freebsd-headers/bitstring.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2003 Poul-Henning Kamp 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/include/bitstring.h 116306 2003-06-13 19:40:13Z phk $ 27 | */ 28 | 29 | #ifndef _BITSTRING_H_ 30 | #define _BITSTRING_H_ 31 | 32 | #include 33 | 34 | #endif /* _BITSTRING_H_ */ 35 | 36 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/complex.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_COMPLEX_H 29 | #define _BACKWARD_COMPLEX_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::complex; 35 | typedef complex float_complex; 36 | typedef complex double_complex; 37 | typedef complex long_double_complex; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/istream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_ISTREAM_H 29 | #define _BACKWARD_ISTREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/new.h: -------------------------------------------------------------------------------- 1 | // -*- C++ -*- forwarding header. 2 | // Copyright (C) 2000 Free Software Foundation 3 | 4 | // This file is part of GCC. 5 | // 6 | // GCC is free software; you can redistribute it and/or modify 7 | // it under the terms of the GNU General Public License as published by 8 | // the Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | // 11 | // GCC is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU General Public License 17 | // along with GCC; see the file COPYING. If not, write to 18 | // the Free Software Foundation, 51 Franklin Street, Fifth Floor, 19 | // Boston, MA 02110-1301, USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | #ifndef _BACKWARD_NEW_H 31 | #define _BACKWARD_NEW_H 1 32 | 33 | #include "backward_warning.h" 34 | #include 35 | 36 | using std::bad_alloc; 37 | using std::nothrow_t; 38 | using std::nothrow; 39 | using std::new_handler; 40 | using std::set_new_handler; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/ostream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_OSTREAM_H 29 | #define _BACKWARD_OSTREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/queue.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2001 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_QUEUE_H 29 | #define _BACKWARD_QUEUE_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::queue; 35 | using std::priority_queue; 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/stream.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_STREAM_H 29 | #define _BACKWARD_STREAM_H 1 30 | 31 | #include "backward_warning.h" 32 | #include "iostream.h" 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/backward/streambuf.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2000 Free Software Foundation, Inc. 2 | // 3 | // This file is part of the GNU ISO C++ Library. This library is free 4 | // software; you can redistribute it and/or modify it under the 5 | // terms of the GNU General Public License as published by the 6 | // Free Software Foundation; either version 2, or (at your option) 7 | // any later version. 8 | 9 | // This library is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License along 15 | // with this library; see the file COPYING. If not, write to the Free 16 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 17 | // USA. 18 | 19 | // As a special exception, you may use this file as part of a free software 20 | // library without restriction. Specifically, if other files instantiate 21 | // templates or use macros or inline functions from this file, or you compile 22 | // this file and link it with other files to produce an executable, this 23 | // file does not by itself cause the resulting executable to be covered by 24 | // the GNU General Public License. This exception does not however 25 | // invalidate any other reasons why the executable file might be covered by 26 | // the GNU General Public License. 27 | 28 | #ifndef _BACKWARD_STREAMBUF_H 29 | #define _BACKWARD_STREAMBUF_H 1 30 | 31 | #include "backward_warning.h" 32 | #include 33 | 34 | using std::streambuf; 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/bits/c++locale_internal.h: -------------------------------------------------------------------------------- 1 | // Locale internal implementation header -*- C++ -*- 2 | 3 | // Copyright (C) 2002 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | // The generic locale code doesn't need to do anything here (yet) 31 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/bits/cpu_defines.h: -------------------------------------------------------------------------------- 1 | // Specific definitions for generic platforms -*- C++ -*- 2 | 3 | // Copyright (C) 2005 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file cpu_defines.h 31 | * This is an internal header file, included by other library headers. 32 | * You should not attempt to use it directly. 33 | */ 34 | 35 | #ifndef _GLIBCXX_CPU_DEFINES 36 | #define _GLIBCXX_CPU_DEFINES 1 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/debug/hash_map: -------------------------------------------------------------------------------- 1 | // Debugging hash_map/hash_multimap implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/hash_map 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_HASH_MAP 36 | #define _GLIBCXX_DEBUG_HASH_MAP 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/debug/hash_set: -------------------------------------------------------------------------------- 1 | // Debugging hash_set/hash_multiset implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003, 2005 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/hash_set 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_HASH_SET 36 | #define _GLIBCXX_DEBUG_HASH_SET 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/debug/map: -------------------------------------------------------------------------------- 1 | // Debugging map/multimap implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003, 2006 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/map 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_MAP 36 | #define _GLIBCXX_DEBUG_MAP 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/debug/set: -------------------------------------------------------------------------------- 1 | // Debugging set/multiset implementation -*- C++ -*- 2 | 3 | // Copyright (C) 2003 4 | // Free Software Foundation, Inc. 5 | // 6 | // This file is part of the GNU ISO C++ Library. This library is free 7 | // software; you can redistribute it and/or modify it under the 8 | // terms of the GNU General Public License as published by the 9 | // Free Software Foundation; either version 2, or (at your option) 10 | // any later version. 11 | 12 | // This library is distributed in the hope that it will be useful, 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | // GNU General Public License for more details. 16 | 17 | // You should have received a copy of the GNU General Public License along 18 | // with this library; see the file COPYING. If not, write to the Free 19 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20 | // USA. 21 | 22 | // As a special exception, you may use this file as part of a free software 23 | // library without restriction. Specifically, if other files instantiate 24 | // templates or use macros or inline functions from this file, or you compile 25 | // this file and link it with other files to produce an executable, this 26 | // file does not by itself cause the resulting executable to be covered by 27 | // the GNU General Public License. This exception does not however 28 | // invalidate any other reasons why the executable file might be covered by 29 | // the GNU General Public License. 30 | 31 | /** @file debug/set 32 | * This file is a GNU debug extension to the Standard C++ Library. 33 | */ 34 | 35 | #ifndef _GLIBCXX_DEBUG_SET 36 | #define _GLIBCXX_DEBUG_SET 1 37 | 38 | #include 39 | #include 40 | #include 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/cfloat: -------------------------------------------------------------------------------- 1 | // TR1 cfloat -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cfloat 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CFLOAT 35 | #define _TR1_CFLOAT 1 36 | 37 | #include 38 | 39 | #ifndef DECIMAL_DIG 40 | #define DECIMAL_DIG __DECIMAL_DIG__ 41 | #endif 42 | 43 | #ifndef FLT_EVAL_METHOD 44 | #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ 45 | #endif 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/cstdarg: -------------------------------------------------------------------------------- 1 | // TR1 cstdarg -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cstdarg 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CSTDARG 35 | #define _TR1_CSTDARG 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/cstdbool: -------------------------------------------------------------------------------- 1 | // TR1 cstdbool -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/cstdbool 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CSTDBOOL 35 | #define _TR1_CSTDBOOL 1 36 | 37 | #include 38 | 39 | #if _GLIBCXX_HAVE_STDBOOL_H 40 | #include 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/ctgmath: -------------------------------------------------------------------------------- 1 | // TR1 ctgmath -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/ctgmath 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CTGMATH 35 | #define _TR1_CTGMATH 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/ctime: -------------------------------------------------------------------------------- 1 | // TR1 ctime -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/ctime 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CTIME 35 | #define _TR1_CTIME 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/ctype.h: -------------------------------------------------------------------------------- 1 | // TR1 ctype.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/ctype.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_CTYPE_H 35 | #define _TR1_CTYPE_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/fenv.h: -------------------------------------------------------------------------------- 1 | // TR1 fenv.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/fenv.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_FENV_H 35 | #define _TR1_FENV_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/float.h: -------------------------------------------------------------------------------- 1 | // TR1 float.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/float.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_FLOAT_H 35 | #define _TR1_FLOAT_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/inttypes.h: -------------------------------------------------------------------------------- 1 | // TR1 inttypes.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/inttypes.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_INTTYPES_H 35 | #define _TR1_INTTYPES_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/limits.h: -------------------------------------------------------------------------------- 1 | // TR1 limits.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/limits.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_LIMITS_H 35 | #define _TR1_LIMITS_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/stdarg.h: -------------------------------------------------------------------------------- 1 | // TR1 stdarg.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdarg.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDARG_H 35 | #define _TR1_STDARG_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/stdbool.h: -------------------------------------------------------------------------------- 1 | // TR1 stdbool.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdbool.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDBOOL_H 35 | #define _TR1_STDBOOL_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/stdint.h: -------------------------------------------------------------------------------- 1 | // TR1 stdint.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdint.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDINT_H 35 | #define _TR1_STDINT_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/stdio.h: -------------------------------------------------------------------------------- 1 | // TR1 stdio.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/stdio.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_STDIO_H 35 | #define _TR1_STDIO_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/tgmath.h: -------------------------------------------------------------------------------- 1 | // TR1 tgmath.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/tgmath.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_TGMATH_H 35 | #define _TR1_TGMATH_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/wchar.h: -------------------------------------------------------------------------------- 1 | // TR1 wchar.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/wchar.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_WCHAR_H 35 | #define _TR1_WCHAR_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/c++/4.2/tr1/wctype.h: -------------------------------------------------------------------------------- 1 | // TR1 wctype.h -*- C++ -*- 2 | 3 | // Copyright (C) 2006 Free Software Foundation, Inc. 4 | // 5 | // This file is part of the GNU ISO C++ Library. This library is free 6 | // software; you can redistribute it and/or modify it under the 7 | // terms of the GNU General Public License as published by the 8 | // Free Software Foundation; either version 2, or (at your option) 9 | // any later version. 10 | 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | // GNU General Public License for more details. 15 | 16 | // You should have received a copy of the GNU General Public License along 17 | // with this library; see the file COPYING. If not, write to the Free 18 | // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 | // USA. 20 | 21 | // As a special exception, you may use this file as part of a free software 22 | // library without restriction. Specifically, if other files instantiate 23 | // templates or use macros or inline functions from this file, or you compile 24 | // this file and link it with other files to produce an executable, this 25 | // file does not by itself cause the resulting executable to be covered by 26 | // the GNU General Public License. This exception does not however 27 | // invalidate any other reasons why the executable file might be covered by 28 | // the GNU General Public License. 29 | 30 | /** @file tr1/wctype.h 31 | * This is a TR1 C++ Library header. 32 | */ 33 | 34 | #ifndef _TR1_WCTYPE_H 35 | #define _TR1_WCTYPE_H 1 36 | 37 | #include 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/cam/scsi/scsi_iu.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * This file is in the public domain. 3 | * $FreeBSD: release/9.0.0/sys/cam/scsi/scsi_iu.h 139743 2005-01-05 22:34:37Z imp $ 4 | */ 5 | #ifndef _SCSI_SCSI_IU_H 6 | #define _SCSI_SCSI_IU_H 1 7 | 8 | struct scsi_status_iu_header 9 | { 10 | u_int8_t reserved[2]; 11 | u_int8_t flags; 12 | #define SIU_SNSVALID 0x2 13 | #define SIU_RSPVALID 0x1 14 | u_int8_t status; 15 | u_int8_t sense_length[4]; 16 | u_int8_t pkt_failures_length[4]; 17 | u_int8_t pkt_failures[1]; 18 | }; 19 | 20 | #define SIU_PKTFAIL_OFFSET(siu) 12 21 | #define SIU_PKTFAIL_CODE(siu) (scsi_4btoul((siu)->pkt_failures) & 0xFF) 22 | #define SIU_PFC_NONE 0 23 | #define SIU_PFC_CIU_FIELDS_INVALID 2 24 | #define SIU_PFC_TMF_NOT_SUPPORTED 4 25 | #define SIU_PFC_TMF_FAILED 5 26 | #define SIU_PFC_INVALID_TYPE_CODE 6 27 | #define SIU_PFC_ILLEGAL_REQUEST 7 28 | #define SIU_SENSE_OFFSET(siu) \ 29 | (12 + (((siu)->flags & SIU_RSPVALID) \ 30 | ? scsi_4btoul((siu)->pkt_failures_length) \ 31 | : 0)) 32 | 33 | #define SIU_TASKMGMT_NONE 0x00 34 | #define SIU_TASKMGMT_ABORT_TASK 0x01 35 | #define SIU_TASKMGMT_ABORT_TASK_SET 0x02 36 | #define SIU_TASKMGMT_CLEAR_TASK_SET 0x04 37 | #define SIU_TASKMGMT_LUN_RESET 0x08 38 | #define SIU_TASKMGMT_TARGET_RESET 0x20 39 | #define SIU_TASKMGMT_CLEAR_ACA 0x40 40 | #endif /*_SCSI_SCSI_IU_H*/ 41 | -------------------------------------------------------------------------------- /freebsd-headers/cam/scsi/scsi_pass.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1997, 1999 Kenneth D. Merry. 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. The name of the author may not be used to endorse or promote products 11 | * derived from this software without specific prior written permission. 12 | * 13 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 | * SUCH DAMAGE. 24 | * 25 | * $FreeBSD: release/9.0.0/sys/cam/scsi/scsi_pass.h 139743 2005-01-05 22:34:37Z imp $ 26 | */ 27 | 28 | #ifndef _SCSI_PASS_H 29 | #define _SCSI_PASS_H 1 30 | 31 | #include 32 | 33 | #include 34 | 35 | /* 36 | * Convert to using a pointer to a ccb in the next major version. 37 | * This should allow us to avoid an extra copy of the CCB data. 38 | */ 39 | #define CAMIOCOMMAND _IOWR(CAM_VERSION, 2, union ccb) 40 | #define CAMGETPASSTHRU _IOWR(CAM_VERSION, 3, union ccb) 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /freebsd-headers/clang/3.0/nmmintrin.h: -------------------------------------------------------------------------------- 1 | /*===---- nmmintrin.h - SSE4 intrinsics ------------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef _NMMINTRIN_H 25 | #define _NMMINTRIN_H 26 | 27 | #ifndef __SSE4_2__ 28 | #error "SSE4.2 instruction set not enabled" 29 | #else 30 | 31 | /* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h, 32 | just include it now then. */ 33 | #include 34 | #endif /* __SSE4_2__ */ 35 | #endif /* _NMMINTRIN_H */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/clang/3.0/x86intrin.h: -------------------------------------------------------------------------------- 1 | /*===---- x86intrin.h - X86 intrinsics -------------------------------------=== 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy 4 | * of this software and associated documentation files (the "Software"), to deal 5 | * in the Software without restriction, including without limitation the rights 6 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | * copies of the Software, and to permit persons to whom the Software is 8 | * furnished to do so, subject to the following conditions: 9 | * 10 | * The above copyright notice and this permission notice shall be included in 11 | * all copies or substantial portions of the Software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | * THE SOFTWARE. 20 | * 21 | *===-----------------------------------------------------------------------=== 22 | */ 23 | 24 | #ifndef __X86INTRIN_H 25 | #define __X86INTRIN_H 26 | 27 | #include 28 | 29 | // FIXME: SSE4A, 3dNOW, FMA4, XOP, LWP, ABM, POPCNT 30 | 31 | #endif /* __X86INTRIN_H */ 32 | -------------------------------------------------------------------------------- /freebsd-headers/com_err.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/com_err.h -------------------------------------------------------------------------------- /freebsd-headers/com_right.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/com_right.h -------------------------------------------------------------------------------- /freebsd-headers/crypto/cast.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/opencrypto/cast.h 139825 2005-01-07 02:29:27Z imp $ */ 2 | /* $OpenBSD: cast.h,v 1.2 2002/03/14 01:26:51 millert Exp $ */ 3 | 4 | /*- 5 | * CAST-128 in C 6 | * Written by Steve Reid 7 | * 100% Public Domain - no warranty 8 | * Released 1997.10.11 9 | */ 10 | 11 | #ifndef _CAST_H_ 12 | #define _CAST_H_ 13 | 14 | typedef struct { 15 | u_int32_t xkey[32]; /* Key, after expansion */ 16 | int rounds; /* Number of rounds to use, 12 or 16 */ 17 | } cast_key; 18 | 19 | void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes); 20 | void cast_encrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock); 21 | void cast_decrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock); 22 | 23 | #endif /* ifndef _CAST_H_ */ 24 | -------------------------------------------------------------------------------- /freebsd-headers/crypto/skipjack.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/opencrypto/skipjack.h 139825 2005-01-07 02:29:27Z imp $ */ 2 | /* $OpenBSD: skipjack.h,v 1.3 2002/03/14 01:26:51 millert Exp $ */ 3 | 4 | /*- 5 | * Further optimized test implementation of SKIPJACK algorithm 6 | * Mark Tillotson , 25 June 98 7 | * Optimizations suit RISC (lots of registers) machine best. 8 | * 9 | * based on unoptimized implementation of 10 | * Panu Rissanen 960624 11 | * 12 | * SKIPJACK and KEA Algorithm Specifications 13 | * Version 2.0 14 | * 29 May 1998 15 | */ 16 | 17 | extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key); 18 | extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key); 19 | extern void subkey_table_gen(u_int8_t *key, u_int8_t **key_tables); 20 | -------------------------------------------------------------------------------- /freebsd-headers/dev/hwpmc/hwpmc_tsc.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2008 Joseph Koshy 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/dev/hwpmc/hwpmc_tsc.h 184802 2008-11-09 17:37:54Z jkoshy $ 27 | */ 28 | 29 | #ifndef _DEV_HWPMC_TSC_H_ 30 | #define _DEV_HWPMC_TSC_H_ 1 31 | 32 | #ifdef _KERNEL 33 | 34 | #define TSC_NPMCS 1 35 | 36 | /* 37 | * Prototypes. 38 | */ 39 | 40 | int pmc_tsc_initialize(struct pmc_mdep *_md, int _maxcpu); 41 | void pmc_tsc_finalize(struct pmc_mdep *_md); 42 | #endif /* _KERNEL */ 43 | #endif /* _DEV_HWPMC_TSC_H */ 44 | -------------------------------------------------------------------------------- /freebsd-headers/dev/ic/i8237.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Intel 8237 DMA Controller 3 | * 4 | * $FreeBSD: release/9.0.0/sys/dev/ic/i8237.h 146214 2005-05-14 10:14:56Z nyan $ 5 | */ 6 | 7 | #define DMA37MD_SINGLE 0x40 /* single pass mode */ 8 | #define DMA37MD_CASCADE 0xc0 /* cascade mode */ 9 | #define DMA37MD_AUTO 0x50 /* autoinitialise single pass mode */ 10 | #define DMA37MD_WRITE 0x04 /* read the device, write memory operation */ 11 | #define DMA37MD_READ 0x08 /* write the device, read memory operation */ 12 | -------------------------------------------------------------------------------- /freebsd-headers/dev/ieee488/upd7210.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/dev/ieee488/upd7210.h -------------------------------------------------------------------------------- /freebsd-headers/dev/io/iodev.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2010 Marcel Moolenaar 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/dev/io/iodev.h 207329 2010-04-28 15:38:01Z attilio $ 27 | */ 28 | 29 | #ifndef _DEV_IODEV_H_ 30 | #define _DEV_IODEV_H_ 31 | 32 | #define IODEV_PIO_READ 0 33 | #define IODEV_PIO_WRITE 1 34 | 35 | struct iodev_pio_req { 36 | u_int access; 37 | u_int port; 38 | u_int width; 39 | u_int val; 40 | }; 41 | 42 | #define IODEV_PIO _IOWR('I', 0, struct iodev_pio_req) 43 | 44 | #endif /* _DEV_IODEV_H_ */ 45 | -------------------------------------------------------------------------------- /freebsd-headers/dev/ppbus/lptio.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (C) 1994 Geoffrey M. Rehmet 3 | * 4 | * This program is free software; you may redistribute it and/or 5 | * modify it, provided that it retain the above copyright notice 6 | * and the following disclaimer. 7 | * 8 | * This program is distributed in the hope that it will be useful, 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 | * 12 | * Geoff Rehmet, Rhodes University, South Africa 13 | * 14 | * $FreeBSD: release/9.0.0/sys/dev/ppbus/lptio.h 139749 2005-01-06 01:43:34Z imp $ 15 | */ 16 | 17 | #ifndef _DEV_PPBUS_LPT_H_ 18 | #define _DEV_PPBUS_LPT_H_ 19 | 20 | #include 21 | 22 | #define LPT_IRQ _IOW('p', 1, long) /* set interrupt status */ 23 | 24 | #endif /* !_DEV_PPBUS_LPT_H_ */ 25 | -------------------------------------------------------------------------------- /freebsd-headers/dev/smbus/smbus.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1998 Nicolas Souchu 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/dev/smbus/smbus.h 189580 2009-03-09 13:30:00Z imp $ 27 | * 28 | */ 29 | #ifndef __SMBUS_H 30 | #define __SMBUS_H 31 | 32 | struct smbus_softc { 33 | device_t owner; /* smbus owner device structure */ 34 | struct mtx lock; 35 | }; 36 | 37 | void smbus_generic_intr(device_t dev, u_char devaddr, char low, char high, int err); 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/dev/speaker/speaker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * speaker.h -- interface definitions for speaker ioctl() 3 | * 4 | * v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993 5 | * modified for FreeBSD by Andrew A. Chernov 6 | * 7 | * $FreeBSD: release/9.0.0/sys/dev/speaker/speaker.h 152306 2005-11-11 09:57:32Z ru $ 8 | */ 9 | 10 | #ifndef _DEV_SPEAKER_SPEAKER_H_ 11 | #define _DEV_SPEAKER_SPEAKER_H_ 12 | 13 | #include 14 | 15 | #define SPKRTONE _IOW('S', 1, tone_t) /* emit tone */ 16 | #define SPKRTUNE _IO('S', 2) /* emit tone sequence*/ 17 | 18 | typedef struct 19 | { 20 | int frequency; /* in hertz */ 21 | int duration; /* in 1/100ths of a second */ 22 | } tone_t; 23 | 24 | /* 25 | * Strings written to the speaker device are interpreted as tunes and played; 26 | * see the spkr(4) man page for details. 27 | */ 28 | 29 | #endif /* !_DEV_SPEAKER_SPEAKER_H_ */ 30 | -------------------------------------------------------------------------------- /freebsd-headers/dev/usb/usb_generic.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/dev/usb/usb_generic.h 196219 2009-08-14 20:03:53Z jhb $ */ 2 | /*- 3 | * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | */ 26 | 27 | #ifndef _USB_GENERIC_H_ 28 | #define _USB_GENERIC_H_ 29 | 30 | extern struct usb_fifo_methods usb_ugen_methods; 31 | int ugen_do_request(struct usb_fifo *f, struct usb_ctl_request *ur); 32 | 33 | #endif /* _USB_GENERIC_H_ */ 34 | -------------------------------------------------------------------------------- /freebsd-headers/dev/usb/usb_pci.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/dev/usb/usb_pci.h 196219 2009-08-14 20:03:53Z jhb $ */ 2 | /*- 3 | * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | */ 26 | 27 | #ifndef _USB_PCI_H_ 28 | #define _USB_PCI_H_ 29 | 30 | /* 31 | * We don't want the following files included everywhere, that's why 32 | * they are in a separate file. 33 | */ 34 | #include 35 | #include 36 | 37 | #include 38 | 39 | #endif /* _USB_PCI_H_ */ 40 | -------------------------------------------------------------------------------- /freebsd-headers/dev/usb/usb_util.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/dev/usb/usb_util.h 196219 2009-08-14 20:03:53Z jhb $ */ 2 | /*- 3 | * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | */ 26 | 27 | #ifndef _USB_UTIL_H_ 28 | #define _USB_UTIL_H_ 29 | 30 | int device_delete_all_children(device_t dev); 31 | uint8_t usb_make_str_desc(void *ptr, uint16_t max_len, const char *s); 32 | void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd); 33 | void usb_trim_spaces(char *p); 34 | 35 | #endif /* _USB_UTIL_H_ */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/edit/readline/history.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2011 David E. O'Brien 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 3. Neither the name of the author nor the names of contributors 14 | * may be used to endorse or promote products derived from this software 15 | * without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 | * SUCH DAMAGE. 28 | * 29 | * $FreeBSD: release/9.0.0/lib/libedit/edit/readline/history.h 220370 2011-04-05 18:41:01Z obrien $ 30 | */ 31 | 32 | #include 33 | -------------------------------------------------------------------------------- /freebsd-headers/elf.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2001 David E. O'Brien. 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/include/elf.h 174044 2007-11-28 22:09:12Z jb $ 27 | */ 28 | 29 | /* 30 | * This is a Solaris compatibility header 31 | */ 32 | 33 | #ifndef _ELF_H_ 34 | #define _ELF_H_ 35 | 36 | #include 37 | #include 38 | #include 39 | #include 40 | 41 | #endif /* !_ELF_H_ */ 42 | -------------------------------------------------------------------------------- /freebsd-headers/errno.h: -------------------------------------------------------------------------------- 1 | sys/errno.h -------------------------------------------------------------------------------- /freebsd-headers/fcntl.h: -------------------------------------------------------------------------------- 1 | sys/fcntl.h -------------------------------------------------------------------------------- /freebsd-headers/fetch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/fetch.h -------------------------------------------------------------------------------- /freebsd-headers/float.h: -------------------------------------------------------------------------------- 1 | machine/float.h -------------------------------------------------------------------------------- /freebsd-headers/floatingpoint.h: -------------------------------------------------------------------------------- 1 | machine/floatingpoint.h -------------------------------------------------------------------------------- /freebsd-headers/fs/ntfs/ntfs_compr.h: -------------------------------------------------------------------------------- 1 | /* $NetBSD: ntfs_compr.h,v 1.3 1999/07/26 14:02:31 jdolecek Exp $ */ 2 | 3 | /*- 4 | * Copyright (c) 1998, 1999 Semen Ustimenko 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 1. Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * 2. Redistributions in binary form must reproduce the above copyright 13 | * notice, this list of conditions and the following disclaimer in the 14 | * documentation and/or other materials provided with the distribution. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 | * SUCH DAMAGE. 27 | * 28 | * $FreeBSD: release/9.0.0/sys/fs/ntfs/ntfs_compr.h 54095 1999-12-03 20:37:40Z semenu $ 29 | */ 30 | 31 | #define NTFS_COMPBLOCK_SIZE 0x1000 32 | #define NTFS_COMPUNIT_CL 16 33 | 34 | int ntfs_uncompblock(u_int8_t *, u_int8_t *); 35 | int ntfs_uncompunit(struct ntfsmount *, u_int8_t *, u_int8_t *); 36 | -------------------------------------------------------------------------------- /freebsd-headers/fs/udf/osta.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Prototypes for the OSTA functions 3 | * 4 | * $FreeBSD: release/9.0.0/sys/fs/udf/osta.h 162255 2006-09-12 19:02:34Z imp $ 5 | */ 6 | 7 | /*- 8 | ********************************************************************** 9 | * OSTA compliant Unicode compression, uncompression routines. 10 | * Copyright 1995 Micro Design International, Inc. 11 | * Written by Jason M. Rinn. 12 | * Micro Design International gives permission for the free use of the 13 | * following source code. 14 | */ 15 | 16 | /* 17 | * Various routines from the OSTA 2.01 specs. Copyrights are included with 18 | * each code segment. Slight whitespace modifications have been made for 19 | * formatting purposes. Typos/bugs have been fixed. 20 | */ 21 | 22 | #ifndef UNIX 23 | #define UNIX 24 | #endif 25 | 26 | #ifndef MAXLEN 27 | #define MAXLEN 255 28 | #endif 29 | 30 | /*********************************************************************** 31 | * The following two typedef's are to remove compiler dependancies. 32 | * byte needs to be unsigned 8-bit, and unicode_t needs to be 33 | * unsigned 16-bit. 34 | */ 35 | typedef unsigned short unicode_t; 36 | typedef unsigned char byte; 37 | 38 | int udf_UncompressUnicode(int, byte *, unicode_t *); 39 | int udf_UncompressUnicodeByte(int, byte *, byte *); 40 | int udf_CompressUnicode(int, int, unicode_t *, byte *); 41 | unsigned short udf_cksum(unsigned char *, int); 42 | unsigned short udf_unicode_cksum(unsigned short *, int); 43 | int UDFTransName(unicode_t *, unicode_t *, int); 44 | -------------------------------------------------------------------------------- /freebsd-headers/fs/udf/udf_mount.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2003 Ryuichiro Imura 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/fs/udf/udf_mount.h 122102 2003-11-05 06:56:08Z scottl $ 27 | */ 28 | 29 | #define UDFMNT_KICONV 0x00000001 30 | -------------------------------------------------------------------------------- /freebsd-headers/geom/eli/pkcs5v2.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2005 Pawel Jakub Dawidek 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/geom/eli/pkcs5v2.h 155174 2006-02-01 12:06:01Z pjd $ 27 | */ 28 | 29 | #ifndef _PKCS5V2_H_ 30 | #define _PKCS5V2_H_ 31 | void pkcs5v2_genkey(uint8_t *key, unsigned keylen, const uint8_t *salt, 32 | size_t saltsize, const char *passphrase, u_int iterations); 33 | #ifndef _KERNEL 34 | int pkcs5v2_calculate(int usecs); 35 | #endif 36 | #endif /* !_PKCS5V2_H_ */ 37 | -------------------------------------------------------------------------------- /freebsd-headers/gnuregex.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2004 David E. O'Brien 3 | * Copyright (c) 2004 Andrey A. Chernov 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 1. Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * 15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 | * SUCH DAMAGE. 26 | * 27 | * $FreeBSD: release/9.0.0/gnu/lib/libregex/gnuregex.h 126224 2004-02-25 10:56:54Z ache $ 28 | */ 29 | 30 | #ifdef __GNUC__ 31 | #warning "Use -I/usr/include/gnu and instead of " 32 | #endif 33 | #include 34 | -------------------------------------------------------------------------------- /freebsd-headers/gpib/gpib.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2005 Poul-Henning Kamp 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * This file merely redirects to the file in 27 | * 28 | * $FreeBSD: release/9.0.0/lib/libgpib/gpib.h 141768 2005-02-12 21:07:09Z phk $ 29 | */ 30 | 31 | #include 32 | 33 | #define ibcntl ibcnt 34 | -------------------------------------------------------------------------------- /freebsd-headers/gssapi.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/include/gssapi.h 153838 2005-12-29 14:40:22Z dfr $ */ 2 | #ifdef __GNUC__ 3 | #warning "this file includes which is deprecated, use instead" 4 | #endif 5 | #include 6 | -------------------------------------------------------------------------------- /freebsd-headers/gssapi/gssapi_krb5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/gssapi/gssapi_krb5.h -------------------------------------------------------------------------------- /freebsd-headers/hdb-private.h: -------------------------------------------------------------------------------- 1 | /* This is a generated file */ 2 | #ifndef __hdb_private_h__ 3 | #define __hdb_private_h__ 4 | 5 | #include 6 | 7 | krb5_error_code 8 | _hdb_fetch ( 9 | krb5_context /*context*/, 10 | HDB */*db*/, 11 | krb5_const_principal /*principal*/, 12 | unsigned /*flags*/, 13 | hdb_entry_ex */*entry*/); 14 | 15 | hdb_master_key 16 | _hdb_find_master_key ( 17 | uint32_t */*mkvno*/, 18 | hdb_master_key /*mkey*/); 19 | 20 | int 21 | _hdb_mkey_decrypt ( 22 | krb5_context /*context*/, 23 | hdb_master_key /*key*/, 24 | krb5_key_usage /*usage*/, 25 | void */*ptr*/, 26 | size_t /*size*/, 27 | krb5_data */*res*/); 28 | 29 | int 30 | _hdb_mkey_encrypt ( 31 | krb5_context /*context*/, 32 | hdb_master_key /*key*/, 33 | krb5_key_usage /*usage*/, 34 | const void */*ptr*/, 35 | size_t /*size*/, 36 | krb5_data */*res*/); 37 | 38 | int 39 | _hdb_mkey_version (hdb_master_key /*mkey*/); 40 | 41 | krb5_error_code 42 | _hdb_remove ( 43 | krb5_context /*context*/, 44 | HDB */*db*/, 45 | krb5_const_principal /*principal*/); 46 | 47 | krb5_error_code 48 | _hdb_store ( 49 | krb5_context /*context*/, 50 | HDB */*db*/, 51 | unsigned /*flags*/, 52 | hdb_entry_ex */*entry*/); 53 | 54 | #endif /* __hdb_private_h__ */ 55 | -------------------------------------------------------------------------------- /freebsd-headers/hdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/hdb.h -------------------------------------------------------------------------------- /freebsd-headers/hdb_err.h: -------------------------------------------------------------------------------- 1 | /* Generated from /usr/src/kerberos5/lib/libhdb/../../../crypto/heimdal/lib/hdb/hdb_err.et */ 2 | /* $Id: hdb_err.et 15878 2005-08-11 13:17:22Z lha $ */ 3 | 4 | #ifndef __hdb_err_h__ 5 | #define __hdb_err_h__ 6 | 7 | struct et_list; 8 | 9 | void initialize_hdb_error_table_r(struct et_list **); 10 | 11 | void initialize_hdb_error_table(void); 12 | #define init_hdb_err_tbl initialize_hdb_error_table 13 | 14 | typedef enum hdb_error_number{ 15 | HDB_ERR_UK_SERROR = 36150273, 16 | HDB_ERR_UK_RERROR = 36150274, 17 | HDB_ERR_NOENTRY = 36150275, 18 | HDB_ERR_DB_INUSE = 36150276, 19 | HDB_ERR_DB_CHANGED = 36150277, 20 | HDB_ERR_RECURSIVELOCK = 36150278, 21 | HDB_ERR_NOTLOCKED = 36150279, 22 | HDB_ERR_BADLOCKMODE = 36150280, 23 | HDB_ERR_CANT_LOCK_DB = 36150281, 24 | HDB_ERR_EXISTS = 36150282, 25 | HDB_ERR_BADVERSION = 36150283, 26 | HDB_ERR_NO_MKEY = 36150284, 27 | HDB_ERR_MANDATORY_OPTION = 36150285 28 | } hdb_error_number; 29 | 30 | #define ERROR_TABLE_BASE_hdb 36150272 31 | 32 | #endif /* __hdb_err_h__ */ 33 | -------------------------------------------------------------------------------- /freebsd-headers/heim_asn1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/heim_asn1.h -------------------------------------------------------------------------------- /freebsd-headers/heim_err.h: -------------------------------------------------------------------------------- 1 | /* Generated from /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/heim_err.et */ 2 | /* $Id: heim_err.et 13352 2004-02-13 16:23:40Z lha $ */ 3 | 4 | #ifndef __heim_err_h__ 5 | #define __heim_err_h__ 6 | 7 | struct et_list; 8 | 9 | void initialize_heim_error_table_r(struct et_list **); 10 | 11 | void initialize_heim_error_table(void); 12 | #define init_heim_err_tbl initialize_heim_error_table 13 | 14 | typedef enum heim_error_number{ 15 | HEIM_ERR_LOG_PARSE = -1980176640, 16 | HEIM_ERR_V4_PRINC_NO_CONV = -1980176639, 17 | HEIM_ERR_SALTTYPE_NOSUPP = -1980176638, 18 | HEIM_ERR_NOHOST = -1980176637, 19 | HEIM_ERR_OPNOTSUPP = -1980176636, 20 | HEIM_ERR_EOF = -1980176635, 21 | HEIM_ERR_BAD_MKEY = -1980176634, 22 | HEIM_ERR_SERVICE_NOMATCH = -1980176633, 23 | HEIM_PKINIT_NO_CERTIFICATE = -1980176576, 24 | HEIM_PKINIT_NO_PRIVATE_KEY = -1980176575, 25 | HEIM_PKINIT_NO_VALID_CA = -1980176574, 26 | HEIM_PKINIT_CERTIFICATE_INVALID = -1980176573, 27 | HEIM_PKINIT_PRIVATE_KEY_INVALID = -1980176572, 28 | HEIM_EAI_UNKNOWN = -1980176512, 29 | HEIM_EAI_ADDRFAMILY = -1980176511, 30 | HEIM_EAI_AGAIN = -1980176510, 31 | HEIM_EAI_BADFLAGS = -1980176509, 32 | HEIM_EAI_FAIL = -1980176508, 33 | HEIM_EAI_FAMILY = -1980176507, 34 | HEIM_EAI_MEMORY = -1980176506, 35 | HEIM_EAI_NODATA = -1980176505, 36 | HEIM_EAI_NONAME = -1980176504, 37 | HEIM_EAI_SERVICE = -1980176503, 38 | HEIM_EAI_SOCKTYPE = -1980176502, 39 | HEIM_EAI_SYSTEM = -1980176501 40 | } heim_error_number; 41 | 42 | #define ERROR_TABLE_BASE_heim -1980176640 43 | 44 | #endif /* __heim_err_h__ */ 45 | -------------------------------------------------------------------------------- /freebsd-headers/heim_threads.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/heim_threads.h -------------------------------------------------------------------------------- /freebsd-headers/heimntlm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/heimntlm.h -------------------------------------------------------------------------------- /freebsd-headers/hx509.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/hx509.h -------------------------------------------------------------------------------- /freebsd-headers/ieeefp.h: -------------------------------------------------------------------------------- 1 | /* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ 2 | /* $FreeBSD: release/9.0.0/include/ieeefp.h 109520 2003-01-19 06:01:33Z marcel $ */ 3 | 4 | /* 5 | * Written by J.T. Conklin, Apr 6, 1995 6 | * Public domain. 7 | */ 8 | 9 | #ifndef _IEEEFP_H_ 10 | #define _IEEEFP_H_ 11 | 12 | #include 13 | #include 14 | 15 | #if !defined(_IEEEFP_INLINED_) 16 | __BEGIN_DECLS 17 | extern fp_rnd_t fpgetround(void); 18 | extern fp_rnd_t fpsetround(fp_rnd_t); 19 | extern fp_except_t fpgetmask(void); 20 | extern fp_except_t fpsetmask(fp_except_t); 21 | extern fp_except_t fpgetsticky(void); 22 | extern fp_except_t fpsetsticky(fp_except_t); 23 | __END_DECLS 24 | #endif /* !_IEEEFP_INLINED_ */ 25 | 26 | #endif /* _IEEEFP_H_ */ 27 | -------------------------------------------------------------------------------- /freebsd-headers/iso646.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1998 Alex Nash 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/include/iso646.h 226036 2011-10-05 15:50:05Z jkim $ 27 | */ 28 | 29 | #ifndef _ISO646_H_ 30 | #define _ISO646_H_ 31 | 32 | #ifndef __cplusplus 33 | 34 | #define and && 35 | #define and_eq &= 36 | #define bitand & 37 | #define bitor | 38 | #define compl ~ 39 | #define not ! 40 | #define not_eq != 41 | #define or || 42 | #define or_eq |= 43 | #define xor ^ 44 | #define xor_eq ^= 45 | 46 | #endif /* !__cplusplus */ 47 | 48 | #endif /* !_ISO646_H_ */ 49 | -------------------------------------------------------------------------------- /freebsd-headers/k524_err.h: -------------------------------------------------------------------------------- 1 | /* Generated from /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/k524_err.et */ 2 | /* $Id: k524_err.et 10141 2001-06-20 02:45:58Z joda $ */ 3 | 4 | #ifndef __k524_err_h__ 5 | #define __k524_err_h__ 6 | 7 | struct et_list; 8 | 9 | void initialize_k524_error_table_r(struct et_list **); 10 | 11 | void initialize_k524_error_table(void); 12 | #define init_k524_err_tbl initialize_k524_error_table 13 | 14 | typedef enum k524_error_number{ 15 | KRB524_BADKEY = -1750206208, 16 | KRB524_BADADDR = -1750206207, 17 | KRB524_BADPRINC = -1750206206, 18 | KRB524_BADREALM = -1750206205, 19 | KRB524_V4ERR = -1750206204, 20 | KRB524_ENCFULL = -1750206203, 21 | KRB524_DECEMPTY = -1750206202, 22 | KRB524_NOTRESP = -1750206201 23 | } k524_error_number; 24 | 25 | #define ERROR_TABLE_BASE_k524 -1750206208 26 | 27 | #endif /* __k524_err_h__ */ 28 | -------------------------------------------------------------------------------- /freebsd-headers/kadm5/admin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/kadm5/admin.h -------------------------------------------------------------------------------- /freebsd-headers/kadm5/private.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/kadm5/private.h -------------------------------------------------------------------------------- /freebsd-headers/kafs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/kafs.h -------------------------------------------------------------------------------- /freebsd-headers/kenv.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2002 Maxime Henrion 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/include/kenv.h 152750 2005-11-24 07:20:26Z ru $ 27 | */ 28 | 29 | #ifndef _KENV_H_ 30 | #define _KENV_H_ 31 | 32 | #include 33 | #include 34 | 35 | __BEGIN_DECLS 36 | int kenv(int, const char *, char *, int); 37 | __END_DECLS 38 | 39 | #endif /* !_KENV_H_ */ 40 | -------------------------------------------------------------------------------- /freebsd-headers/krb5-types.h: -------------------------------------------------------------------------------- 1 | /* krb5-types.h -- this file was generated for i386-unknown-freebsd5.0 by 2 | $Id: bits.c,v 1.22 2002/08/28 16:08:44 joda Exp $ */ 3 | 4 | /* $FreeBSD: release/9.0.0/kerberos5/include/krb5-types.h 102649 2002-08-30 21:33:20Z nectar $ */ 5 | 6 | #ifndef __krb5_types_h__ 7 | #define __krb5_types_h__ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | typedef socklen_t krb5_socklen_t; 14 | #include 15 | typedef ssize_t krb5_ssize_t; 16 | 17 | #endif /* __krb5_types_h__ */ 18 | -------------------------------------------------------------------------------- /freebsd-headers/krb5-v4compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/krb5-v4compat.h -------------------------------------------------------------------------------- /freebsd-headers/krb5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/krb5.h -------------------------------------------------------------------------------- /freebsd-headers/link.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1993 Paul Kranenburg 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 3. All advertising materials mentioning features or use of this software 14 | * must display the following acknowledgement: 15 | * This product includes software developed by Paul Kranenburg. 16 | * 4. The name of the author may not be used to endorse or promote products 17 | * derived from this software without specific prior written permission 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | * 30 | * $FreeBSD: release/9.0.0/include/link.h 103436 2002-09-17 01:49:00Z peter $ 31 | */ 32 | 33 | #include 34 | -------------------------------------------------------------------------------- /freebsd-headers/linker_set.h: -------------------------------------------------------------------------------- 1 | sys/linker_set.h -------------------------------------------------------------------------------- /freebsd-headers/lwres/int.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC") 3 | * Copyright (C) 2000, 2001 Internet Software Consortium. 4 | * 5 | * Permission to use, copy, modify, and/or distribute this software for any 6 | * purpose with or without fee is hereby granted, provided that the above 7 | * copyright notice and this permission notice appear in all copies. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 | * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 | * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 | * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | * PERFORMANCE OF THIS SOFTWARE. 16 | */ 17 | 18 | /* $Id: int.h,v 1.14 2007-06-19 23:47:23 tbox Exp $ */ 19 | 20 | #ifndef LWRES_INT_H 21 | #define LWRES_INT_H 1 22 | 23 | /*! \file lwres/int.h */ 24 | 25 | typedef char lwres_int8_t; 26 | typedef unsigned char lwres_uint8_t; 27 | typedef short lwres_int16_t; 28 | typedef unsigned short lwres_uint16_t; 29 | typedef int lwres_int32_t; 30 | typedef unsigned int lwres_uint32_t; 31 | typedef long long lwres_int64_t; 32 | typedef unsigned long long lwres_uint64_t; 33 | 34 | #endif /* LWRES_INT_H */ 35 | -------------------------------------------------------------------------------- /freebsd-headers/lwres/lang.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC") 3 | * Copyright (C) 2000, 2001 Internet Software Consortium. 4 | * 5 | * Permission to use, copy, modify, and/or distribute this software for any 6 | * purpose with or without fee is hereby granted, provided that the above 7 | * copyright notice and this permission notice appear in all copies. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 | * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 | * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 | * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | * PERFORMANCE OF THIS SOFTWARE. 16 | */ 17 | 18 | /* $Id: lang.h,v 1.13 2007-06-19 23:47:23 tbox Exp $ */ 19 | 20 | #ifndef LWRES_LANG_H 21 | #define LWRES_LANG_H 1 22 | 23 | /*! \file lwres/lang.h */ 24 | 25 | #ifdef __cplusplus 26 | #define LWRES_LANG_BEGINDECLS extern "C" { 27 | #define LWRES_LANG_ENDDECLS } 28 | #else 29 | #define LWRES_LANG_BEGINDECLS 30 | #define LWRES_LANG_ENDDECLS 31 | #endif 32 | 33 | #endif /* LWRES_LANG_H */ 34 | -------------------------------------------------------------------------------- /freebsd-headers/lwres/result.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC") 3 | * Copyright (C) 2000, 2001 Internet Software Consortium. 4 | * 5 | * Permission to use, copy, modify, and/or distribute this software for any 6 | * purpose with or without fee is hereby granted, provided that the above 7 | * copyright notice and this permission notice appear in all copies. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 | * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 | * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 | * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | * PERFORMANCE OF THIS SOFTWARE. 16 | */ 17 | 18 | /* $Id: result.h,v 1.21 2007-06-19 23:47:23 tbox Exp $ */ 19 | 20 | #ifndef LWRES_RESULT_H 21 | #define LWRES_RESULT_H 1 22 | 23 | /*! \file lwres/result.h */ 24 | 25 | typedef unsigned int lwres_result_t; 26 | 27 | #define LWRES_R_SUCCESS 0 28 | #define LWRES_R_NOMEMORY 1 29 | #define LWRES_R_TIMEOUT 2 30 | #define LWRES_R_NOTFOUND 3 31 | #define LWRES_R_UNEXPECTEDEND 4 /* unexpected end of input */ 32 | #define LWRES_R_FAILURE 5 /* generic failure */ 33 | #define LWRES_R_IOERROR 6 34 | #define LWRES_R_NOTIMPLEMENTED 7 35 | #define LWRES_R_UNEXPECTED 8 36 | #define LWRES_R_TRAILINGDATA 9 37 | #define LWRES_R_INCOMPLETE 10 38 | #define LWRES_R_RETRY 11 39 | #define LWRES_R_TYPENOTFOUND 12 40 | #define LWRES_R_TOOLARGE 13 41 | 42 | #endif /* LWRES_RESULT_H */ 43 | -------------------------------------------------------------------------------- /freebsd-headers/lwres/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC") 3 | * Copyright (C) 2001 Internet Software Consortium. 4 | * 5 | * Permission to use, copy, modify, and/or distribute this software for any 6 | * purpose with or without fee is hereby granted, provided that the above 7 | * copyright notice and this permission notice appear in all copies. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 10 | * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 | * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 14 | * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | * PERFORMANCE OF THIS SOFTWARE. 16 | */ 17 | 18 | /* $Id: version.h,v 1.9 2007-06-19 23:47:23 tbox Exp $ */ 19 | 20 | /*! \file lwres/version.h */ 21 | 22 | #include 23 | 24 | LIBLWRES_EXTERNAL_DATA extern const char lwres_version[]; 25 | 26 | LIBLWRES_EXTERNAL_DATA extern const unsigned int lwres_libinterface; 27 | LIBLWRES_EXTERNAL_DATA extern const unsigned int lwres_librevision; 28 | LIBLWRES_EXTERNAL_DATA extern const unsigned int lwres_libage; 29 | -------------------------------------------------------------------------------- /freebsd-headers/machine/_align.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * This file is in the public domain. 3 | */ 4 | /* $FreeBSD: release/9.0.0/sys/amd64/include/_align.h 215856 2010-11-26 10:59:20Z tijl $ */ 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /freebsd-headers/machine/_inttypes.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * This file is in the public domain. 3 | */ 4 | /* $FreeBSD: release/9.0.0/sys/amd64/include/_inttypes.h 217157 2011-01-08 18:09:48Z tijl $ */ 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /freebsd-headers/machine/apm_bios.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * This file is in the public domain. 3 | */ 4 | /* $FreeBSD: release/9.0.0/sys/amd64/include/apm_bios.h 215140 2010-11-11 19:36:21Z jkim $ */ 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /freebsd-headers/machine/bus.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * This file is in the public domain. 3 | */ 4 | /* $FreeBSD: release/9.0.0/sys/amd64/include/bus.h 216592 2010-12-20 16:39:43Z tijl $ */ 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /freebsd-headers/machine/bus_dma.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2005 Scott Long 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/amd64/include/bus_dma.h 148275 2005-07-22 04:03:25Z obrien $ 27 | */ 28 | 29 | #ifndef _AMD64_BUS_DMA_H_ 30 | #define _AMD64_BUS_DMA_H_ 31 | 32 | #include 33 | 34 | #endif /* _AMD64_BUS_DMA_H_ */ 35 | -------------------------------------------------------------------------------- /freebsd-headers/machine/clock.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Kernel interface to machine-dependent clock driver. 3 | * Garrett Wollman, September 1994. 4 | * This file is in the public domain. 5 | * 6 | * $FreeBSD: release/9.0.0/sys/amd64/include/clock.h 221703 2011-05-09 17:34:00Z jkim $ 7 | */ 8 | 9 | #ifndef _MACHINE_CLOCK_H_ 10 | #define _MACHINE_CLOCK_H_ 11 | 12 | #ifdef _KERNEL 13 | /* 14 | * i386 to clock driver interface. 15 | * XXX large parts of the driver and its interface are misplaced. 16 | */ 17 | extern int clkintr_pending; 18 | extern u_int i8254_freq; 19 | extern int i8254_max_count; 20 | extern uint64_t tsc_freq; 21 | extern int tsc_is_invariant; 22 | extern int tsc_perf_stat; 23 | 24 | void i8254_init(void); 25 | 26 | /* 27 | * Driver to clock driver interface. 28 | */ 29 | 30 | void startrtclock(void); 31 | void init_TSC(void); 32 | 33 | #define HAS_TIMER_SPKR 1 34 | int timer_spkr_acquire(void); 35 | int timer_spkr_release(void); 36 | void timer_spkr_setfreq(int freq); 37 | 38 | #endif /* _KERNEL */ 39 | 40 | #endif /* !_MACHINE_CLOCK_H_ */ 41 | -------------------------------------------------------------------------------- /freebsd-headers/machine/memdev.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2004 Mark R V Murray 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer 10 | * in this position and unchanged. 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * 15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 16 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/amd64/include/memdev.h 217515 2011-01-17 22:58:28Z jkim $ 27 | */ 28 | 29 | #ifndef _MACHINE_MEMDEV_H_ 30 | #define _MACHINE_MEMDEV_H_ 31 | 32 | #define CDEV_MINOR_MEM 0 33 | #define CDEV_MINOR_KMEM 1 34 | 35 | d_open_t memopen; 36 | d_read_t memrw; 37 | d_ioctl_t memioctl; 38 | d_mmap_t memmmap; 39 | 40 | #endif /* _MACHINE_MEMDEV_H_ */ 41 | -------------------------------------------------------------------------------- /freebsd-headers/machine/metadata.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2003 Peter Wemm 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/amd64/include/metadata.h 191111 2009-04-15 17:31:22Z jkim $ 27 | */ 28 | 29 | #ifndef _MACHINE_METADATA_H_ 30 | #define _MACHINE_METADATA_H_ 31 | 32 | #define MODINFOMD_SMAP 0x1001 33 | #define MODINFOMD_SMAP_XATTR 0x1002 34 | 35 | #endif /* !_MACHINE_METADATA_H_ */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/machine/mp_watchdog.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2004 Robert N. M. Watson 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/amd64/include/mp_watchdog.h 133759 2004-08-15 18:02:09Z rwatson $ 27 | */ 28 | 29 | #ifndef _MACHINE_MP_WATCHDOG_H_ 30 | #define _MACHINE_MP_WATCHDOG_H_ 31 | 32 | void ap_watchdog(u_int cpuid); 33 | 34 | #endif /* !_MACHINE_MP_WATCHDOG_H_ */ 35 | -------------------------------------------------------------------------------- /freebsd-headers/machine/pc/display.h: -------------------------------------------------------------------------------- 1 | /* 2 | * IBM PC display definitions 3 | * 4 | * $FreeBSD: release/9.0.0/sys/amd64/include/pc/display.h 139730 2005-01-05 20:11:13Z imp $ 5 | */ 6 | 7 | /* Color attributes for foreground text */ 8 | 9 | #define FG_BLACK 0 10 | #define FG_BLUE 1 11 | #define FG_GREEN 2 12 | #define FG_CYAN 3 13 | #define FG_RED 4 14 | #define FG_MAGENTA 5 15 | #define FG_BROWN 6 16 | #define FG_LIGHTGREY 7 17 | #define FG_DARKGREY 8 18 | #define FG_LIGHTBLUE 9 19 | #define FG_LIGHTGREEN 10 20 | #define FG_LIGHTCYAN 11 21 | #define FG_LIGHTRED 12 22 | #define FG_LIGHTMAGENTA 13 23 | #define FG_YELLOW 14 24 | #define FG_WHITE 15 25 | #define FG_BLINK 0x80 26 | 27 | /* Color attributes for text background */ 28 | 29 | #define BG_BLACK 0x00 30 | #define BG_BLUE 0x10 31 | #define BG_GREEN 0x20 32 | #define BG_CYAN 0x30 33 | #define BG_RED 0x40 34 | #define BG_MAGENTA 0x50 35 | #define BG_BROWN 0x60 36 | #define BG_LIGHTGREY 0x70 37 | 38 | /* Monochrome attributes for foreground text */ 39 | 40 | #define FG_UNDERLINE 0x01 41 | #define FG_INTENSE 0x08 42 | 43 | /* Monochrome attributes for text background */ 44 | 45 | #define BG_INTENSE 0x10 46 | -------------------------------------------------------------------------------- /freebsd-headers/machine/pci_cfgreg.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * This file is in the public domain. 3 | */ 4 | /* $FreeBSD: release/9.0.0/sys/amd64/include/pci_cfgreg.h 223440 2011-06-22 21:04:13Z jhb $ */ 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /freebsd-headers/machine/ptrace.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1992, 1993 3 | * The Regents of the University of California. All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 4. Neither the name of the University nor the names of its contributors 14 | * may be used to endorse or promote products derived from this software 15 | * without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 | * SUCH DAMAGE. 28 | * 29 | * @(#)ptrace.h 8.1 (Berkeley) 6/11/93 30 | * $FreeBSD: release/9.0.0/sys/amd64/include/ptrace.h 139731 2005-01-05 20:17:21Z imp $ 31 | */ 32 | 33 | #ifndef _MACHINE_PTRACE_H_ 34 | #define _MACHINE_PTRACE_H_ 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /freebsd-headers/machine/stack.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Mach Operating System 3 | * Copyright (c) 1991,1990 Carnegie Mellon University 4 | * All Rights Reserved. 5 | * 6 | * Permission to use, copy, modify and distribute this software and its 7 | * documentation is hereby granted, provided that both the copyright 8 | * notice and this permission notice appear in all copies of the 9 | * software, derivative works or modified versions, and any portions 10 | * thereof, and that both notices appear in supporting documentation. 11 | * 12 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS 13 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR 14 | * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 15 | * 16 | * Carnegie Mellon requests users of this software to return to 17 | * 18 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 | * School of Computer Science 20 | * Carnegie Mellon University 21 | * Pittsburgh PA 15213-3890 22 | * 23 | * any improvements or extensions that they make and grant Carnegie the 24 | * rights to redistribute these changes. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/amd64/include/stack.h 179886 2008-06-20 05:22:09Z alc $ 27 | */ 28 | 29 | #ifndef _MACHINE_STACK_H_ 30 | #define _MACHINE_STACK_H_ 31 | 32 | /* 33 | * Stack trace. 34 | */ 35 | #define INKERNEL(va) (((va) >= DMAP_MIN_ADDRESS && (va) < DMAP_MAX_ADDRESS) \ 36 | || ((va) >= VM_MIN_KERNEL_ADDRESS && (va) < VM_MAX_KERNEL_ADDRESS)) 37 | 38 | struct amd64_frame { 39 | struct amd64_frame *f_frame; 40 | long f_retaddr; 41 | long f_arg0; 42 | }; 43 | 44 | #endif /* !_MACHINE_STACK_H_ */ 45 | -------------------------------------------------------------------------------- /freebsd-headers/malloc.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/include/malloc.h 86178 2001-11-07 23:14:31Z obrien $ */ 2 | #if __STDC__ 3 | #error " has been replaced by " 4 | #else 5 | #include 6 | #endif 7 | -------------------------------------------------------------------------------- /freebsd-headers/malloc_np.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (C) 2006 Jason Evans . 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice(s), this list of conditions and the following disclaimer as 10 | * the first lines of this file unmodified other than the possible 11 | * addition of one or more copyright notices. 12 | * 2. Redistributions in binary form must reproduce the above copyright 13 | * notice(s), this list of conditions and the following disclaimer in 14 | * the documentation and/or other materials provided with the 15 | * distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY 18 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE 21 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 27 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | * 29 | * $FreeBSD: release/9.0.0/include/malloc_np.h 160056 2006-06-30 20:57:41Z jasone $ 30 | */ 31 | 32 | #ifndef _MALLOC_NP_H_ 33 | #define _MALLOC_NP_H_ 34 | #include 35 | #include 36 | 37 | __BEGIN_DECLS 38 | size_t malloc_usable_size(const void *ptr); 39 | __END_DECLS 40 | 41 | #endif /* _MALLOC_NP_H_ */ 42 | -------------------------------------------------------------------------------- /freebsd-headers/md2.h: -------------------------------------------------------------------------------- 1 | /* MD2.H - header file for MD2C.C 2 | * $FreeBSD: release/9.0.0/lib/libmd/md2.h 154479 2006-01-17 15:35:57Z phk $ 3 | */ 4 | 5 | /* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All 6 | rights reserved. 7 | 8 | License to copy and use this software is granted for 9 | non-commercial Internet Privacy-Enhanced Mail provided that it is 10 | identified as the "RSA Data Security, Inc. MD2 Message Digest 11 | Algorithm" in all material mentioning or referencing this software 12 | or this function. 13 | 14 | RSA Data Security, Inc. makes no representations concerning either 15 | the merchantability of this software or the suitability of this 16 | software for any particular purpose. It is provided "as is" 17 | without express or implied warranty of any kind. 18 | 19 | These notices must be retained in any copies of any part of this 20 | documentation and/or software. 21 | */ 22 | 23 | #ifndef _MD2_H_ 24 | #define _MD2_H_ 25 | 26 | typedef struct MD2Context { 27 | unsigned char state[16]; /* state */ 28 | unsigned char checksum[16]; /* checksum */ 29 | unsigned int count; /* number of bytes, modulo 16 */ 30 | unsigned char buffer[16]; /* input buffer */ 31 | } MD2_CTX; 32 | 33 | #include 34 | 35 | __BEGIN_DECLS 36 | void MD2Init(MD2_CTX *); 37 | void MD2Update(MD2_CTX *, const void *, unsigned int); 38 | void MD2Pad(MD2_CTX *); 39 | void MD2Final(unsigned char [16], MD2_CTX *); 40 | char * MD2End(MD2_CTX *, char *); 41 | char * MD2File(const char *, char *); 42 | char * MD2FileChunk(const char *, char *, off_t, off_t); 43 | char * MD2Data(const void *, unsigned int, char *); 44 | __END_DECLS 45 | 46 | #endif /* _MD2_H_ */ 47 | -------------------------------------------------------------------------------- /freebsd-headers/md4.h: -------------------------------------------------------------------------------- 1 | /* MD4.H - header file for MD4C.C 2 | * $FreeBSD: release/9.0.0/lib/libmd/md4.h 154479 2006-01-17 15:35:57Z phk $ 3 | */ 4 | 5 | /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All 6 | rights reserved. 7 | 8 | License to copy and use this software is granted provided that it 9 | is identified as the "RSA Data Security, Inc. MD4 Message-Digest 10 | Algorithm" in all material mentioning or referencing this software 11 | or this function. 12 | License is also granted to make and use derivative works provided 13 | that such works are identified as "derived from the RSA Data 14 | Security, Inc. MD4 Message-Digest Algorithm" in all material 15 | mentioning or referencing the derived work. 16 | 17 | RSA Data Security, Inc. makes no representations concerning either 18 | the merchantability of this software or the suitability of this 19 | software for any particular purpose. It is provided "as is" 20 | without express or implied warranty of any kind. 21 | 22 | These notices must be retained in any copies of any part of this 23 | documentation and/or software. 24 | */ 25 | 26 | #ifndef _MD4_H_ 27 | #define _MD4_H_ 28 | /* MD4 context. */ 29 | typedef struct MD4Context { 30 | u_int32_t state[4]; /* state (ABCD) */ 31 | u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ 32 | unsigned char buffer[64]; /* input buffer */ 33 | } MD4_CTX; 34 | 35 | #include 36 | 37 | __BEGIN_DECLS 38 | void MD4Init(MD4_CTX *); 39 | void MD4Update(MD4_CTX *, const void *, unsigned int); 40 | void MD4Pad(MD4_CTX *); 41 | void MD4Final(unsigned char [16], MD4_CTX *); 42 | char * MD4End(MD4_CTX *, char *); 43 | char * MD4File(const char *, char *); 44 | char * MD4FileChunk(const char *, char *, off_t, off_t); 45 | char * MD4Data(const void *, unsigned int, char *); 46 | __END_DECLS 47 | 48 | #endif /* _MD4_H_ */ 49 | -------------------------------------------------------------------------------- /freebsd-headers/md5.h: -------------------------------------------------------------------------------- 1 | #ifndef _MD5_H_ 2 | #define _MD5_H_ 3 | #include 4 | #endif /* _MD5_H_ */ 5 | -------------------------------------------------------------------------------- /freebsd-headers/memory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1988, 1993 3 | * The Regents of the University of California. All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 3. Neither the name of the University nor the names of its contributors 14 | * may be used to endorse or promote products derived from this software 15 | * without specific prior written permission. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 | * SUCH DAMAGE. 28 | * 29 | * @(#)memory.h 8.1 (Berkeley) 6/2/93 30 | * 31 | * $FreeBSD: release/9.0.0/include/memory.h 203964 2010-02-16 19:39:50Z imp $ 32 | */ 33 | 34 | #include 35 | -------------------------------------------------------------------------------- /freebsd-headers/mp.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/lib/libmp/mp.h 189092 2009-02-26 21:43:15Z ed $ */ 2 | 3 | #ifndef _MP_H_ 4 | #define _MP_H_ 5 | 6 | #ifndef HEADER_BN_H_ 7 | #include 8 | #endif 9 | 10 | typedef struct _mint { 11 | BIGNUM *bn; 12 | } MINT; 13 | 14 | void mp_gcd(const MINT *, const MINT *, MINT *); 15 | MINT *mp_itom(short); 16 | void mp_madd(const MINT *, const MINT *, MINT *); 17 | int mp_mcmp(const MINT *, const MINT *); 18 | void mp_mdiv(const MINT *, const MINT *, MINT *, MINT *); 19 | void mp_mfree(MINT *); 20 | void mp_min(MINT *); 21 | void mp_mout(const MINT *); 22 | void mp_move(const MINT *, MINT *); 23 | void mp_msqrt(const MINT *, MINT *, MINT *); 24 | void mp_msub(const MINT *, const MINT *, MINT *); 25 | char *mp_mtox(const MINT *); 26 | void mp_mult(const MINT *, const MINT *, MINT *); 27 | void mp_pow(const MINT *, const MINT *, const MINT *, MINT *); 28 | void mp_rpow(const MINT *, short, MINT *); 29 | void mp_sdiv(const MINT *, short, MINT *, short *); 30 | MINT *mp_xtom(const char *); 31 | 32 | #endif /* !_MP_H_ */ 33 | -------------------------------------------------------------------------------- /freebsd-headers/ncurses.h: -------------------------------------------------------------------------------- 1 | curses.h -------------------------------------------------------------------------------- /freebsd-headers/net/if_enc.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2008 The FreeBSD Project. 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 9 | * 1. Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * 15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 | * SUCH DAMAGE. 26 | * 27 | * $FreeBSD: release/9.0.0/sys/net/if_enc.h 181627 2008-08-12 09:05:01Z vanhu $ 28 | */ 29 | 30 | #ifndef _NET_IF_ENC_H 31 | #define _NET_IF_ENC_H 32 | 33 | extern struct ifnet *encif; 34 | 35 | #endif /* _NET_IF_ENC_H */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/net/if_tun.h: -------------------------------------------------------------------------------- 1 | /* $NetBSD: if_tun.h,v 1.5 1994/06/29 06:36:27 cgd Exp $ */ 2 | 3 | /*- 4 | * Copyright (c) 1988, Julian Onions 5 | * Nottingham University 1987. 6 | * 7 | * This source may be freely distributed, however I would be interested 8 | * in any changes that are made. 9 | * 10 | * This driver takes packets off the IP i/f and hands them up to a 11 | * user process to have its wicked way with. This driver has it's 12 | * roots in a similar driver written by Phil Cockcroft (formerly) at 13 | * UCL. This driver is based much more on read/write/select mode of 14 | * operation though. 15 | * 16 | * $FreeBSD: release/9.0.0/sys/net/if_tun.h 139823 2005-01-07 01:45:51Z imp $ 17 | */ 18 | 19 | #ifndef _NET_IF_TUN_H_ 20 | #define _NET_IF_TUN_H_ 21 | 22 | /* Refer to if_tunvar.h for the softc stuff */ 23 | 24 | /* Maximum transmit packet size (default) */ 25 | #define TUNMTU 1500 26 | 27 | /* Maximum receive packet size (hard limit) */ 28 | #define TUNMRU 16384 29 | 30 | struct tuninfo { 31 | int baudrate; /* linespeed */ 32 | short mtu; /* maximum transmission unit */ 33 | u_char type; /* ethernet, tokenring, etc. */ 34 | u_char dummy; /* place holder */ 35 | }; 36 | 37 | /* ioctl's for get/set debug */ 38 | #define TUNSDEBUG _IOW('t', 90, int) 39 | #define TUNGDEBUG _IOR('t', 89, int) 40 | #define TUNSIFINFO _IOW('t', 91, struct tuninfo) 41 | #define TUNGIFINFO _IOR('t', 92, struct tuninfo) 42 | #define TUNSLMODE _IOW('t', 93, int) 43 | #define TUNSIFMODE _IOW('t', 94, int) 44 | #define TUNSIFPID _IO('t', 95) 45 | #define TUNSIFHEAD _IOW('t', 96, int) 46 | #define TUNGIFHEAD _IOR('t', 97, int) 47 | 48 | #endif /* !_NET_IF_TUN_H_ */ 49 | -------------------------------------------------------------------------------- /freebsd-headers/net80211/ieee80211_adhoc.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | * 25 | * $FreeBSD: release/9.0.0/sys/net80211/ieee80211_adhoc.h 178354 2008-04-20 20:35:46Z sam $ 26 | */ 27 | #ifndef _NET80211_IEEE80211_ADHOC_H_ 28 | #define _NET80211_IEEE80211_ADHOC_H_ 29 | 30 | /* 31 | * Adhoc-mode (ibss+ahdemo) implementation definitions. 32 | */ 33 | void ieee80211_adhoc_attach(struct ieee80211com *); 34 | void ieee80211_adhoc_detach(struct ieee80211com *); 35 | #endif /* !_NET80211_IEEE80211_STA_H_ */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/net80211/ieee80211_hostap.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | * 25 | * $FreeBSD: release/9.0.0/sys/net80211/ieee80211_hostap.h 178354 2008-04-20 20:35:46Z sam $ 26 | */ 27 | #ifndef _NET80211_IEEE80211_HOSTAP_H_ 28 | #define _NET80211_IEEE80211_HOSTAP_H_ 29 | 30 | /* 31 | * Hostap implementation definitions. 32 | */ 33 | void ieee80211_hostap_attach(struct ieee80211com *); 34 | void ieee80211_hostap_detach(struct ieee80211com *); 35 | #endif /* !_NET80211_IEEE80211_HOSTAP_H_ */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/net80211/ieee80211_monitor.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | * 25 | * $FreeBSD: release/9.0.0/sys/net80211/ieee80211_monitor.h 178354 2008-04-20 20:35:46Z sam $ 26 | */ 27 | #ifndef _NET80211_IEEE80211_MONITOR_H_ 28 | #define _NET80211_IEEE80211_MONITOR_H_ 29 | 30 | /* 31 | * Monitor implementation definitions. 32 | */ 33 | void ieee80211_monitor_attach(struct ieee80211com *); 34 | void ieee80211_monitor_detach(struct ieee80211com *); 35 | #endif /* !_NET80211_IEEE80211_MONITOR_H_ */ 36 | -------------------------------------------------------------------------------- /freebsd-headers/net80211/ieee80211_sta.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | * 25 | * $FreeBSD: release/9.0.0/sys/net80211/ieee80211_sta.h 178354 2008-04-20 20:35:46Z sam $ 26 | */ 27 | #ifndef _NET80211_IEEE80211_STA_H_ 28 | #define _NET80211_IEEE80211_STA_H_ 29 | 30 | /* 31 | * Station-mode implementation definitions. 32 | */ 33 | void ieee80211_sta_attach(struct ieee80211com *); 34 | void ieee80211_sta_detach(struct ieee80211com *); 35 | void ieee80211_sta_vattach(struct ieee80211vap *); 36 | #endif /* !_NET80211_IEEE80211_STA_H_ */ 37 | -------------------------------------------------------------------------------- /freebsd-headers/netatalk/endian.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1990,1991 Regents of The University of Michigan. 3 | * All Rights Reserved. 4 | * 5 | * Permission to use, copy, modify, and distribute this software and 6 | * its documentation for any purpose and without fee is hereby granted, 7 | * provided that the above copyright notice appears in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation, and that the name of The University 10 | * of Michigan not be used in advertising or publicity pertaining to 11 | * distribution of the software without specific, written prior 12 | * permission. This software is supplied as is without expressed or 13 | * implied warranties of any kind. 14 | * 15 | * Research Systems Unix Group 16 | * The University of Michigan 17 | * c/o Mike Clark 18 | * 535 W. William Street 19 | * Ann Arbor, Michigan 20 | * +1-313-763-0525 21 | * netatalk@itd.umich.edu 22 | * 23 | * $FreeBSD: release/9.0.0/sys/netatalk/endian.h 139827 2005-01-07 02:35:34Z imp $ 24 | */ 25 | 26 | #ifndef _ATALK_ENDIAN_H_ 27 | #define _ATALK_ENDIAN_H_ 28 | 29 | #include 30 | 31 | #endif /* !_ATALK_ENDIAN_H_ */ 32 | -------------------------------------------------------------------------------- /freebsd-headers/netatalk/phase2.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1990,1991 Regents of The University of Michigan. 3 | * All Rights Reserved. 4 | * 5 | * Permission to use, copy, modify, and distribute this software and 6 | * its documentation for any purpose and without fee is hereby granted, 7 | * provided that the above copyright notice appears in all copies and 8 | * that both that copyright notice and this permission notice appear 9 | * in supporting documentation, and that the name of The University 10 | * of Michigan not be used in advertising or publicity pertaining to 11 | * distribution of the software without specific, written prior 12 | * permission. This software is supplied as is without expressed or 13 | * implied warranties of any kind. 14 | * 15 | * This product includes software developed by the University of 16 | * California, Berkeley and its contributors. 17 | * 18 | * Research Systems Unix Group 19 | * The University of Michigan 20 | * c/o Wesley Craig 21 | * 535 W. William Street 22 | * Ann Arbor, Michigan 23 | * +1-313-764-2278 24 | * netatalk@umich.edu 25 | * $FreeBSD: release/9.0.0/sys/netatalk/phase2.h 139827 2005-01-07 02:35:34Z imp $ 26 | */ 27 | 28 | #include 29 | 30 | #define llc_org_code llc_un.type_snap.org_code 31 | #define llc_ether_type llc_un.type_snap.ether_type 32 | 33 | #define SIOCPHASE1 _IOW('i', 100, struct ifreq) /* AppleTalk phase 1 */ 34 | #define SIOCPHASE2 _IOW('i', 101, struct ifreq) /* AppleTalk phase 2 */ 35 | -------------------------------------------------------------------------------- /freebsd-headers/netgraph/ng_hub.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2004 Ruslan Ermilov 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/netgraph/ng_hub.h 207680 2010-05-05 22:06:05Z zec $ 27 | */ 28 | 29 | #ifndef _NETGRAPH_NG_HUB_H_ 30 | #define _NETGRAPH_NG_HUB_H_ 31 | 32 | /* Node type name and magic cookie. */ 33 | #define NG_HUB_NODE_TYPE "hub" 34 | #define NGM_HUB_COOKIE 1082189597 35 | 36 | /* Netgraph control messages */ 37 | enum { 38 | NGM_HUB_SET_PERSISTENT = 1, /* set persistent mode */ 39 | }; 40 | 41 | #endif /* _NETGRAPH_NG_HUB_H_ */ 42 | -------------------------------------------------------------------------------- /freebsd-headers/netgraph/ng_ipfw.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright 2005, Gleb Smirnoff 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/netgraph/ng_ipfw.h 201124 2009-12-28 12:29:13Z luigi $ 27 | */ 28 | 29 | #ifndef _NG_IPFW_H 30 | #define _NG_IPFW_H 31 | #define NG_IPFW_NODE_TYPE "ipfw" 32 | #define NGM_IPFW_COOKIE 1105988990 33 | #endif /* _NG_IPFW_H */ 34 | -------------------------------------------------------------------------------- /freebsd-headers/netgraph/ng_sppp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ng_sppp.h Netgraph to Sppp module. 3 | */ 4 | 5 | /*- 6 | * Copyright (C) 2002-2004 Cronyx Engineering. 7 | * Copyright (C) 2002-2004 Roman Kurakin 8 | * 9 | * This software is distributed with NO WARRANTIES, not even the implied 10 | * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 | * 12 | * Authors grant any other persons or organisations a permission to use, 13 | * modify and redistribute this software in source and binary forms, 14 | * as long as this message is kept with the software, all derivative 15 | * works or modified versions. 16 | * 17 | * $FreeBSD: release/9.0.0/sys/netgraph/ng_sppp.h 141197 2005-02-03 13:03:31Z ru $ 18 | * Cronyx Id: ng_sppp.h,v 1.1.2.6 2004/03/01 15:17:21 rik Exp $ 19 | */ 20 | 21 | #ifndef _NETGRAPH_SPPP_H_ 22 | #define _NETGRAPH_SPPP_H_ 23 | 24 | /* Node type name and magic cookie */ 25 | #define NG_SPPP_NODE_TYPE "sppp" 26 | #define NGM_SPPP_COOKIE 1040804655 27 | 28 | /* Interface base name */ 29 | #define NG_SPPP_IFACE_NAME "sppp" 30 | 31 | /* My hook names */ 32 | #define NG_SPPP_HOOK_DOWNSTREAM "downstream" 33 | 34 | /* Netgraph commands */ 35 | enum { 36 | NGM_SPPP_GET_IFNAME = 1, /* returns struct ng_sppp_ifname */ 37 | }; 38 | 39 | #endif /* _NETGRAPH_SPPP_H_ */ 40 | -------------------------------------------------------------------------------- /freebsd-headers/netinet/ip_gre.h: -------------------------------------------------------------------------------- 1 | /* $NetBSD: ip_gre.h,v 1.5 2002/06/09 16:33:40 itojun Exp $ */ 2 | /* $FreeBSD: release/9.0.0/sys/netinet/ip_gre.h 204522 2010-03-01 17:05:46Z joel $ */ 3 | 4 | /*- 5 | * Copyright (c) 1998 The NetBSD Foundation, Inc. 6 | * All rights reserved. 7 | * 8 | * This code is derived from software contributed to The NetBSD Foundation 9 | * by Heiko W.Rupp 10 | * 11 | * Redistribution and use in source and binary forms, with or without 12 | * modification, are permitted provided that the following conditions 13 | * are met: 14 | * 1. Redistributions of source code must retain the above copyright 15 | * notice, this list of conditions and the following disclaimer. 16 | * 2. Redistributions in binary form must reproduce the above copyright 17 | * notice, this list of conditions and the following disclaimer in the 18 | * documentation and/or other materials provided with the distribution. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 | * POSSIBILITY OF SUCH DAMAGE. 31 | */ 32 | 33 | #ifdef _KERNEL 34 | void gre_input(struct mbuf *, int); 35 | void gre_mobile_input(struct mbuf *, int); 36 | #endif /* _KERNEL */ 37 | -------------------------------------------------------------------------------- /freebsd-headers/netinet/ip_rules.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/contrib/ipfilter/netinet/ip_rules.h 145517 2005-04-25 18:15:41Z darrenr $ */ 2 | 3 | extern int ipfrule_add __P((void)); 4 | extern int ipfrule_remove __P((void)); 5 | 6 | extern frentry_t *ipfrule_match_out_ __P((fr_info_t *, u_32_t *)); 7 | extern frentry_t *ipf_rules_out_[1]; 8 | 9 | extern int ipfrule_add_out_ __P((void)); 10 | extern int ipfrule_remove_out_ __P((void)); 11 | 12 | extern frentry_t *ipfrule_match_in_ __P((fr_info_t *, u_32_t *)); 13 | extern frentry_t *ipf_rules_in_[1]; 14 | 15 | extern int ipfrule_add_in_ __P((void)); 16 | extern int ipfrule_remove_in_ __P((void)); 17 | -------------------------------------------------------------------------------- /freebsd-headers/netinet/ipl.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/contrib/ipfilter/netinet/ipl.h 172776 2007-10-18 21:52:14Z darrenr $ */ 2 | 3 | /* 4 | * Copyright (C) 1993-2001, 2003 by Darren Reed. 5 | * 6 | * See the IPFILTER.LICENCE file for details on licencing. 7 | * 8 | * @(#)ipl.h 1.21 6/5/96 9 | * $FreeBSD: release/9.0.0/sys/contrib/ipfilter/netinet/ipl.h 172776 2007-10-18 21:52:14Z darrenr $ 10 | * Id: ipl.h,v 2.52.2.30 2007/10/16 09:41:00 darrenr Exp $ 11 | */ 12 | 13 | #ifndef __IPL_H__ 14 | #define __IPL_H__ 15 | 16 | #define IPL_VERSION "IP Filter: v4.1.28" 17 | 18 | #define IPFILTER_VERSION 4012800 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /freebsd-headers/netinet6/icmp6.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/netinet6/icmp6.h 62587 2000-07-04 16:35:15Z itojun $ */ 2 | /* $KAME: icmp6.h,v 1.17 2000/06/11 17:23:40 jinmei Exp $ */ 3 | 4 | #error "netinet6/icmp6.h is obsolete. use netinet/icmp6.h" 5 | -------------------------------------------------------------------------------- /freebsd-headers/netinet6/ip6.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/netinet6/ip6.h 62587 2000-07-04 16:35:15Z itojun $ */ 2 | /* $KAME: ip6.h,v 1.7 2000/03/25 07:23:36 sumikawa Exp $ */ 3 | 4 | #error "netinet6/ip6.h is obsolete. use netinet/ip6.h" 5 | -------------------------------------------------------------------------------- /freebsd-headers/netncp/ncp_cfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * static configuration for libncp 3 | * 4 | * $FreeBSD: release/9.0.0/sys/netncp/ncp_cfg.h 52153 1999-10-12 11:56:41Z bp $ 5 | */ 6 | 7 | #define NCP_NLS_KOI2CP866 8 | #define NCP_NLS_DEFAULT NCP_NLS_KOI_866 9 | #define NCP_PREFIX "" 10 | -------------------------------------------------------------------------------- /freebsd-headers/nfs/krpc.h: -------------------------------------------------------------------------------- 1 | /* $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $ */ 2 | /* $FreeBSD: release/9.0.0/sys/nfs/krpc.h 221032 2011-04-25 22:22:51Z rmacklem $ */ 3 | 4 | #include 5 | 6 | struct mbuf; 7 | struct thread; 8 | struct sockaddr; 9 | struct sockaddr_in; 10 | 11 | int krpc_call(struct sockaddr_in *_sin, 12 | u_int prog, u_int vers, u_int func, 13 | struct mbuf **data, struct sockaddr **from, struct thread *td); 14 | 15 | int krpc_portmap(struct sockaddr_in *_sin, 16 | u_int prog, u_int vers, u_int16_t *portp, struct thread *td); 17 | 18 | struct mbuf *xdr_string_encode(char *str, int len); 19 | 20 | /* 21 | * RPC definitions for the portmapper 22 | */ 23 | #define PMAPPORT 111 24 | #define PMAPPROG 100000 25 | #define PMAPVERS 2 26 | #define PMAPPROC_NULL 0 27 | #define PMAPPROC_SET 1 28 | #define PMAPPROC_UNSET 2 29 | #define PMAPPROC_GETPORT 3 30 | #define PMAPPROC_DUMP 4 31 | #define PMAPPROC_CALLIT 5 32 | -------------------------------------------------------------------------------- /freebsd-headers/nfsserver/nfs_fha.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions 6 | * are met: 7 | * 1. Redistributions of source code must retain the above copyright 8 | * notice, this list of conditions and the following disclaimer. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 13 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 | * SUCH DAMAGE. 24 | */ 25 | /* $FreeBSD: release/9.0.0/sys/nfsserver/nfs_fha.h 184588 2008-11-03 10:38:00Z dfr $ */ 26 | 27 | void fha_nd_complete(SVCTHREAD *, struct svc_req *); 28 | SVCTHREAD *fha_assign(SVCTHREAD *, struct svc_req *); 29 | -------------------------------------------------------------------------------- /freebsd-headers/openssl/bio_lcl.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if BIO_FLAGS_UPLINK==0 4 | /* Shortcut UPLINK calls on most platforms... */ 5 | #define UP_stdin stdin 6 | #define UP_stdout stdout 7 | #define UP_stderr stderr 8 | #define UP_fprintf fprintf 9 | #define UP_fgets fgets 10 | #define UP_fread fread 11 | #define UP_fwrite fwrite 12 | #undef UP_fsetmod 13 | #define UP_feof feof 14 | #define UP_fclose fclose 15 | 16 | #define UP_fopen fopen 17 | #define UP_fseek fseek 18 | #define UP_ftell ftell 19 | #define UP_fflush fflush 20 | #define UP_ferror ferror 21 | #define UP_fileno fileno 22 | 23 | #define UP_open open 24 | #define UP_read read 25 | #define UP_write write 26 | #define UP_lseek lseek 27 | #define UP_close close 28 | #endif 29 | -------------------------------------------------------------------------------- /freebsd-headers/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | #define HEADER_EBCDIC_H 5 | 6 | #include 7 | 8 | /* Avoid name clashes with other applications */ 9 | #define os_toascii _openssl_os_toascii 10 | #define os_toebcdic _openssl_os_toebcdic 11 | #define ebcdic2ascii _openssl_ebcdic2ascii 12 | #define ascii2ebcdic _openssl_ascii2ebcdic 13 | 14 | extern const unsigned char os_toascii[256]; 15 | extern const unsigned char os_toebcdic[256]; 16 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 17 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /freebsd-headers/openssl/fips.h: -------------------------------------------------------------------------------- 1 | /* dummy fips.h */ 2 | -------------------------------------------------------------------------------- /freebsd-headers/openssl/fips_rand.h: -------------------------------------------------------------------------------- 1 | /* dummy fips_rand.h */ 2 | -------------------------------------------------------------------------------- /freebsd-headers/osreldate.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1992-2012 The FreeBSD Project. 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | */ 27 | 28 | #ifdef _KERNEL 29 | #error " cannot be used in the kernel, use " 30 | #else 31 | #undef __FreeBSD_version 32 | #define __FreeBSD_version 900044 33 | #endif 34 | -------------------------------------------------------------------------------- /freebsd-headers/poll.h: -------------------------------------------------------------------------------- 1 | sys/poll.h -------------------------------------------------------------------------------- /freebsd-headers/ps4-offsets/1100.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #define kernel_offset_xfast_syscall 0x1c0 3 | #define kernel_offset_allproc 0x22d0a98 4 | #define kernel_offset_vmspace_acquire_ref 0x357720 5 | #define kernel_offset_vmspace_free 0x357550 6 | #define kernel_offset_printf 0x2fcbd0 7 | #define kernel_offset_kmem_alloc 0x245e10 8 | #define kernel_offset_kernel_map 0x21ff130 9 | #define kernel_offset_sysent 0x1101760 10 | #define kernel_offset_proc_rwmem 0x3838a0 11 | #define kernel_offset_copyin 0x2ddfe0 12 | 13 | #define kernel_patch_kmem_alloc_1 0x245edc 14 | #define kernel_patch_kmem_alloc_2 0x245ee4 15 | -------------------------------------------------------------------------------- /freebsd-headers/ps4-offsets/kernel.h: -------------------------------------------------------------------------------- 1 | #ifdef __11_00__ 2 | #include "1100.h" 3 | #elif 4 | #error "unsupported firmware" 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /freebsd-headers/readline/rlstdc.h: -------------------------------------------------------------------------------- 1 | /* stdc.h -- macros to make source compile on both ANSI C and K&R C 2 | compilers. */ 3 | 4 | /* Copyright (C) 1993 Free Software Foundation, Inc. 5 | 6 | This file is part of GNU Bash, the Bourne Again SHell. 7 | 8 | Bash is free software; you can redistribute it and/or modify it 9 | under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 2, or (at your option) 11 | any later version. 12 | 13 | Bash is distributed in the hope that it will be useful, but WITHOUT 14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 16 | License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with Bash; see the file COPYING. If not, write to the Free 20 | Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ 21 | 22 | #if !defined (_RL_STDC_H_) 23 | #define _RL_STDC_H_ 24 | 25 | /* Adapted from BSD /usr/include/sys/cdefs.h. */ 26 | 27 | /* A function can be defined using prototypes and compile on both ANSI C 28 | and traditional C compilers with something like this: 29 | extern char *func PARAMS((char *, char *, int)); */ 30 | 31 | #if !defined (PARAMS) 32 | # if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus) 33 | # define PARAMS(protos) protos 34 | # else 35 | # define PARAMS(protos) () 36 | # endif 37 | #endif 38 | 39 | #ifndef __attribute__ 40 | # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) 41 | # define __attribute__(x) 42 | # endif 43 | #endif 44 | 45 | #endif /* !_RL_STDC_H_ */ 46 | -------------------------------------------------------------------------------- /freebsd-headers/roken-common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/roken-common.h -------------------------------------------------------------------------------- /freebsd-headers/roken.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/roken.h -------------------------------------------------------------------------------- /freebsd-headers/rpcsvc/crypt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Please do not edit this file. 3 | * It was generated using rpcgen. 4 | */ 5 | 6 | #ifndef _CRYPT_H_RPCGEN 7 | #define _CRYPT_H_RPCGEN 8 | 9 | #include 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | 16 | enum des_dir { 17 | ENCRYPT_DES = 0, 18 | DECRYPT_DES = 1 19 | }; 20 | typedef enum des_dir des_dir; 21 | 22 | enum des_mode { 23 | CBC_DES = 0, 24 | ECB_DES = 1 25 | }; 26 | typedef enum des_mode des_mode; 27 | 28 | struct desargs { 29 | u_char des_key[8]; 30 | des_dir des_dir; 31 | des_mode des_mode; 32 | u_char des_ivec[8]; 33 | struct { 34 | u_int desbuf_len; 35 | char *desbuf_val; 36 | } desbuf; 37 | }; 38 | typedef struct desargs desargs; 39 | 40 | struct desresp { 41 | struct { 42 | u_int desbuf_len; 43 | char *desbuf_val; 44 | } desbuf; 45 | u_char des_ivec[8]; 46 | int stat; 47 | }; 48 | typedef struct desresp desresp; 49 | 50 | #define CRYPT_PROG ((unsigned long)(600100029)) 51 | #define CRYPT_VERS ((unsigned long)(1)) 52 | 53 | extern void crypt_prog_1(struct svc_req *rqstp, SVCXPRT *transp); 54 | #define DES_CRYPT ((unsigned long)(1)) 55 | extern desresp * des_crypt_1(desargs *, CLIENT *); 56 | extern desresp * des_crypt_1_svc(desargs *, struct svc_req *); 57 | extern int crypt_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t); 58 | 59 | /* the xdr functions */ 60 | extern bool_t xdr_des_dir(XDR *, des_dir*); 61 | extern bool_t xdr_des_mode(XDR *, des_mode*); 62 | extern bool_t xdr_desargs(XDR *, desargs*); 63 | extern bool_t xdr_desresp(XDR *, desresp*); 64 | 65 | #ifdef __cplusplus 66 | } 67 | #endif 68 | 69 | #endif /* !_CRYPT_H_RPCGEN */ 70 | -------------------------------------------------------------------------------- /freebsd-headers/rpcsvc/spray.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Please do not edit this file. 3 | * It was generated using rpcgen. 4 | */ 5 | 6 | #ifndef _SPRAY_H_RPCGEN 7 | #define _SPRAY_H_RPCGEN 8 | 9 | #include 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | #define SPRAYMAX 8845 16 | 17 | struct spraytimeval { 18 | u_int sec; 19 | u_int usec; 20 | }; 21 | typedef struct spraytimeval spraytimeval; 22 | 23 | struct spraycumul { 24 | u_int counter; 25 | spraytimeval clock; 26 | }; 27 | typedef struct spraycumul spraycumul; 28 | 29 | typedef struct { 30 | u_int sprayarr_len; 31 | char *sprayarr_val; 32 | } sprayarr; 33 | 34 | #define SPRAYPROG ((unsigned long)(100012)) 35 | #define SPRAYVERS ((unsigned long)(1)) 36 | 37 | extern void sprayprog_1(struct svc_req *rqstp, SVCXPRT *transp); 38 | #define SPRAYPROC_SPRAY ((unsigned long)(1)) 39 | extern void * sprayproc_spray_1(sprayarr *, CLIENT *); 40 | extern void * sprayproc_spray_1_svc(sprayarr *, struct svc_req *); 41 | #define SPRAYPROC_GET ((unsigned long)(2)) 42 | extern spraycumul * sprayproc_get_1(void *, CLIENT *); 43 | extern spraycumul * sprayproc_get_1_svc(void *, struct svc_req *); 44 | #define SPRAYPROC_CLEAR ((unsigned long)(3)) 45 | extern void * sprayproc_clear_1(void *, CLIENT *); 46 | extern void * sprayproc_clear_1_svc(void *, struct svc_req *); 47 | extern int sprayprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t); 48 | 49 | /* the xdr functions */ 50 | extern bool_t xdr_spraytimeval(XDR *, spraytimeval*); 51 | extern bool_t xdr_spraycumul(XDR *, spraycumul*); 52 | extern bool_t xdr_sprayarr(XDR *, sprayarr*); 53 | 54 | #ifdef __cplusplus 55 | } 56 | #endif 57 | 58 | #endif /* !_SPRAY_H_RPCGEN */ 59 | -------------------------------------------------------------------------------- /freebsd-headers/rpcsvc/yppasswd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Please do not edit this file. 3 | * It was generated using rpcgen. 4 | */ 5 | 6 | #ifndef _YPPASSWD_H_RPCGEN 7 | #define _YPPASSWD_H_RPCGEN 8 | 9 | #include 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | 16 | struct x_passwd { 17 | char *pw_name; 18 | char *pw_passwd; 19 | int pw_uid; 20 | int pw_gid; 21 | char *pw_gecos; 22 | char *pw_dir; 23 | char *pw_shell; 24 | }; 25 | typedef struct x_passwd x_passwd; 26 | 27 | struct yppasswd { 28 | char *oldpass; 29 | x_passwd newpw; 30 | }; 31 | typedef struct yppasswd yppasswd; 32 | #include 33 | extern int _yppasswd( char * , struct x_passwd * ); 34 | #define yppasswd(x,y) _yppasswd(x,y) 35 | 36 | #define YPPASSWDPROG ((unsigned long)(100009)) 37 | #define YPPASSWDVERS ((unsigned long)(1)) 38 | 39 | extern void yppasswdprog_1(struct svc_req *rqstp, SVCXPRT *transp); 40 | #define YPPASSWDPROC_UPDATE ((unsigned long)(1)) 41 | extern int * yppasswdproc_update_1(yppasswd *, CLIENT *); 42 | extern int * yppasswdproc_update_1_svc(yppasswd *, struct svc_req *); 43 | extern int yppasswdprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t); 44 | 45 | /* the xdr functions */ 46 | extern bool_t xdr_x_passwd(XDR *, x_passwd*); 47 | extern bool_t xdr_yppasswd(XDR *, yppasswd*); 48 | 49 | #ifdef __cplusplus 50 | } 51 | #endif 52 | 53 | #endif /* !_YPPASSWD_H_RPCGEN */ 54 | -------------------------------------------------------------------------------- /freebsd-headers/sched.h: -------------------------------------------------------------------------------- 1 | sys/sched.h -------------------------------------------------------------------------------- /freebsd-headers/search.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Written by J.T. Conklin 3 | * Public domain. 4 | * 5 | * $NetBSD: search.h,v 1.12 1999/02/22 10:34:28 christos Exp $ 6 | * $FreeBSD: release/9.0.0/include/search.h 105250 2002-10-16 14:29:23Z robert $ 7 | */ 8 | 9 | #ifndef _SEARCH_H_ 10 | #define _SEARCH_H_ 11 | 12 | #include 13 | #include 14 | 15 | #ifndef _SIZE_T_DECLARED 16 | typedef __size_t size_t; 17 | #define _SIZE_T_DECLARED 18 | #endif 19 | 20 | typedef struct entry { 21 | char *key; 22 | void *data; 23 | } ENTRY; 24 | 25 | typedef enum { 26 | FIND, ENTER 27 | } ACTION; 28 | 29 | typedef enum { 30 | preorder, 31 | postorder, 32 | endorder, 33 | leaf 34 | } VISIT; 35 | 36 | #ifdef _SEARCH_PRIVATE 37 | typedef struct node { 38 | char *key; 39 | struct node *llink, *rlink; 40 | } node_t; 41 | 42 | struct que_elem { 43 | struct que_elem *next; 44 | struct que_elem *prev; 45 | }; 46 | #endif 47 | 48 | __BEGIN_DECLS 49 | int hcreate(size_t); 50 | void hdestroy(void); 51 | ENTRY *hsearch(ENTRY, ACTION); 52 | void insque(void *, void *); 53 | void *lfind(const void *, const void *, size_t *, size_t, 54 | int (*)(const void *, const void *)); 55 | void *lsearch(const void *, void *, size_t *, size_t, 56 | int (*)(const void *, const void *)); 57 | void remque(void *); 58 | void *tdelete(const void * __restrict, void ** __restrict, 59 | int (*)(const void *, const void *)); 60 | void *tfind(const void *, void * const *, 61 | int (*)(const void *, const void *)); 62 | void *tsearch(const void *, void **, int (*)(const void *, const void *)); 63 | void twalk(const void *, void (*)(const void *, VISIT, int)); 64 | __END_DECLS 65 | 66 | #endif /* !_SEARCH_H_ */ 67 | -------------------------------------------------------------------------------- /freebsd-headers/security/openpam_attr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: openpam_attr.h 405 2007-12-19 11:38:27Z des $ 3 | */ 4 | 5 | #ifndef SECURITY_PAM_ATTRIBUTES_H_INCLUDED 6 | #define SECURITY_PAM_ATTRIBUTES_H_INCLUDED 7 | 8 | /* GCC attributes */ 9 | #if defined(__GNUC__) && defined(__GNUC_MINOR__) && !defined(__STRICT_ANSI__) 10 | # define OPENPAM_GNUC_PREREQ(maj, min) \ 11 | ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) 12 | #else 13 | # define OPENPAM_GNUC_PREREQ(maj, min) 0 14 | #endif 15 | 16 | #if OPENPAM_GNUC_PREREQ(2,5) 17 | # define OPENPAM_FORMAT(params) __attribute__((__format__ params)) 18 | #else 19 | # define OPENPAM_FORMAT(params) 20 | #endif 21 | 22 | #if OPENPAM_GNUC_PREREQ(3,3) 23 | # define OPENPAM_NONNULL(params) __attribute__((__nonnull__ params)) 24 | #else 25 | # define OPENPAM_NONNULL(params) 26 | #endif 27 | 28 | #endif /* !SECURITY_PAM_ATTRIBUTES_H_INCLUDED */ 29 | -------------------------------------------------------------------------------- /freebsd-headers/stdarg.h: -------------------------------------------------------------------------------- 1 | machine/stdarg.h -------------------------------------------------------------------------------- /freebsd-headers/stdint.h: -------------------------------------------------------------------------------- 1 | sys/stdint.h -------------------------------------------------------------------------------- /freebsd-headers/sys/_null.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2003 Marcel Moolenaar 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 9 | * 1. Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * 15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/_null.h 192002 2009-05-11 21:13:00Z jhb $ 27 | */ 28 | 29 | #ifndef NULL 30 | 31 | #if !defined(__cplusplus) 32 | #define NULL ((void *)0) 33 | #else 34 | #if defined(__GNUG__) && defined(__GNUC__) && __GNUC__ >= 4 35 | #define NULL __null 36 | #else 37 | #if defined(__LP64__) 38 | #define NULL (0L) 39 | #else 40 | #define NULL 0 41 | #endif /* __LP64__ */ 42 | #endif /* __GNUG__ */ 43 | #endif /* !__cplusplus */ 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /freebsd-headers/sys/_stack.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005 Antoine Brodin 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/_stack.h 177957 2008-04-06 20:08:51Z attilio $ 27 | */ 28 | 29 | #ifndef _SYS__STACK_H_ 30 | #define _SYS__STACK_H_ 31 | 32 | #define STACK_MAX 18 /* Don't change, stack_ktr relies on this. */ 33 | 34 | struct stack { 35 | int depth; 36 | vm_offset_t pcs[STACK_MAX]; 37 | }; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /freebsd-headers/sys/_sx.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2007 Attilio Rao 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice(s), this list of conditions and the following disclaimer as 10 | * the first lines of this file unmodified other than the possible 11 | * addition of one or more copyright notices. 12 | * 2. Redistributions in binary form must reproduce the above copyright 13 | * notice(s), this list of conditions and the following disclaimer in the 14 | * documentation and/or other materials provided with the distribution. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY 17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY 20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 26 | * DAMAGE. 27 | * 28 | * $FreeBSD: release/9.0.0/sys/sys/_sx.h 179025 2008-05-15 20:10:06Z attilio $ 29 | */ 30 | 31 | #ifndef _SYS__SX_H_ 32 | #define _SYS__SX_H_ 33 | 34 | /* 35 | * Shared/exclusive lock main structure definition. 36 | */ 37 | struct sx { 38 | struct lock_object lock_object; 39 | volatile uintptr_t sx_lock; 40 | }; 41 | 42 | #endif /* !_SYS__SX_H_ */ 43 | -------------------------------------------------------------------------------- /freebsd-headers/sys/ata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/sys/ata.h -------------------------------------------------------------------------------- /freebsd-headers/sys/cdrio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/sys/cdrio.h -------------------------------------------------------------------------------- /freebsd-headers/sys/consio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/sys/consio.h -------------------------------------------------------------------------------- /freebsd-headers/sys/dataacq.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Header for general data acquisition definitions. 3 | * 4 | * $FreeBSD: release/9.0.0/sys/sys/dataacq.h 59874 2000-05-01 20:32:07Z peter $ 5 | */ 6 | 7 | #ifndef _SYS_DATAACQ_H_ 8 | #define _SYS_DATAACQ_H_ 9 | 10 | #include 11 | 12 | /* Period in microseconds between analog I/O samples. 13 | */ 14 | #define AD_MICRO_PERIOD_SET _IOW('A', 1, long) 15 | #define AD_MICRO_PERIOD_GET _IOR('A', 2, long) 16 | 17 | /* Gain list support. Initially all gains are 1. If the board 18 | * supports no gains at all then AD_NGAINS_GET will return a 0. 19 | * 20 | * AD_NGAINS_GET: Return the number of gains the board supports 21 | * 22 | * AD_SUPPORTED_GAINS: Get the supported gains. 23 | * The driver will copy out "ngains" doubles, 24 | * where "ngains" is obtained with AD_NGAINS_GET. 25 | * 26 | * AD_GAINS_SET: Set the gain list. The driver will copy in "ngains" ints. 27 | * 28 | * AD_GAINS_GET: Get the gain list. The driver will copy out "ngains" ints. 29 | */ 30 | 31 | #define AD_NGAINS_GET _IOR('A', 3, int) 32 | #define AD_NCHANS_GET _IOR('A', 4, int) 33 | #define AD_SUPPORTED_GAINS _IO('A', 5) 34 | #define AD_GAINS_SET _IO('A', 6) 35 | #define AD_GAINS_GET _IO('A', 7) 36 | 37 | #endif /* !_SYS_DATAACQ_H_ */ 38 | -------------------------------------------------------------------------------- /freebsd-headers/sys/dvdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/sys/dvdio.h -------------------------------------------------------------------------------- /freebsd-headers/sys/elf.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2001 David E. O'Brien. 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/elf.h 174043 2007-11-28 21:54:46Z jb $ 27 | */ 28 | 29 | /* 30 | * This is a Solaris compatibility header 31 | */ 32 | 33 | #ifndef _SYS_ELF_H_ 34 | #define _SYS_ELF_H_ 35 | 36 | #include 37 | #include 38 | #include 39 | #include 40 | 41 | #endif /* !_SYS_ELF_H_ */ 42 | -------------------------------------------------------------------------------- /freebsd-headers/sys/fnv_hash.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Fowler / Noll / Vo Hash (FNV Hash) 3 | * http://www.isthe.com/chongo/tech/comp/fnv/ 4 | * 5 | * This is an implementation of the algorithms posted above. 6 | * This file is placed in the public domain by Peter Wemm. 7 | * 8 | * $FreeBSD: release/9.0.0/sys/sys/fnv_hash.h 139825 2005-01-07 02:29:27Z imp $ 9 | */ 10 | 11 | typedef u_int32_t Fnv32_t; 12 | typedef u_int64_t Fnv64_t; 13 | 14 | #define FNV1_32_INIT ((Fnv32_t) 33554467UL) 15 | #define FNV1_64_INIT ((Fnv64_t) 0xcbf29ce484222325ULL) 16 | 17 | #define FNV_32_PRIME ((Fnv32_t) 0x01000193UL) 18 | #define FNV_64_PRIME ((Fnv64_t) 0x100000001b3ULL) 19 | 20 | static __inline Fnv32_t 21 | fnv_32_buf(const void *buf, size_t len, Fnv32_t hval) 22 | { 23 | const u_int8_t *s = (const u_int8_t *)buf; 24 | 25 | while (len-- != 0) { 26 | hval *= FNV_32_PRIME; 27 | hval ^= *s++; 28 | } 29 | return hval; 30 | } 31 | 32 | static __inline Fnv32_t 33 | fnv_32_str(const char *str, Fnv32_t hval) 34 | { 35 | const u_int8_t *s = (const u_int8_t *)str; 36 | Fnv32_t c; 37 | 38 | while ((c = *s++) != 0) { 39 | hval *= FNV_32_PRIME; 40 | hval ^= c; 41 | } 42 | return hval; 43 | } 44 | 45 | static __inline Fnv64_t 46 | fnv_64_buf(const void *buf, size_t len, Fnv64_t hval) 47 | { 48 | const u_int8_t *s = (const u_int8_t *)buf; 49 | 50 | while (len-- != 0) { 51 | hval *= FNV_64_PRIME; 52 | hval ^= *s++; 53 | } 54 | return hval; 55 | } 56 | 57 | static __inline Fnv64_t 58 | fnv_64_str(const char *str, Fnv64_t hval) 59 | { 60 | const u_int8_t *s = (const u_int8_t *)str; 61 | u_register_t c; /* 32 bit on i386, 64 bit on alpha,ia64 */ 62 | 63 | while ((c = *s++) != 0) { 64 | hval *= FNV_64_PRIME; 65 | hval ^= c; 66 | } 67 | return hval; 68 | } 69 | -------------------------------------------------------------------------------- /freebsd-headers/sys/imgact_elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/sys/imgact_elf.h -------------------------------------------------------------------------------- /freebsd-headers/sys/inflate.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * ---------------------------------------------------------------------------- 3 | * "THE BEER-WARE LICENSE" (Revision 42): 4 | * wrote this file. As long as you retain this notice you 5 | * can do whatever you want with this stuff. If we meet some day, and you think 6 | * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 | * ---------------------------------------------------------------------------- 8 | * 9 | * $FreeBSD: release/9.0.0/sys/sys/inflate.h 139825 2005-01-07 02:29:27Z imp $ 10 | * 11 | */ 12 | #ifndef _SYS_INFLATE_H_ 13 | #define _SYS_INFLATE_H_ 14 | 15 | #if defined(_KERNEL) || defined(KZIP) 16 | 17 | #define GZ_EOF -1 18 | 19 | #define GZ_WSIZE 0x8000 20 | 21 | /* 22 | * Global variables used by inflate and friends. 23 | * This structure is used in order to make inflate() reentrant. 24 | */ 25 | struct inflate { 26 | /* Public part */ 27 | 28 | /* This pointer is passed along to the two functions below */ 29 | void *gz_private; 30 | 31 | /* Fetch next character to be uncompressed */ 32 | int (*gz_input)(void *); 33 | 34 | /* Dispose of uncompressed characters */ 35 | int (*gz_output)(void *, u_char *, u_long); 36 | 37 | /* Private part */ 38 | u_long gz_bb; /* bit buffer */ 39 | unsigned gz_bk; /* bits in bit buffer */ 40 | unsigned gz_hufts; /* track memory usage */ 41 | struct huft *gz_fixed_tl; /* must init to NULL !! */ 42 | struct huft *gz_fixed_td; 43 | int gz_fixed_bl; 44 | int gz_fixed_bd; 45 | u_char *gz_slide; 46 | unsigned gz_wp; 47 | }; 48 | 49 | int inflate(struct inflate *); 50 | 51 | #endif /* _KERNEL || KZIP */ 52 | 53 | #endif /* ! _SYS_INFLATE_H_ */ 54 | -------------------------------------------------------------------------------- /freebsd-headers/sys/ksyms.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2008-2009, Stacey Son 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/ksyms.h 192859 2009-05-26 21:39:09Z sson $ 27 | */ 28 | 29 | #ifndef _SYS_KSYMS_H_ 30 | #define _SYS_KSYMS_H_ 31 | 32 | #include 33 | 34 | #define KIOCGSIZE _IOR('l', 1, size_t) 35 | #define KIOCGADDR _IOR('l', 2, void *) 36 | 37 | #endif /* _SYS_KSYMS_H_ */ 38 | -------------------------------------------------------------------------------- /freebsd-headers/sys/md4.h: -------------------------------------------------------------------------------- 1 | /* MD4.H - header file for MD4C.C 2 | * $FreeBSD: release/9.0.0/sys/sys/md4.h 139825 2005-01-07 02:29:27Z imp $ 3 | */ 4 | 5 | /*- 6 | Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All 7 | rights reserved. 8 | 9 | License to copy and use this software is granted provided that it 10 | is identified as the "RSA Data Security, Inc. MD4 Message-Digest 11 | Algorithm" in all material mentioning or referencing this software 12 | or this function. 13 | License is also granted to make and use derivative works provided 14 | that such works are identified as "derived from the RSA Data 15 | Security, Inc. MD4 Message-Digest Algorithm" in all material 16 | mentioning or referencing the derived work. 17 | 18 | RSA Data Security, Inc. makes no representations concerning either 19 | the merchantability of this software or the suitability of this 20 | software for any particular purpose. It is provided "as is" 21 | without express or implied warranty of any kind. 22 | 23 | These notices must be retained in any copies of any part of this 24 | documentation and/or software. 25 | */ 26 | 27 | #ifndef _MD4_H_ 28 | #define _MD4_H_ 29 | /* MD4 context. */ 30 | typedef struct MD4Context { 31 | u_int32_t state[4]; /* state (ABCD) */ 32 | u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ 33 | unsigned char buffer[64]; /* input buffer */ 34 | } MD4_CTX; 35 | 36 | #include 37 | 38 | __BEGIN_DECLS 39 | void MD4Init(MD4_CTX *); 40 | void MD4Update(MD4_CTX *, const unsigned char *, unsigned int); 41 | void MD4Pad(MD4_CTX *); 42 | void MD4Final(unsigned char [16], MD4_CTX *); 43 | char * MD4End(MD4_CTX *, char *); 44 | char * MD4File(const char *, char *); 45 | char * MD4Data(const unsigned char *, unsigned int, char *); 46 | __END_DECLS 47 | 48 | #endif /* _MD4_H_ */ 49 | -------------------------------------------------------------------------------- /freebsd-headers/sys/ptio.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1999 Kenneth D. Merry. 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions, and the following disclaimer, 10 | * without modification, immediately at the beginning of the file. 11 | * 2. The name of the author may not be used to endorse or promote products 12 | * derived from this software without specific prior written permission. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/ptio.h 50477 1999-08-28 01:08:13Z peter $ 27 | */ 28 | 29 | #ifndef _SYS_PTIO_H_ 30 | #define _SYS_PTIO_H_ 31 | 32 | #include 33 | 34 | #define PTIOCGETTIMEOUT _IOR('T', 1, int) 35 | #define PTIOCSETTIMEOUT _IOW('T', 2, int) 36 | 37 | #endif /* !_SYS_PTIO_H_ */ 38 | -------------------------------------------------------------------------------- /freebsd-headers/sys/regression.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2001 Robert N. M. Watson 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/regression.h 129096 2004-05-10 18:38:07Z rwatson $ 27 | */ 28 | #ifndef _SYS_REGRESSION_H_ 29 | #define _SYS_REGRESSION_H_ 30 | 31 | #ifndef _KERNEL 32 | /* 33 | * System calls associated with regression testing functions in kernel. 34 | */ 35 | int __setugid(int _flag); 36 | #endif /* !_KERNEL */ 37 | 38 | #endif /* !_SYS_REGRESSION_H_ */ 39 | -------------------------------------------------------------------------------- /freebsd-headers/sys/snoop.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 1995 Ugen J.S.Antsilevich 3 | * 4 | * Redistribution and use in source forms, with and without modification, 5 | * are permitted provided that this entire comment appears intact. 6 | * 7 | * Redistribution in binary form may occur without any restrictions. 8 | * Obviously, it would be nice if you gave credit where credit is due 9 | * but requiring it would be too onerous. 10 | * 11 | * This software is provided ``AS IS'' without any warranties of any kind. 12 | * 13 | * Snoop stuff. 14 | * 15 | * $FreeBSD: release/9.0.0/sys/sys/snoop.h 150298 2005-09-18 19:23:35Z cognet $ 16 | */ 17 | 18 | #ifndef _SYS_SNOOP_H_ 19 | #define _SYS_SNOOP_H_ 20 | 21 | #ifndef _KERNEL 22 | #include 23 | #endif 24 | #include 25 | 26 | /* 27 | * These are snoop io controls 28 | * SNPSTTY accepts a file descriptor as input. 29 | */ 30 | 31 | #define SNPSTTY _IOW('T', 90, int) 32 | #define SNPGTTY _IOR('T', 89, dev_t) 33 | 34 | /* 35 | * These values would be returned by FIONREAD ioctl 36 | * instead of number of characters in buffer in case 37 | * of specific errors. 38 | */ 39 | #define SNP_OFLOW -1 40 | #define SNP_TTYCLOSE -2 41 | #define SNP_DETACH -3 42 | 43 | #endif /* !_SYS_SNOOP_H_ */ 44 | -------------------------------------------------------------------------------- /freebsd-headers/sys/stddef.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2002 Maxime Henrion 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/sys/stddef.h 221476 2011-05-05 02:35:25Z obrien $ 27 | */ 28 | 29 | #ifndef _SYS_STDDEF_H_ 30 | #define _SYS_STDDEF_H_ 31 | 32 | #include 33 | #include 34 | #include 35 | 36 | #ifndef _PTRDIFF_T_DECLARED 37 | typedef __ptrdiff_t ptrdiff_t; 38 | #define _PTRDIFF_T_DECLARED 39 | #endif 40 | 41 | #define offsetof(type, field) __offsetof(type, field) 42 | 43 | #endif /* !_SYS_STDDEF_H_ */ 44 | -------------------------------------------------------------------------------- /freebsd-headers/sys/termios.h: -------------------------------------------------------------------------------- 1 | /* $FreeBSD: release/9.0.0/sys/sys/termios.h 199898 2009-11-28 23:50:48Z ed $ */ 2 | #ifdef __GNUC__ 3 | #warning "this file includes which is deprecated, use instead" 4 | #endif 5 | #include 6 | -------------------------------------------------------------------------------- /freebsd-headers/syslog.h: -------------------------------------------------------------------------------- 1 | sys/syslog.h -------------------------------------------------------------------------------- /freebsd-headers/ucontext.h: -------------------------------------------------------------------------------- 1 | sys/ucontext.h -------------------------------------------------------------------------------- /freebsd-headers/ufs/ufs/gjournal.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2005-2006 Pawel Jakub Dawidek 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/ufs/ufs/gjournal.h 163841 2006-10-31 21:48:54Z pjd $ 27 | */ 28 | 29 | #ifndef _UFS_UFS_GJOURNAL_H_ 30 | #define _UFS_UFS_GJOURNAL_H_ 31 | 32 | /* 33 | * GEOM journal function prototypes. 34 | */ 35 | void ufs_gjournal_orphan(struct vnode *fvp); 36 | void ufs_gjournal_close(struct vnode *vp); 37 | #endif /* !_UFS_UFS_GJOURNAL_H_ */ 38 | -------------------------------------------------------------------------------- /freebsd-headers/ulimit.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2002 Kyle Martin 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/include/ulimit.h 108910 2003-01-08 01:18:13Z tjr $ 27 | */ 28 | 29 | #ifndef _ULIMIT_H_ 30 | #define _ULIMIT_H_ 31 | 32 | #include 33 | 34 | #define UL_GETFSIZE 1 35 | #define UL_SETFSIZE 2 36 | 37 | __BEGIN_DECLS 38 | long ulimit(int, ...); 39 | __END_DECLS 40 | 41 | #endif /* !_ULIMIT_H_ */ 42 | -------------------------------------------------------------------------------- /freebsd-headers/ulog.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2009 Ed Schouten 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/lib/libulog/ulog.h 202215 2010-01-13 18:53:06Z ed $ 27 | */ 28 | 29 | #ifndef _ULOG_H_ 30 | #define _ULOG_H_ 31 | 32 | #include 33 | 34 | __BEGIN_DECLS 35 | void ulog_login(const char *, const char *, const char *); 36 | void ulog_login_pseudo(int, const char *); 37 | void ulog_logout(const char *); 38 | void ulog_logout_pseudo(int); 39 | __END_DECLS 40 | 41 | #endif /* !_ULOG_H_ */ 42 | -------------------------------------------------------------------------------- /freebsd-headers/vgl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EinTim23/PS4-Linux-Loader/58fbdacad712375cea3c0ccc0d61ecae4d5a6c06/freebsd-headers/vgl.h -------------------------------------------------------------------------------- /freebsd-headers/vm/redzone.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * Copyright (c) 2006 Pawel Jakub Dawidek 3 | * All rights reserved. 4 | * 5 | * Redistribution and use in source and binary forms, with or without 6 | * modification, are permitted provided that the following conditions 7 | * are met: 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 | * SUCH DAMAGE. 25 | * 26 | * $FreeBSD: release/9.0.0/sys/vm/redzone.h 155086 2006-01-31 11:09:21Z pjd $ 27 | */ 28 | 29 | #ifndef _VM_REDZONE_H_ 30 | #define _VM_REDZONE_H_ 31 | 32 | u_long redzone_get_size(caddr_t naddr); 33 | u_long redzone_size_ntor(u_long nsize); 34 | void *redzone_addr_ntor(caddr_t naddr); 35 | void *redzone_setup(caddr_t raddr, u_long nsize); 36 | void redzone_check(caddr_t naddr); 37 | 38 | #endif /* _VM_REDZONE_H_ */ 39 | -------------------------------------------------------------------------------- /lib/Makefile: -------------------------------------------------------------------------------- 1 | all: lib.a 2 | 3 | clean: 4 | rm -f lib.a *.o syscalls.asm 5 | 6 | dl.o: dl.c 7 | gcc -c -isystem ../freebsd-headers -nostdinc -fno-stack-protector dl.c -o dl.o -fPIE -ffreestanding 8 | 9 | crt.o: crt.asm 10 | yasm -f elf64 crt.asm 11 | 12 | syscalls.o: syscalls.asm 13 | yasm -f elf64 syscalls.asm 14 | 15 | syscalls.asm: syscalls.py 16 | python3 syscalls.py > syscalls.asm 17 | 18 | lib.a: crt.o dl.o syscalls.o 19 | ld -r crt.o dl.o syscalls.o -o lib.a 20 | -------------------------------------------------------------------------------- /lib/crt.asm: -------------------------------------------------------------------------------- 1 | use64 2 | 3 | global _start 4 | section .text.startup ; needed for correct linkage with -O2 5 | _start: 6 | extern main 7 | jmp main 8 | -------------------------------------------------------------------------------- /lib/dl.c: -------------------------------------------------------------------------------- 1 | // https://gist.github.com/flatz/1055a8d7819c8478db1b464842582c9c 2 | #include 3 | #include 4 | 5 | struct module_segment 6 | { 7 | uint64_t addr; 8 | uint32_t size; 9 | uint32_t flags; 10 | }; 11 | 12 | struct module_info_ex 13 | { 14 | size_t st_size; 15 | char name[256]; 16 | int id; 17 | uint32_t tls_index; 18 | uint64_t tls_init_addr; 19 | uint32_t tls_init_size; 20 | uint32_t tls_size; 21 | uint32_t tls_offset; 22 | uint32_t tls_align; 23 | uint64_t init_proc_addr; 24 | uint64_t fini_proc_addr; 25 | uint64_t reserved1; 26 | uint64_t reserved2; 27 | uint64_t eh_frame_hdr_addr; 28 | uint64_t eh_frame_addr; 29 | uint32_t eh_frame_hdr_size; 30 | uint32_t eh_frame_size; 31 | struct module_segment segments[4]; 32 | uint32_t segment_count; 33 | uint32_t ref_count; 34 | }; 35 | 36 | long long dynlib_load_prx(const char*, int, int*, int); 37 | int dynlib_get_info_ex(int, int, struct module_info_ex*); 38 | long long dynlib_dlsym(int, const char*, void**); 39 | 40 | void* dlopen_ex(const char* path, int mode /*ignored*/, void* data, size_t data_len) 41 | { 42 | int handle = 0; 43 | if(dynlib_load_prx(path, 0, &handle, 0)) 44 | return 0; 45 | struct module_info_ex mi; 46 | mi.st_size = sizeof(mi); 47 | if(dynlib_get_info_ex(handle, 0, &mi)) 48 | return 0; 49 | if(mi.ref_count < 2) 50 | ((int(*)(size_t, void*, void*))mi.init_proc_addr)(data_len, data, 0); 51 | return (void*)(long long)handle; 52 | } 53 | 54 | void* dlopen(const char* path, int mode) 55 | { 56 | return dlopen_ex(path, mode, NULL, 0); 57 | } 58 | 59 | void* dlsym(void* handle, const char* name) 60 | { 61 | void* addr = 0; 62 | dynlib_dlsym((int)(long long)handle, name, &addr); 63 | return addr; 64 | } 65 | -------------------------------------------------------------------------------- /linux/Makefile: -------------------------------------------------------------------------------- 1 | 2 | all: payload-1100.bin payload-1100-2gb.bin payload-1100-3gb.bin payload-1100-4gb.bin 3 | 4 | clean: 5 | rm -f payload-1100.elf payload-1100.bin payload-1100-2gb.elf payload-1100-2gb.bin payload-1100-3gb.elf payload-1100-3gb.bin payload-1100-4gb.elf payload-1100-4gb.bin; 6 | cd ps4-kexec; make clean 7 | cd ../lib/; make clean 8 | 9 | ../lib/lib.a: 10 | cd ../lib; make 11 | 12 | 13 | ps4-kexec/kexec.bin: 14 | cd ps4-kexec; make 15 | 16 | payload-1100.elf: ../lib/lib.a main.c ps4-kexec/kexec.bin 17 | gcc -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -static ../lib/lib.a -D__11_00__ -DPS4_11_00 main.c -Wl,-gc-sections -o payload-1100.elf -fPIE -ffreestanding 18 | 19 | payload-1100-2gb.elf: ../lib/lib.a main.c ps4-kexec/kexec.bin 20 | gcc -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -static ../lib/lib.a -D__11_00__ -DPS4_11_00 -DVRAM_GB_DEFAULT=2 main.c -Wl,-gc-sections -o payload-1100-2gb.elf -fPIE -ffreestanding 21 | 22 | payload-1100-3gb.elf: ../lib/lib.a main.c ps4-kexec/kexec.bin 23 | gcc -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -static ../lib/lib.a -D__11_00__ -DPS4_11_00 -DVRAM_GB_DEFAULT=3 main.c -Wl,-gc-sections -o payload-1100-3gb.elf -fPIE -ffreestanding 24 | 25 | payload-1100-4gb.elf: ../lib/lib.a main.c ps4-kexec/kexec.bin 26 | gcc -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -static ../lib/lib.a -D__11_00__ -DPS4_11_00 -DVRAM_GB_DEFAULT=4 main.c -Wl,-gc-sections -o payload-1100-4gb.elf -fPIE -ffreestanding 27 | 28 | 29 | %.bin: %.elf 30 | objcopy $< --only-section .text --only-section .data --only-section .bss --only-section .rodata -O binary $@ 31 | file $@ | fgrep -q '$@: DOS executable (COM)' 32 | 33 | ps4-kexec-%/kexec.bin: 34 | cd ps4-kexec-$*; make 35 | --------------------------------------------------------------------------------